From owner-svn-ports-all@FreeBSD.ORG Fri Nov 22 15:02:06 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 16B29AD5; Fri, 22 Nov 2013 15:02:06 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0646029ED; Fri, 22 Nov 2013 15:02:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAMF25sC028825; Fri, 22 Nov 2013 15:02:05 GMT (envelope-from jadawin@svn.freebsd.org) Received: (from jadawin@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAMF25kL028821; Fri, 22 Nov 2013 15:02:05 GMT (envelope-from jadawin@svn.freebsd.org) Message-Id: <201311221502.rAMF25kL028821@svn.freebsd.org> From: Philippe Audeoud Date: Fri, 22 Nov 2013 15:02:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334596 - in head/security/broccoli: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Nov 2013 15:02:06 -0000 Author: jadawin Date: Fri Nov 22 15:02:05 2013 New Revision: 334596 URL: http://svnweb.freebsd.org/changeset/ports/334596 Log: - Update to 2.2 - Update MASTER_SITES - Add LICENSE - Support STAGE PR: ports/183939 Submitted by: maintainer Deleted: head/security/broccoli/files/ Modified: head/security/broccoli/Makefile head/security/broccoli/distinfo (contents, props changed) head/security/broccoli/pkg-plist (contents, props changed) Modified: head/security/broccoli/Makefile ============================================================================== --- head/security/broccoli/Makefile Fri Nov 22 14:53:39 2013 (r334595) +++ head/security/broccoli/Makefile Fri Nov 22 15:02:05 2013 (r334596) @@ -2,14 +2,16 @@ # $FreeBSD$ PORTNAME= broccoli -PORTVERSION= 2.1 +PORTVERSION= 2.2 CATEGORIES= security -MASTER_SITES= http://www.bro-ids.org/downloads/release/ +MASTER_SITES= http://www.bro.org/downloads/release/ DISTNAME= bro-${PORTVERSION} MAINTAINER= leres@ee.lbl.gov COMMENT= The Bro Client Communications Library +LICENSE= BSD + BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison \ swig:${PORTSDIR}/devel/swig13 LIB_DEPENDS= GeoIP:${PORTSDIR}/net/GeoIP @@ -24,10 +26,12 @@ CMAKE_SOURCE_PATH= ${WRKSRC}/aux/broccol .if defined(BRO_PREFIX) PREFIX=${BRO_PREFIX} PLIST_SUB+= CLEANUP_PREFIX="" +NEED_ROOT= yes .else PLIST_SUB+= CLEANUP_PREFIX="@comment " .endif CMAKE_ARGS+= -D CMAKE_INSTALL_PREFIX:PATH=${PREFIX} \ + -D BRO_ETC_INSTALL_DIR:PATH=${PREFIX}/etc \ -D PY_MOD_INSTALL_DIR:PATH=${PREFIX} OPTIONS_DEFINE= DEBUG PYTHON RUBY @@ -36,7 +40,6 @@ DEBUG_DESC= Compile in debugging mode PYTHON_DESC= Build python bindings for broccoli RUBY_DESC= Build ruby bindings for broccoli -NO_STAGE= yes .include .if ${PORT_OPTIONS:MDEBUG} @@ -59,10 +62,11 @@ CMAKE_ARGS+= -D DISABLE_RUBY_BINDINGS:B PLIST_SUB+= RUBY="@comment " .endif -post-install: - @${MKDIR} ${PREFIX}/etc - @${INSTALL_SCRIPT} ${WRKSRC}/aux/broccoli/broccoli.conf ${PREFIX}/etc/broccoli.conf.sample - @[ -f ${PREFIX}/etc/broccoli.conf ] || \ - ${CP} -p ${PREFIX}/etc/broccoli.conf.sample ${PREFIX}/etc/broccoli.conf +post-stage:: +.if defined(BRO_PREFIX) + @${MKDIR} ${PREFIX} +.endif + @${MKDIR} ${STAGEDIR}${PREFIX}/etc + @${INSTALL_SCRIPT} ${WRKSRC}/aux/broccoli/broccoli.conf ${STAGEDIR}${PREFIX}/etc/broccoli.conf.example .include Modified: head/security/broccoli/distinfo ============================================================================== --- head/security/broccoli/distinfo Fri Nov 22 14:53:39 2013 (r334595) +++ head/security/broccoli/distinfo Fri Nov 22 15:02:05 2013 (r334596) @@ -1,2 +1,2 @@ -SHA256 (bro-2.1.tar.gz) = 0d83b7c78d6e247d44b0407649df7fefa6da5c73a572a16c0096c9b7f2a955e0 -SIZE (bro-2.1.tar.gz) = 5627966 +SHA256 (bro-2.2.tar.gz) = 86909361c2d804681f314604a6ce763be663937b2f045c8d25d810528a633dc9 +SIZE (bro-2.2.tar.gz) = 9646602 Modified: head/security/broccoli/pkg-plist ============================================================================== --- head/security/broccoli/pkg-plist Fri Nov 22 14:53:39 2013 (r334595) +++ head/security/broccoli/pkg-plist Fri Nov 22 15:02:05 2013 (r334596) @@ -1,8 +1,7 @@ bin/broccoli-config -@exec mkdir -p %B -@unexec cmp -s %D/etc/broccoli.conf.sample %D/etc/broccoli.conf && rm %D/etc/broccoli.conf || true -etc/broccoli.conf.sample -@exec test -f %B/broccoli.conf || cp -p %D/%F %B/broccoli.conf +@unexec cmp -s %D/etc/broccoli.conf.example %D/etc/broccoli.conf && rm %D/etc/broccoli.conf || true +etc/broccoli.conf.example +@exec test -f %D/etc/broccoli.conf || cp -p %D/%F %D/etc/broccoli.conf include/broccoli.h lib/libbroccoli.a lib/libbroccoli.so