1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

* Update to 1.6.1

* De-pkg-comment
This commit is contained in:
Joe Marcus Clarke 2003-02-23 05:53:09 +00:00
parent 0d4cd37646
commit f09f2645ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76224
14 changed files with 70 additions and 176 deletions

View File

@ -6,14 +6,14 @@
#
PORTNAME= netatalk
PORTVERSION= 1.6.0
PORTREVISION= 1
PORTVERSION= 1.6.1
PORTEPOCH= 1
CATEGORIES= net print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= netatalk
MAINTAINER= marcus@FreeBSD.org
COMMENT= File and print server for AppleTalk networks
.if !defined(WITHOUT_CNID)
LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3
@ -47,7 +47,7 @@ PLIST_SUB+= NETATALKCNID="@comment "
# This method of DID calculation is not persistent, but has been tested to
# work with MacOS X (10.0.3-10.1.3) as well as MacOS 7-9.2.2.
CONFIGURE_ARGS+= --with-did=cnid \
--with-db3=${LOCALBASE}
--with-bdb=${LOCALBASE}
PLIST_SUB+= NETATALKCNID=""
.endif
.if defined (WITH_TIMELORD)
@ -56,8 +56,12 @@ PLIST_SUB+= TIMELORD=""
.else
PLIST_SUB+= TIMELORD="@comment "
.endif
.if defined (WITH_MANGLING) && !defined (WITHOUT_CNID)
# Enable long file name mangling support (requires CNID).
CONFIGURE_ARGS+= --with-mangling
.endif
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
USE_PERL5= yes
FILES= AppleVolumes.default AppleVolumes.system afpd.conf \
@ -76,6 +80,18 @@ MAN5= AppleVolumes.default.5 afpd.conf.5 atalkd.conf.5 \
netatalk.conf.5 papd.conf.5
MAN8= afpd.8 atalkd.8 papd.8 papstatus.8 psf.8 timelord.8
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "Netatalk has the following tunable options:"
@${ECHO_MSG} " WITHOUT_CNID=yes Turns off CNID persistent DID support"
@${ECHO_MSG} " WITH_SRVLOC=yes Enable Service Location Protocol support"
@${ECHO_MSG} " WITH_PAM=yes Enable PAM support"
@${ECHO_MSG} " WITH_TIMELOARD=yes Enable Timelord network time service"
@${ECHO_MSG} " WITH_MANGLING=yes Enable long file name mangling support (requires CNID)"
@${ECHO_MSG} ""
@${ECHO_MSG} "See Netatalk's Makefile for more details on some of these options."
@${ECHO_MSG} ""
post-extract:
@${SED} -e "s=%%PREFIX%%=${PREFIX}=g" ${FILESDIR}/netatalk.sh \
> ${WRKSRC}/netatalk.sh

View File

@ -1 +1 @@
MD5 (netatalk-1.6.0.tar.bz2) = c141aa6712fed7a51b989b0aa80977c7
MD5 (netatalk-1.6.1.tar.bz2) = fa3764f1a878c63f91e0b640ee60aa59

View File

@ -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) {

View File

@ -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

View File

@ -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 */

View File

@ -1 +0,0 @@
File and print server for AppleTalk networks

View File

@ -85,6 +85,7 @@ etc/nls/maccode.437
etc/nls/maccode.850
etc/nls/maccode.iso8859-1
etc/nls/maccode.iso8859-1.adapted
etc/nls/maccode.koi8-r
etc/rc.d/netatalk.sh.sample
etc/uams/uams_clrtxt.so
etc/uams/uams_dhx.so

View File

@ -6,14 +6,14 @@
#
PORTNAME= netatalk
PORTVERSION= 1.6.0
PORTREVISION= 1
PORTVERSION= 1.6.1
PORTEPOCH= 1
CATEGORIES= net print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= netatalk
MAINTAINER= marcus@FreeBSD.org
COMMENT= File and print server for AppleTalk networks
.if !defined(WITHOUT_CNID)
LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3
@ -47,7 +47,7 @@ PLIST_SUB+= NETATALKCNID="@comment "
# This method of DID calculation is not persistent, but has been tested to
# work with MacOS X (10.0.3-10.1.3) as well as MacOS 7-9.2.2.
CONFIGURE_ARGS+= --with-did=cnid \
--with-db3=${LOCALBASE}
--with-bdb=${LOCALBASE}
PLIST_SUB+= NETATALKCNID=""
.endif
.if defined (WITH_TIMELORD)
@ -56,8 +56,12 @@ PLIST_SUB+= TIMELORD=""
.else
PLIST_SUB+= TIMELORD="@comment "
.endif
.if defined (WITH_MANGLING) && !defined (WITHOUT_CNID)
# Enable long file name mangling support (requires CNID).
CONFIGURE_ARGS+= --with-mangling
.endif
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
USE_PERL5= yes
FILES= AppleVolumes.default AppleVolumes.system afpd.conf \
@ -76,6 +80,18 @@ MAN5= AppleVolumes.default.5 afpd.conf.5 atalkd.conf.5 \
netatalk.conf.5 papd.conf.5
MAN8= afpd.8 atalkd.8 papd.8 papstatus.8 psf.8 timelord.8
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "Netatalk has the following tunable options:"
@${ECHO_MSG} " WITHOUT_CNID=yes Turns off CNID persistent DID support"
@${ECHO_MSG} " WITH_SRVLOC=yes Enable Service Location Protocol support"
@${ECHO_MSG} " WITH_PAM=yes Enable PAM support"
@${ECHO_MSG} " WITH_TIMELOARD=yes Enable Timelord network time service"
@${ECHO_MSG} " WITH_MANGLING=yes Enable long file name mangling support (requires CNID)"
@${ECHO_MSG} ""
@${ECHO_MSG} "See Netatalk's Makefile for more details on some of these options."
@${ECHO_MSG} ""
post-extract:
@${SED} -e "s=%%PREFIX%%=${PREFIX}=g" ${FILESDIR}/netatalk.sh \
> ${WRKSRC}/netatalk.sh

View File

@ -1 +1 @@
MD5 (netatalk-1.6.0.tar.bz2) = c141aa6712fed7a51b989b0aa80977c7
MD5 (netatalk-1.6.1.tar.bz2) = fa3764f1a878c63f91e0b640ee60aa59

View File

@ -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) {

View File

@ -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

View File

@ -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 */

View File

@ -1 +0,0 @@
File and print server for AppleTalk networks

View File

@ -85,6 +85,7 @@ etc/nls/maccode.437
etc/nls/maccode.850
etc/nls/maccode.iso8859-1
etc/nls/maccode.iso8859-1.adapted
etc/nls/maccode.koi8-r
etc/rc.d/netatalk.sh.sample
etc/uams/uams_clrtxt.so
etc/uams/uams_dhx.so