Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  9 Apr 2012 15:12:31 -0400 (EDT)
From:      Michael Scheidell <scheidell@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Frank@snortsam.net
Subject:   ports/166798: [PATCH] unbreak snort WITH_SNORTSAM
Message-ID:  <20120409191231.A07211D434@scanner.secnap.net>
Resent-Message-ID: <201204091920.q39JKEto097877@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         166798
>Category:       ports
>Synopsis:       [PATCH] unbreak snort WITH_SNORTSAM
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 09 19:20:14 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Michael Scheidell
>Release:        FreeBSD 7.4-RELEASE-p3 i386
>Organization:
SECNAP Network Security
>Environment:

>Description:

- Unbreak snort when WITH_SNORTSAM defined
- No PORTREVISION bump

>How-To-Repeat:

make -DWITH_SNORTSAM.

>Fix:

this patch.
patch is currenty hosted in my public freebsd directory for testing but does call official source first.
patch has been looked at, and tested in house, and published on several email lists as well.
tinderbox logs show no leftovers, all compiled just fine.
(Frank: location and checksum below, please put into usual place. Thanks)

--- snortsam.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/security/snort/Makefile,v
retrieving revision 1.153
diff -u -r1.153 Makefile
--- Makefile	30 Mar 2012 15:26:53 -0000	1.153
+++ Makefile	9 Apr 2012 19:02:51 -0000
@@ -175,11 +175,11 @@
 .endif
 
 .if defined(WITH_SNORTSAM)
-BROKEN=		current snortsam patch results in build failures
 USE_AUTOTOOLS+=	automake
 USE_GNOME=	pkgconfig
-PATCH_SITES+=	http://www.snortsam.net/files/snort-plugin/:snortsam
-PATCHFILES+=	snortsam-2.9.1.2.diff.gz:snortsam
+PATCH_SITES+=	http://www.snortsam.net/files/snort-plugin/:snortsam \
+		http://people.freebsd.org/~scheidell/:snortsam
+PATCHFILES+=	snortsam-2.9.2.2.diff.gz:snortsam
 .endif
 
 post-patch:
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/security/snort/distinfo,v
retrieving revision 1.79
diff -u -r1.79 distinfo
--- distinfo	27 Mar 2012 23:14:20 -0000	1.79
+++ distinfo	9 Apr 2012 19:02:51 -0000
@@ -1,4 +1,4 @@
 SHA256 (snort-2.9.2.2.tar.gz) = 63f4eeee24d79e4a4e4b573e085d0d2fd78fcf3b7ea730c37eab7b47fcd9b954
 SIZE (snort-2.9.2.2.tar.gz) = 6529966
-SHA256 (snortsam-2.9.1.2.diff.gz) = 712017ee8155c28469de81d7a579899034b2965617fd3c29bac03c1a1484067e
-SIZE (snortsam-2.9.1.2.diff.gz) = 28902
+SHA256 (snortsam-2.9.2.2.diff.gz) = 61c6104778a1cd2d0795be0a7b3d67460955e5ffab392852a930b167c1fe27f2
+SIZE (snortsam-2.9.2.2.diff.gz) = 28987
--- snortsam.patch ends here ---

______________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.spammertrap.com/
______________________________________________________________________  
  
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120409191231.A07211D434>