aboutsummaryrefslogtreecommitdiff
path: root/security/tcp_wrapper
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-01-10 18:24:17 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-01-10 18:24:17 +0000
commitcce52bb565c7c6873016361c59cb6e00f9b7d167 (patch)
tree1fb90ddd5183e87de12d4e6fffb12e39651d1ae6 /security/tcp_wrapper
parent553614b2e23343d5e67c9c558dda35dd0562c044 (diff)
downloadports-cce52bb565c7c6873016361c59cb6e00f9b7d167.tar.gz
ports-cce52bb565c7c6873016361c59cb6e00f9b7d167.zip
Add a sample wrapped inet.conf.
Notes
Notes: svn path=/head/; revision=9312
Diffstat (limited to 'security/tcp_wrapper')
-rw-r--r--security/tcp_wrapper/Makefile9
-rw-r--r--security/tcp_wrapper/pkg-plist1
2 files changed, 9 insertions, 1 deletions
diff --git a/security/tcp_wrapper/Makefile b/security/tcp_wrapper/Makefile
index a4770ffabde0..15e16a74bdb2 100644
--- a/security/tcp_wrapper/Makefile
+++ b/security/tcp_wrapper/Makefile
@@ -3,7 +3,7 @@
# Date created: 27 Oct 1994
# Whom: torstenb
#
-# $Id: Makefile,v 1.15 1997/06/20 17:49:51 max Exp $
+# $Id: Makefile,v 1.16 1997/07/04 19:54:25 ache Exp $
#
DISTNAME= tcp_wrappers_7.6
@@ -20,5 +20,12 @@ MAN8= tcpd.8 tcpdchk.8 tcpdmatch.8
post-install:
${LDCONFIG} -m ${PREFIX}/lib
+ @${INSTALL_DATA} ${FILESDIR}/inetd.conf.wrapped.sample ${PREFIX}/etc
+
+update:
+ @cd ${FILESDIR} ; co -f $(CVSROOT)/src/etc/inetd.conf,v
+ @${SED} 's:/usr/libexec/[a-zA-Z]*:${PREFIX}/libexec/tcpd:g' \
+ < ${FILESDIR}/inetd.conf > ${FILESDIR}/inetd.conf.wrapped.sample
+ @${RM} -f ${FILESDIR}/inetd.conf
.include <bsd.port.mk>
diff --git a/security/tcp_wrapper/pkg-plist b/security/tcp_wrapper/pkg-plist
index 27656f51d6c6..0d7d9d7df94b 100644
--- a/security/tcp_wrapper/pkg-plist
+++ b/security/tcp_wrapper/pkg-plist
@@ -14,3 +14,4 @@ man/man5/hosts_options.5.gz
man/man8/tcpd.8.gz
man/man8/tcpdchk.8.gz
man/man8/tcpdmatch.8.gz
+etc/inetd.conf.wrapped.sample