Update to snort, diff courtesy of Chris Kuethe, added myself as maintainer and I'll work from here.

It should be also added that the community rules are replacing the standard rules since it seems that some sort of membership is now required for the snort released rules, I was unable to verify the licensing of the rules. Because of this the snort.conf needs some heavy editing at the end to replace all the rulesets. If anyone knows anything about them (snort release rules) feel free to let me know and I'll update accordingly.

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/snort/Makefile,v
retrieving revision 1.36
diff -u -r1.36 Makefile
--- Makefile    2005/07/04 22:18:51     1.36
+++ Makefile    2005/11/04 18:39:33
@@ -2,14 +2,14 @@

 COMMENT=       "highly flexible sniffer/NIDS"

-DISTNAME=      snort-2.3.3
-PKGNAME=       ${DISTNAME}p0
+DISTNAME=      snort-2.4.3
+DISTFILES=     ${DISTNAME}.tar.gz Community-Rules-2.4.tar.gz:0
+#PKGNAME=      ${DISTNAME}p0
 CATEGORIES=    net security
-MASTER_SITES=  ${HOMEPAGE}/dl/current/

 HOMEPAGE=       http://www.snort.org/
-
-MAINTAINER=    Brian Caswell <[EMAIL PROTECTED]>
+MAINTAINER=    Martin Ekendahl <[EMAIL PROTECTED]>
+MASTER_SITES=  ${HOMEPAGE}/dl/current/
+MASTER_SITES0= http://www.snort.org/pub-bin/downloads.cgi/Download/comm_rules/

 # License: GPL
 PERMIT_PACKAGE_CDROM=  Yes
@@ -50,6 +50,9 @@
 RUN_DEPENDS+=  :samba-*:net/samba
 CONFIGURE_ARGS+= --enable-smbalerts
 .endif
+
+post-extract:
+       @cp -r ${WRKDIR}/rules ${WRKDIR}/docs ${WRKSRC}

 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/snort
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/snort/distinfo,v
retrieving revision 1.9
diff -u -r1.9 distinfo
--- distinfo    2005/06/29 06:01:38     1.9
+++ distinfo    2005/11/04 18:39:33
@@ -1,4 +1,8 @@
-MD5 (snort-2.3.3.tar.gz) = 06bf140893e7cb120aaa9372d10a0100
-RMD160 (snort-2.3.3.tar.gz) = 6bb635df1c62d293d8dd4b2fec55cfa486916908
-SHA1 (snort-2.3.3.tar.gz) = 6d05c995f0eef5adde9d63157436c0088747d435
-SIZE (snort-2.3.3.tar.gz) = 2631270
+MD5 (Community-Rules-2.4.tar.gz) = 806603538e779d5385ce608631f8b41e
+MD5 (snort-2.4.3.tar.gz) = 5c3c8c69f2459bbe0c1f2057966c88a7
+RMD160 (Community-Rules-2.4.tar.gz) = 9279272b605a86a68124191bc8c0f8862c1f2363
+RMD160 (snort-2.4.3.tar.gz) = 1cba0a9d843da1cfa8c8dbaae5b18a16574cb7d2
+SHA1 (Community-Rules-2.4.tar.gz) = dacfd7743de318eddb4a490ac6142b0a938b6cbe
+SHA1 (snort-2.4.3.tar.gz) = 5b38b558b73252c048f23dba2499bcd902ebdd9e
+SIZE (Community-Rules-2.4.tar.gz) = 23563
+SIZE (snort-2.4.3.tar.gz) = 2733590
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/snort/pkg/PLIST,v
retrieving revision 1.13
diff -u -r1.13 PLIST
--- pkg/PLIST   2004/09/15 18:17:46     1.13
+++ pkg/PLIST   2005/11/04 18:39:33
@@ -2,57 +2,31 @@
 bin/snort
 @man man/man8/snort.8
 share/examples/snort/
-share/examples/snort/attack-responses.rules
-share/examples/snort/backdoor.rules
-share/examples/snort/bad-traffic.rules
-share/examples/snort/chat.rules
 share/examples/snort/classification.config
-share/examples/snort/ddos.rules
-share/examples/snort/deleted.rules
-share/examples/snort/dns.rules
-share/examples/snort/dos.rules
-share/examples/snort/experimental.rules
-share/examples/snort/exploit.rules
-share/examples/snort/finger.rules
-share/examples/snort/ftp.rules
-share/examples/snort/icmp-info.rules
-share/examples/snort/icmp.rules
-share/examples/snort/imap.rules
-share/examples/snort/info.rules
-share/examples/snort/local.rules
-share/examples/snort/misc.rules
-share/examples/snort/multimedia.rules
-share/examples/snort/mysql.rules
-share/examples/snort/netbios.rules
-share/examples/snort/nntp.rules
-share/examples/snort/oracle.rules
-share/examples/snort/other-ids.rules
-share/examples/snort/p2p.rules
-share/examples/snort/policy.rules
-share/examples/snort/pop2.rules
-share/examples/snort/pop3.rules
-share/examples/snort/porn.rules
+share/examples/snort/community-dos.rules
+share/examples/snort/community-exploit.rules
+share/examples/snort/community-ftp.rules
+share/examples/snort/community-game.rules
+share/examples/snort/community-icmp.rules
+share/examples/snort/community-imap.rules
+share/examples/snort/community-inappropriate.rules
+share/examples/snort/community-mail-client.rules
+share/examples/snort/community-misc.rules
+share/examples/snort/community-nntp.rules
+share/examples/snort/community-oracle.rules
+share/examples/snort/community-sip.rules
+share/examples/snort/community-smtp.rules
+share/examples/snort/community-sql-injection.rules
+share/examples/snort/community-virus.rules
+share/examples/snort/community-web-attacks.rules
+share/examples/snort/community-web-cgi.rules
+share/examples/snort/community-web-client.rules
+share/examples/snort/community-web-dos.rules
+share/examples/snort/community-web-iis.rules
+share/examples/snort/community-web-misc.rules
+share/examples/snort/community-web-php.rules
 share/examples/snort/reference.config
-share/examples/snort/rpc.rules
-share/examples/snort/rservices.rules
-share/examples/snort/scan.rules
-share/examples/snort/shellcode.rules
 share/examples/snort/sid-msg.map
-share/examples/snort/smtp.rules
-share/examples/snort/snmp.rules
 share/examples/snort/snort.conf
-share/examples/snort/sql.rules
-share/examples/snort/telnet.rules
-share/examples/snort/tftp.rules
 share/examples/snort/threshold.conf
 share/examples/snort/unicode.map
-share/examples/snort/virus.rules
-share/examples/snort/web-attacks.rules
-share/examples/snort/web-cgi.rules
-share/examples/snort/web-client.rules
-share/examples/snort/web-coldfusion.rules
-share/examples/snort/web-frontpage.rules
-share/examples/snort/web-iis.rules
-share/examples/snort/web-misc.rules
-share/examples/snort/web-php.rules
-share/examples/snort/x11.rules

Reply via email to