summaryrefslogtreecommitdiff
path: root/net/snort/Makefile
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-08-22 18:07:50 +0000
committerhubertf <hubertf@pkgsrc.org>2001-08-22 18:07:50 +0000
commit3678eadbb63a52071a84a85de9fce3110e66cca0 (patch)
tree72d4b3caff6a43f25fe45e77379582e3dbdb07c0 /net/snort/Makefile
parentc854ac692c9912a642e0c4692d17a2d0a90a3b2c (diff)
downloadpkgsrc-3678eadbb63a52071a84a85de9fce3110e66cca0.tar.gz
Upgrade snort to 1.8.1. Changes:
* SNMP alerts * IDMEF XML output (the Silicon Defense plugin is integrated into the main codebase now) * Limited regex support in the rules language * New packet counters for stream4 and frag2 * New normalization mode for http_decode
Diffstat (limited to 'net/snort/Makefile')
-rw-r--r--net/snort/Makefile38
1 files changed, 21 insertions, 17 deletions
diff --git a/net/snort/Makefile b/net/snort/Makefile
index 598a5487d3b..62296a41de3 100644
--- a/net/snort/Makefile
+++ b/net/snort/Makefile
@@ -1,14 +1,16 @@
-# $NetBSD: Makefile,v 1.9 2001/08/03 06:35:11 itojun Exp $
+# $NetBSD: Makefile,v 1.10 2001/08/22 18:07:50 hubertf Exp $
#
-DISTNAME= snort-1.8p1
+DISTNAME= snort-1.8.1-RELEASE
+PKGNAME= ${DISTNAME:C/-RELEASE//}
CATEGORIES= net security
MASTER_SITES= http://www.snort.org/Files/ \
ftp://the.wiretapped.net/pub/security/network-intrusion-detection/snort/ \
http://www.centus.com/snort/ \
http://snort.whitehats.com/ \
http://snort.safenetworks.com/ \
- ftp://gd.tuwien.ac.at/infosys/security/snort/
+ ftp://gd.tuwien.ac.at/infosys/security/snort/ \
+ http://snort.sourcefire.com/releases/
MAINTAINER= rh@netbsd.org
HOMEPAGE= http://www.snort.org/
@@ -25,25 +27,27 @@ ROOTGROUP= root
ROOTGROUP?= wheel
-WRKSRC= ${WRKDIR}/snort
+#WRKSRC= ${WRKDIR}/snort
post-install:
${INSTALL_DATA_DIR} -m 700 -o root -g ${ROOTGROUP} /var/log/snort
${INSTALL_DATA_DIR} ${PREFIX}/share/snort
-.for f in backdoor.rules ddos.rules dns.rules dos.rules exploit.rules \
- finger.rules ftp.rules icmp-info.rules icmp.rules info.rules \
- local.rules misc.rules netbios.rules policy.rules rpc.rules \
- rservices.rules scan.rules shellcode.rules smtp.rules sql.rules \
- telnet.rules virus.rules web-cgi.rules web-coldfusion.rules \
- web-frontpage.rules web-iis.rules web-misc.rules x11.rules
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/snort
-.endfor
+ cd ${WRKSRC} ; \
+ for i in snort.conf *.config *.rules ; do \
+ ${INSTALL_DATA} $$i ${PREFIX}/share/snort ; \
+ done
+ :
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snort
-.for f in BUGS CREDITS README README.FLEXRESP README.PLUGINS \
- README.Spade README.Spade.Usage README.csv README.database README.tcpstream \
- README.xml NEWS RULES.SAMPLE USAGE
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/snort
-.endfor
+ cd ${WRKSRC} ; \
+ for f in [A-LN-Z]* ; do \
+ ${INSTALL_DATA} $$f ${PREFIX}/share/doc/snort ; \
+ done
+ :
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/snort/MIBS
+ cd ${WRKSRC}/MIBS ; \
+ for m in SnortCommonMIB.txt SnortIDAlertMIB.txt ; do \
+ ${INSTALL_DATA} $$m ${PREFIX}/share/snort/MIBS ; \
+ done
${INSTALL_MAN} ${WRKSRC}/snort.8 ${PREFIX}/man/man8
.include "../../mk/bsd.pkg.mk"