1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
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}; \
|