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}; \