diff options
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/razorback-syslogNugget/Makefile | 51 | ||||
-rw-r--r-- | security/razorback-syslogNugget/distinfo | 2 | ||||
-rw-r--r-- | security/razorback-syslogNugget/pkg-descr | 7 | ||||
-rw-r--r-- | security/razorback-syslogNugget/pkg-plist | 11 |
5 files changed, 72 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index b4ab7b4e468e..2b5c130624d7 100644 --- a/security/Makefile +++ b/security/Makefile @@ -796,6 +796,7 @@ SUBDIR += razorback-masterNugget SUBDIR += razorback-scriptNugget SUBDIR += razorback-swfScanner + SUBDIR += razorback-syslogNugget SUBDIR += rdigest SUBDIR += retranslator SUBDIR += revelation diff --git a/security/razorback-syslogNugget/Makefile b/security/razorback-syslogNugget/Makefile new file mode 100644 index 000000000000..d2fe526b4855 --- /dev/null +++ b/security/razorback-syslogNugget/Makefile @@ -0,0 +1,51 @@ +# New ports collection makefile for: razorback-archiveInflate +# Date created: 2011/06/8 +# Whom: Tom Judge <tom@tomjudge.com> +# +# $FreeBSD$ +# + +PORTNAME= syslogNugget +PORTVERSION= 0.5.0 +CATEGORIES= security +MASTER_SITES= SF/razorbacktm/Nuggets +PKGNAMEPREFIX= razorback- +DIST_SUBDIR= razorback + +MAINTAINER= tj@FreeBSD.org +COMMENT= Framework for an intelligence driven security - Syslog Output + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= razorback_api:${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 + +OPTIONS_DEFINE= DEBUG ASSERT +ASSERT_DESC= Enable Asserts + +.include <bsd.port.options.mk> + +RB_LIBDIR?= ${PREFIX}/lib/razorback +GNU_CONFIGURE= yes +USE_AUTOTOOLS= libtool +USE_LDCONFIG= ${RB_LIBDIR} +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +.if ${PORT_OPTIONS:MDEBUG} +CONFIGURE_ARGS+=--enable-debug +.endif + +.if ${PORT_OPTIONS:MASSERT} +CONFIGURE_ARGS+=--enable-assert +.endif + +post-install: + ${LN} -sf ${RB_LIBDIR}/syslogNugget.so.2 ${RB_LIBDIR}/syslogNugget.so.2.0.0 + @if [ ! -f ${PREFIX}/etc/razorback/syslog.conf ]; then \ + ${CP} -p ${PREFIX}/etc/razorback/syslog.conf.sample ${PREFIX}/etc/razorback/syslog.conf ; \ + fi + +.include <bsd.port.mk> diff --git a/security/razorback-syslogNugget/distinfo b/security/razorback-syslogNugget/distinfo new file mode 100644 index 000000000000..46c4d5cf0f3d --- /dev/null +++ b/security/razorback-syslogNugget/distinfo @@ -0,0 +1,2 @@ +SHA256 (razorback/syslogNugget-0.5.0.tar.gz) = c728b371515aea3979680cbfa9036f8394568b5e0a930f2d35913142b46aff21 +SIZE (razorback/syslogNugget-0.5.0.tar.gz) = 317400 diff --git a/security/razorback-syslogNugget/pkg-descr b/security/razorback-syslogNugget/pkg-descr new file mode 100644 index 000000000000..540922524ed2 --- /dev/null +++ b/security/razorback-syslogNugget/pkg-descr @@ -0,0 +1,7 @@ +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. + +This nugget provides logging output via syslog. + +WWW: http://razorbacktm.sourceforge.net/ diff --git a/security/razorback-syslogNugget/pkg-plist b/security/razorback-syslogNugget/pkg-plist new file mode 100644 index 000000000000..e020ab5ecd8c --- /dev/null +++ b/security/razorback-syslogNugget/pkg-plist @@ -0,0 +1,11 @@ +@comment $FreeBSD$ +@unexec if cmp -s %D/etc/razorback/syslog.conf %D/etc/razorback/syslog.conf.sample; then rm -f %D/etc/razorback/syslog.conf; fi +etc/razorback/syslog.conf.sample +@exec if [ ! -f %D/etc/razorback/syslog.conf ]; then cp -p %D/%F %B/syslog.conf; fi +@dirrmtry etc/razorback +lib/razorback/syslogNugget.so.2.0.0 +lib/razorback/syslogNugget.so.2 +lib/razorback/syslogNugget.so +lib/razorback/syslogNugget.la +lib/razorback/syslogNugget.a +@dirrmtry lib/razorback |