Date: Tue, 26 Feb 2008 01:47:06 GMT From: Jo Rhett <jrhett@netconsonance.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/121103: snort 2.7 no longer in right place, upgrade to 2.8 Message-ID: <200802260147.m1Q1l6rm027804@www.freebsd.org> Resent-Message-ID: <200802260150.m1Q1o127004053@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 121103 >Category: ports >Synopsis: snort 2.7 no longer in right place, upgrade to 2.8 >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 26 01:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Jo Rhett >Release: 6.2-RELEASE >Organization: Net Consonance >Environment: FreeBSD wort 6.2-RELEASE-p9 FreeBSD 6.2-RELEASE-p9 #0: Thu Nov 29 04:07:33 UTC 2007 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: The current snort port doesn't work because the 2.7 src file is not where it was expected. The following patch upgrades snort port to 2.8.0.2 (current). FYI: not in the patch, but you might want to add the /old directory to the master sites path to prevent this problem from reoccuring with the next release. >How-To-Repeat: >Fix: apply this patch Patch attached with submission follows: --- Makefile.orig Mon Feb 25 16:14:05 2008 +++ Makefile Mon Feb 25 17:43:48 2008 @@ -6,8 +6,7 @@ # PORTNAME= snort -PORTVERSION= 2.7.0.1 -PORTREVISION= 1 +PORTVERSION= 2.8.0.2 CATEGORIES= security MASTER_SITES= http://www.snort.org/dl/current/ @@ -17,7 +16,7 @@ LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre CONFLICTS?= snort-1.* snort-2.0.* snort-2.1.* snort-2.2.* snort-2.3.* \ - snort-2.4.* + snort-2.4.* \ snort-2.5.* \ snort-2.6.* \ snort-2.7.* \ snort-2.8.* OPTIONS= DYNAMIC "Enable dynamic plugin support" on \ FLEXRESP "Flexible response to events" off \ @@ -34,8 +33,8 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIG_DIR?= ${PREFIX}/etc/snort -CONFIG_FILES= classification.config gen-msg.map generators reference.config \ - sid sid-msg.map snort.conf threshold.conf unicode.map +CONFIG_FILES= classification.config gen-msg.map reference.config \ + sid-msg.map snort.conf threshold.conf unicode.map RULES_DIR= ${PREFIX}/etc/snort/rules LOGS_DIR= /var/log/snort --- distinfo.orig Mon Feb 25 16:23:12 2008 +++ distinfo Mon Feb 25 16:59:57 2008 @@ -1,3 +1,3 @@ -MD5 (snort-2.7.0.1.tar.gz) = 06d3fa0b326dcdca59a19811f32b013a -SHA256 (snort-2.7.0.1.tar.gz) = c9337c2acb34e34904e3fff8a2c31e1a3a92aa7776a9263454fd4dc5503721fa -SIZE (snort-2.7.0.1.tar.gz) = 3905846 +MD5 (snort-2.8.0.2.tar.gz) = c4aeac8aa198a5e4d4bc67b5b2d9bdcb +SHA256 (snort-2.8.0.2.tar.gz) = b1a6bec4893d8708f2572cca62d84654655d91824987a4f58b6d7b39947b95f7 +SIZE (snort-2.8.0.2.tar.gz) = 4340169 --- origfiles/patch-snort.conf Mon Feb 25 17:04:01 2008 +++ files/patch-snort.conf Mon Feb 25 17:03:21 2008 @@ -1,11 +1,13 @@ --- etc/snort.conf.orig Thu Aug 5 11:55:37 2004 +++ etc/snort.conf Wed Aug 11 15:52:47 2004 -@@ -106,7 +106,7 @@ +@@ -106,8 +106,8 @@ # Path to your rules files (this can be a relative path) # Note for Windows users: You are advised to make this an absolute path, # such as: c:\snort\rules -var RULE_PATH ../rules +var RULE_PATH ./rules +-var PREPROC_RULE_PATH ../preproc_rules ++var PREPROC_RULE_PATH ./preproc_rules # Configure the snort decoder # ============================ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802260147.m1Q1l6rm027804>