blob: dc2c5ea83684a745b4ce2fb43288cf43e17999e6 (
plain)
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
|
*** makefiles/Makefile.fbs.orig Fri Dec 19 08:54:48 1997
--- makefiles/Makefile.fbs Wed Dec 24 20:20:39 1997
***************
*** 1,7 ****
! PREFIX= /usr/local
BINDIR= ${PREFIX}/bin
! ETCDIR= ${PREFIX}/libexec
MANDIR= ${PREFIX}/man
MANEXT= 8
INSTALL= install
--- 1,8 ----
! PREFIX?= /usr/local
BINDIR= ${PREFIX}/bin
! ETCDIR= ${PREFIX}/etc
MANDIR= ${PREFIX}/man
+ LIBEXECDIR= ${PREFIX}/libexec
MANEXT= 8
INSTALL= install
***************
*** 10,26 ****
@ echo 'You can say "build help" for details on how it works.'
install: bin/ftpd bin/ftpcount bin/ftpshut
! -mv -f ${ETCDIR}/ftpd ${ETCDIR}/ftpd-old
@echo installing binaries.
! ${INSTALL} -c -o bin -g bin -m 755 bin/ftpd ${ETCDIR}/ftpd
${INSTALL} -c -o bin -g bin -m 755 bin/ftpshut ${BINDIR}/ftpshut
${INSTALL} -c -o bin -g bin -m 755 bin/ftpcount ${BINDIR}/ftpcount
${INSTALL} -c -o bin -g bin -m 755 bin/ftpwho ${BINDIR}/ftpwho
install -c -o bin -g bin -m 755 bin/ckconfig ${BINDIR}/ftpckconfig
@echo NOT Installing basic configuration
! # install -c -o root -g bin -m 644 doc/examples/ftpaccess ${ETCDIR}/ftpaccess
! # install -c -o root -g bin -m 644 doc/examples/ftpusers ${ETCDIR}/ftpusers
! # install -c -o root -g bin -m 644 doc/examples/ftpconversions ${ETCDIR}/ftpconversions
@echo installing manpages.
${INSTALL} -c -o bin -g bin -m 644 doc/ftpd.8 ${MANDIR}/man8/ftpd.8
${INSTALL} -c -o bin -g bin -m 644 doc/ftpcount.1 ${MANDIR}/man1/ftpcount.1
--- 11,27 ----
@ echo 'You can say "build help" for details on how it works.'
install: bin/ftpd bin/ftpcount bin/ftpshut
! -mv -f ${LIBEXECDIR}/ftpd ${LIBEXECDIR}/ftpd-old
@echo installing binaries.
! ${INSTALL} -c -o bin -g bin -m 755 bin/ftpd ${LIBEXECDIR}/ftpd
${INSTALL} -c -o bin -g bin -m 755 bin/ftpshut ${BINDIR}/ftpshut
${INSTALL} -c -o bin -g bin -m 755 bin/ftpcount ${BINDIR}/ftpcount
${INSTALL} -c -o bin -g bin -m 755 bin/ftpwho ${BINDIR}/ftpwho
install -c -o bin -g bin -m 755 bin/ckconfig ${BINDIR}/ftpckconfig
@echo NOT Installing basic configuration
! install -c -o root -g bin -m 644 doc/examples/ftpaccess ${ETCDIR}/ftpaccess.example
! install -c -o root -g bin -m 644 doc/examples/ftpusers ${ETCDIR}/ftpusers.example
! install -c -o root -g bin -m 644 doc/examples/ftpconversions ${ETCDIR}/ftpconversions.example
@echo installing manpages.
${INSTALL} -c -o bin -g bin -m 644 doc/ftpd.8 ${MANDIR}/man8/ftpd.8
${INSTALL} -c -o bin -g bin -m 644 doc/ftpcount.1 ${MANDIR}/man1/ftpcount.1
***************
*** 30,41 ****
${INSTALL} -c -o bin -g bin -m 644 doc/ftphosts.5 ${MANDIR}/man5/ftphosts.5
${INSTALL} -c -o bin -g bin -m 644 doc/ftpconversions.5 ${MANDIR}/man5/ftpconversions.5
${INSTALL} -c -o bin -g bin -m 644 doc/xferlog.5 ${MANDIR}/man5/xferlog.5
! @echo Compressing manpages
! gzip -f -9 ${MANDIR}/man8/ftpd.8
! gzip -f -9 ${MANDIR}/man1/ftpcount.1
! gzip -f -9 ${MANDIR}/man1/ftpwho.1
! gzip -f -9 ${MANDIR}/man8/ftpshut.8
! gzip -f -9 ${MANDIR}/man5/ftpaccess.5
! gzip -f -9 ${MANDIR}/man5/ftphosts.5
! gzip -f -9 ${MANDIR}/man5/ftpconversions.5
! gzip -f -9 ${MANDIR}/man5/xferlog.5
--- 31,42 ----
${INSTALL} -c -o bin -g bin -m 644 doc/ftphosts.5 ${MANDIR}/man5/ftphosts.5
${INSTALL} -c -o bin -g bin -m 644 doc/ftpconversions.5 ${MANDIR}/man5/ftpconversions.5
${INSTALL} -c -o bin -g bin -m 644 doc/xferlog.5 ${MANDIR}/man5/xferlog.5
! # @echo Compressing manpages
! # gzip -f -9 ${MANDIR}/man8/ftpd.8
! # gzip -f -9 ${MANDIR}/man1/ftpcount.1
! # gzip -f -9 ${MANDIR}/man1/ftpwho.1
! # gzip -f -9 ${MANDIR}/man8/ftpshut.8
! # gzip -f -9 ${MANDIR}/man5/ftpaccess.5
! # gzip -f -9 ${MANDIR}/man5/ftphosts.5
! # gzip -f -9 ${MANDIR}/man5/ftpconversions.5
! # gzip -f -9 ${MANDIR}/man5/xferlog.5
|