New port: security/razorback-syslogNugget:

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/

PR:		ports/167754
Submitted by:	Tom Judge <tom@tomjudge.com>
This commit is contained in:
Ryan Steinmetz 2012-06-11 03:09:02 +00:00
parent a37ec24405
commit e8431e4e21
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299004
5 changed files with 72 additions and 0 deletions

View File

@ -796,6 +796,7 @@
SUBDIR += razorback-masterNugget
SUBDIR += razorback-scriptNugget
SUBDIR += razorback-swfScanner
SUBDIR += razorback-syslogNugget
SUBDIR += rdigest
SUBDIR += retranslator
SUBDIR += revelation

View File

@ -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>

View File

@ -0,0 +1,2 @@
SHA256 (razorback/syslogNugget-0.5.0.tar.gz) = c728b371515aea3979680cbfa9036f8394568b5e0a930f2d35913142b46aff21
SIZE (razorback/syslogNugget-0.5.0.tar.gz) = 317400

View File

@ -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/

View File

@ -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