freebsd-ports/security/razorback-swfScanner/Makefile
Ryan Steinmetz a37ec24405 New port: security/razorback-swfScanner:
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.

SWF Nugget is a Razorback Detection Nugget that scans Flash files
collected by Razorback Collector Nuggets. SWF Nugget decompresses
(as necessary) and parses Flash files to detect attacks exploiting
known vulnerabilities.

The scan results are sent back to Razorback Dispatcher to correlate
with other Razorback Nuggets.

WWW: http://razorbacktm.sourceforge.net/

PR:		ports/167753
Submitted by:	Tom Judge <tom@tomjudge.com>
2012-06-11 03:04:32 +00:00

51 lines
1.3 KiB
Makefile

# New ports collection makefile for: razorback-swfScanner
# Date created: 2011/06/8
# Whom: Tom Judge <tom@tomjudge.com>
#
# $FreeBSD$
#
PORTNAME= swfScanner
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 - SWF 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
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}/swfScanner.so.2 ${RB_LIBDIR}/swfScanner.so.2.0.0
@if [ ! -f ${PREFIX}/etc/razorback/swf_scanner.conf ]; then \
${CP} -p ${PREFIX}/etc/razorback/swf_scanner.conf.sample ${PREFIX}/etc/razorback/swf_scanner.conf ; \
fi
.include <bsd.port.mk>