pkgsrc/security/portsentry/Makefile
agc d731127ea2 Update portsentry from 1.0 to 1.2.
Major changes from previous version:

	Master site has moved to sourceforge
	Licence has changed to a GPL-like licence

Minor changes from previous version:
12-21-1999 - 1.1 Fixed typo in bare-bones TCP list where 524 was supposed to be for 1524.
03-31-2000 - 1.1 Updated .conf to add ipf blocking rule. Thanks Graham Dunn
<gdunn@inscriber.com>
06-08-2000 - 1.1 Fixed an error in the state engine portion that could cause an increment error
under certain conditions. Thanks Peter M. Allan <peter.m.allan@hsbcgroup.com> for finding this.
6-21-2000 - 1.1 New Features added
                - Added in feature to disable DNS host resolution by checking RESOLVE_HOST in
                conf file.
                - Added in feature to have external command run before or after blocking has
                occurred as defined in KILL_RUN_CMD_FIRST option in conf file.
                - Removed DoBlockTCP/UDP functions. Converted over to generic flag checker.
7-5-2000 - 1.1
                - Added iptables support (thanks Scott Catterton <scatterton@valinux.com>)
                - Added Makefile support for Irix
                - Put in ports for common DDOS ports
9-8-2000 - 1.1  - Added in netmask support
9-9-2000 - 1.1  - Finally moved resolver functions to own area.
                - Made CleanAndResolve to ensure DNS records returned are sanitized
                  correctly before being passed back.
3-23-2001 - 1.1 - Fixed a bug that showed up under Linux 2.4 Kernel that would cause accept
to loop. There was an error with how I used a count variable after trying to bind to ports.
If the port didn't bind the count for the openSockfd would still increment and this caused
the error to show up.
6-26-2001 - 1.1 - Added Mac OS X build support (Same as FreeBSD). Fixed bug for Advanced mode
to properly monitor 1024 ports (it only did first 1023 before). Thanks Guido.
05-23-2003 - 1.2 - Removed references to old psionic e-mail and changed license to
Common Public License.

I've also added a fix for a multi-line string constant for gcc3.
2004-01-22 10:08:19 +00:00

42 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.11 2004/01/22 10:08:19 agc Exp $
#
DISTNAME= portsentry-1.2
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sentrytools/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/sentrytools/
COMMENT= Detects and respond to port scans against a target host in real-time
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
WRKSRC= ${WRKDIR}/portsentry_beta
ALL_TARGET= ${LOWER_OPSYS}
EGDIR= ${PREFIX}/share/examples/portsentry
CONF_FILES= ${EGDIR}/portsentry.conf ${PKG_SYSCONFDIR}/portsentry.conf
CONF_FILES+= ${EGDIR}/portsentry.ignore ${PKG_SYSCONFDIR}/portsentry.ignore
post-patch:
@cd ${WRKSRC}; \
case ${OPSYS} in \
NetBSD) netbsd=""; solaris="#" ;; \
SunOS) netbsd="#"; solaris="" ;; \
esac; \
for f in portsentry.conf portsentry_config.h; do \
${MV} $$f $$f.prefix; \
${SED} -e 's|@PREFIX@|${PREFIX}|g' \
-e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g' \
-e 's|@netbsd@|'$$netbsd'|g' \
-e 's|@solaris@|'$$solaris'|g' \
$$f.prefix > $$f; \
done
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/portsentry
${INSTALL_DATA} ${WRKSRC}/README.install ${PREFIX}/share/doc/portsentry
${INSTALL_DATA} ${WRKSRC}/README.methods ${PREFIX}/share/doc/portsentry
.include "../../mk/bsd.pkg.mk"