2013-03-11 07:35:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2013/03/11 11:41:27 espie Exp $
|
2001-05-05 23:45:31 -04:00
|
|
|
|
2007-09-15 19:29:57 -04:00
|
|
|
COMMENT= port scan detection and active defense
|
2001-03-06 02:26:59 -05:00
|
|
|
|
2006-10-27 05:49:27 -04:00
|
|
|
DISTNAME= portsentry-1.2
|
2001-03-06 02:26:59 -05:00
|
|
|
CATEGORIES= security
|
|
|
|
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
|
2006-10-27 05:49:27 -04:00
|
|
|
# Common Public License
|
2007-09-15 19:29:57 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= commercial distribution defend and indemnify clauses
|
2001-03-06 02:26:59 -05:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2004-12-27 08:28:33 -05:00
|
|
|
WANTLIB= c
|
2001-03-06 02:26:59 -05:00
|
|
|
|
2006-10-27 05:49:27 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sentrytools/}
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/portsentry_beta
|
2001-03-06 02:26:59 -05:00
|
|
|
|
|
|
|
ALL_TARGET= openbsd
|
2006-10-27 05:49:27 -04:00
|
|
|
MAKE_FLAGS= CFLAGS="${CFLAGS}"
|
2001-03-06 02:26:59 -05:00
|
|
|
|
2001-11-26 11:06:58 -05:00
|
|
|
DOCS= README.install README.methods README.stealth
|
|
|
|
|
2006-10-27 05:49:27 -04:00
|
|
|
pre-build:
|
|
|
|
@perl -pi -e "s,/usr/local/psionic,${SYSCONFDIR}," \
|
|
|
|
${WRKSRC}/portsentry.conf
|
|
|
|
@perl -pi -e "s,/usr/local/psionic,${SYSCONFDIR}," \
|
|
|
|
${WRKSRC}/portsentry_config.h
|
|
|
|
|
2001-03-06 02:26:59 -05:00
|
|
|
do-install:
|
2001-11-26 11:06:58 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/portsentry
|
2006-10-27 05:49:27 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/portsentry
|
2001-03-06 02:26:59 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/portsentry ${PREFIX}/bin
|
2006-10-27 05:49:27 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/portsentry.conf \
|
|
|
|
${PREFIX}/share/examples/portsentry/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/portsentry.ignore \
|
|
|
|
${PREFIX}/share/examples/portsentry/
|
|
|
|
|
|
|
|
.for i in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/portsentry/
|
|
|
|
.endfor
|
|
|
|
|
2013-03-11 07:35:43 -04:00
|
|
|
NO_TEST= Yes
|
2001-03-06 02:26:59 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|