From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Dec 25 03:00:31 2011 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 04FF71065680 for ; Sun, 25 Dec 2011 03:00:31 +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 D7AF08FC12 for ; Sun, 25 Dec 2011 03:00:30 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBP30UAU066773 for ; Sun, 25 Dec 2011 03:00:30 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBP30ULu066767; Sun, 25 Dec 2011 03:00:30 GMT (envelope-from gnats) Resent-Date: Sun, 25 Dec 2011 03:00:30 GMT Resent-Message-Id: <201112250300.pBP30ULu066767@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, Wesley Shields Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4305F106566C for ; Sun, 25 Dec 2011 02:54:27 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.49.45]) by mx1.freebsd.org (Postfix) with ESMTP id EF7C48FC16 for ; Sun, 25 Dec 2011 02:54:26 +0000 (UTC) Received: by syn.atarininja.org (Postfix, from userid 1001) id 3198A5C2E; Sat, 24 Dec 2011 21:39:24 -0500 (EST) Message-Id: <20111225023924.3198A5C2E@syn.atarininja.org> Date: Sat, 24 Dec 2011 21:39:24 -0500 (EST) From: Wesley Shields To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: eksffa@freebsdbrasil.com.br Subject: ports/163603: [PATCH]: Update security/suricata X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Wesley Shields List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Dec 2011 03:00:31 -0000 >Number: 163603 >Category: ports >Synopsis: [PATCH]: Update security/suricata >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Dec 25 03:00:29 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Wesley Shields >Release: FreeBSD 8.2-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD syn.csh.rit.edu 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #4: Fri Sep 30 09:39:27 EDT 2011 root@syn.csh.rit.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Update security/suricata to the latest release. This patch switches to using devel/libhtp (I'm committing it shortly), which should make important updates easier in the future. >How-To-Repeat: N/A >Fix: Index: Makefile =================================================================== RCS file: /ncvs/ports/security/suricata/Makefile,v retrieving revision 1.8 diff -u -r1.8 Makefile --- Makefile 19 Jul 2011 21:14:30 -0000 1.8 +++ Makefile 20 Dec 2011 15:38:03 -0000 @@ -6,10 +6,9 @@ # PORTNAME= suricata -PORTVERSION= 1.0.3 +PORTVERSION= 1.1.1 CATEGORIES= security -MASTER_SITES= http://openinfosecfoundation.org/download/ \ - http://www6.freebsdbrasil.com.br/~eksffa/l/dev/suricata/ +MASTER_SITES= http://www.openinfosecfoundation.org/download/ MAINTAINER= eksffa@freebsdbrasil.com.br COMMENT= Open Source next generation IDS/IPS engine by OISF @@ -19,7 +18,8 @@ LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre \ yaml:${PORTSDIR}/textproc/libyaml \ - pcap.1:${PORTSDIR}/net/libpcap + pcap.1:${PORTSDIR}/net/libpcap \ + htp-0.2.1:${PORTSDIR}/devel/libhtp BUILD_DEPENDS+= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet \ pkg-config:${PORTSDIR}/devel/pkg-config @@ -48,9 +48,6 @@ .include -.if ${OSVERSION} < 700000 -BROKEN= does not configure on 6.X -.endif .if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" BROKEN= Does not compile on ia64, powerpc, or sparc64 .endif @@ -69,6 +66,9 @@ CONFIGURE_ARGS+= --enable-dag .endif +post-patch: + @${REINPLACE_CMD} -Ee 's|^(install-data-am: )install-pkgconfigDATA|\1|' ${WRKSRC}/libhtp/Makefile.in + pre-install: @${REINPLACE_CMD} -e 's|/etc/suricata|${PREFIX}/etc/suricata|g' ${WRKSRC}/suricata.yaml @@ -82,7 +82,6 @@ ${CP} -p ${CONFIG_DIR}/${f}-sample ${CONFIG_DIR}/${f} ; \ fi .endfor - @${CAT} ${PKGMESSAGE} .include Index: distinfo =================================================================== RCS file: /ncvs/ports/security/suricata/distinfo,v retrieving revision 1.2 diff -u -r1.2 distinfo --- distinfo 22 Jun 2011 00:29:16 -0000 1.2 +++ distinfo 20 Dec 2011 01:36:40 -0000 @@ -1,2 +1,2 @@ -SHA256 (suricata-1.0.3.tar.gz) = df0245181057603a8dc37c937816adecbd8468cc2531d7431525df8205995d92 -SIZE (suricata-1.0.3.tar.gz) = 1639825 +SHA256 (suricata-1.1.1.tar.gz) = 6ff337ca71ca015d50e73a2bb90e02d894b617935482802102648d51b3876fac +SIZE (suricata-1.1.1.tar.gz) = 2018055 Index: pkg-plist =================================================================== RCS file: /ncvs/ports/security/suricata/pkg-plist,v retrieving revision 1.1 diff -u -r1.1 pkg-plist --- pkg-plist 1 Sep 2010 15:31:51 -0000 1.1 +++ pkg-plist 20 Dec 2011 14:17:04 -0000 @@ -1,9 +1,3 @@ -lib/libhtp.a -lib/libhtp-0.2.so -lib/libhtp-0.2.so.1 -libdata/pkgconfig/htp.pc -lib/libhtp.la -lib/libhtp.so bin/suricata etc/suricata/suricata.yaml etc/suricata/suricata.yaml-sample @@ -11,5 +5,3 @@ etc/suricata/classification.config @unexec /bin/rmdir %D/etc/suricata/rules 2>/dev/null || true @unexec /bin/rmdir %D/etc/suricata 2>/dev/null || true -@unexec echo "completely uninstalling %D/include/htp" -@unexec /bin/rm -rf %D/include/htp 2>/dev/null || true Index: files/patch-Makefile.in =================================================================== RCS file: files/patch-Makefile.in diff -N files/patch-Makefile.in --- files/patch-Makefile.in 1 Sep 2010 15:31:52 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,11 +0,0 @@ ---- libhtp/Makefile.in.dist 2010-08-30 22:01:03.000000000 -0300 -+++ libhtp/Makefile.in 2010-08-30 22:02:08.000000000 -0300 -@@ -250,7 +250,7 @@ - ACLOCAL_AMFLAGS = -I m4 - SUBDIRS = $(GENERIC_LIBRARY_NAME) test - EXTRA_DIST = ChangeLog COPYING LICENSE LIBHTP_LICENSING_EXCEPTION docs/doxygen.conf docs/QUICK_START --pkgconfigdir = $(libdir)/pkgconfig -+pkgconfigdir = $(libdir)/../libdata/pkgconfig - pkgconfig_DATA = htp.pc - all: config.h - $(MAKE) $(AM_MAKEFLAGS) all-recursive >Release-Note: >Audit-Trail: >Unformatted: