diff options
author | markd <markd@pkgsrc.org> | 2004-11-02 11:20:10 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2004-11-02 11:20:10 +0000 |
commit | 9fd7913fb06238c33a8051863b19c577b92257f4 (patch) | |
tree | 91ce92f4693ffb73a913dce87ab65a57b0bea608 | |
parent | 6999f93fa705557c90e01d7b9f94b8598b92ff98 (diff) | |
download | pkgsrc-9fd7913fb06238c33a8051863b19c577b92257f4.tar.gz |
Reimport existing netatalk-1.6.2 package in net/netatalk1.
-rw-r--r-- | net/netatalk1/DESCR | 14 | ||||
-rw-r--r-- | net/netatalk1/INSTALL | 25 | ||||
-rw-r--r-- | net/netatalk1/MESSAGE | 17 | ||||
-rw-r--r-- | net/netatalk1/Makefile | 59 | ||||
-rw-r--r-- | net/netatalk1/PLIST | 166 | ||||
-rw-r--r-- | net/netatalk1/buildlink3.mk | 21 | ||||
-rw-r--r-- | net/netatalk1/distinfo | 10 | ||||
-rw-r--r-- | net/netatalk1/patches/patch-aa | 158 | ||||
-rw-r--r-- | net/netatalk1/patches/patch-ab | 19 | ||||
-rw-r--r-- | net/netatalk1/patches/patch-ac | 48 | ||||
-rw-r--r-- | net/netatalk1/patches/patch-ad | 40 | ||||
-rw-r--r-- | net/netatalk1/patches/patch-ae | 19 | ||||
-rw-r--r-- | net/netatalk1/patches/patch-af | 30 |
13 files changed, 626 insertions, 0 deletions
diff --git a/net/netatalk1/DESCR b/net/netatalk1/DESCR new file mode 100644 index 00000000000..325d78f573e --- /dev/null +++ b/net/netatalk1/DESCR @@ -0,0 +1,14 @@ +netatalk is an implementation of the AppleTalk Protocol Suite for +Unix systems. The current release contains support for EtherTalk +Phase I and II, DDP, RTMP, NBP, ZIP, AEP, ATP, PAP, ASP, and AFP. + +DDP is in the kernel. atalkd implements RTMP, NBP, ZIP, and AEP. +It is the AppleTalk equivalent of Unix routed and ifconfig. There +is also a client-stub library for NBP. ATP and ASP are implemented +as libraries. papd allows Macs to spool to lpd or a pipe, and pap +allows Unix machines to print to AppleTalk connected printers. psf +is a PostScript printer filter for lpd, designed to use pap. psorder +is a PostScript reverser, called by psf to reverse pages printed +to face-up stacking printers. afpd provides Macs with an interface +to the Unix file system. Refer to the appropriate man pages for +operational information. diff --git a/net/netatalk1/INSTALL b/net/netatalk1/INSTALL new file mode 100644 index 00000000000..15ac390215c --- /dev/null +++ b/net/netatalk1/INSTALL @@ -0,0 +1,25 @@ +# $NetBSD: INSTALL,v 1.1.1.1 2004/11/02 11:20:10 markd Exp $ + +case ${STAGE} in +POST-INSTALL) + ETCDIR=@PKG_SYSCONFDIR@/netatalk + + ${MKDIR} -p ${ETCDIR} + + ${ECHO} "Installing configuration files:" + for file in \ + AppleVolumes.default AppleVolumes.system afpd.conf \ + atalkd.conf netatalk.conf papd.conf + do + if [ -f ${ETCDIR}/${file} ]; then + ${ECHO} " ${ETCDIR}/${file} already exists" + else + ${ECHO} " ${ETCDIR}/${file}" + ${CP} ${PKG_PREFIX}/share/examples/netatalk/${file} \ + ${ETCDIR}/${file} + ${CHMOD} 644 ${ETCDIR}/${file} + fi + done + ${ECHO} "done." + ;; +esac diff --git a/net/netatalk1/MESSAGE b/net/netatalk1/MESSAGE new file mode 100644 index 00000000000..321f2b4ea38 --- /dev/null +++ b/net/netatalk1/MESSAGE @@ -0,0 +1,17 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2004/11/02 11:20:10 markd Exp $ + +To have Netatalk start automatically at boot, you will need to set the +following variables in /etc/rc.conf (replacing "YES" with "NO" for those +services you wish to not run): + atalkd=YES + afpd=YES + papd=YES + timelord=YES + +Example Netatalk config files have been installed in the examples directory +at ${PREFIX}/share/examples/netatalk. Production config files are +installed in ${PKG_SYSCONFDIR}. If no config files existed before this +package was installed, default config files were copied in. + +=========================================================================== diff --git a/net/netatalk1/Makefile b/net/netatalk1/Makefile new file mode 100644 index 00000000000..5e48c5f389e --- /dev/null +++ b/net/netatalk1/Makefile @@ -0,0 +1,59 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/11/02 11:20:10 markd Exp $ + +DISTNAME= netatalk-1.6.2 +PKGREVISION= 1 +CATEGORIES= net print +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netatalk/} \ + http://me.in-berlin.de/~jroger/netatalk/ + +MAINTAINER= markd@NetBSD.org +HOMEPAGE= http://sourceforge.net/projects/netatalk/ +COMMENT= Netatalk appletalk file and print services + +GNU_CONFIGURE= YES +USE_BUILDLINK3= YES +USE_GNU_TOOLS+= make +USE_PERL5= YES +USE_LIBTOOL= YES + +USE_PKGINSTALL= YES +INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL + +CONFLICTS= netatalk-asun-[0-9]* netatalk-umich-[0-9]* + +RCD_SCRIPTS= atalkd afpd papd timelord + +.include "../../mk/bsd.prefs.mk" + +CONFIGURE_ARGS+= --enable-netbsd \ + --enable-timelord \ + --with-did=last \ + --with-tcp-wrappers \ + --sbindir=${PREFIX}/libexec/netatalk \ + --sysconfdir=${PKG_SYSCONFDIR} \ + --localstatedir=/var/netatalk \ + --with-nls-dir=${PREFIX}/share/netatalk/nls \ + --with-uams-path=${PREFIX}/libexec/netatalk/uams + +#CONFIGURE_ARGS+= --with-flock-locks # broken +#CONFIGURE_ARGS+= --with-bdb=${PREFIX} # still some known issues + +post-patch: + mv ${WRKSRC}/etc/psf/etc2ps.sh ${WRKSRC}/etc/psf/etc2ps.sh.tmp + ${SED} -e "s,^\(DVIPS=\)\(/usr/local/tex\)\(/bin\),\1${PREFIX}\3," \ + < ${WRKSRC}/etc/psf/etc2ps.sh.tmp > ${WRKSRC}/etc/psf/etc2ps.sh + +pre-install: + ${INSTALL_DATA_DIR} ${PREFIX}/libexec/psffilters + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/netatalk +.for FILE in atalkd.conf netatalk.conf papd.conf AppleVolumes.default \ + AppleVolumes.system afpd.conf + @-( cd ${WRKSRC}/config; ${MAKE_PROGRAM} ${FILE} ) + ${INSTALL_DATA} ${WRKSRC}/config/${FILE} \ + ${PREFIX}/share/examples/netatalk/ +.endfor + +#.include "../../databases/db3/buildlink3.mk" +.include "../../devel/rx/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/net/netatalk1/PLIST b/net/netatalk1/PLIST new file mode 100644 index 00000000000..521387fb5f7 --- /dev/null +++ b/net/netatalk1/PLIST @@ -0,0 +1,166 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/02 11:20:10 markd Exp $ +bin/achfile +bin/acleandir.rc +bin/add_netatalk_printer +bin/adv1tov2 +bin/aecho +bin/afile +bin/afpd-mtab.pl +bin/afppasswd +bin/apple_cp +bin/apple_mv +bin/apple_rm +bin/binheader +bin/cleanappledouble.pl +@comment bin/cnid_maint +bin/getzones +bin/hqx2bin +bin/lp2pap.sh +bin/macbinary +bin/macusers +bin/makecode +bin/megatron +bin/nadheader +bin/nbplkup +bin/nbprgstr +bin/nbpunrgstr +bin/netatalk-config +bin/netatalkshorternamelinks.pl +bin/nu +bin/pap +bin/papstatus +bin/parsecode +bin/psorder +bin/single2bin +bin/timeout +bin/unbin +bin/unhex +bin/unsingle +include/atalk/adouble.h +include/atalk/aep.h +include/atalk/afp.h +include/atalk/asp.h +include/atalk/atp.h +include/atalk/boolean.h +include/atalk/cnid.h +include/atalk/compat.h +include/atalk/ddp.h +include/atalk/dsi.h +include/atalk/logger.h +include/atalk/nbp.h +include/atalk/netddp.h +include/atalk/pap.h +include/atalk/paths.h +include/atalk/rtmp.h +include/atalk/server_child.h +include/atalk/uam.h +include/atalk/util.h +include/atalk/zip.h +include/netatalk/aarp.c +include/netatalk/aarp.h +include/netatalk/at.h +include/netatalk/at_control.c +include/netatalk/at_proto.c +include/netatalk/at_var.h +include/netatalk/ddp.h +include/netatalk/ddp_input.c +include/netatalk/ddp_output.c +include/netatalk/ddp_usrreq.c +include/netatalk/ddp_var.h +include/netatalk/endian.h +include/netatalk/phase2.h +lib/libatalk.la +libexec/netatalk/afpd +libexec/netatalk/atalkd +libexec/netatalk/etc2ps.sh +libexec/netatalk/ifmpap +libexec/netatalk/ifmpaprev +libexec/netatalk/ifpap +libexec/netatalk/ifpaprev +libexec/netatalk/ifwmpap +libexec/netatalk/ifwmpaprev +libexec/netatalk/ifwpap +libexec/netatalk/ifwpaprev +libexec/netatalk/ofmpap +libexec/netatalk/ofpap +libexec/netatalk/ofwmpap +libexec/netatalk/ofwpap +libexec/netatalk/papd +libexec/netatalk/psa +libexec/netatalk/psf +libexec/netatalk/tfmpap +libexec/netatalk/tfmpaprev +libexec/netatalk/tfpap +libexec/netatalk/tfpaprev +libexec/netatalk/tfwmpap +libexec/netatalk/tfwmpaprev +libexec/netatalk/tfwpap +libexec/netatalk/tfwpaprev +libexec/netatalk/timelord +libexec/netatalk/uams/uams_clrtxt.so +libexec/netatalk/uams/uams_dhx.so +libexec/netatalk/uams/uams_dhx_passwd.la +libexec/netatalk/uams/uams_guest.la +libexec/netatalk/uams/uams_passwd.la +libexec/netatalk/uams/uams_randnum.la +man/man1/achfile.1 +man/man1/acleandir.1 +man/man1/aecho.1 +man/man1/afile.1 +man/man1/afppasswd.1 +man/man1/apple_cp.1 +man/man1/apple_mv.1 +man/man1/apple_rm.1 +man/man1/getzones.1 +man/man1/hqx2bin.1 +man/man1/macbinary.1 +man/man1/megatron.1 +man/man1/nbp.1 +man/man1/nbplkup.1 +man/man1/nbprgstr.1 +man/man1/nbpunrgstr.1 +man/man1/netatalk-config.1 +man/man1/pap.1 +man/man1/papstatus.1 +man/man1/psorder.1 +man/man1/single2bin.1 +man/man1/timeout.1 +man/man1/unbin.1 +man/man1/unhex.1 +man/man1/unsingle.1 +man/man3/atalk_aton.3 +man/man3/nbp_name.3 +man/man4/atalk.4 +man/man5/AppleVolumes.default.5 +man/man5/afpd.conf.5 +man/man5/atalkd.conf.5 +man/man5/netatalk.conf.5 +man/man5/papd.conf.5 +man/man8/afpd.8 +man/man8/atalkd.8 +man/man8/papd.8 +man/man8/papstatus.8 +man/man8/psf.8 +man/man8/timelord.8 +share/aclocal/netatalk.m4 +share/examples/netatalk/AppleVolumes.default +share/examples/netatalk/AppleVolumes.system +share/examples/netatalk/afpd.conf +share/examples/netatalk/atalkd.conf +share/examples/netatalk/netatalk.conf +share/examples/netatalk/papd.conf +share/netatalk/nls/maccode.437 +share/netatalk/nls/maccode.850 +share/netatalk/nls/maccode.iso8859-1 +share/netatalk/nls/maccode.iso8859-1.adapted +share/netatalk/nls/maccode.koi8-r +share/netatalk/pagecount.ps +@dirrm share/netatalk/nls +@dirrm share/netatalk +@dirrm share/examples/netatalk +@exec ${MKDIR} %D/libexec/psffilters +@dirrm libexec/psffilters +@dirrm libexec/netatalk/uams +@dirrm libexec/netatalk +@dirrm include/netatalk +@dirrm include/atalk diff --git a/net/netatalk1/buildlink3.mk b/net/netatalk1/buildlink3.mk new file mode 100644 index 00000000000..1f74516964c --- /dev/null +++ b/net/netatalk1/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/11/02 11:20:10 markd Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +NETATALK_BUILDLINK3_MK:= ${NETATALK_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= netatalk +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGESNnetatalk} +BUILDLINK_PACKAGES+= netatalk + +.if !empty(NETATALK_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.netatalk+= netatalk>=1.6.2 +BUILDLINK_RECOMMENDED.netatalk+= netatalk>=1.6.2nb1 +BUILDLINK_PKGSRCDIR.netatalk?= ../../net/netatalk1 +.endif # NETATALK_BUILDLINK3_MK + +.include "../../devel/rx/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/net/netatalk1/distinfo b/net/netatalk1/distinfo new file mode 100644 index 00000000000..25d4e71730c --- /dev/null +++ b/net/netatalk1/distinfo @@ -0,0 +1,10 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/11/02 11:20:10 markd Exp $ + +SHA1 (netatalk-1.6.2.tar.gz) = b3e451b2c40c70feda4f81d92162d08fa063fc48 +Size (netatalk-1.6.2.tar.gz) = 855933 bytes +SHA1 (patch-aa) = 0e7dc8d0524376e162f7d8d243720e12f8cbb5fb +SHA1 (patch-ab) = 609bc6f137bb13ece41408277634e9f09c746e61 +SHA1 (patch-ac) = 18d3bff990ddb78146d1e1d2f9e07d6826a7bfd2 +SHA1 (patch-ad) = 311d00d165688d4baa1365ba6c4147bd6293f3d8 +SHA1 (patch-ae) = 9bae8aef01e7b23fb26c9deddc53386b294d1e1c +SHA1 (patch-af) = 997909d7cf444a2481693069864da9134ce413d4 diff --git a/net/netatalk1/patches/patch-aa b/net/netatalk1/patches/patch-aa new file mode 100644 index 00000000000..98ded5ba144 --- /dev/null +++ b/net/netatalk1/patches/patch-aa @@ -0,0 +1,158 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/11/02 11:20:10 markd Exp $ + +--- configure.orig Sun Feb 16 12:46:32 2003 ++++ configure Sun Feb 23 16:55:12 2003 +@@ -8084,64 +8084,6 @@ + fi + + +-echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 +-echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 +-if test "${ac_cv_lib_crypt_main+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-lcrypt $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-#line $LINENO "configure" +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +- +-int +-main () +-{ +-main (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -s conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_lib_crypt_main=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-ac_cv_lib_crypt_main=no +-fi +-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS +-fi +-echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 +-echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 +-if test $ac_cv_lib_crypt_main = yes; then +- cat >>confdefs.h <<_ACEOF +-#define HAVE_LIBCRYPT 1 +-_ACEOF +- +- LIBS="-lcrypt $LIBS" +- +-fi +- +- + echo "$as_me:$LINENO: checking for main in -ld" >&5 + echo $ECHO_N "checking for main in -ld... $ECHO_C" >&6 + if test "${ac_cv_lib_d_main+set}" = set; then +@@ -13066,13 +13008,13 @@ + savedldflags="$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 ++echo $ECHO_N "checking for main in -ldb3... $ECHO_C" >&6 + if test "${ac_cv_lib_db_main+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-ldb $LIBS" ++LIBS="-ldb3 $LIBS" + cat >conftest.$ac_ext <<_ACEOF + #line $LINENO "configure" + /* confdefs.h. */ +@@ -13118,7 +13060,7 @@ + + 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$,,'`" + +@@ -14552,7 +14494,62 @@ + fi + + ++echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 ++echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 ++if test "${ac_cv_lib_crypt_main+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lcrypt $LIBS" ++cat >conftest.$ac_ext <<_ACEOF ++#line $LINENO "configure" ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++ ++ ++int ++main () ++{ ++main (); ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && ++ { ac_try='test -s conftest$ac_exeext' ++ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ++ (eval $ac_try) 2>&5 ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then ++ ac_cv_lib_crypt_main=yes ++else ++ echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ac_cv_lib_crypt_main=no ++fi ++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 ++echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 ++if test $ac_cv_lib_crypt_main = yes; then ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_LIBCRYPT 1 ++_ACEOF ++ ++ LIBS="-lcrypt $LIBS" + ++fi + + + # Check whether --enable-pgp-uam or --disable-pgp-uam was given. diff --git a/net/netatalk1/patches/patch-ab b/net/netatalk1/patches/patch-ab new file mode 100644 index 00000000000..89c416ec928 --- /dev/null +++ b/net/netatalk1/patches/patch-ab @@ -0,0 +1,19 @@ +$NetBSD: patch-ab,v 1.1.1.1 2004/11/02 11:20:10 markd Exp $ + +--- distrib/initscripts/Makefile.in.orig Sun Feb 16 12:50:01 2003 ++++ distrib/initscripts/Makefile.in Sun Feb 23 13:18:29 2003 +@@ -125,12 +125,12 @@ + @USE_SUSE_TRUE@sysvdir = /etc/init.d + @USE_COBALT_TRUE@sysvdir = /etc/rc.d/init.d + @USE_TRU64_TRUE@sysvdir = /sbin/init.d +-@USE_NETBSD_TRUE@sysvdir = /etc/rc.d ++@USE_NETBSD_TRUE@sysvdir = ${prefix}/etc/rc.d# pkgsrc *only*! + @USE_REDHAT_TRUE@sysv_SCRIPTS = atalk + @USE_SUSE_TRUE@sysv_SCRIPTS = atalk + @USE_COBALT_TRUE@sysv_SCRIPTS = atalk + @USE_TRU64_TRUE@sysv_SCRIPTS = atalk +-@USE_NETBSD_TRUE@sysv_SCRIPTS = afp atalk pap timelord ++@USE_NETBSD_TRUE@sysv_SCRIPTS = afpd atalkd papd timelord + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = ../../config.h + CONFIG_CLEAN_FILES = diff --git a/net/netatalk1/patches/patch-ac b/net/netatalk1/patches/patch-ac new file mode 100644 index 00000000000..bef1bbe7c91 --- /dev/null +++ b/net/netatalk1/patches/patch-ac @@ -0,0 +1,48 @@ +The original commit message for this patch: + + http://mail-index.netbsd.org/source-changes/1999/09/17/0023.html + + Patch from Juergen Hannken-Illjes, which should solve PR#8308 (net 0 is + reserved for lo0, it can't be used on other interfaces). + +Here is PR #8308: + + http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=8308 + +and also the change that exposed the bug: + + http://mail-index.netbsd.org/source-changes/1999/08/24/0035.html + +and finally, the discussion referred to in the above change: + + http://mail-index.netbsd.org/tech-net/1999/06/30/0002.html + http://mail-index.netbsd.org/tech-net/1999/07/01/0005.html + http://mail-index.netbsd.org/tech-net/1999/07/01/0007.html + http://mail-index.netbsd.org/tech-net/1999/07/02/0003.html + http://mail-index.netbsd.org/tech-net/1999/07/02/0016.html + http://mail-index.netbsd.org/tech-net/1999/07/02/0017.html + http://mail-index.netbsd.org/tech-net/1999/07/02/0018.html + http://mail-index.netbsd.org/tech-net/1999/07/02/0020.html + http://mail-index.netbsd.org/tech-net/1999/07/02/0022.html + http://mail-index.netbsd.org/tech-net/1999/07/03/0004.html + + +$NetBSD: patch-ac,v 1.1.1.1 2004/11/02 11:20:10 markd Exp $ + +--- etc/atalkd/main.c.orig Sat Oct 5 08:20:13 2002 ++++ etc/atalkd/main.c +@@ -278,12 +278,12 @@ static void as_timer(int sig) + LOG(log_info, logtype_atalkd, "config for no router" ); + + if ( iface->i_flags & IFACE_PHASE2 ) { +- iface->i_rt->rt_firstnet = 0; ++ iface->i_rt->rt_firstnet = htons(1); + iface->i_rt->rt_lastnet = htons( STARTUP_LASTNET ); + setaddr( iface, IFACE_PHASE2, + iface->i_addr.sat_addr.s_net, + iface->i_addr.sat_addr.s_node, +- 0, htons( STARTUP_LASTNET )); ++ htons(1), htons( STARTUP_LASTNET )); + } + if ( looproute( iface, RTMP_ADD ) ) { /* -1 or 1 */ + LOG(log_error, logtype_atalkd, diff --git a/net/netatalk1/patches/patch-ad b/net/netatalk1/patches/patch-ad new file mode 100644 index 00000000000..28fc8bb6740 --- /dev/null +++ b/net/netatalk1/patches/patch-ad @@ -0,0 +1,40 @@ +$NetBSD: patch-ad,v 1.1.1.1 2004/11/02 11:20:10 markd Exp $ + +--- include/atalk/paths.h.orig Wed Sep 25 18:36:24 2002 ++++ include/atalk/paths.h +@@ -16,7 +16,7 @@ + + /* lock file path. this should be re-organized a bit. */ + #if ! defined (_PATH_LOCKDIR) +-# if defined (FHS_COMPATIBILITY) ++# if defined (FHS_COMPATIBILITY) || defined (__NetBSD__) + # define _PATH_LOCKDIR "/var/run/" + # elif defined (BSD4_4) + # ifdef MACOSX_SERVER +@@ -51,7 +51,7 @@ + */ + #define _PATH_ATALKDEBUG "/tmp/atalkd.debug" + #define _PATH_ATALKDTMP "atalkd.tmp" +-#ifdef FHS_COMPATIBILITY ++#if defined (FHS_COMPATIBILITY) || defined (__NetBSD__) + # define _PATH_ATALKDLOCK ATALKPATHCAT(_PATH_LOCKDIR,"atalkd.pid") + #else + # define _PATH_ATALKDLOCK ATALKPATHCAT(_PATH_LOCKDIR,"atalkd") +@@ -61,7 +61,7 @@ + * psorder paths + */ + #define _PATH_TMPPAGEORDER "/tmp/psorderXXXXXX" +-#ifdef FHS_COMPATIBILITY ++#if defined (FHS_COMPATIBILITY) || defined (__NetBSD__) + # define _PATH_PAPDLOCK ATALKPATHCAT(_PATH_LOCKDIR,"papd.pid") + #else + # define _PATH_PAPDLOCK ATALKPATHCAT(_PATH_LOCKDIR,"papd") +@@ -71,7 +71,7 @@ + * afpd paths + */ + #define _PATH_AFPTKT "/tmp/AFPtktXXXXXX" +-#ifdef FHS_COMPATIBILITY ++#if defined (FHS_COMPATIBILITY) || defined (__NetBSD__) + # define _PATH_AFPDLOCK ATALKPATHCAT(_PATH_LOCKDIR,"afpd.pid") + #else + # define _PATH_AFPDLOCK ATALKPATHCAT(_PATH_LOCKDIR,"afpd") diff --git a/net/netatalk1/patches/patch-ae b/net/netatalk1/patches/patch-ae new file mode 100644 index 00000000000..c0eecfae3c1 --- /dev/null +++ b/net/netatalk1/patches/patch-ae @@ -0,0 +1,19 @@ +$NetBSD: patch-ae,v 1.1.1.1 2004/11/02 11:20:10 markd Exp $ + +--- man/man8/psf.8.tmpl.orig Tue Sep 19 18:13:47 2000 ++++ man/man8/psf.8.tmpl +@@ -93,10 +93,10 @@ laser|lp|LaserWriter Plus on AppleTalk:\ + :sd=/usr/spool/lpd/laser:\\ + :lp=/usr/spool/lpd/laser/null:\\ + :lf=/var/adm/lpd-errs:pw#80:hl:\\ +- :of=:LIBDIR:/filters/ofpap:\\ +- :if=:LIBDIR:/filters/ifpaprev:\\ +- :tf=:LIBDIR:/filters/tfpaprev:\\ +- :df=:LIBDIR:/filters/dfpaprev: ++ :of=:SBINDIR:/filters/ofpap:\\ ++ :if=:SBINDIR:/filters/ifpaprev:\\ ++ :tf=:SBINDIR:/filters/tfpaprev:\\ ++ :df=:SBINDIR:/filters/dfpaprev: + .fi + .RE + .sp diff --git a/net/netatalk1/patches/patch-af b/net/netatalk1/patches/patch-af new file mode 100644 index 00000000000..c803595fadf --- /dev/null +++ b/net/netatalk1/patches/patch-af @@ -0,0 +1,30 @@ +$NetBSD: patch-af,v 1.1.1.1 2004/11/02 11:20:10 markd Exp $ + +--- etc/psf/etc2ps.sh.orig Sun Apr 27 15:00:44 2003 ++++ etc/psf/etc2ps.sh Sun Apr 27 19:51:31 2003 +@@ -9,15 +9,12 @@ + # tag in the case. + # + +-DVIPSPATH=/usr/local/tex/bin + DVIPS=/usr/local/tex/bin/dvips + DVIPSARGS="-f -q" + +-TROFF2PS=/usr/local/psroff/troff2/troff2ps ++TROFF2PS="groff -Tps" + TROFF2PSARGS="-Z -O-.10" + +-PATH=/usr/bin:$DVIPSPATH; export PATH +- + case $1 in + + # +@@ -39,7 +36,7 @@ + # troff2ps is from psroff by Chris Lewis. + # + tf*) +- if [ -x "$TROFF2PS" ]; then ++ if [ -x "/usr/bin/groff" ]; then + exec $TROFF2PS $TROFF2PSARGS + else + echo "$0: filter troff2ps uninstalled" 1>&2 |