diff options
author | zi <zi@FreeBSD.org> | 2012-06-11 10:40:50 +0800 |
---|---|---|
committer | zi <zi@FreeBSD.org> | 2012-06-11 10:40:50 +0800 |
commit | 8e4178d3f6e49f56c600c5ed24d9a019a26efe8f (patch) | |
tree | 015b27126e19d7a6afa9c8810c8cbaf530ac6d63 /security | |
parent | b9a8a8122a79786af31097be4147aac7de965ee0 (diff) | |
download | freebsd-ports-gnome-8e4178d3f6e49f56c600c5ed24d9a019a26efe8f.tar.gz freebsd-ports-gnome-8e4178d3f6e49f56c600c5ed24d9a019a26efe8f.tar.zst freebsd-ports-gnome-8e4178d3f6e49f56c600c5ed24d9a019a26efe8f.zip |
New port: security/razorback-archiveInflate:
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 handles archive decompression.
WWW: http://razorbacktm.sourceforge.net/
PR: ports/167743
Submitted by: Tom Judge <tom@tomjudge.com>
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/razorback-archiveInflate/Makefile | 51 | ||||
-rw-r--r-- | security/razorback-archiveInflate/distinfo | 2 | ||||
-rw-r--r-- | security/razorback-archiveInflate/pkg-descr | 7 | ||||
-rw-r--r-- | security/razorback-archiveInflate/pkg-plist | 11 |
5 files changed, 72 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 4aabcb32085f..b7b8e72a3529 100644 --- a/security/Makefile +++ b/security/Makefile @@ -787,6 +787,7 @@ SUBDIR += ratproxy SUBDIR += rats SUBDIR += razorback-api + SUBDIR += razorback-archiveInflate SUBDIR += razorback-dispatcher SUBDIR += razorback-fileInject SUBDIR += razorback-fsMonitor diff --git a/security/razorback-archiveInflate/Makefile b/security/razorback-archiveInflate/Makefile new file mode 100644 index 000000000000..1002b883aa09 --- /dev/null +++ b/security/razorback-archiveInflate/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= archiveInflate +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 - Archive Inflator + +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}/archiveInflate.so.2 ${RB_LIBDIR}/archiveInflate.so.2.0.0 + @if [ ! -f ${PREFIX}/etc/razorback/archive_inflate.conf ]; then \ + ${CP} -p ${PREFIX}/etc/razorback/archive_inflate.conf.sample ${PREFIX}/etc/razorback/archive_inflate.conf ; \ + fi + +.include <bsd.port.mk> diff --git a/security/razorback-archiveInflate/distinfo b/security/razorback-archiveInflate/distinfo new file mode 100644 index 000000000000..c069c03e5e39 --- /dev/null +++ b/security/razorback-archiveInflate/distinfo @@ -0,0 +1,2 @@ +SHA256 (razorback/archiveInflate-0.5.0.tar.gz) = d9edb5faf78daf7de117861f0cb6aec7bc7bd8e9a3bf3f27629478e6862df6e8 +SIZE (razorback/archiveInflate-0.5.0.tar.gz) = 319550 diff --git a/security/razorback-archiveInflate/pkg-descr b/security/razorback-archiveInflate/pkg-descr new file mode 100644 index 000000000000..bfa112fe6d8b --- /dev/null +++ b/security/razorback-archiveInflate/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 handles archive decompression. + +WWW: http://razorbacktm.sourceforge.net/ diff --git a/security/razorback-archiveInflate/pkg-plist b/security/razorback-archiveInflate/pkg-plist new file mode 100644 index 000000000000..4be1fe251c73 --- /dev/null +++ b/security/razorback-archiveInflate/pkg-plist @@ -0,0 +1,11 @@ +@comment $FreeBSD$ +@unexec if cmp -s %D/etc/razorback/archive_inflate.conf %D/etc/razorback/archive_inflate.conf.sample; then rm -f %D/etc/razorback/archive_inflate.conf; fi +etc/razorback/archive_inflate.conf.sample +@exec if [ ! -f %D/etc/razorback/archive_inflate.conf ]; then cp -p %D/%F %B/archive_inflate.conf; fi +@dirrmtry etc/razorback +lib/razorback/archiveInflate.so.2.0.0 +lib/razorback/archiveInflate.so.2 +lib/razorback/archiveInflate.so +lib/razorback/archiveInflate.la +lib/razorback/archiveInflate.a +@dirrmtry lib/razorback |