blob: 20062d577fffe540fe2d6de59ca5fe2fd02b1359 (
plain) (
blame)
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
|
--- makefiles/Makefile.fbs.orig Sun Jul 2 00:56:26 2000
+++ makefiles/Makefile.fbs Tue Sep 4 10:34:51 2001
@@ -24,19 +24,21 @@
#
DESTDIR=
-PREFIX= /usr/local
+PREFIX?= /usr/local
+
+ETCDIR= ${DESTDIR}${PREFIX}/etc
BINDIR= ${DESTDIR}${PREFIX}/bin
-BINOWN= bin
-BINGRP= bin
+BINOWN= root
+BINGRP= wheel
SBINDIR= ${DESTDIR}${PREFIX}/libexec
-SBINOWN= bin
-SBINGRP= bin
+SBINOWN= root
+SBINGRP= wheel
MANDIR= ${DESTDIR}${PREFIX}/man
-MANOWN= bin
-MANGRP= bin
+MANOWN= root
+MANGRP= wheel
INSTALL= install
@@ -52,14 +54,20 @@
@if [ ! -e ${SBINDIR} ]; then \
${INSTALL} -o ${SBINOWN} -g ${SBINGRP} -m 755 -d ${SBINDIR} ; \
fi
- ${INSTALL} -c -o ${SBINOWN} -g ${SBINGRP} -m 110 bin/ftpd ${SBINDIR}/in.ftpd
- @( cd ${SBINDIR} ; ln -s -f in.ftpd wu.ftpd ; chown ${SBINOWN}.${SBINGRP} wu.ftpd )
- @( cd ${SBINDIR} ; ln -s -f in.ftpd in.wuftpd ; chown ${SBINOWN}.${SBINGRP} in.wuftpd )
+ ${INSTALL} -c -o ${SBINOWN} -g ${SBINGRP} -m 110 bin/ftpd ${SBINDIR}/ftpd
+# ${INSTALL} -c -o ${SBINOWN} -g ${SBINGRP} -m 110 bin/ftpd ${SBINDIR}/in.ftpd
+# @( cd ${SBINDIR} ; ln -s -f in.ftpd wu.ftpd ; chown ${SBINOWN}.${SBINGRP} wu.ftpd )
+# @( cd ${SBINDIR} ; ln -s -f in.ftpd in.wuftpd ; chown ${SBINOWN}.${SBINGRP} in.wuftpd )
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 111 bin/ftpshut ${BINDIR}/ftpshut
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 111 bin/ftprestart ${BINDIR}/ftprestart
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 111 bin/ftpcount ${BINDIR}/ftpcount
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 111 bin/ftpwho ${BINDIR}/ftpwho
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 111 bin/privatepw ${BINDIR}/privatepw
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 doc/examples/ftpaccess ${ETCDIR}/ftpaccess.example
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 doc/examples/ftpusers ${ETCDIR}/ftpusers.example
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 doc/examples/ftpconversions ${ETCDIR}/ftpconversions.example
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 doc/examples/ftphosts ${ETCDIR}/ftphosts.example
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 doc/examples/ftpgroups ${ETCDIR}/ftpgroups.example
@echo installing manpages.
@if [ ! -e ${MANDIR}/man1 ]; then \
${INSTALL} -o ${MANOWN} -g ${MANGRP} -m 755 -d ${MANDIR}/man1 ; \
@@ -80,14 +88,14 @@
${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m 444 doc/ftpshut.8 ${MANDIR}/man8/ftpshut.8
${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m 444 doc/ftprestart.8 ${MANDIR}/man8/ftprestart.8
${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m 444 util/privatepw/privatepw.8 ${MANDIR}/man8/privatepw.8
- @echo Compressing manpages
- gzip -f -9 ${MANDIR}/man1/ftpcount.1
- gzip -f -9 ${MANDIR}/man1/ftpwho.1
- gzip -f -9 ${MANDIR}/man5/ftpaccess.5
- gzip -f -9 ${MANDIR}/man5/ftpconversions.5
- gzip -f -9 ${MANDIR}/man5/ftphosts.5
- gzip -f -9 ${MANDIR}/man5/xferlog.5
- gzip -f -9 ${MANDIR}/man8/ftpd.8
- gzip -f -9 ${MANDIR}/man8/ftpshut.8
- gzip -f -9 ${MANDIR}/man8/ftprestart.8
- gzip -f -9 ${MANDIR}/man8/privatepw.8
+# @echo Compressing manpages
+# gzip -f -9 ${MANDIR}/man1/ftpcount.1
+# gzip -f -9 ${MANDIR}/man1/ftpwho.1
+# gzip -f -9 ${MANDIR}/man5/ftpaccess.5
+# gzip -f -9 ${MANDIR}/man5/ftpconversions.5
+# gzip -f -9 ${MANDIR}/man5/ftphosts.5
+# gzip -f -9 ${MANDIR}/man5/xferlog.5
+# gzip -f -9 ${MANDIR}/man8/ftpd.8
+# gzip -f -9 ${MANDIR}/man8/ftpshut.8
+# gzip -f -9 ${MANDIR}/man8/ftprestart.8
+# gzip -f -9 ${MANDIR}/man8/privatepw.8
|