blob: 00d133f48e9f14380d2126ca3f718ec66b90e535 (
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
|
$NetBSD: patch-aa,v 1.3 2008/07/10 15:52:03 joerg Exp $
--- Makefile.in.orig 2003-05-09 16:47:48.000000000 -0500
+++ Makefile.in
@@ -4,6 +4,7 @@ INSTALL=@INSTALL@
CFLAGS=@CFLAGS@ @DEFS@ -Wall -I. -DVERSION=\"$(VERSION)\" @DEBUG@
LIBS=@LIBS@
prefix=@prefix@
+datadir=@datadir@
mandir=@mandir@
sbindir=@sbindir@
DESTDIR=
@@ -26,14 +27,9 @@ bftpd: $(OBJS)
$(OBJS): $(HEADERS) Makefile
install: all
- $(INSTALL) -g 0 -m 700 -o 0 bftpd $(DESTDIR)/$(prefix)/sbin
- $(INSTALL) -g 0 -m 644 -o 0 bftpd.8 $(DESTDIR)/$(mandir)/man8
- [ -f $(DESTDIR)/etc/bftpd.conf ] || \
- $(INSTALL) -g 0 -m 600 -o 0 bftpd.conf $(DESTDIR)/etc
- touch /var/log/bftpd.log
- chmod 644 /var/log/bftpd.log
- mkdir -p /var/run/bftpd
- chmod 755 /var/run/bftpd
+ $(INSTALL) -m 700 bftpd $(DESTDIR)/$(prefix)/sbin
+ $(INSTALL) -m 644 bftpd.8 $(DESTDIR)/$(mandir)/man8
+ $(INSTALL) -m 600 bftpd.conf $(DESTDIR)/$(datadir)/examples/bftpd
clean distclean:
rm -f *~ $(OBJS) bftpd mksources.finished
|