aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-03-28 23:04:51 +0000
committerPatrick Li <pat@FreeBSD.org>2002-03-28 23:04:51 +0000
commit3d18342831a902b30c2ba20e721b955dd1dd11d6 (patch)
tree1b7a4cc942518fbf245179c28d48fd7fed55d189 /security
parent37183d4ab47de4f712c13ddad2e62ba53275a9bc (diff)
downloadports-3d18342831a902b30c2ba20e721b955dd1dd11d6.tar.gz
ports-3d18342831a902b30c2ba20e721b955dd1dd11d6.zip
Install config file as a sample file
PR: 36442 Submitted by: ago <a.go@wish.net>
Notes
Notes: svn path=/head/; revision=56819
Diffstat (limited to 'security')
-rw-r--r--security/fwtk/Makefile4
-rw-r--r--security/fwtk/files/patch-ac6
-rw-r--r--security/fwtk/pkg-plist2
3 files changed, 8 insertions, 4 deletions
diff --git a/security/fwtk/Makefile b/security/fwtk/Makefile
index 66eb5249d09a..06d6bafe0bf6 100644
--- a/security/fwtk/Makefile
+++ b/security/fwtk/Makefile
@@ -56,6 +56,10 @@ pre-configure:
post-install:
cd ${PREFIX}/libexec ; strip ${SBIN_BINS} ${LIBEXEC_BINS}
cd ${PREFIX}/libexec ; ${MV} ${SBIN_BINS} mqueue ../sbin
+ if [ ! -f ${PREFIX}/etc/netperm-table ]; then \
+ ${INSTALL_DATA} ${WRKSRC}/config/netperm-table \
+ ${PREFIX}/etc/netperm-table;\
+ fi
.for man in ${MAN3}
@${INSTALL_MAN} ${WRKSRC}/doc/man/${man} ${PREFIX}/man/man3
.endfor
diff --git a/security/fwtk/files/patch-ac b/security/fwtk/files/patch-ac
index d739e4e61778..9d7aa09c1a28 100644
--- a/security/fwtk/files/patch-ac
+++ b/security/fwtk/files/patch-ac
@@ -15,7 +15,7 @@
- if [ ! -f $(DEST)/netperm-table ]; then \
- $(CP) netperm-table $(DEST); \
- chmod 644 $(DEST)/netperm-table; \
-+ if [ ! -f $(DEST)/../etc/netperm-table ]; then \
-+ $(CP) netperm-table $(DEST)/../etc/; \
-+ chmod 644 $(DEST)/../etc/netperm-table; \
++ if [ ! -f $(DEST)/../etc/netperm-table.sample ]; then \
++ $(CP) netperm-table $(DEST)/../etc/netperm-table.sample; \
++ chmod 644 $(DEST)/../etc/netperm-table.sample; \
fi
diff --git a/security/fwtk/pkg-plist b/security/fwtk/pkg-plist
index 632e964f3c2c..81876830d6a8 100644
--- a/security/fwtk/pkg-plist
+++ b/security/fwtk/pkg-plist
@@ -1,4 +1,4 @@
-etc/netperm-table
+etc/netperm-table.sample
libexec/authsrv
libexec/ftp-gw
libexec/http-gw