From nobody@FreeBSD.org  Fri Jan 25 18:45:47 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 9666991
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 Jan 2013 18:45:47 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 7EC5A79
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 Jan 2013 18:45:47 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0PIjkTn004818
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 Jan 2013 18:45:46 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r0PIjkVQ004817;
	Fri, 25 Jan 2013 18:45:46 GMT
	(envelope-from nobody)
Message-Id: <201301251845.r0PIjkVQ004817@red.freebsd.org>
Date: Fri, 25 Jan 2013 18:45:46 GMT
From: Veniamin Gvozdikov <g.veniamin@googlemail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [new port]: devel/avro-c Data serialization system for ANSI C
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         175562
>Category:       ports
>Synopsis:       [new port]: devel/avro-c Data serialization system for ANSI C
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 25 18:50:00 UTC 2013
>Closed-Date:    Sun Jan 27 14:34:20 UTC 2013
>Last-Modified:  Sun Jan 27 14:34:20 UTC 2013
>Originator:     Veniamin Gvozdikov
>Release:        FreeBSD 8.3-RELEASE-p5
>Organization:
>Environment:
FreeBSD ololo 8.3-RELEASE-p5 FreeBSD 8.3-RELEASE-p5 #0: Thu Dec  6 16:25:28 MSK 2012     root@ololo:/usr/obj/usr/src/sys/OLOLO  amd64
>Description:
Avro is a data serialization system.

Avro provides:
* Rich data structures.
* A compact, fast, binary data format.
* A container file, to store persistent data.
* Remote procedure call (RPC).
* Simple integration with dynamic languages. Code generation is not
required to read or write data files nor to use or implement RPC
protocols. Code generation as an optional optimization, only worth
implementing for statically typed languages.
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	avro-c
#	avro-c/files
#	avro-c/files/patch-src_CMakeLists.txt
#	avro-c/pkg-plist
#	avro-c/pkg-descr
#	avro-c/Makefile
#	avro-c/distinfo
#
echo c - avro-c
mkdir -p avro-c > /dev/null 2>&1
echo c - avro-c/files
mkdir -p avro-c/files > /dev/null 2>&1
echo x - avro-c/files/patch-src_CMakeLists.txt
sed 's/^X//' >avro-c/files/patch-src_CMakeLists.txt << '96104eac5f91b0e2f2363209943f2b2b'
X--- src/CMakeLists.txt.orig	2013-01-23 23:35:50.300900781 +0400
X+++ src/CMakeLists.txt	2013-01-23 23:37:52.345522653 +0400
X@@ -99,7 +99,7 @@
X # The version.sh script gives us a SOVERSION that uses colon as a
X # separator; we need periods.
X 
X-string(REPLACE ":" "." LIBAVRO_DOT_VERSION ${LIBAVRO_VERSION})
X+set(LIBAVRO_DOT_VERSION 0)
X 
X add_library(avro-static STATIC ${AVRO_SRC} ${JANSSON_SRC})
X target_link_libraries(avro-static ${CODEC_LIBRARIES} ${THREADS_LIBRARIES})
X@@ -142,7 +142,7 @@
X set(VERSION ${AVRO_VERSION})
X configure_file(avro-c.pc.in avro-c.pc)
X install(FILES ${CMAKE_CURRENT_BINARY_DIR}/avro-c.pc
X-        DESTINATION lib/pkgconfig)
X+        DESTINATION ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig)
X 
X add_executable(avrocat avrocat.c)
X target_link_libraries(avrocat avro-static)
96104eac5f91b0e2f2363209943f2b2b
echo x - avro-c/pkg-plist
sed 's/^X//' >avro-c/pkg-plist << 'c444c9787a29823002040907b7f50266'
Xbin/avroappend
Xbin/avrocat
Xbin/avromod
Xbin/avropipe
Xinclude/avro.h
Xinclude/avro/allocation.h
Xinclude/avro/basics.h
Xinclude/avro/consumer.h
Xinclude/avro/data.h
Xinclude/avro/errors.h
Xinclude/avro/generic.h
Xinclude/avro/io.h
Xinclude/avro/legacy.h
Xinclude/avro/msinttypes.h
Xinclude/avro/msstdint.h
Xinclude/avro/platform.h
Xinclude/avro/refcount.h
Xinclude/avro/resolver.h
Xinclude/avro/schema.h
Xinclude/avro/value.h
Xlib/libavro.a
Xlib/libavro.so
Xlib/libavro.so.0
Xlibdata/pkgconfig/avro-c.pc
X@dirrm include/avro
c444c9787a29823002040907b7f50266
echo x - avro-c/pkg-descr
sed 's/^X//' >avro-c/pkg-descr << 'a5daa8e8702bbed44f428bf86d686e0a'
XAvro is a data serialization system.
X
XAvro provides:
X* Rich data structures.
X* A compact, fast, binary data format.
X* A container file, to store persistent data.
X* Remote procedure call (RPC).
X* Simple integration with dynamic languages. Code generation is not
Xrequired to read or write data files nor to use or implement RPC
Xprotocols. Code generation as an optional optimization, only worth
Ximplementing for statically typed languages.
X
XWWW: http://avro.apache.org/
a5daa8e8702bbed44f428bf86d686e0a
echo x - avro-c/Makefile
sed 's/^X//' >avro-c/Makefile << 'dbd9a204198baf87e71827b14e5e5825'
X# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
X# $FreeBSD$
X
XPORTNAME=	avro
XPORTVERSION=	1.7.3
XCATEGORIES=	devel
XMASTER_SITES=	APACHE
XMASTER_SITE_SUBDIR=	${PORTNAME}/stable
XPKGNAMESUFFIX=	-c
XDISTNAME=	${PORTNAME}-src-${PORTVERSION}
X
XMAINTAINER=	g.veniamin@googlemail.com
XCOMMENT=	Data serialization system for ANSI C
X
XUSE_CMAKE=	yes
XUSE_LDCONFIG=	yes
X
XWRKSRC=		${WRKDIR}/${DISTNAME}/lang/c
X
X.include <bsd.port.pre.mk>
Xpre-configure:
X	@${REINPLACE_CMD} 's|/bin/bash|/bin/sh|g' \
X		${WRKSRC}/version.sh
X
X.include <bsd.port.post.mk>
dbd9a204198baf87e71827b14e5e5825
echo x - avro-c/distinfo
sed 's/^X//' >avro-c/distinfo << 'ba628eec7f1c1cfb8263eb52cb1a529e'
XSHA256 (avro-src-1.7.3.tar.gz) = edf23ba0626cf648008357c7f9fb2d1e0b0eaeacce76ecd001eaa198484e9833
XSIZE (avro-src-1.7.3.tar.gz) = 1924413
ba628eec7f1c1cfb8263eb52cb1a529e
exit


>Release-Note:
>Audit-Trail:

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/175562: commit references a PR
Date: Sun, 27 Jan 2013 14:29:19 +0000 (UTC)

 Author: vanilla
 Date: Sun Jan 27 14:29:10 2013
 New Revision: 311068
 URL: http://svnweb.freebsd.org/changeset/ports/311068
 
 Log:
   Add avro-c 1.7.3, data serialization system for ANSI C.
   
   PR:		ports/175562
   Submitted by:	Gvozdikov Veniamin <g.veniamin@googlemail.com>
 
 Added:
   head/devel/avro-c/
   head/devel/avro-c/Makefile   (contents, props changed)
   head/devel/avro-c/distinfo   (contents, props changed)
   head/devel/avro-c/files/
   head/devel/avro-c/files/patch-src_CMakeLists.txt   (contents, props changed)
   head/devel/avro-c/pkg-descr   (contents, props changed)
   head/devel/avro-c/pkg-plist   (contents, props changed)
 Modified:
   head/devel/Makefile
 
 Modified: head/devel/Makefile
 ==============================================================================
 --- head/devel/Makefile	Sun Jan 27 13:17:33 2013	(r311067)
 +++ head/devel/Makefile	Sun Jan 27 14:29:10 2013	(r311068)
 @@ -104,6 +104,7 @@
      SUBDIR += avr-libc
      SUBDIR += avra
      SUBDIR += avrdude
 +    SUBDIR += avro-c
      SUBDIR += baz
      SUBDIR += bcc
      SUBDIR += bcpp
 
 Added: head/devel/avro-c/Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/devel/avro-c/Makefile	Sun Jan 27 14:29:10 2013	(r311068)
 @@ -0,0 +1,26 @@
 +# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
 +# $FreeBSD$
 +
 +PORTNAME=	avro
 +PORTVERSION=	1.7.3
 +CATEGORIES=	devel
 +MASTER_SITES=	APACHE
 +MASTER_SITE_SUBDIR=	${PORTNAME}/stable
 +PKGNAMESUFFIX=	-c
 +DISTNAME=	${PORTNAME}-src-${PORTVERSION}
 +
 +MAINTAINER=	g.veniamin@googlemail.com
 +COMMENT=	Data serialization system for ANSI C
 +
 +USE_CMAKE=	yes
 +USE_LDCONFIG=	yes
 +USE_PKGCONFIG=	yes
 +
 +WRKSRC=		${WRKDIR}/${DISTNAME}/lang/c
 +
 +.include <bsd.port.pre.mk>
 +pre-configure:
 +	@${REINPLACE_CMD} 's|/bin/bash|/bin/sh|g' \
 +		${WRKSRC}/version.sh
 +
 +.include <bsd.port.post.mk>
 
 Added: head/devel/avro-c/distinfo
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/devel/avro-c/distinfo	Sun Jan 27 14:29:10 2013	(r311068)
 @@ -0,0 +1,2 @@
 +SHA256 (avro-src-1.7.3.tar.gz) = edf23ba0626cf648008357c7f9fb2d1e0b0eaeacce76ecd001eaa198484e9833
 +SIZE (avro-src-1.7.3.tar.gz) = 1924413
 
 Added: head/devel/avro-c/files/patch-src_CMakeLists.txt
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/devel/avro-c/files/patch-src_CMakeLists.txt	Sun Jan 27 14:29:10 2013	(r311068)
 @@ -0,0 +1,20 @@
 +--- src/CMakeLists.txt.orig	2013-01-23 23:35:50.300900781 +0400
 ++++ src/CMakeLists.txt	2013-01-23 23:37:52.345522653 +0400
 +@@ -99,7 +99,7 @@
 + # The version.sh script gives us a SOVERSION that uses colon as a
 + # separator; we need periods.
 + 
 +-string(REPLACE ":" "." LIBAVRO_DOT_VERSION ${LIBAVRO_VERSION})
 ++set(LIBAVRO_DOT_VERSION 0)
 + 
 + add_library(avro-static STATIC ${AVRO_SRC} ${JANSSON_SRC})
 + target_link_libraries(avro-static ${CODEC_LIBRARIES} ${THREADS_LIBRARIES})
 +@@ -142,7 +142,7 @@
 + set(VERSION ${AVRO_VERSION})
 + configure_file(avro-c.pc.in avro-c.pc)
 + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/avro-c.pc
 +-        DESTINATION lib/pkgconfig)
 ++        DESTINATION ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig)
 + 
 + add_executable(avrocat avrocat.c)
 + target_link_libraries(avrocat avro-static)
 
 Added: head/devel/avro-c/pkg-descr
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/devel/avro-c/pkg-descr	Sun Jan 27 14:29:10 2013	(r311068)
 @@ -0,0 +1,13 @@
 +Avro is a data serialization system.
 +
 +Avro provides:
 +* Rich data structures.
 +* A compact, fast, binary data format.
 +* A container file, to store persistent data.
 +* Remote procedure call (RPC).
 +* Simple integration with dynamic languages. Code generation is not
 +required to read or write data files nor to use or implement RPC
 +protocols. Code generation as an optional optimization, only worth
 +implementing for statically typed languages.
 +
 +WWW: http://avro.apache.org/
 
 Added: head/devel/avro-c/pkg-plist
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/devel/avro-c/pkg-plist	Sun Jan 27 14:29:10 2013	(r311068)
 @@ -0,0 +1,25 @@
 +bin/avroappend
 +bin/avrocat
 +bin/avromod
 +bin/avropipe
 +include/avro.h
 +include/avro/allocation.h
 +include/avro/basics.h
 +include/avro/consumer.h
 +include/avro/data.h
 +include/avro/errors.h
 +include/avro/generic.h
 +include/avro/io.h
 +include/avro/legacy.h
 +include/avro/msinttypes.h
 +include/avro/msstdint.h
 +include/avro/platform.h
 +include/avro/refcount.h
 +include/avro/resolver.h
 +include/avro/schema.h
 +include/avro/value.h
 +lib/libavro.a
 +lib/libavro.so
 +lib/libavro.so.0
 +libdata/pkgconfig/avro-c.pc
 +@dirrm include/avro
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: vanilla 
State-Changed-When: Sun Jan 27 14:34:20 UTC 2013 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175562 
>Unformatted:
