From owner-svn-ports-head@FreeBSD.ORG Fri Jul 11 16:21:50 2014 Return-Path: Delivered-To: svn-ports-head@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 12716427; Fri, 11 Jul 2014 16:21:50 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D81D42B2B; Fri, 11 Jul 2014 16:21:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6BGLnxj064706; Fri, 11 Jul 2014 16:21:49 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6BGLnLx064703; Fri, 11 Jul 2014 16:21:49 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201407111621.s6BGLnLx064703@svn.freebsd.org> From: Pawel Pekala Date: Fri, 11 Jul 2014 16:21:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361563 - head/security/razorback-masterNugget X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2014 16:21:50 -0000 Author: pawel Date: Fri Jul 11 16:21:49 2014 New Revision: 361563 URL: http://svnweb.freebsd.org/changeset/ports/361563 QAT: https://qat.redports.org/buildarchive/r361563/ Log: - Add staging support - Convert to new LIB_DEPENDS format, options helpers, USES=libtool - Remove check for unsupported release - Use @sample for config file Modified: head/security/razorback-masterNugget/Makefile head/security/razorback-masterNugget/pkg-plist Modified: head/security/razorback-masterNugget/Makefile ============================================================================== --- head/security/razorback-masterNugget/Makefile Fri Jul 11 16:10:06 2014 (r361562) +++ head/security/razorback-masterNugget/Makefile Fri Jul 11 16:21:49 2014 (r361563) @@ -8,24 +8,16 @@ MASTER_SITES= SF/razorbacktm/Nuggets PKGNAMEPREFIX= razorback- DIST_SUBDIR= razorback -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Framework for an intelligence driven security - Master Nugget LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -LIB_DEPENDS= razorback_api:${PORTSDIR}/security/razorback-api - -OPTIONS_DEFINE= DEBUG ASSERT -ASSERT_DESC= Enable Asserts - -USES= pkgconfig - -NO_STAGE= yes -.include +LIB_DEPENDS= librazorback_api.so:${PORTSDIR}/security/razorback-api +USES= libtool pkgconfig GNU_CONFIGURE= yes -USE_AUTOTOOLS= libtool USE_RC_SUBR= masterNugget masterNugget_safed CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib @@ -33,21 +25,10 @@ LDFLAGS+= -L${LOCALBASE}/lib USERS?= razorback GROUPS?= razorback -.if ${OSVERSION} <= 800000 -BROKEN= does not currently build under 7.x -.endif - -.if ${PORT_OPTIONS:MDEBUG} -CONFIGURE_ARGS+=--enable-debug -.endif - -.if ${PORT_OPTIONS:MASSERT} -CONFIGURE_ARGS+=--enable-assert -.endif - -post-install: - @if [ ! -f ${PREFIX}/etc/razorback/master_nugget.conf ]; then \ - ${CP} -p ${PREFIX}/etc/razorback/master_nugget.conf.sample ${PREFIX}/etc/razorback/master_nugget.conf ; \ - fi +OPTIONS_DEFINE= DEBUG ASSERT + +ASSERT_DESC= Enable Asserts +ASSERT_CONFIGURE_ENABLE= assert +DEBUG_CONFIGURE_ENABLE= debug .include Modified: head/security/razorback-masterNugget/pkg-plist ============================================================================== --- head/security/razorback-masterNugget/pkg-plist Fri Jul 11 16:10:06 2014 (r361562) +++ head/security/razorback-masterNugget/pkg-plist Fri Jul 11 16:21:49 2014 (r361563) @@ -1,6 +1,3 @@ bin/masterNugget bin/masterNugget_safed -@unexec if cmp -s %D/etc/razorback/master_nugget.conf %D/etc/razorback/master_nugget.conf.sample; then rm -f %D/etc/razorback/master_nugget.conf; fi -etc/razorback/master_nugget.conf.sample -@exec if [ ! -f %D/etc/razorback/master_nugget.conf ]; then cp %D/%F %B/master_nugget.conf; fi -@dirrmtry etc/razorback +@sample etc/razorback/master_nugget.conf.sample