aboutsummaryrefslogtreecommitdiff
path: root/security/snort
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-04-17 21:45:03 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-04-17 21:45:03 +0000
commit67c453b797ac7b2cb3392d53daefe491e44e905c (patch)
tree57cc98c758c7da9743f1dac7014a3cfb77ae053e /security/snort
parent85985a5547cbf00c08fa7cbe41d4c1ba2b761655 (diff)
downloadports-67c453b797ac7b2cb3392d53daefe491e44e905c.tar.gz
ports-67c453b797ac7b2cb3392d53daefe491e44e905c.zip
Notes
Diffstat (limited to 'security/snort')
-rw-r--r--security/snort/Makefile4
-rw-r--r--security/snort/distinfo2
-rw-r--r--security/snort/files/patch-snort.c39
-rw-r--r--security/snort/pkg-plist2
4 files changed, 10 insertions, 37 deletions
diff --git a/security/snort/Makefile b/security/snort/Makefile
index 3970e97a3d45..99b96151b1f0 100644
--- a/security/snort/Makefile
+++ b/security/snort/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= snort
-PORTVERSION= 1.9.1
+PORTVERSION= 2.0.0
CATEGORIES= security
MASTER_SITES= http://www.snort.org/dl/
@@ -57,7 +57,7 @@ pre-configure:
@${ECHO} ""
DOCS= AUTHORS NEWS README.csv BUGS README README.database \
- CREDITS README.SNMP README.xml README.FLEXRESP RULES.todo FAQ \
+ CREDITS README.FLEXRESP RULES.todo FAQ \
SnortUsersManual.pdf README.PLUGINS USAGE
post-install:
diff --git a/security/snort/distinfo b/security/snort/distinfo
index 1c7bf63f1775..d386bb2d687e 100644
--- a/security/snort/distinfo
+++ b/security/snort/distinfo
@@ -1 +1 @@
-MD5 (snort-1.9.1.tar.gz) = 50bb526b41f48fb7689bb8342b27e44d
+MD5 (snort-2.0.0.tar.gz) = b7d374655c4390c07b2e38a2d381c2bd
diff --git a/security/snort/files/patch-snort.c b/security/snort/files/patch-snort.c
index a563db650a4e..44045699dbe1 100644
--- a/security/snort/files/patch-snort.c
+++ b/security/snort/files/patch-snort.c
@@ -1,36 +1,11 @@
---- src/snort.c.orig Fri Mar 14 19:58:33 2003
-+++ src/snort.c Fri Mar 14 19:58:19 2003
-@@ -1,4 +1,4 @@
--/* $Id: snort.c,v 1.157.2.7 2003/02/19 21:16:50 chris_reid Exp $ */
-+/* $Id: snort.c,v 1.157.2.9 2003/03/04 20:47:15 andrewbaker Exp $ */
- /*
- ** Copyright (C) 1998-2002 Martin Roesch <roesch@sourcefire.com>
- **
-@@ -252,6 +252,8 @@
- OpenPcap(pv.readfile, 0);
- }
-
-+ InitOutputPlugins();
-+
- /* didn't get any conf data at the command line, try to find the default
- * conf file
- */
-@@ -310,9 +312,6 @@
- GoDaemon();
- }
-
-- /* initialize these here so we do not print unwanted messages */
-- InitOutputPlugins();
--
- /*
- * creating a PID file before setting its proper
- * path (in SanityChecks()) is not a good idea
-@@ -2212,7 +2211,7 @@
+--- src/snort.c.orig Thu Apr 17 14:39:59 2003
++++ src/snort.c Thu Apr 17 14:40:09 2003
+@@ -1729,7 +1729,7 @@
+ {
struct stat st;
- int found;
int i;
- char *conf_files[]={"/etc/snort.conf", "./snort.conf", NULL};
-+ char *conf_files[]={"/usr/local/etc/snort.conf", "./snort.conf", NULL};
++ char *conf_files[]={"%%PREFIX%%/etc/snort.conf", "./snort.conf", NULL};
char *fname = NULL;
- char *home_dir;
- char *tmp;
+ char *home_dir = NULL;
+ char *rval = NULL;
diff --git a/security/snort/pkg-plist b/security/snort/pkg-plist
index 1159494b93dd..fc0fd72a17e6 100644
--- a/security/snort/pkg-plist
+++ b/security/snort/pkg-plist
@@ -9,8 +9,6 @@ etc/snort.conf-sample
%%PORTDOCS%%share/doc/snort/README
%%PORTDOCS%%share/doc/snort/README.database
%%PORTDOCS%%share/doc/snort/CREDITS
-%%PORTDOCS%%share/doc/snort/README.SNMP
-%%PORTDOCS%%share/doc/snort/README.xml
%%PORTDOCS%%share/doc/snort/README.FLEXRESP
%%PORTDOCS%%share/doc/snort/RULES.todo
%%PORTDOCS%%share/doc/snort/FAQ