summaryrefslogtreecommitdiff
path: root/net/netatalk/files
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/files
parentUpdate to 2.1pl3 (diff)
netatalk - File and Print Server for AppleTalk
Reviewed by: Julian Elischer <julian@whistle.com>
Notes
Notes: svn path=/head/; revision=7427
Diffstat (limited to 'net/netatalk/files')
-rw-r--r--net/netatalk/files/patch-aa118
1 files changed, 118 insertions, 0 deletions
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}; \