diff options
author | Matt Keadle <mkeadle@gentoo.org> | 2002-12-06 09:27:24 +0000 |
---|---|---|
committer | Matt Keadle <mkeadle@gentoo.org> | 2002-12-06 09:27:24 +0000 |
commit | e2c52e591c52d21cdd83c77a14cdad855a99fce9 (patch) | |
tree | 72e7127bdb6547b168d4d691b6bf2a90307e11ec /app-crypt | |
parent | made jpeg and X headers support optional, depending on X and jpeg use flags, ... (diff) | |
download | historical-e2c52e591c52d21cdd83c77a14cdad855a99fce9.tar.gz historical-e2c52e591c52d21cdd83c77a14cdad855a99fce9.tar.bz2 historical-e2c52e591c52d21cdd83c77a14cdad855a99fce9.zip |
Client utils are now installed. krb5 now provides virtual/krb5
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/krb5/ChangeLog | 12 | ||||
-rw-r--r-- | app-crypt/krb5/files/digest-krb5-1.2.6-r1 | 1 | ||||
-rw-r--r-- | app-crypt/krb5/files/krb5-1.2.6-r1-gentoo.diff | 47 | ||||
-rw-r--r-- | app-crypt/krb5/krb5-1.2.6-r1.ebuild | 53 |
4 files changed, 112 insertions, 1 deletions
diff --git a/app-crypt/krb5/ChangeLog b/app-crypt/krb5/ChangeLog index b8c9f991a5cc..c8ac549ef808 100644 --- a/app-crypt/krb5/ChangeLog +++ b/app-crypt/krb5/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for app-crypt/krb5 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-crypt/krb5/ChangeLog,v 1.6 2002/10/28 14:01:18 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/krb5/ChangeLog,v 1.7 2002/12/06 09:27:24 mkeadle Exp $ + +*krb5-1.2.6-r1 (06 Dec 2002) + + 06 Dec 2002; Matt Keadle <mkeadle@gentoo.org> krb5-1.2.6-r1.ebuild + files/digest-krb5-1.2.6-r1 files/krb5-1.2.6-r1.diff + + Now provides virtual/krb5. Client utils are also installed now with + a leading "k" to signify their kerberos use and not to overlap the + standard tool. IE: /usr/bin/ftp is the standard ftp client, while + /usr/bin/kftp is the kerbized client. This resolves bug #8669. *krb5-1.2.6 (28 Oct 2002) diff --git a/app-crypt/krb5/files/digest-krb5-1.2.6-r1 b/app-crypt/krb5/files/digest-krb5-1.2.6-r1 new file mode 100644 index 000000000000..c4ecd51a80be --- /dev/null +++ b/app-crypt/krb5/files/digest-krb5-1.2.6-r1 @@ -0,0 +1 @@ +MD5 9723ca51368f8fbfcc52927d50dda7ac krb5-1.2.6.tar.gz 5488576 diff --git a/app-crypt/krb5/files/krb5-1.2.6-r1-gentoo.diff b/app-crypt/krb5/files/krb5-1.2.6-r1-gentoo.diff new file mode 100644 index 000000000000..180f6a58f530 --- /dev/null +++ b/app-crypt/krb5/files/krb5-1.2.6-r1-gentoo.diff @@ -0,0 +1,47 @@ +Index: kadm_ser_wrap.c +=================================================================== +RCS file: /cvs/krbdev/krb5/src/kadmin/v4server/kadm_ser_wrap.c,v +retrieving revision 1.10.4.1 +diff -c -r1.10.4.1 kadm_ser_wrap.c +*** kadm_ser_wrap.c 2000/05/23 21:44:50 1.10.4.1 +- --- kadm_ser_wrap.c 2002/10/22 22:07:11 +*************** +*** 170,183 **** + u_char *retdat, *tmpdat; + int retval, retlen; + +! if (strncmp(KADM_VERSTR, (char *)*dat, KADM_VERSIZE)) { + errpkt(dat, dat_len, KADM_BAD_VER); + return KADM_BAD_VER; + } + in_len = KADM_VERSIZE; + /* get the length */ +! if ((retc = stv_long(*dat, &r_len, in_len, *dat_len)) < 0) + return KADM_LENGTH_ERROR; + in_len += retc; + authent.length = *dat_len - r_len - KADM_VERSIZE - sizeof(krb5_ui_4); + memcpy((char *)authent.dat, (char *)(*dat) + in_len, authent.length); +- --- 170,190 ---- + u_char *retdat, *tmpdat; + int retval, retlen; + +! if ((*dat_len < KADM_VERSIZE + sizeof(krb5_ui_4)) +! || strncmp(KADM_VERSTR, (char *)*dat, KADM_VERSIZE)) { + errpkt(dat, dat_len, KADM_BAD_VER); + return KADM_BAD_VER; + } + in_len = KADM_VERSIZE; + /* get the length */ +! if ((retc = stv_long(*dat, &r_len, in_len, *dat_len)) < 0 +! || (r_len > *dat_len - KADM_VERSIZE - sizeof(krb5_ui_4)) +! || (*dat_len - r_len - KADM_VERSIZE - +! sizeof(krb5_ui_4) > sizeof(authent.dat))) { +! errpkt(dat, dat_len, KADM_LENGTH_ERROR); + return KADM_LENGTH_ERROR; ++ } ++ + in_len += retc; + authent.length = *dat_len - r_len - KADM_VERSIZE - sizeof(krb5_ui_4); + memcpy((char *)authent.dat, (char *)(*dat) + in_len, authent.length); + + diff --git a/app-crypt/krb5/krb5-1.2.6-r1.ebuild b/app-crypt/krb5/krb5-1.2.6-r1.ebuild new file mode 100644 index 000000000000..07a549dc34c3 --- /dev/null +++ b/app-crypt/krb5/krb5-1.2.6-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2002 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.6-r1.ebuild,v 1.1 2002/12/06 09:27:24 mkeadle Exp $ + +inherit eutils + +S=${WORKDIR}/${P}/src +SRC_URI="http://www.crypto-publish.org/dist/mit-kerberos5/${P}.tar.gz" +DESCRIPTION="MIT Kerberos V (set up for pam)" +HOMEPAGE="http://web.mit.edu/kerberos/www/" + +IUSE="doc" +SLOT="0" +LICENSE="as-is" +KEYWORDS="x86 ~sparc ~sparc64" +PROVIDES="virtual/krb5" + +DEPEND="virtual/glibc" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PN}-1.2.2-gentoo.diff + cd ${S}/kadmin/v4server/ + epatch ${FILESDIR}/${PF}-gentoo.diff +} + +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 + +} |