diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2003-06-10 14:49:35 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2003-06-10 14:49:35 +0000 |
commit | 8c81143ed08472bb99b441738f51c102bb080d6f (patch) | |
tree | 8ded3c1324059620dc4abd42075c607dca38af8a /app-crypt | |
parent | Version bump. Fixes bug #21618 (diff) | |
download | gentoo-2-8c81143ed08472bb99b441738f51c102bb080d6f.tar.gz gentoo-2-8c81143ed08472bb99b441738f51c102bb080d6f.tar.bz2 gentoo-2-8c81143ed08472bb99b441738f51c102bb080d6f.zip |
moved to mit-krb5
Diffstat (limited to 'app-crypt')
22 files changed, 0 insertions, 809 deletions
diff --git a/app-crypt/krb5/ChangeLog b/app-crypt/krb5/ChangeLog deleted file mode 100644 index 2e6d74a6f414..000000000000 --- a/app-crypt/krb5/ChangeLog +++ /dev/null @@ -1,82 +0,0 @@ -# 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.17 2003/04/14 22:59:04 wwoods Exp $ - -*krb5-1.2.7-r2 (30 Mar 2003) - - 14 Apr 2003; Will Woods <wwoods@gentoo.org> krb5-1.2.7-r2.ebuild: - added alpha to KEYWORDS - - 30 Mar 2003; Daniel Ahlberg <aliz@gentoo.org> krb5-1.2.7-r2.ebuild : - Security update. Various patches from MIT applied. - - 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) - - 17 Mar 2003; Wout Mertens <wmertens@gentoo.org> : - Applied fix for errno problem with newer glibc, bug #16450 and #16267. - - 22 Feb 2003; Daniel Ahlberg <aliz@gentoo.org> : - Version bump. - - 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords - -*krb5-1.2.6-r1 (06 Dec 2002) - - 28 Mar 2003; Pieter Van den Abeele <pvdabeel@gentoo.org> krb5-1.2.6-r1.ebuild : - Moved to ppc - - 20 Jan 2003; Nick Hadaway <raker@gentoo.org> krb5-1.2.6-r1.ebuild : - Changed PROVIDES to PROVIDE. - - 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) - - 28 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> : - Security update. - -*krb5-1.2.5-r2 (02 aug 2002) - - 02 Aug 2002; Daniel Ahlberg <aliz@gentoo.org> krb5-1.2.5-r2.ebuild : - - Security update, compile fix and updated homepage URL. - -*krb5-1.2.5-r1 (22 Jun 2002) - - 22 Jun 2002; William McArthur <sandymac@gentoo.org> : - - Changed --localstatedir from /var/krb5kdc to /var because the /krb5kdc is - automatically appended. - -*krb5-1.2.3 (21 Feb 2002) - - 21 Feb 2002; Grant Goodyear <g2boojum@gentoo.org> : - - Updated to 1.2.3. - -*krb5-1.2.2-r1 (21 Feb 2002) - - 21 Feb 2002; Grant Goodyear <g2boojum@gentoo.org> : - - Thanks to Michael Kaufman, we now have a working ebuild. Previous ebuild - failed to build klist, kvno, kpasswd, kinit, and kdestroy. There was - also a linker problem which has been fixed. - -*krb5-1.2.2 (1 Feb 2002) - - 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : - - Added initial ChangeLog which should be updated whenever the package is - updated in any way. This changelog is targetted to users. This means that the - comments should well explained and written in clean English. The details about - writing correct changelogs are explained in the skel.ChangeLog file which you - can find in the root directory of the portage repository. diff --git a/app-crypt/krb5/Manifest b/app-crypt/krb5/Manifest deleted file mode 100644 index e7039bee5f15..000000000000 --- a/app-crypt/krb5/Manifest +++ /dev/null @@ -1,21 +0,0 @@ -MD5 86a13c125b504e15feb23015c3851110 ChangeLog 2881 -MD5 949dadc1681c144c00b8c2807dd9205d krb5-1.2.5-r1.ebuild 900 -MD5 3fd9a8a7700de8ff2296be99f22b4c74 krb5-1.2.5-r2.ebuild 978 -MD5 f6b577bc71750fad2db1bc25219a7486 krb5-1.2.6-r1.ebuild 1221 -MD5 86c675f7fe76bf7457824ebcd822986c krb5-1.2.6.ebuild 1023 -MD5 9e52f954bd7d4da05df04f5f357ceb53 krb5-1.2.7-r1.ebuild 1566 -MD5 0a155270c9e934592c60f66c25bdbb1d krb5-1.2.7-r2.ebuild 1996 -MD5 6bd4427cee3fc853f9f4e96e5932ea0e krb5-1.2.7.ebuild 1563 -MD5 c6e84161aa5ed6a74378af2e975fc301 files/digest-krb5-1.2.5-r1 63 -MD5 c6e84161aa5ed6a74378af2e975fc301 files/digest-krb5-1.2.5-r2 63 -MD5 8b096b4ab22aec502c59b29325cd04ac files/digest-krb5-1.2.6 63 -MD5 8b096b4ab22aec502c59b29325cd04ac files/digest-krb5-1.2.6-r1 63 -MD5 a43935b01c7dc5d740b90e60742166e8 files/digest-krb5-1.2.7 63 -MD5 a43935b01c7dc5d740b90e60742166e8 files/digest-krb5-1.2.7-r1 63 -MD5 589599adcbf4b8a7ce986449eef97428 files/digest-krb5-1.2.7-r2 136 -MD5 ad5d19a7bfe3339307c62797eef7a214 files/krb5-1.2.2-gentoo.diff 990 -MD5 5d425633072df3839c32afbd4e7fbfd1 files/krb5-1.2.5-r2.patch 634 -MD5 38f68aea45bc300920563eb5b90b1a86 files/krb5-1.2.6-gentoo.diff 1657 -MD5 38f68aea45bc300920563eb5b90b1a86 files/krb5-1.2.6-r1-gentoo.diff 1657 -MD5 589b9f6ef4cc8c9d8faf77528054cdf4 files/krb5-1.2.7-principal_name_handling.patch 2124 -MD5 c9cc84d6a3582384f84c6ccd9a4d8208 files/krb5-1.2.7-xdr.patch 3153 diff --git a/app-crypt/krb5/files/digest-krb5-1.2.5-r1 b/app-crypt/krb5/files/digest-krb5-1.2.5-r1 deleted file mode 100644 index cadfcd52ed25..000000000000 --- a/app-crypt/krb5/files/digest-krb5-1.2.5-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 980c7935b27281e65367c538366776ab krb5-1.2.5.tar.gz 5480606 diff --git a/app-crypt/krb5/files/digest-krb5-1.2.5-r2 b/app-crypt/krb5/files/digest-krb5-1.2.5-r2 deleted file mode 100644 index cadfcd52ed25..000000000000 --- a/app-crypt/krb5/files/digest-krb5-1.2.5-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 980c7935b27281e65367c538366776ab krb5-1.2.5.tar.gz 5480606 diff --git a/app-crypt/krb5/files/digest-krb5-1.2.6 b/app-crypt/krb5/files/digest-krb5-1.2.6 deleted file mode 100644 index c4ecd51a80be..000000000000 --- a/app-crypt/krb5/files/digest-krb5-1.2.6 +++ /dev/null @@ -1 +0,0 @@ -MD5 9723ca51368f8fbfcc52927d50dda7ac krb5-1.2.6.tar.gz 5488576 diff --git a/app-crypt/krb5/files/digest-krb5-1.2.6-r1 b/app-crypt/krb5/files/digest-krb5-1.2.6-r1 deleted file mode 100644 index c4ecd51a80be..000000000000 --- a/app-crypt/krb5/files/digest-krb5-1.2.6-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 9723ca51368f8fbfcc52927d50dda7ac krb5-1.2.6.tar.gz 5488576 diff --git a/app-crypt/krb5/files/digest-krb5-1.2.7 b/app-crypt/krb5/files/digest-krb5-1.2.7 deleted file mode 100644 index 5a6385b82ff0..000000000000 --- a/app-crypt/krb5/files/digest-krb5-1.2.7 +++ /dev/null @@ -1 +0,0 @@ -MD5 854b52face2a8f771caf88166fa269d3 krb5-1.2.7.tar.gz 5491926 diff --git a/app-crypt/krb5/files/digest-krb5-1.2.7-r1 b/app-crypt/krb5/files/digest-krb5-1.2.7-r1 deleted file mode 100644 index 5a6385b82ff0..000000000000 --- a/app-crypt/krb5/files/digest-krb5-1.2.7-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 854b52face2a8f771caf88166fa269d3 krb5-1.2.7.tar.gz 5491926 diff --git a/app-crypt/krb5/files/digest-krb5-1.2.7-r2 b/app-crypt/krb5/files/digest-krb5-1.2.7-r2 deleted file mode 100644 index a408c7ae4794..000000000000 --- a/app-crypt/krb5/files/digest-krb5-1.2.7-r2 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 854b52face2a8f771caf88166fa269d3 krb5-1.2.7.tar.gz 5491926 -MD5 88d770f2de2c1bd842b511f47002a807 2003-004-krb4_patchkit.tar.gz 11493 diff --git a/app-crypt/krb5/files/krb5-1.2.2-gentoo.diff b/app-crypt/krb5/files/krb5-1.2.2-gentoo.diff deleted file mode 100644 index ddad41c8f687..000000000000 --- a/app-crypt/krb5/files/krb5-1.2.2-gentoo.diff +++ /dev/null @@ -1,24 +0,0 @@ -diff -uNr ../../krb5-1.2.2-orig/src/lib/krb4/Makefile.in ./lib/krb4/Makefile.in ---- ../../krb5-1.2.2-orig/src/lib/krb4/Makefile.in Wed Feb 28 14:07:42 2001 -+++ ./lib/krb4/Makefile.in Thu Feb 7 03:08:31 2002 -@@ -23,7 +23,7 @@ - $(TOPLIBD)/libdes425$(SHLIBEXT) \ - $(TOPLIBD)/libk5crypto$(SHLIBEXT) \ - $(TOPLIBD)/libkrb5$(SHLIBEXT) --SHLIB_EXPLIBS=-lkrb5 -lcom_err -ldes425 -lk5crypto -+SHLIB_EXPLIBS=-lc -lkrb5 -lcom_err -ldes425 -lk5crypto - SHLIB_DIRS=-L$(TOPLIBD) - SHLIB_RDIRS=$(KRB5_LIBDIR) - -diff -uNr ../../krb5-1.2.2-orig/src/lib/krb5/Makefile.in ./lib/krb5/Makefile.in ---- ../../krb5-1.2.2-orig/src/lib/krb5/Makefile.in Wed Feb 28 14:07:43 2001 -+++ ./lib/krb5/Makefile.in Thu Feb 7 03:08:13 2002 -@@ -58,7 +58,7 @@ - SHLIB_EXPDEPS = \ - $(TOPLIBD)/libk5crypto$(SHLIBEXT) \ - $(TOPLIBD)/libcom_err$(SHLIBEXT) --SHLIB_EXPLIBS=-lk5crypto -lcom_err @GEN_LIB@ @RESOLV_LIB@ -+SHLIB_EXPLIBS=-lc -lk5crypto -lcom_err @GEN_LIB@ @RESOLV_LIB@ - SHLIB_DIRS=-L$(TOPLIBD) - SHLIB_RDIRS=$(KRB5_LIBDIR) - diff --git a/app-crypt/krb5/files/krb5-1.2.5-r2.patch b/app-crypt/krb5/files/krb5-1.2.5-r2.patch deleted file mode 100644 index b21b83e881bd..000000000000 --- a/app-crypt/krb5/files/krb5-1.2.5-r2.patch +++ /dev/null @@ -1,25 +0,0 @@ -Index: xdr_array.c -=================================================================== -RCS file: /cvs/krbdev/krb5/src/lib/rpc/xdr_array.c,v -retrieving revision 1.5 -diff -c -r1.5 xdr_array.c -*** xdr_array.c 1998/02/14 02:27:23 1.5 ---- xdr_array.c 2002/08/02 17:25:05 -*************** -*** 75,81 **** - return (FALSE); - } - c = *sizep; -! if ((c > maxsize) && (xdrs->x_op != XDR_FREE)) { - return (FALSE); - } - nodesize = c * elsize; ---- 75,82 ---- - return (FALSE); - } - c = *sizep; -! if ((c > maxsize || c > LASTUNSIGNED / elsize) -! && (xdrs->x_op != XDR_FREE)) { - return (FALSE); - } - nodesize = c * elsize; diff --git a/app-crypt/krb5/files/krb5-1.2.6-gentoo.diff b/app-crypt/krb5/files/krb5-1.2.6-gentoo.diff deleted file mode 100644 index 180f6a58f530..000000000000 --- a/app-crypt/krb5/files/krb5-1.2.6-gentoo.diff +++ /dev/null @@ -1,47 +0,0 @@ -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/files/krb5-1.2.6-r1-gentoo.diff b/app-crypt/krb5/files/krb5-1.2.6-r1-gentoo.diff deleted file mode 100644 index 180f6a58f530..000000000000 --- a/app-crypt/krb5/files/krb5-1.2.6-r1-gentoo.diff +++ /dev/null @@ -1,47 +0,0 @@ -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/files/krb5-1.2.7-principal_name_handling.patch b/app-crypt/krb5/files/krb5-1.2.7-principal_name_handling.patch deleted file mode 100644 index a220866d8237..000000000000 --- a/app-crypt/krb5/files/krb5-1.2.7-principal_name_handling.patch +++ /dev/null @@ -1,51 +0,0 @@ -Index: include/krb5.hin -=================================================================== -RCS file: /cvs/krbdev/krb5/src/include/krb5.hin,v -retrieving revision 1.94.2.5.2.17 -diff -p -u -r1.94.2.5.2.17 krb5.hin ---- src/include/krb5.hin 2002/04/16 23:47:53 1.94.2.5.2.17 -+++ src/include/krb5.hin 2003/03/19 00:38:54 -@@ -326,7 +326,7 @@ typedef krb5_const krb5_principal_data F - #define krb5_princ_size(context, princ) (princ)->length - #define krb5_princ_type(context, princ) (princ)->type - #define krb5_princ_name(context, princ) (princ)->data --#define krb5_princ_component(context, princ,i) ((princ)->data + i) -+#define krb5_princ_component(context, princ,i) (i < krb5_princ_size(context, princ) ? ((princ)->data + i) : NULL) - - /* - * end "base-defs.h" -Index: kdc/kdc_util.c -=================================================================== -RCS file: /cvs/krbdev/krb5/src/kdc/kdc_util.c,v -retrieving revision 5.96.2.2.2.3 -diff -p -u -r5.96.2.2.2.3 kdc_util.c ---- src/kdc/kdc_util.c 2002/10/31 00:38:34 5.96.2.2.2.3 -+++ src/kdc/kdc_util.c 2003/03/19 00:39:00 -@@ -157,7 +157,8 @@ realm_compare(princ1, princ2) - krb5_boolean krb5_is_tgs_principal(principal) - krb5_principal principal; - { -- if ((krb5_princ_component(kdc_context, principal, 0)->length == -+ if (krb5_princ_size(kdc_context, principal) > 0 && -+ (krb5_princ_component(kdc_context, principal, 0)->length == - KRB5_TGS_NAME_SIZE) && - (!memcmp(krb5_princ_component(kdc_context, principal, 0)->data, - KRB5_TGS_NAME, KRB5_TGS_NAME_SIZE))) -Index: lib/krb5/krb/unparse.c -=================================================================== -RCS file: /cvs/krbdev/krb5/src/lib/krb5/krb/unparse.c,v -retrieving revision 5.27.4.1 -diff -p -u -r5.27.4.1 unparse.c ---- src/lib/krb5/krb/unparse.c 2002/08/12 22:55:01 5.27.4.1 -+++ src/lib/krb5/krb/unparse.c 2003/03/19 00:39:02 -@@ -153,7 +153,8 @@ krb5_unparse_name_ext(context, principal - *q++ = COMPONENT_SEP; - } - -- q--; /* Back up last component separator */ -+ if (i > 0) -+ q--; /* Back up last component separator */ - *q++ = REALM_SEP; - - cp = krb5_princ_realm(context, principal)->data; - diff --git a/app-crypt/krb5/files/krb5-1.2.7-xdr.patch b/app-crypt/krb5/files/krb5-1.2.7-xdr.patch deleted file mode 100644 index d25f5717bff1..000000000000 --- a/app-crypt/krb5/files/krb5-1.2.7-xdr.patch +++ /dev/null @@ -1,137 +0,0 @@ -Index: xdr_mem.c -=================================================================== -RCS file: /cvs/krbdev/krb5/src/lib/rpc/xdr_mem.c,v -retrieving revision 1.8 -diff -c -r1.8 xdr_mem.c -*** src/lib/rpc/xdr_mem.c 1998/02/14 02:27:24 1.8 -- --- src/lib/rpc/xdr_mem.c 2003/02/04 22:57:24 -*************** -*** 47,52 **** -- --- 47,54 ---- - #include <gssrpc/xdr.h> - #include <netinet/in.h> - #include <stdio.h> -+ #include <string.h> -+ #include <limits.h> - - static bool_t xdrmem_getlong(); - static bool_t xdrmem_putlong(); -*************** -*** 83,89 **** - xdrs->x_op = op; - xdrs->x_ops = &xdrmem_ops; - xdrs->x_private = xdrs->x_base = addr; -! xdrs->x_handy = size; - } - - static void -- --- 85,91 ---- - xdrs->x_op = op; - xdrs->x_ops = &xdrmem_ops; - xdrs->x_private = xdrs->x_base = addr; -! xdrs->x_handy = (size > INT_MAX) ? INT_MAX : size; /* XXX */ - } - - static void -*************** -*** 98,105 **** - long *lp; - { - -! if ((xdrs->x_handy -= sizeof(rpc_int32)) < 0) - return (FALSE); - *lp = (long)ntohl(*((rpc_u_int32 *)(xdrs->x_private))); - xdrs->x_private += sizeof(rpc_int32); - return (TRUE); -- --- 100,109 ---- - long *lp; - { - -! if (xdrs->x_handy < sizeof(rpc_int32)) - return (FALSE); -+ else -+ xdrs->x_handy -= sizeof(rpc_int32); - *lp = (long)ntohl(*((rpc_u_int32 *)(xdrs->x_private))); - xdrs->x_private += sizeof(rpc_int32); - return (TRUE); -*************** -*** 111,118 **** - long *lp; - { - -! if ((xdrs->x_handy -= sizeof(rpc_int32)) < 0) - return (FALSE); - *(rpc_int32 *)xdrs->x_private = (rpc_int32)htonl((rpc_u_int32)(*lp)); - xdrs->x_private += sizeof(rpc_int32); - return (TRUE); -- --- 115,124 ---- - long *lp; - { - -! if (xdrs->x_handy < sizeof(rpc_int32)) - return (FALSE); -+ else -+ xdrs->x_handy -= sizeof(rpc_int32); - *(rpc_int32 *)xdrs->x_private = (rpc_int32)htonl((rpc_u_int32)(*lp)); - xdrs->x_private += sizeof(rpc_int32); - return (TRUE); -*************** -*** 125,132 **** - register unsigned int len; - { - -! if ((xdrs->x_handy -= len) < 0) - return (FALSE); - memmove(addr, xdrs->x_private, len); - xdrs->x_private += len; - return (TRUE); -- --- 131,140 ---- - register unsigned int len; - { - -! if (xdrs->x_handy < len) - return (FALSE); -+ else -+ xdrs->x_handy -= len; - memmove(addr, xdrs->x_private, len); - xdrs->x_private += len; - return (TRUE); -*************** -*** 139,146 **** - register unsigned int len; - { - -! if ((xdrs->x_handy -= len) < 0) - return (FALSE); - memmove(xdrs->x_private, addr, len); - xdrs->x_private += len; - return (TRUE); -- --- 147,156 ---- - register unsigned int len; - { - -! if (xdrs->x_handy < len) - return (FALSE); -+ else -+ xdrs->x_handy -= len; - memmove(xdrs->x_private, addr, len); - xdrs->x_private += len; - return (TRUE); -*************** -*** 179,185 **** - { - rpc_int32 *buf = 0; - -! if (xdrs->x_handy >= len) { - xdrs->x_handy -= len; - buf = (rpc_int32 *) xdrs->x_private; - xdrs->x_private += len; -- --- 189,195 ---- - { - rpc_int32 *buf = 0; - -! if (len >= 0 && xdrs->x_handy >= len) { - xdrs->x_handy -= len; - buf = (rpc_int32 *) xdrs->x_private; - xdrs->x_private += len; - diff --git a/app-crypt/krb5/krb5-1.2.5-r1.ebuild b/app-crypt/krb5/krb5-1.2.5-r1.ebuild deleted file mode 100644 index 7d64fba47230..000000000000 --- a/app-crypt/krb5/krb5-1.2.5-r1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# 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.5-r1.ebuild,v 1.8 2003/02/13 06:22:57 vapier Exp $ - -SRC_URI="http://www.crypto-publish.org/dist/mit-kerberos5/${P}.tar.gz" -DESCRIPTION="MIT Kerberos V (set up for pam)" -HOMEPAGE="http://crypto-publish.org/" - -SLOT="0" -LICENSE="as-is" -KEYWORDS="x86 sparc " - -S=${WORKDIR}/${P}/src - -src_compile() { - patch -p0 < ${FILESDIR}/${PN}-1.2.2-gentoo.diff || die - - econf \ - --with-krb4 \ - --enable-shared \ - --enable-dns - - mv Makefile Makefile.orig - #Don't install the ftp, telnet, r* apps; use pam instead - sed -e 's/ appl / /' Makefile.orig > Makefile - make || die -} - -src_install() { - make DESTDIR=${D} install || die - cd .. - dodoc README -} - -pkg_postinst() { - ewarn 'NOTE: ftp, telnet, r* apps not installed. Install pam-krb5!' -} diff --git a/app-crypt/krb5/krb5-1.2.5-r2.ebuild b/app-crypt/krb5/krb5-1.2.5-r2.ebuild deleted file mode 100644 index d562a1d6ada5..000000000000 --- a/app-crypt/krb5/krb5-1.2.5-r2.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# 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.5-r2.ebuild,v 1.6 2003/02/13 06:23:01 vapier Exp $ - -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/" - -SLOT="0" -LICENSE="as-is" -KEYWORDS="x86 sparc " - -S=${WORKDIR}/${P}/src - -src_compile() { - patch -p0 < ${FILESDIR}/${PN}-1.2.2-gentoo.diff || die - - cd ${S}/lib/rpc - patch -p0 < ${FILESDIR}/${P}-r2.patch || die - cd ${S} - - econf \ - --with-krb4 \ - --enable-shared \ - --enable-dns - - mv Makefile Makefile.orig - #Don't install the ftp, telnet, r* apps; use pam instead - sed -e 's/ appl / /' Makefile.orig > Makefile - make || die -} - -src_install() { - make DESTDIR=${D} install || die - cd .. - dodoc README -} - -pkg_postinst() { - ewarn 'NOTE: ftp, telnet, r* apps not installed. Install pam-krb5!' -} diff --git a/app-crypt/krb5/krb5-1.2.6-r1.ebuild b/app-crypt/krb5/krb5-1.2.6-r1.ebuild deleted file mode 100644 index c52f90ee6d6b..000000000000 --- a/app-crypt/krb5/krb5-1.2.6-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# 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.6-r1.ebuild,v 1.6 2003/03/28 12:29:34 pvdabeel 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 ppc" -PROVIDE="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 - -} diff --git a/app-crypt/krb5/krb5-1.2.6.ebuild b/app-crypt/krb5/krb5-1.2.6.ebuild deleted file mode 100644 index 260777974650..000000000000 --- a/app-crypt/krb5/krb5-1.2.6.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# 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.6.ebuild,v 1.4 2003/02/13 06:23:10 vapier Exp $ - -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 " - -S=${WORKDIR}/${P}/src - -src_unpack() { - unpack ${A} - cd ${S} - - patch -p0 < ${FILESDIR}/${PN}-1.2.2-gentoo.diff || die - - cd ${S}/kadmin/v4server/ - patch -p0 < ${FILESDIR}/${PF}-gentoo.diff || die -} - -src_compile() { - econf \ - --with-krb4 \ - --enable-shared \ - --enable-dns - mv Makefile Makefile.orig - #Don't install the ftp, telnet, r* apps; use pam instead - sed -e 's/ appl / /' Makefile.orig > Makefile - make || die -} - -src_install() { - make DESTDIR=${D} install || die - cd .. - dodoc README -} - -pkg_postinst() { - einfo "ftp, telnet, r* apps not installed. Install pam-krb5!" -} diff --git a/app-crypt/krb5/krb5-1.2.7-r1.ebuild b/app-crypt/krb5/krb5-1.2.7-r1.ebuild deleted file mode 100644 index 52bc90d8bc51..000000000000 --- a/app-crypt/krb5/krb5-1.2.7-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# 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 - -} diff --git a/app-crypt/krb5/krb5-1.2.7-r2.ebuild b/app-crypt/krb5/krb5-1.2.7-r2.ebuild deleted file mode 100644 index 787a1b4dad42..000000000000 --- a/app-crypt/krb5/krb5-1.2.7-r2.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# 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-r2.ebuild,v 1.3 2003/04/14 22:59:04 wwoods 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 - http://web.mit.edu/kerberos/www/advisories/2003-004-krb4_patchkit.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 alpha" -PROVIDE="virtual/krb5" - -DEPEND="virtual/glibc" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${PN}-1.2.2-gentoo.diff - - EPATCH_SINGLE_MSG="Applying MIT krb5 Security Advisory 2003-003 fix" - epatch ${FILESDIR}/${P}-xdr.patch - EPATCH_SINGLE_MSG="Applying MIT krb5 Security Advisory 2003-004 fix" - epatch ${WORKDIR}/2003-004-krb4_patchkit/patch.${PV} - EPATCH_SINGLE_MSG="Applying MIT krb5 Security Advisory 2003-005 fix" - epatch ${FILESDIR}/${P}-principal_name_handling.patch - - # 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 - -} diff --git a/app-crypt/krb5/krb5-1.2.7.ebuild b/app-crypt/krb5/krb5-1.2.7.ebuild deleted file mode 100644 index 2f0aeac727c6..000000000000 --- a/app-crypt/krb5/krb5-1.2.7.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# 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.ebuild,v 1.2 2003/03/17 13:01:50 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 - -} |