From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 26 01:50:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1037816A404 for ; Tue, 26 Feb 2008 01:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E3F2113C447 for ; Tue, 26 Feb 2008 01:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1Q1o1QU004054 for ; Tue, 26 Feb 2008 01:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1Q1o127004053; Tue, 26 Feb 2008 01:50:01 GMT (envelope-from gnats) Resent-Date: Tue, 26 Feb 2008 01:50:01 GMT Resent-Message-Id: <200802260150.m1Q1o127004053@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jo Rhett Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F03B16A400 for ; Tue, 26 Feb 2008 01:49:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 061F213C447 for ; Tue, 26 Feb 2008 01:49:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m1Q1l60G027805 for ; Tue, 26 Feb 2008 01:47:06 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m1Q1l6rm027804; Tue, 26 Feb 2008 01:47:06 GMT (envelope-from nobody) Message-Id: <200802260147.m1Q1l6rm027804@www.freebsd.org> Date: Tue, 26 Feb 2008 01:47:06 GMT From: Jo Rhett To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/121103: snort 2.7 no longer in right place, upgrade to 2.8 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2008 01:50:02 -0000 >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: