summaryrefslogtreecommitdiff
path: root/security/tcp_wrapper/scripts/configure
blob: ae837b94e861c8bbdcc65c7eb063cd8ccc99bd3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#
# $FreeBSD$
#

FILES="hosts_access.3 hosts_access.5 tcpd.8 tcpdchk.8 tcpdmatch.8"

cd ${WRKSRC}

for f in $FILES; do
	mv $f $f.bak &&
	sed <$f.bak >$f s+!!PREFIX!!+$PREFIX+g
done