New port: security/razorback-pdfFox:
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 is an open-source PDF analyzer that does not require an external commercial application to function. WWW: http://razorbacktm.sourceforge.net/ PR: ports/167751 Submitted by: Tom Judge <tom@tomjudge.com>
This commit is contained in:
parent
63a1f84627
commit
99e468206f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299040
5 changed files with 73 additions and 0 deletions
|
@ -794,6 +794,7 @@
|
|||
SUBDIR += razorback-fsMonitor
|
||||
SUBDIR += razorback-fsWalk
|
||||
SUBDIR += razorback-masterNugget
|
||||
SUBDIR += razorback-pdfFox
|
||||
SUBDIR += razorback-scriptNugget
|
||||
SUBDIR += razorback-swfScanner
|
||||
SUBDIR += razorback-syslogNugget
|
||||
|
|
51
security/razorback-pdfFox/Makefile
Normal file
51
security/razorback-pdfFox/Makefile
Normal 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= pdfFox
|
||||
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 - PDF Fox
|
||||
|
||||
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}/pdfFox.so.2 ${RB_LIBDIR}/pdfFox.so.2.0.0
|
||||
@if [ ! -f ${PREFIX}/etc/razorback/pdffox.conf ]; then \
|
||||
${CP} -p ${PREFIX}/etc/razorback/pdffox.conf.sample ${PREFIX}/etc/razorback/pdffox.conf ; \
|
||||
fi
|
||||
|
||||
.include <bsd.port.mk>
|
2
security/razorback-pdfFox/distinfo
Normal file
2
security/razorback-pdfFox/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (razorback/pdfFox-0.5.0.tar.gz) = 41dedc45791534d3b62b2915ffa1bea7d9bc6a79f6f4d42100846bb49c525358
|
||||
SIZE (razorback/pdfFox-0.5.0.tar.gz) = 340417
|
8
security/razorback-pdfFox/pkg-descr
Normal file
8
security/razorback-pdfFox/pkg-descr
Normal file
|
@ -0,0 +1,8 @@
|
|||
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 is an open-source PDF analyzer that does not require an
|
||||
external commercial application to function.
|
||||
|
||||
WWW: http://razorbacktm.sourceforge.net/
|
11
security/razorback-pdfFox/pkg-plist
Normal file
11
security/razorback-pdfFox/pkg-plist
Normal file
|
@ -0,0 +1,11 @@
|
|||
@comment $FreeBSD$
|
||||
@unexec if cmp -s %D/etc/razorback/pdffox.conf %D/etc/razorback/pdffox.conf.sample; then rm -f %D/etc/razorback/pdffox.conf; fi
|
||||
etc/razorback/pdffox.conf.sample
|
||||
@exec if [ ! -f %D/etc/razorback/pdffox.conf ]; then cp -p %D/%F %B/pdffox.conf; fi
|
||||
@dirrmtry etc/razorback
|
||||
lib/razorback/pdfFox.so.2.0.0
|
||||
lib/razorback/pdfFox.so.2
|
||||
lib/razorback/pdfFox.so
|
||||
lib/razorback/pdfFox.la
|
||||
lib/razorback/pdfFox.a
|
||||
@dirrmtry lib/razorback
|
Loading…
Reference in a new issue