ports/182958: [update] devel/json-c to 0.11

Ryan Steinmetz zi at FreeBSD.org
Mon Oct 14 00:00:01 UTC 2013


>Number:         182958
>Category:       ports
>Synopsis:       [update] devel/json-c to 0.11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 14 00:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Ryan Steinmetz
>Release:        9.2-RELEASE
>Organization:
>Environment:
>Description:
- Update to 0.11
- Update MASTER_SITES
- Fix URL/white space issue in pkg-descr
>How-To-Repeat:

>Fix:
Apply patch, bump PORTREVISION on the following:

    audio/pianobar
    databases/postgis20
    databases/postgis21
    graphics/mypaint
    net/grive
    security/razorback-api
    security/razorback-virusTotal
    sysutils/rsyslog6
    sysutils/rsyslog6-dbi
    sysutils/rsyslog6-gnutls
    sysutils/rsyslog6-gssapi
    sysutils/rsyslog6-mysql
    sysutils/rsyslog6-pgsql
    sysutils/rsyslog6-relp
    sysutils/rsyslog6-rfc3195
    sysutils/rsyslog6-snmp
    sysutils/rsyslog7
    sysutils/rsyslog7-devel
    www/newsbeuter


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 330266)
+++ Makefile	(working copy)
@@ -2,9 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	json-c
-PORTVERSION=	0.9
+PORTVERSION=	0.11
 CATEGORIES=	devel
-MASTER_SITES=	http://oss.metaparadigm.com/json-c/
+MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/archive/
 
 MAINTAINER=	gno at yahoo-inc.com
 COMMENT=	JSON (JavaScript Object Notation) implementation in C
@@ -12,7 +12,15 @@
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 USES=		gmake pathfix pkgconfig
+USE_GITHUB=	yes
+GH_ACCOUNT=	${PORTNAME}
+GH_PROJECT=	${PORTNAME}
+GH_TAGNAME=	20130402
+USE_ZIP=	yes
+MAKE_JOBS_UNSAFE=	yes
 
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTNAME}-${PORTVERSION}
+
 CONFLICTS=	cocaine-core-[0-9]*
 
 NO_STAGE=	yes
Index: distinfo
===================================================================
--- distinfo	(revision 330266)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (json-c-0.9.tar.gz) = 702a486c9bf8e19137d484ab5c49b4ad314eb5e1fe37062a72c0a0fa39439475
-SIZE (json-c-0.9.tar.gz) = 340953
+SHA256 (json-c-0.11.zip) = b32bedb692ab0ab8205df7837e806082ec459b55693730238ca03238cf896e95
+SIZE (json-c-0.11.zip) = 550947
Index: pkg-descr
===================================================================
--- pkg-descr	(revision 330266)
+++ pkg-descr	(working copy)
@@ -1,5 +1,5 @@
 This is a port of json-c, an implementation of json in C. Json, JavaScript
 Object Notation is a lightweight data exchange format and a subset of the
-JavaScript programming language. 
+JavaScript programming language.
 
-WWW: http://oss.metaparadigm.com/json-c/
+WWW: https://github.com/json-c/json-c/wiki
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 330266)
+++ pkg-plist	(working copy)
@@ -1,7 +1,11 @@
 lib/libjson.a
 lib/libjson.la
 lib/libjson.so
-lib/libjson.so.0
+lib/libjson.so.1
+lib/libjson-c.a
+lib/libjson-c.la
+lib/libjson-c.so
+lib/libjson-c.so.2
 include/json/arraylist.h
 include/json/bits.h
 include/json/debug.h
@@ -12,5 +16,11 @@
 include/json/json_util.h
 include/json/linkhash.h
 include/json/printbuf.h
+include/json-c/json_config.h
+include/json-c/json_c_version.h
+include/json-c/json_inttypes.h
+include/json-c/json_object_iterator.h
 libdata/pkgconfig/json.pc
+libdata/pkgconfig/json-c.pc
 @dirrm include/json
+ at dirrm include/json-c


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list