summaryrefslogtreecommitdiff
path: root/net/netatalk
diff options
context:
space:
mode:
authorStefan Bethke <stb@FreeBSD.org>1997-07-27 22:23:11 +0000
committerStefan Bethke <stb@FreeBSD.org>1997-07-27 22:23:11 +0000
commit8b4d4b0b180c43dfc6d66cb58d87887d962ab6dd (patch)
treef4018c4c03f6b6cf0fa223a776275e07e547181a /net/netatalk
parentUpdate to 2.1pl3 (diff)
netatalk - File and Print Server for AppleTalk
Reviewed by: Julian Elischer <julian@whistle.com>
Diffstat (limited to 'net/netatalk')
-rw-r--r--net/netatalk/Makefile22
-rw-r--r--net/netatalk/distinfo1
-rw-r--r--net/netatalk/files/patch-aa118
-rw-r--r--net/netatalk/pkg-comment1
-rw-r--r--net/netatalk/pkg-descr21
-rw-r--r--net/netatalk/pkg-plist90
6 files changed, 253 insertions, 0 deletions
diff --git a/net/netatalk/Makefile b/net/netatalk/Makefile
new file mode 100644
index 000000000000..392b181b0535
--- /dev/null
+++ b/net/netatalk/Makefile
@@ -0,0 +1,22 @@
+# Ports collection makefile for: netatalk
+# Version required: netatalk-1.4b2
+# Date created: 23 Jul 1997
+# Whom: stb
+#
+# $Id$
+#
+
+DISTNAME= netatalk-1.4b2
+CATEGORIES= net print
+MASTER_SITES= ftp://terminator.rs.itd.umich.edu/unix/netatalk/
+
+MAINTAINER= stb@freebsd.org
+
+MAN4= atalk.4
+MAN8= afpd.8 atalkd.8 papd.8 psf.8
+MAN1= getzones.1 aecho.1 nbprgstr.1 megatron.1 nbp.1 psorder.1 \
+ unbin.1 unhex.1 nbplkup.1 unsingle.1 hqx2bin.1 \
+ single2bin.1 macbinary.1 pap.1 papstatus.1
+MAN3= atalk_aton.3 nbp_name.3
+
+.include <bsd.port.mk>
diff --git a/net/netatalk/distinfo b/net/netatalk/distinfo
new file mode 100644
index 000000000000..aa2dc0304d7c
--- /dev/null
+++ b/net/netatalk/distinfo
@@ -0,0 +1 @@
+MD5 (netatalk-1.4b2.tar.gz) = b7541838044e167405bb33236faf4ce7
diff --git a/net/netatalk/files/patch-aa b/net/netatalk/files/patch-aa
new file mode 100644
index 000000000000..e4b50e1d25fe
--- /dev/null
+++ b/net/netatalk/files/patch-aa
@@ -0,0 +1,118 @@
+diff -crP ../netatalk-1.4b2/Makefile ./Makefile
+*** ../netatalk-1.4b2/Makefile Wed Oct 9 20:14:20 1996
+--- ./Makefile Thu Jul 24 01:40:24 1997
+***************
+*** 1,15 ****
+ # Root of installation. Subdirectories will be ${DESTDIR}/etc,
+ # ${DESTDIR}/bin, and ${DESTDIR}/lib.
+! DESTDIR=/usr/local/atalk
+
+ # for system-level binaries
+! SBINDIR=$(DESTDIR)/etc
+ # for user-level binaries
+ BINDIR=$(DESTDIR)/bin
+ # for program libraries (*.a)
+ LIBDIR=$(DESTDIR)/lib
+ # for machine-independent resources (pagecount.ps, etc.)
+! RESDIR=$(DESTDIR)/etc
+ # for configuration files (AppleVolumes.system, etc.)
+ ETCDIR=$(DESTDIR)/etc
+ # for include files
+--- 1,15 ----
+ # Root of installation. Subdirectories will be ${DESTDIR}/etc,
+ # ${DESTDIR}/bin, and ${DESTDIR}/lib.
+! DESTDIR=$(PREFIX)
+
+ # for system-level binaries
+! SBINDIR=$(DESTDIR)/libexec
+ # for user-level binaries
+ BINDIR=$(DESTDIR)/bin
+ # for program libraries (*.a)
+ LIBDIR=$(DESTDIR)/lib
+ # for machine-independent resources (pagecount.ps, etc.)
+! RESDIR=$(DESTDIR)/share
+ # for configuration files (AppleVolumes.system, etc.)
+ ETCDIR=$(DESTDIR)/etc
+ # for include files
+diff -crP ../netatalk-1.4b2/rc.atalk.freebsd ./rc.atalk.freebsd
+*** ../netatalk-1.4b2/rc.atalk.freebsd Thu Jan 1 01:00:00 1970
+--- ./rc.atalk.freebsd Thu Jul 24 02:14:39 1997
+***************
+*** 0 ****
+--- 1,19 ----
++ #
++ # AppleTalk daemons. Make sure not to start atalkd in the background:
++ # its data structures must have time to stablize before running the
++ # other processes.
++ #
++
++ case $1 in
++ start) echo -n ' netatalk'
++ :SBINDIR:/atalkd
++ :BINDIR:/nbprgstr -p 4 `hostname|sed 's/\..*$//'`:Workstation
++ :BINDIR:/nbprgstr -p 4 `hostname|sed 's/\..*$//'`:netatalk
++ :SBINDIR:/papd
++ :SBINDIR:/afpd
++ ;;
++ stop) killall afpd
++ killall papd
++ killall atalkd
++ ;;
++ esac
+diff -crP ../netatalk-1.4b2/sys/freebsd/Makefile ./sys/freebsd/Makefile
+*** ../netatalk-1.4b2/sys/freebsd/Makefile Tue Oct 22 23:31:01 1996
+--- ./sys/freebsd/Makefile Thu Jul 24 02:32:58 1997
+***************
+*** 21,27 ****
+ FRC:
+
+ install :
+! -mkdir ${DESTDIR} ${SBINDIR} ${BINDIR} ${ETCDIR} ${LIBDIR}
+ for i in ${ALL}; \
+ do (cd $$i; ${MAKE} ${MFLAGS} CC="${CC}" \
+ ADDLIBS="${ADDLIBS}" DEFS="${DEFS}" OPTOPTS="${OPTOPTS}" \
+--- 21,28 ----
+ FRC:
+
+ install :
+! -mkdir ${DESTDIR} ${SBINDIR} ${BINDIR} ${ETCDIR} ${LIBDIR} \
+! ${ETCDIR}/rc.d ${RESDIR}/examples/netatalk
+ for i in ${ALL}; \
+ do (cd $$i; ${MAKE} ${MFLAGS} CC="${CC}" \
+ ADDLIBS="${ADDLIBS}" DEFS="${DEFS}" OPTOPTS="${OPTOPTS}" \
+***************
+*** 30,46 ****
+ AFSDIR="${AFSDIR}" KRBDIR="${KRBDIR}" \
+ INSTALL="${INSTALL}" $@); \
+ done
+- rm -f ${ETCDIR}/rc.atalk
+ sed -e s@:DESTDIR:@${DESTDIR}@ -e s@:SBINDIR:@${SBINDIR}@ \
+ -e s@:BINDIR:@${BINDIR}@ -e s@:RESDIR:@${RESDIR}@ \
+ -e s@:ETCDIR:@${ETCDIR}@ -e s@:LIBDIR:@${LIBDIR}@ \
+ -e s@:INCDIR:@${INCDIR}@ \
+! < ../../rc.atalk.bsd > ${ETCDIR}/rc.atalk
+! @echo
+! @echo "Install is done. Don't forget to add lines from"
+! @echo "services.atalk to /etc/services and to call rc.atalk"
+! @echo "in /etc/rc. See README and README.FREEBSD for more"
+! @echo "information."
+
+ clean :
+ for i in ${ALL}; \
+--- 31,46 ----
+ AFSDIR="${AFSDIR}" KRBDIR="${KRBDIR}" \
+ INSTALL="${INSTALL}" $@); \
+ done
+ sed -e s@:DESTDIR:@${DESTDIR}@ -e s@:SBINDIR:@${SBINDIR}@ \
+ -e s@:BINDIR:@${BINDIR}@ -e s@:RESDIR:@${RESDIR}@ \
+ -e s@:ETCDIR:@${ETCDIR}@ -e s@:LIBDIR:@${LIBDIR}@ \
+ -e s@:INCDIR:@${INCDIR}@ \
+! < ../../rc.atalk.freebsd > ${ETCDIR}/rc.d/netatalk.sh
+! chmod +x ${ETCDIR}/rc.d/netatalk.sh
+! cp ../../config/AppleVolumes.default \
+! ../../config/AppleVolumes.system ${ETCDIR}
+! cp ../../config/atalkd.conf ../../config/papd.conf \
+! ${RESDIR}/examples/netatalk
+
+ clean :
+ for i in ${ALL}; \
diff --git a/net/netatalk/pkg-comment b/net/netatalk/pkg-comment
new file mode 100644
index 000000000000..4eb541bac506
--- /dev/null
+++ b/net/netatalk/pkg-comment
@@ -0,0 +1 @@
+File and print server for AppleTalk networks
diff --git a/net/netatalk/pkg-descr b/net/netatalk/pkg-descr
new file mode 100644
index 000000000000..f25b751940d4
--- /dev/null
+++ b/net/netatalk/pkg-descr
@@ -0,0 +1,21 @@
+netatalk - File and Print Server for AppleTalk networks
+
+netatalk is a server software for AppleTalk networks. Features include:
+
+o Access to the UNIX file system for Macintosh and other systems with
+ AppleShare client software.
+
+o Spool PostScript print jobs to the lpd(8) spool system via Printer Access
+ Protocol (PAP).
+
+o Output PostScript print jobs from the lpd(8) spool system via Printer
+ Access Protocol (PAP).
+
+o Filter PostScript, ASCII, and various other formats to PostScript,
+ including banner pages and page reversal.
+
+o Route AppleTalk between multiple Ethernet interfaces.
+
+Requires AppleTalk support in the kernel (FreeBSD 2.2 or newer).
+
+See http://www.umich.edu/~rsug/netatalk/ for further information.
diff --git a/net/netatalk/pkg-plist b/net/netatalk/pkg-plist
new file mode 100644
index 000000000000..511dff7ec676
--- /dev/null
+++ b/net/netatalk/pkg-plist
@@ -0,0 +1,90 @@
+bin/aecho
+bin/getzones
+bin/nbplkup
+bin/nbprgstr
+bin/nbpunrgstr
+bin/psorder
+bin/megatron
+bin/unbin
+bin/unhex
+bin/unsingle
+bin/hqx2bin
+bin/single2bin
+bin/macbinary
+bin/pap
+bin/papstatus
+etc/rc.d/netatalk.sh
+etc/AppleVolumes.default
+etc/AppleVolumes.system
+include/atalk/adouble.h
+include/atalk/rtmp.h
+include/atalk/paths.h
+include/atalk/pap.h
+include/atalk/nbp.h
+include/atalk/ddp.h
+include/atalk/compat.h
+include/atalk/atp.h
+include/atalk/asp.h
+include/atalk/afp.h
+include/atalk/aep.h
+include/atalk/zip.h
+include/netatalk/ddp.h
+include/netatalk/endian.h
+include/netatalk/ddp_var.h
+include/netatalk/phase2.h
+include/netatalk/at_var.h
+include/netatalk/at.h
+include/netatalk/aarp.h
+lib/libatalk.a
+lib/libatalk_p.a
+libexec/afpd
+libexec/atalkd
+libexec/papd
+libexec/psa
+libexec/etc2ps
+libexec/psf
+man/man1/aecho.1.gz
+man/man1/unsingle.1.gz
+man/man1/nbp.1.gz
+man/man1/psorder.1.gz
+man/man1/unbin.1.gz
+man/man1/unhex.1.gz
+man/man1/nbplkup.1.gz
+man/man1/hqx2bin.1.gz
+man/man1/pap.1.gz
+man/man1/macbinary.1.gz
+man/man1/getzones.1.gz
+man/man1/nbprgstr.1.gz
+man/man1/megatron.1.gz
+man/man1/single2bin.1.gz
+man/man1/papstatus.1.gz
+man/man3/nbp_name.3.gz
+man/man3/atalk_aton.3.gz
+man/man4/atalk.4.gz
+man/man8/papd.8.gz
+man/man8/psf.8.gz
+man/man8/afpd.8.gz
+man/man8/atalkd.8.gz
+share/examples/netatalk/atalkd.conf
+share/examples/netatalk/papd.conf
+share/filters/ofpap
+share/filters/ifpap
+share/filters/tfpap
+share/filters/ifpaprev
+share/filters/tfpaprev
+share/filters/ofwpap
+share/filters/ifwpap
+share/filters/tfwpap
+share/filters/ifwpaprev
+share/filters/tfwpaprev
+share/filters/ofmpap
+share/filters/ifmpap
+share/filters/tfmpap
+share/filters/ifmpaprev
+share/filters/tfmpaprev
+share/filters/ofwmpap
+share/filters/ifwmpap
+share/filters/tfwmpap
+share/filters/ifwmpaprev
+share/filters/tfwmpaprev
+share/pagecount.ps