diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2002-12-30 22:00:54 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2002-12-30 22:00:54 +0000 |
commit | 147d13214effc9ac2b35b60eddd0524bdac0c2e8 (patch) | |
tree | e37c86e3246daea3de9bdd4bddc73d49d2dcbc8f /app-crypt/mit-krb5 | |
parent | added ~sparc (diff) | |
download | gentoo-2-147d13214effc9ac2b35b60eddd0524bdac0c2e8.tar.gz gentoo-2-147d13214effc9ac2b35b60eddd0524bdac0c2e8.tar.bz2 gentoo-2-147d13214effc9ac2b35b60eddd0524bdac0c2e8.zip |
Fixes #3480. Submitted by Martti Rannanjarvi
Diffstat (limited to 'app-crypt/mit-krb5')
-rw-r--r-- | app-crypt/mit-krb5/ChangeLog | 5 | ||||
-rw-r--r-- | app-crypt/mit-krb5/files/digest-mit-krb5-1.2.6-r3 | 1 | ||||
-rw-r--r-- | app-crypt/mit-krb5/mit-krb5-1.2.6-r3.ebuild | 78 |
3 files changed, 83 insertions, 1 deletions
diff --git a/app-crypt/mit-krb5/ChangeLog b/app-crypt/mit-krb5/ChangeLog index 1c24e5cdbf0c..dac15a6795a4 100644 --- a/app-crypt/mit-krb5/ChangeLog +++ b/app-crypt/mit-krb5/ChangeLog @@ -1,9 +1,12 @@ # ChangeLog for app-crypt/mit-krb5 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.1 2002/12/27 19:10:18 rphillips Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.2 2002/12/30 22:00:54 rphillips Exp $ *mit-krb5-1.2.6-r2 (07 Dec 2002) + 30 Dec 2002; Ryan Phillips <rphillips@gentoo.org> mit-krb5-1.2.6-r3 : + Added Martti Rannajarvi's fixes. Fixes #3480 + 07 Dec 2002; Dave Love <dlove@cashmeresoftware.com>, Martti Rannanjärvi <grypt@kapsi.net>: diff --git a/app-crypt/mit-krb5/files/digest-mit-krb5-1.2.6-r3 b/app-crypt/mit-krb5/files/digest-mit-krb5-1.2.6-r3 new file mode 100644 index 000000000000..c4ecd51a80be --- /dev/null +++ b/app-crypt/mit-krb5/files/digest-mit-krb5-1.2.6-r3 @@ -0,0 +1 @@ +MD5 9723ca51368f8fbfcc52927d50dda7ac krb5-1.2.6.tar.gz 5488576 diff --git a/app-crypt/mit-krb5/mit-krb5-1.2.6-r3.ebuild b/app-crypt/mit-krb5/mit-krb5-1.2.6-r3.ebuild new file mode 100644 index 000000000000..3e3b884e78ab --- /dev/null +++ b/app-crypt/mit-krb5/mit-krb5-1.2.6-r3.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.2.6-r3.ebuild,v 1.1 2002/12/30 22:00:54 rphillips Exp $ + +inherit eutils + +S=${WORKDIR}/krb5-${PV}/src +SRC_URI="http://www.crypto-publish.org/dist/mit-kerberos5/krb5-${PV}.tar.gz" +DESCRIPTION="MIT Kerberos V" +HOMEPAGE="http://web.mit.edu/kerberos/www/" +IUSE="krb4" +SLOT="0" +LICENSE="as-is" +KEYWORDS="~x86" +PROVIDE="virtual/krb5" +DEPEND="virtual/glibc" + +src_unpack() { + unpack ${A} + + # This is a security patch, remove when 1.2.7 comes to http://www.crypto-publish.org/ + cd ${S}/kadmin/v4server/ + epatch ${FILESDIR}/krb5-${PV}-gentoo.diff + + #cd ${S} + #epatch ${FILESDIR}/krb5-1.2.2-gentoo.diff +} + +src_compile() { + local myconf + + use krb4 && myconf="${myconf} --with-krb4 --enable-krb4" \ + || myconf="${myconf} --without-krb4 --disable-krb4" + + econf \ + --mandir=/usr/share/man \ + --localstatedir=/etc \ + --enable-shared \ + --host=${CHOST} \ + --prefix=/usr \ + --enable-dns \ + ${myconf} || die + + make || die +} + +src_install () { + make DESTDIR=${D} install || die + cd .. + dodoc README + + # Begin client rename and install + for i in {telnetd,ftpd} + do + mv ${D}/usr/share/man/man8/${i}.8.gz ${D}/usr/share/man/man8/k${i}.8.gz + mv ${D}/usr/sbin/${i} ${D}/usr/sbin/k${i} + done + for i in {rcp,rsh,telnet,v4rcp,ftp,rlogin} + do + mv ${D}/usr/share/man/man1/${i}.1.gz ${D}/usr/share/man/man1/k${i}.1.gz + mv ${D}/usr/bin/${i} ${D}/usr/bin/k${i} + done + + insinto /etc + newins ${FILESDIR}/krb5.conf krb5.conf + insinto /etc/krb5kdc + newins ${FILESDIR}/kdc.conf kdc.conf + insinto /etc/conf.d + newins ${FILESDIR}/krb5.confd krb5 + exeinto /etc/init.d + newexe ${FILESDIR}/krb5.initd krb5 +} + +pkg_postinst() { + einfo "Configuration files are now under /etc." + einfo "The client apps are now installed with the k prefix" + einfo "(ie. kftp, kftpd, ktelnet, ktelnetd, etc...)" +} |