diff options
author | marino <marino@FreeBSD.org> | 2014-08-21 01:20:08 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-08-21 01:20:08 +0800 |
commit | 77aae0e68a136188fd0bd2037961ebd6bbaa1799 (patch) | |
tree | 3069f0f8d3d1ec3f4ec86980da1364e118a7c782 /security | |
parent | 6c1f2809a3424c90565f67810f22d9620bd8b0f9 (diff) | |
download | freebsd-ports-gnome-77aae0e68a136188fd0bd2037961ebd6bbaa1799.tar.gz freebsd-ports-gnome-77aae0e68a136188fd0bd2037961ebd6bbaa1799.tar.zst freebsd-ports-gnome-77aae0e68a136188fd0bd2037961ebd6bbaa1799.zip |
security/razorback-virusTotal: Chase json-c update (Unbreak)
Diffstat (limited to 'security')
4 files changed, 36 insertions, 2 deletions
diff --git a/security/razorback-virusTotal/Makefile b/security/razorback-virusTotal/Makefile index 82924b86e24e..48bb5668d1d4 100644 --- a/security/razorback-virusTotal/Makefile +++ b/security/razorback-virusTotal/Makefile @@ -3,7 +3,7 @@ PORTNAME= virusTotal PORTVERSION= 0.5.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security MASTER_SITES= SF/razorbacktm/Nuggets PKGNAMEPREFIX= razorback- @@ -16,13 +16,14 @@ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= librazorback_api.so:${PORTSDIR}/security/razorback-api \ - libjson.so:${PORTSDIR}/devel/json-c + 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 diff --git a/security/razorback-virusTotal/files/patch-common__m4_api__deps.m4 b/security/razorback-virusTotal/files/patch-common__m4_api__deps.m4 new file mode 100644 index 000000000000..b424f894f261 --- /dev/null +++ b/security/razorback-virusTotal/files/patch-common__m4_api__deps.m4 @@ -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" diff --git a/security/razorback-virusTotal/files/patch-common__m4_compiler__options.m4 b/security/razorback-virusTotal/files/patch-common__m4_compiler__options.m4 new file mode 100644 index 000000000000..8e2572727b90 --- /dev/null +++ b/security/razorback-virusTotal/files/patch-common__m4_compiler__options.m4 @@ -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 diff --git a/security/razorback-virusTotal/files/patch-src_virustotal.c b/security/razorback-virusTotal/files/patch-src_virustotal.c new file mode 100644 index 000000000000..c8a90a20f4da --- /dev/null +++ b/security/razorback-virusTotal/files/patch-src_virustotal.c @@ -0,0 +1,11 @@ +--- src/virustotal.c.orig 2012-03-02 14:05:41 UTC ++++ src/virustotal.c +@@ -5,7 +5,7 @@ + #include <time.h> + #include <curl/curl.h> + #include <curl/easy.h> +-#include <json/json.h> ++#include <json-c/json.h> + #include <arpa/inet.h> + + #include <razorback/config_file.h> |