security/razorback-swfScanner: Chase json-c update (Unbreak)
This commit is contained in:
parent
0a958a791b
commit
062822415e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365503
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= swfScanner
|
||||
PORTVERSION= 0.5.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= SF/razorbacktm/Nuggets
|
||||
PKGNAMEPREFIX= razorback-
|
||||
@ -15,13 +15,15 @@ COMMENT= Framework for an intelligence driven security - SWF Detection
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
LIB_DEPENDS= librazorback_api.so:${PORTSDIR}/security/razorback-api
|
||||
LIB_DEPENDS= librazorback_api.so:${PORTSDIR}/security/razorback-api \
|
||||
libjson-c.so:${PORTSDIR}/devel/json-c
|
||||
BUILD_DEPENDS= razorback-masterNugget>=0.5.0:${PORTSDIR}/security/razorback-masterNugget
|
||||
RUN_DEPENDS= razorback-masterNugget>=0.5.0:${PORTSDIR}/security/razorback-masterNugget
|
||||
|
||||
RB_LIBDIR?= ${PREFIX}/lib/razorback
|
||||
GNU_CONFIGURE= yes
|
||||
USES= libtool pkgconfig
|
||||
USE_AUTOTOOLS= autoconf
|
||||
USE_LDCONFIG= ${RB_LIBDIR}
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- common_m4/api_deps.m4.orig 2012-04-16 18:59:44 UTC
|
||||
+++ common_m4/api_deps.m4
|
||||
@@ -55,7 +55,7 @@ LIBS="$LIBCONFIG_LIBS $LIBS"
|
||||
# [AC_MSG_ERROR("curl header file not found")]
|
||||
# )
|
||||
|
||||
-PKG_CHECK_MODULES([JSON], [json >= 0.9])
|
||||
+PKG_CHECK_MODULES([JSON], [json-c >= 0.9])
|
||||
|
||||
CFLAGS="$JSON_CFLAGS $CFLAGS"
|
||||
LIBS="$JSON_LIBS $LIBS"
|
@ -0,0 +1,11 @@
|
||||
--- common_m4/compiler_options.m4.orig 2012-01-04 18:17:09 UTC
|
||||
+++ common_m4/compiler_options.m4
|
||||
@@ -28,7 +28,7 @@ if test "$GCC" = yes ; then
|
||||
|
||||
CFLAGS="$CFLAGS -std=c99 -fno-strict-aliasing"
|
||||
CPPFLAGS="$CPPFLAGS -fno-strict-aliasing"
|
||||
- CWARNINGS="$CWARNINGS -Wall -Werror -Wwrite-strings -Wformat -fdiagnostics-show-option -Wextra -Wformat-security -Wsign-compare -Wcast-align -Wno-unused-parameter"
|
||||
+ CWARNINGS="$CWARNINGS -Wall -Wwrite-strings -Wformat -fdiagnostics-show-option -Wextra -Wformat-security -Wsign-compare -Wcast-align -Wno-unused-parameter"
|
||||
if test "x$NOT_PEDANTIC" = "x"; then
|
||||
CWARNINGS="$CWARNINGS -pedantic"
|
||||
fi
|
Loading…
Reference in New Issue
Block a user