mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
f41a9936e9
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>
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
# 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>
|