From 1f28c441ca78e1824a6cbb34bc840e14f93d9be8 Mon Sep 17 00:00:00 2001 From: Ryan Steinmetz Date: Mon, 21 May 2012 15:07:43 +0000 Subject: New port: security/razorback-fileInject Razorback is a framework for an intelligence driven security solution. It consists of a Dispatcher at the core of the system, surrounded by Nuggets of varying types. File Inject is a command-line file submission tool for the razorback framework. WWW: http://razorbacktm.sourceforge.net/ PR: ports/167746 Submitted by: Tom Judge --- security/razorback-fileInject/Makefile | 44 ++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 security/razorback-fileInject/Makefile (limited to 'security/razorback-fileInject/Makefile') diff --git a/security/razorback-fileInject/Makefile b/security/razorback-fileInject/Makefile new file mode 100644 index 000000000000..280d73c6d8ce --- /dev/null +++ b/security/razorback-fileInject/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: razorback-fileInject +# Date created: 2011/06/8 +# Whom: Tom Judge +# +# $FreeBSD$ +# + +PORTNAME= fileInject +PORTVERSION= 0.5.0 +CATEGORIES= security +MASTER_SITES= SF/razorbacktm/Nuggets +PKGNAMEPREFIX= razorback- +DIST_SUBDIR= razorback + +MAINTAINER= tom@tomjudge.com +COMMENT= Framework for an intelligence driven security - File Injector + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= razorback_api.2:${PORTSDIR}/security/razorback-api + +OPTIONS= DEBUG "Enable Debug" off \ + ASSERT "Enable Asserts" off + +GNU_CONFIGURE= yes +USE_AUTOTOOLS= libtool +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +.if defined(WITH_DEBUG) +CONFIGURE_ARGS+=--enable-debug +.endif + +.if defined(WITH_ASSERT) +CONFIGURE_ARGS+=--enable-assert +.endif + +post-install: + @if [ ! -f ${PREFIX}/etc/razorback/fileInject.conf ]; then \ + ${CP} -p ${PREFIX}/etc/razorback/fileInject.conf.sample ${PREFIX}/etc/razorback/fileInject.conf ; \ + fi + +.include -- cgit v1.2.3