1999-01-20 21:49:45 +01:00
|
|
|
# New ports collection makefile for: sentry
|
1998-12-19 17:53:20 +01:00
|
|
|
# Date created: 3 January 1998
|
|
|
|
# Whom: chris@still.whet.org
|
|
|
|
#
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1998-12-19 17:53:20 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 20:34:06 +02:00
|
|
|
PORTNAME= portsentry
|
2006-10-06 20:23:38 +02:00
|
|
|
PORTVERSION= 1.2
|
1998-12-19 17:53:20 +01:00
|
|
|
CATEGORIES= security
|
2009-08-22 02:35:32 +02:00
|
|
|
MASTER_SITES= SF/sentrytools/${PORTNAME}%201.x/${PORTNAME}-${PORTVERSION}
|
1998-12-19 17:53:20 +01:00
|
|
|
|
2010-09-04 17:32:58 +02:00
|
|
|
MAINTAINER= gjb@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Port scan detection and active defense
|
1998-12-19 17:53:20 +01:00
|
|
|
|
2005-04-18 15:16:47 +02:00
|
|
|
SUB_FILES= portsentry.sh
|
1999-05-17 07:21:25 +02:00
|
|
|
ALL_TARGET= freebsd
|
2005-04-18 15:16:47 +02:00
|
|
|
CFLAGS+= -DPREFIX=\"${PREFIX}\"
|
|
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
|
2006-10-06 20:23:38 +02:00
|
|
|
WRKSRC= ${WRKDIR}/portsentry_beta
|
1998-12-19 17:53:20 +01:00
|
|
|
|
1999-05-17 07:21:25 +02:00
|
|
|
post-patch:
|
2005-04-18 15:16:47 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,/usr/local/psionic/portsentry,${PREFIX}/etc,g' \
|
2001-01-07 18:49:52 +01:00
|
|
|
${WRKSRC}/portsentry.conf ${WRKSRC}/portsentry_config.h
|
1999-05-17 07:21:25 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/portsentry.conf ${PREFIX}/etc/portsentry.conf.default
|
2004-10-15 18:26:46 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/portsentry.ignore ${PREFIX}/etc/portsentry.ignore.default
|
1999-05-17 07:21:25 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/portsentry ${PREFIX}/bin
|
2005-04-18 15:16:47 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/portsentry.sh ${PREFIX}/etc/rc.d/
|
1999-01-20 21:49:45 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-03-05 18:02:22 +01:00
|
|
|
${MKDIR} ${DOCSDIR}
|
2000-08-26 12:20:24 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.install ${WRKSRC}/README.methods ${WRKSRC}/README.stealth \
|
2003-03-05 18:02:22 +01:00
|
|
|
${DOCSDIR}
|
1999-01-20 21:49:45 +01:00
|
|
|
.endif
|
2000-10-08 12:23:48 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1999-01-20 21:49:45 +01:00
|
|
|
|
1998-12-19 17:53:20 +01:00
|
|
|
.include <bsd.port.mk>
|