aboutsummaryrefslogtreecommitdiffstats
path: root/security/razorback-officeCat
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2012-06-12 04:39:29 +0800
committerzi <zi@FreeBSD.org>2012-06-12 04:39:29 +0800
commit6f995933b905b4a52db77ffc57b2dfc1d1afaa70 (patch)
tree577363e2631f70184799e711eb45a98f7f8bbf0b /security/razorback-officeCat
parentee701bd69e18af09b5ba497b862b3bf66d44a7d5 (diff)
downloadfreebsd-ports-gnome-6f995933b905b4a52db77ffc57b2dfc1d1afaa70.tar.gz
freebsd-ports-gnome-6f995933b905b4a52db77ffc57b2dfc1d1afaa70.tar.zst
freebsd-ports-gnome-6f995933b905b4a52db77ffc57b2dfc1d1afaa70.zip
New port: security/razorback-officeCat:
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. The OfficeCat nugget provides the ability to examine Microsoft Office documents to determine the presence of potential exploit conditions in the file. WWW: http://razorbacktm.sourceforge.net/ PR: ports/167749 Submitted by: Tom Judge <tom@tomjudge.com>
Diffstat (limited to 'security/razorback-officeCat')
-rw-r--r--security/razorback-officeCat/Makefile54
-rw-r--r--security/razorback-officeCat/distinfo2
-rw-r--r--security/razorback-officeCat/pkg-descr9
-rw-r--r--security/razorback-officeCat/pkg-plist16
4 files changed, 81 insertions, 0 deletions
diff --git a/security/razorback-officeCat/Makefile b/security/razorback-officeCat/Makefile
new file mode 100644
index 000000000000..1cb275ed8184
--- /dev/null
+++ b/security/razorback-officeCat/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: razorback-officeCat
+# Date created: 2011/06/8
+# Whom: Tom Judge <tom@tomjudge.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= officeCat
+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 - OfficeCat Detection
+
+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 \
+ wine:${PORTSDIR}/emulators/wine
+RUN_DEPENDS= razorback-masterNugget>=0.5.0:${PORTSDIR}/security/razorback-masterNugget \
+ wine:${PORTSDIR}/emulators/wine
+
+ONLY_FOR_ARCHS= i386
+ONLY_FOR_ARCHS_REASON= only supported under i386 due to wine requirements
+
+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}
+
+.if ${PORT_OPTIONS:MDEBUG}
+CONFIGURE_ARGS+=--enable-debug
+.endif
+
+.if ${PORT_OPTIONS:MASSERT}
+CONFIGURE_ARGS+=--enable-assert
+.endif
+
+post-install:
+ ${LN} -sf ${RB_LIBDIR}/officeCat.so.2 ${RB_LIBDIR}/officeCat.so.2.0.0
+ @if [ ! -f ${PREFIX}/etc/razorback/officecat.conf ]; then \
+ ${CP} -p ${PREFIX}/etc/razorback/officecat.conf.sample ${PREFIX}/etc/razorback/officecat.conf ; \
+ fi
+
+.include <bsd.port.mk>
diff --git a/security/razorback-officeCat/distinfo b/security/razorback-officeCat/distinfo
new file mode 100644
index 000000000000..8eac0f036ab9
--- /dev/null
+++ b/security/razorback-officeCat/distinfo
@@ -0,0 +1,2 @@
+SHA256 (razorback/officeCat-0.5.0.tar.gz) = 4859ae46311b0da42631fec55056a866e06944e30a418c52c9b2b4d6259dc6e8
+SIZE (razorback/officeCat-0.5.0.tar.gz) = 453252
diff --git a/security/razorback-officeCat/pkg-descr b/security/razorback-officeCat/pkg-descr
new file mode 100644
index 000000000000..46333295691d
--- /dev/null
+++ b/security/razorback-officeCat/pkg-descr
@@ -0,0 +1,9 @@
+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.
+
+The OfficeCat nugget provides the ability to examine Microsoft
+Office documents to determine the presence of potential exploit
+conditions in the file.
+
+WWW: http://razorbacktm.sourceforge.net/
diff --git a/security/razorback-officeCat/pkg-plist b/security/razorback-officeCat/pkg-plist
new file mode 100644
index 000000000000..c9e4801c0474
--- /dev/null
+++ b/security/razorback-officeCat/pkg-plist
@@ -0,0 +1,16 @@
+@comment $FreeBSD$
+@unexec if cmp -s %D/etc/razorback/officecat.conf %D/etc/razorback/officecat.conf.sample; then rm -f %D/etc/razorback/officecat.conf; fi
+etc/razorback/officecat.conf.sample
+@exec if [ ! -f %D/etc/razorback/officecat.conf ]; then cp %D/%F %B/officecat.conf; fi
+@dirrmtry etc/razorback
+lib/razorback/officeCat.so.2.0.0
+lib/razorback/officeCat.so.2
+lib/razorback/officeCat.so
+lib/razorback/officeCat.la
+lib/razorback/officeCat.a
+@dirrmtry lib/razorback
+libexec/razorback/officeCat/officecat.exe
+libexec/razorback/officeCat/officecat.exe.so
+libexec/razorback/officeCat/officecat.exe.exe.so
+@dirrm libexec/razorback/officeCat
+@dirrmtry libexec/razorback