diff options
author | Wout Mertens <wmertens@gentoo.org> | 2003-03-21 17:07:26 +0000 |
---|---|---|
committer | Wout Mertens <wmertens@gentoo.org> | 2003-03-21 17:07:26 +0000 |
commit | e42809aac20bff2d7983df11117ecaad45e91e40 (patch) | |
tree | 0cb1d236f94c6c502e7a261de044363cee5175c9 /app-crypt | |
parent | Bump, unstable for now, but please test and mark stable (diff) | |
download | gentoo-2-e42809aac20bff2d7983df11117ecaad45e91e40.tar.gz gentoo-2-e42809aac20bff2d7983df11117ecaad45e91e40.tar.bz2 gentoo-2-e42809aac20bff2d7983df11117ecaad45e91e40.zip |
revision bumped to force rebuild
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/krb5/ChangeLog | 6 | ||||
-rw-r--r-- | app-crypt/krb5/files/digest-krb5-1.2.7-r1 | 1 | ||||
-rw-r--r-- | app-crypt/krb5/krb5-1.2.7-r1.ebuild | 61 |
3 files changed, 67 insertions, 1 deletions
diff --git a/app-crypt/krb5/ChangeLog b/app-crypt/krb5/ChangeLog index da514d39ac3d..6958deeffa66 100644 --- a/app-crypt/krb5/ChangeLog +++ b/app-crypt/krb5/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-crypt/krb5 # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/krb5/ChangeLog,v 1.13 2003/03/17 13:01:50 wmertens Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/krb5/ChangeLog,v 1.14 2003/03/21 17:07:26 wmertens Exp $ + + 21 Mar 2003; Wout Mertens <wmertens@gentoo.org> krb5-1.2.7-r1.ebuild : + Bumped revision, forcing rebuild so that people who already had it will + not get problems later on when they upgrade glibc. *krb5-1.2.7 (22 Feb 2003) diff --git a/app-crypt/krb5/files/digest-krb5-1.2.7-r1 b/app-crypt/krb5/files/digest-krb5-1.2.7-r1 new file mode 100644 index 000000000000..5a6385b82ff0 --- /dev/null +++ b/app-crypt/krb5/files/digest-krb5-1.2.7-r1 @@ -0,0 +1 @@ +MD5 854b52face2a8f771caf88166fa269d3 krb5-1.2.7.tar.gz 5491926 diff --git a/app-crypt/krb5/krb5-1.2.7-r1.ebuild b/app-crypt/krb5/krb5-1.2.7-r1.ebuild new file mode 100644 index 000000000000..52bc90d8bc51 --- /dev/null +++ b/app-crypt/krb5/krb5-1.2.7-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/krb5/krb5-1.2.7-r1.ebuild,v 1.1 2003/03/21 17:07:26 wmertens Exp $ + +inherit eutils + +S=${WORKDIR}/${P}/src +SRC_URI="http://www.mirrors.wiretapped.net/security/cryptography/apps/kerberos/krb5-mit/unix/${P}.tar.gz + http://www.galiette.com/krb5/${P}.tar.gz + http://munitions.vipul.net/software/system/auth/kerberos/${P}.tar.gz" +DESCRIPTION="MIT Kerberos V (set up for pam)" +HOMEPAGE="http://web.mit.edu/kerberos/www/" + +IUSE="" +SLOT="0" +LICENSE="as-is" +KEYWORDS="~x86 ~sparc ~ppc" +PROVIDE="virtual/krb5" + +DEPEND="virtual/glibc" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PN}-1.2.2-gentoo.diff + + # Fix bad errno definitions (bug #16450 and #16267) + ebegin Fixing errno definitions + find . -name '*.[ch]' | xargs grep -l 'extern.*int.*errno' \ + | xargs -n1 perl -pi.orig -e ' + $.==1 && s/^/#include <errno.h>\n/; + s/extern\s+int\s+errno\s*\;//;' + eend 0 +} + +src_compile() { + econf \ + --with-krb4 \ + --enable-shared \ + --enable-dns || 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 + +} |