svn commit: r365492 - in head/security/razorback-yaraNugget: . files

John Marino marino at FreeBSD.org
Wed Aug 20 17:49:17 UTC 2014


Author: marino
Date: Wed Aug 20 17:49:16 2014
New Revision: 365492
URL: http://svnweb.freebsd.org/changeset/ports/365492
QAT: https://qat.redports.org/buildarchive/r365492/

Log:
  security/razorback-yaraNugget: Chase json-c update (Unbreak)

Added:
  head/security/razorback-yaraNugget/files/
  head/security/razorback-yaraNugget/files/patch-common__m4_api__deps.m4   (contents, props changed)
  head/security/razorback-yaraNugget/files/patch-common__m4_compiler__options.m4   (contents, props changed)
Modified:
  head/security/razorback-yaraNugget/Makefile

Modified: head/security/razorback-yaraNugget/Makefile
==============================================================================
--- head/security/razorback-yaraNugget/Makefile	Wed Aug 20 17:45:07 2014	(r365491)
+++ head/security/razorback-yaraNugget/Makefile	Wed Aug 20 17:49:16 2014	(r365492)
@@ -3,7 +3,7 @@
 
 PORTNAME=	yaraNugget
 PORTVERSION=	0.5.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	security
 MASTER_SITES=	SF/razorbacktm/Nuggets
 PKGNAMEPREFIX=	razorback-
@@ -16,6 +16,7 @@ LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	librazorback_api.so:${PORTSDIR}/security/razorback-api \
+		libjson-c.so:${PORTSDIR}/devel/json-c \
 		libpcre.so:${PORTSDIR}/devel/pcre
 BUILD_DEPENDS=	razorback-masterNugget>=0.5.0:${PORTSDIR}/security/razorback-masterNugget
 RUN_DEPENDS=	razorback-masterNugget>=0.5.0:${PORTSDIR}/security/razorback-masterNugget
@@ -23,6 +24,7 @@ RUN_DEPENDS=	razorback-masterNugget>=0.5
 RB_LIBDIR?=	${PREFIX}/lib/razorback
 GNU_CONFIGURE=	yes
 USES=		libtool pkgconfig
+USE_AUTOTOOLS=	autoconf
 USE_LDCONFIG=	${RB_LIBDIR}
 
 OPTIONS_DEFINE=	DEBUG ASSERT

Added: head/security/razorback-yaraNugget/files/patch-common__m4_api__deps.m4
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/razorback-yaraNugget/files/patch-common__m4_api__deps.m4	Wed Aug 20 17:49:16 2014	(r365492)
@@ -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"

Added: head/security/razorback-yaraNugget/files/patch-common__m4_compiler__options.m4
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/razorback-yaraNugget/files/patch-common__m4_compiler__options.m4	Wed Aug 20 17:49:16 2014	(r365492)
@@ -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


More information about the svn-ports-head mailing list