aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-03-29 07:04:51 +0800
committerpat <pat@FreeBSD.org>2002-03-29 07:04:51 +0800
commit8a0a7b71fa8deda720230524fd1373eb508eeafc (patch)
treef5292877c54f25a252dad753613a79a719a044e6 /security
parent6fa01adb6363dc5942aa1edd39b50eae631b589a (diff)
downloadfreebsd-ports-gnome-8a0a7b71fa8deda720230524fd1373eb508eeafc.tar.gz
freebsd-ports-gnome-8a0a7b71fa8deda720230524fd1373eb508eeafc.tar.zst
freebsd-ports-gnome-8a0a7b71fa8deda720230524fd1373eb508eeafc.zip
Install config file as a sample file
PR: 36442 Submitted by: ago <a.go@wish.net>
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