From owner-svn-ports-head@FreeBSD.ORG Fri Jul 11 16:52:31 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 6EAA161D; Fri, 11 Jul 2014 16:52:31 +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 5A1372E77; Fri, 11 Jul 2014 16:52:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6BGqVKD082616; Fri, 11 Jul 2014 16:52:31 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6BGqVOH082612; Fri, 11 Jul 2014 16:52:31 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201407111652.s6BGqVOH082612@svn.freebsd.org> From: Pawel Pekala Date: Fri, 11 Jul 2014 16:52:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361566 - head/security/razorback-scriptNugget 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:52:31 -0000 Author: pawel Date: Fri Jul 11 16:52:30 2014 New Revision: 361566 URL: http://svnweb.freebsd.org/changeset/ports/361566 QAT: https://qat.redports.org/buildarchive/r361566/ Log: - Add staging support - COnvert to new LIB_DEPENDS format, options helpers, USES=libtool - Use @sample for config file Modified: head/security/razorback-scriptNugget/Makefile head/security/razorback-scriptNugget/pkg-plist Modified: head/security/razorback-scriptNugget/Makefile ============================================================================== --- head/security/razorback-scriptNugget/Makefile Fri Jul 11 16:49:03 2014 (r361565) +++ head/security/razorback-scriptNugget/Makefile Fri Jul 11 16:52:30 2014 (r361566) @@ -3,51 +3,40 @@ PORTNAME= scriptNugget PORTVERSION= 0.5.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security 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 - Scripting Interface LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -LIB_DEPENDS= razorback_api:${PORTSDIR}/security/razorback-api +LIB_DEPENDS= librazorback_api.so:${PORTSDIR}/security/razorback-api BUILD_DEPENDS= razorback-masterNugget>=0.5.0:${PORTSDIR}/security/razorback-masterNugget RUN_DEPENDS= razorback-masterNugget>=0.5.0:${PORTSDIR}/security/razorback-masterNugget \ rubygem-razorback-scriptNugget>=0.5.0:${PORTSDIR}/security/rubygem-razorback-scriptNugget -OPTIONS_DEFINE= DEBUG ASSERT -ASSERT_DESC= Enable Asserts - RB_LIBDIR?= ${PREFIX}/lib/razorback -USES= pkgconfig +USES= libtool pkgconfig USE_GNOME= libxml2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-ruby -USE_AUTOTOOLS= libtool USE_LDCONFIG= ${RB_LIBDIR} CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes -.include +OPTIONS_DEFINE= DEBUG ASSERT -.if ${PORT_OPTIONS:MDEBUG} -CONFIGURE_ARGS+=--enable-debug -.endif - -.if ${PORT_OPTIONS:MASSERT} -CONFIGURE_ARGS+=--enable-assert -.endif +ASSERT_DESC= Enable Asserts +ASSERT_CONFIGURE_ENABLE= assert +DEBUG_CONFIGURE_ENABLE= debug post-install: - ${LN} -sf ${RB_LIBDIR}/scriptNugget.so.2 ${RB_LIBDIR}/scriptNugget.so.2.0.0 - @if [ ! -f ${PREFIX}/etc/razorback/scriptNugget.conf ]; then \ - ${CP} -p ${PREFIX}/etc/razorback/scriptNugget.conf.sample ${PREFIX}/etc/razorback/scriptNugget.conf ; \ - fi + ${LN} -sf ${RB_LIBDIR}/scriptNugget.so.2 \ + ${STAGEDIR}${RB_LIBDIR}/scriptNugget.so.2.0.0 .include Modified: head/security/razorback-scriptNugget/pkg-plist ============================================================================== --- head/security/razorback-scriptNugget/pkg-plist Fri Jul 11 16:49:03 2014 (r361565) +++ head/security/razorback-scriptNugget/pkg-plist Fri Jul 11 16:52:30 2014 (r361566) @@ -1,11 +1,7 @@ -@unexec if cmp -s %D/etc/razorback/scriptNugget.conf %D/etc/razorback/scriptNugget.conf.sample; then rm -f %D/etc/razorback/scriptNugget.conf; fi -etc/razorback/scriptNugget.conf.sample -@exec if [ ! -f %D/etc/razorback/scriptNugget.conf ] ; then cp -p %D/%F %B/scriptNugget.conf; fi -@dirrmtry etc/razorback +@sample etc/razorback/scriptNugget.conf.sample lib/razorback/scriptNugget.so.2.0.0 lib/razorback/scriptNugget.so.2 lib/razorback/scriptNugget.so -lib/razorback/scriptNugget.la lib/razorback/scriptNugget.a @dirrmtry lib/razorback libexec/razorback/scriptNugget/test.rb