diff options
author | Cy Schubert <cy@FreeBSD.org> | 2002-11-16 00:02:13 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2002-11-16 00:02:13 +0000 |
commit | e781a319dc929e638274157f83d494c3aee0d0b7 (patch) | |
tree | 9bb151f9fafca8d288cce476da76888eb41a7026 /security/krb5-17 | |
parent | Update to 1.1. (diff) |
Update 1.2.6 --> 1.2.7
Note: Since crypto-publish.org does not yet have krb5-1.2.7 up on their
website, fetch from their site has been temporarily disabled.
Notes
Notes:
svn path=/head/; revision=70211
Diffstat (limited to 'security/krb5-17')
-rw-r--r-- | security/krb5-17/Makefile | 12 | ||||
-rw-r--r-- | security/krb5-17/distinfo | 3 | ||||
-rw-r--r-- | security/krb5-17/files/patch-kadmin::v4server::kadm_ser_wrap.c | 26 |
3 files changed, 9 insertions, 32 deletions
diff --git a/security/krb5-17/Makefile b/security/krb5-17/Makefile index dbef65d1d20f..da604fe2954f 100644 --- a/security/krb5-17/Makefile +++ b/security/krb5-17/Makefile @@ -6,12 +6,16 @@ # PORTNAME= krb5 -PORTVERSION= 1.2.6 -PORTREVISION= 1 +PORTVERSION= 1.2.7 CATEGORIES= security .if defined(USA_RESIDENT) && ${USA_RESIDENT} == "NO" -MASTER_SITES= http://www.crypto-publish.org/dist/mit-kerberos5/ -EXTRACT_SUFX= .tar.gz +# XXX crypto-publish.org does not at this time have the krb5-1.2.7 tarball. +# Use manual download until crypto-publish.org posts a copy of krb5-1.2.7 +# on their website. +# MASTER_SITES= http://www.crypto-publish.org/dist/mit-kerberos5/ +# EXTRACT_SUFX= .tar.gz +MASTER_SITES= # manual download +EXTRACT_SUFX= .tar .else MASTER_SITES= # manual download EXTRACT_SUFX= .tar diff --git a/security/krb5-17/distinfo b/security/krb5-17/distinfo index 4ad9c42a42da..ebef31db7744 100644 --- a/security/krb5-17/distinfo +++ b/security/krb5-17/distinfo @@ -1,2 +1 @@ -MD5 (krb5-1.2.6.tar) = 88a94d357c63e0c6b902f3e7cffe397c -MD5 (krb5-1.2.6.tar.gz) = 9723ca51368f8fbfcc52927d50dda7ac +MD5 (krb5-1.2.7.tar) = c09755f5fb9bc30d93050bd89ef0562b diff --git a/security/krb5-17/files/patch-kadmin::v4server::kadm_ser_wrap.c b/security/krb5-17/files/patch-kadmin::v4server::kadm_ser_wrap.c deleted file mode 100644 index 2fa89e96690b..000000000000 --- a/security/krb5-17/files/patch-kadmin::v4server::kadm_ser_wrap.c +++ /dev/null @@ -1,26 +0,0 @@ ---- kadmin/v4server/kadm_ser_wrap.c.orig Tue May 23 14:44:50 2000 -+++ kadmin/v4server/kadm_ser_wrap.c Wed Oct 23 15:15:24 2002 -@@ -170,14 +170,21 @@ - u_char *retdat, *tmpdat; - int retval, retlen; - -- if (strncmp(KADM_VERSTR, (char *)*dat, KADM_VERSIZE)) { -+ 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) -+ 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); |