diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-02-23 05:53:09 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-02-23 05:53:09 +0000 |
commit | f09f2645eeac8a08edd52dce3e7c3032139326e5 (patch) | |
tree | 8cec27bb090e7ea5040838b9faffa2c005e875f4 /net/netatalk/files | |
parent | 0d4cd376465a8b6bef88fcfa9af39750783bbea5 (diff) | |
download | ports-f09f2645eeac8a08edd52dce3e7c3032139326e5.tar.gz ports-f09f2645eeac8a08edd52dce3e7c3032139326e5.zip |
Notes
Diffstat (limited to 'net/netatalk/files')
-rw-r--r-- | net/netatalk/files/patch-bin_afppasswd_afppasswd.c | 11 | ||||
-rw-r--r-- | net/netatalk/files/patch-configure | 37 | ||||
-rw-r--r-- | net/netatalk/files/patch-etc_uams_uams_randnum.c | 47 |
3 files changed, 13 insertions, 82 deletions
diff --git a/net/netatalk/files/patch-bin_afppasswd_afppasswd.c b/net/netatalk/files/patch-bin_afppasswd_afppasswd.c deleted file mode 100644 index 8d5838b9a6a0..000000000000 --- a/net/netatalk/files/patch-bin_afppasswd_afppasswd.c +++ /dev/null @@ -1,11 +0,0 @@ ---- bin/afppasswd/afppasswd.c.orig Thu Feb 20 00:04:51 2003 -+++ bin/afppasswd/afppasswd.c Thu Feb 20 00:04:57 2003 -@@ -114,7 +114,7 @@ - /* decrypt the password */ - ecb_encrypt((C_Block *) buf, (C_Block *) buf, schedule, DES_DECRYPT); - } -- memset(schedule, 0, sizeof(schedule)); -+ memset(&schedule, 0, sizeof(schedule)); - } - - if (newpwd) { diff --git a/net/netatalk/files/patch-configure b/net/netatalk/files/patch-configure index cf6c1bd81c04..55fbe6184a07 100644 --- a/net/netatalk/files/patch-configure +++ b/net/netatalk/files/patch-configure @@ -1,20 +1,9 @@ ---- configure.orig Mon Nov 25 22:08:45 2002 -+++ configure Sun Dec 15 16:59:28 2002 -@@ -1543,10 +1543,6 @@ - - # The aliases save the names the user supplied, while $host etc. - # will get canonicalized. --test -n "$target_alias" && -- test "$program_prefix$program_suffix$program_transform_name" = \ -- NONENONEs,x,x, && -- program_prefix=${target_alias}- - am__api_version="1.4" - # Find a good install program. We prefer a C program (faster), - # so one script is as good as another. But avoid the broken or -@@ -12252,13 +12248,13 @@ +--- configure.orig Sun Feb 23 00:39:17 2003 ++++ configure Sun Feb 23 00:39:38 2003 +@@ -13066,13 +13066,13 @@ savedldflags="$LDFLAGS" - CFLAGS="$CFLAGS -I$db3dir" - LDFLAGS="-L$db3libdir $LDFLAGS" + CFLAGS="$CFLAGS -I$bdbdir" + LDFLAGS="-L$bdblibdir $LDFLAGS" - echo "$as_me:$LINENO: checking for main in -ldb" >&5 -echo $ECHO_N "checking for main in -ldb... $ECHO_C" >&6 + echo "$as_me:$LINENO: checking for main in -ldb3" >&5 @@ -27,13 +16,13 @@ +LIBS="-ldb3 $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" - #include "confdefs.h" -@@ -12299,7 +12295,7 @@ + /* confdefs.h. */ +@@ -13118,7 +13118,7 @@ - db3found=yes - DB3_CFLAGS="-I$db3dir" -- DB3_LIBS="-L$db3libdir -ldb" -+ DB3_LIBS="-L$db3libdir -ldb3" - DB3_PATH="`echo $db3dir | sed 's,include/db3$,,'`" + bdbfound=yes + BDB_CFLAGS="-I$bdbdir" +- BDB_LIBS="-L$bdblibdir -ldb" ++ BDB_LIBS="-L$bdblibdir -ldb3" + BDB_BIN=$bdbbindir + BDB_PATH="`echo $bdbdir | sed 's,include/db3$,,'`" - fi diff --git a/net/netatalk/files/patch-etc_uams_uams_randnum.c b/net/netatalk/files/patch-etc_uams_uams_randnum.c deleted file mode 100644 index b7c5648127e3..000000000000 --- a/net/netatalk/files/patch-etc_uams_uams_randnum.c +++ /dev/null @@ -1,47 +0,0 @@ ---- etc/uams/uams_randnum.c.orig Thu Feb 20 00:05:48 2003 -+++ etc/uams/uams_randnum.c Thu Feb 20 00:07:56 2003 -@@ -217,7 +217,7 @@ - /* decrypt the password */ - ecb_encrypt((C_Block *) p, (C_Block *) p, schedule, DES_DECRYPT); - } -- memset(schedule, 0, sizeof(schedule)); -+ memset(&schedule, 0, sizeof(schedule)); - } - - if (set) { -@@ -383,7 +383,7 @@ - memset(seskey, 0, sizeof(seskey)); - ecb_encrypt((C_Block *) randbuf, (C_Block *) randbuf, - seskeysched, DES_ENCRYPT); -- memset(seskeysched, 0, sizeof(seskeysched)); -+ memset(&seskeysched, 0, sizeof(seskeysched)); - - /* test against what the client sent */ - if (memcmp( randbuf, ibuf, sizeof(randbuf) )) { /* != */ -@@ -431,7 +431,7 @@ - /* test against client's reply */ - if (memcmp(randbuf, ibuf, sizeof(randbuf))) { /* != */ - memset(randbuf, 0, sizeof(randbuf)); -- memset(seskeysched, 0, sizeof(seskeysched)); -+ memset(&seskeysched, 0, sizeof(seskeysched)); - return AFPERR_NOTAUTH; - } - ibuf += sizeof(randbuf); -@@ -440,7 +440,7 @@ - /* encrypt client's challenge and send back */ - ecb_encrypt( (C_Block *) ibuf, (C_Block *) rbuf, - seskeysched, DES_ENCRYPT); -- memset(seskeysched, 0, sizeof(seskeysched)); -+ memset(&seskeysched, 0, sizeof(seskeysched)); - *rbuflen = sizeof(randbuf); - - *uam_pwd = randpwd; -@@ -495,7 +495,7 @@ - err = randpass(pwd, passwdfile, ibuf + PASSWDLEN, sizeof(seskey), 1); - - /* zero out some fields */ -- memset(seskeysched, 0, sizeof(seskeysched)); -+ memset(&seskeysched, 0, sizeof(seskeysched)); - memset(seskey, 0, sizeof(seskey)); - memset(ibuf, 0, sizeof(seskey)); /* old passwd */ - memset(ibuf + PASSWDLEN, 0, sizeof(seskey)); /* new passwd */ |