summaryrefslogtreecommitdiff
path: root/security/tcp_wrapper/Makefile
blob: 319b8230bc1be7a98d8909a590c5c25a111a0397 (plain) (blame)
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
31
32
33
34
# New ports collection makefile for:	tcp_wrapper
# Version required:     7.6
# Date created:		27 Oct 1994
# Whom:			torstenb
#
# $Id: Makefile,v 1.19 1998/09/14 21:08:53 smace Exp $
#

DISTNAME=       tcp_wrappers_7.6
PKGNAME=        tcp_wrappers-7.6
CATEGORIES=	security net
MASTER_SITES=	ftp://ftp.porcupine.org/pub/security/

MAINTAINER=	torstenb@FreeBSD.ORG

ALL_TARGET=	freebsd
MAN3=		hosts_access.3
MAN5=		hosts_access.5 hosts_options.5
MAN8=		tcpd.8 tcpdchk.8 tcpdmatch.8

post-install:
	${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${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} -e 's:/usr/libexec/[a-zA-Z]*:${PREFIX}/libexec/tcpd:g'  \
		-e 's:/usr/local/libexec/[a-zA-Z]*:${PREFIX}/libexec/tcpd:g'  \
		-e 's:/usr/local/sbin/[a-zA-Z]*:${PREFIX}/libexec/tcpd:g'  \
		< ${FILESDIR}/inetd.conf  > ${FILESDIR}/inetd.conf.wrapped.sample
	@${RM} -f ${FILESDIR}/inetd.conf
	@${ECHO} "Now manually fixup deamon paths from the /usr/local tree."

.include <bsd.port.mk>