Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2014 18:45:02 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r365504 - in head/security/razorback-officeCat: . files
Message-ID:  <201408201845.s7KIj2Ku057521@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Wed Aug 20 18:45:02 2014
New Revision: 365504
URL: http://svnweb.freebsd.org/changeset/ports/365504
QAT: https://qat.redports.org/buildarchive/r365504/

Log:
  security/razorback-officeCat: Chase json-c update (Unbreak)
  
  This port is i386 only (due to dependency on wine, so the ONLY_FOR_ARCH
  definition is actually unnecessary) so I can't test it.  It's also
  unstaged.  However, the standard json-c patches apply, so just assume
  that officeCat needs them.  If I'm wrong, the port will probably be
  pruned in a week anyway.
  
  Approved by:	portmgr (implicit, NO_STAGE)

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

Modified: head/security/razorback-officeCat/Makefile
==============================================================================
--- head/security/razorback-officeCat/Makefile	Wed Aug 20 18:27:19 2014	(r365503)
+++ head/security/razorback-officeCat/Makefile	Wed Aug 20 18:45:02 2014	(r365504)
@@ -3,18 +3,20 @@
 
 PORTNAME=	officeCat
 PORTVERSION=	0.5.0
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	SF/razorbacktm/Nuggets
 PKGNAMEPREFIX=	razorback-
 DIST_SUBDIR=	razorback
 
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Framework for an intelligence driven security - OfficeCat 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 \
 		wine:${PORTSDIR}/emulators/wine
 RUN_DEPENDS=	razorback-masterNugget>=0.5.0:${PORTSDIR}/security/razorback-masterNugget \
@@ -33,7 +35,7 @@ NO_STAGE=	yes
 
 RB_LIBDIR?=	${PREFIX}/lib/razorback
 GNU_CONFIGURE=	yes
-USE_AUTOTOOLS=	libtool
+USE_AUTOTOOLS=	libtool autoconf
 USE_LDCONFIG=	${RB_LIBDIR}
 
 .if ${PORT_OPTIONS:MDEBUG}

Added: head/security/razorback-officeCat/files/patch-common__m4_api__deps.m4
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/razorback-officeCat/files/patch-common__m4_api__deps.m4	Wed Aug 20 18:45:02 2014	(r365504)
@@ -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-officeCat/files/patch-common__m4_compiler__options.m4
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/razorback-officeCat/files/patch-common__m4_compiler__options.m4	Wed Aug 20 18:45:02 2014	(r365504)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408201845.s7KIj2Ku057521>