Index: head/devel/avro-c/Makefile =================================================================== --- head/devel/avro-c/Makefile (revision 463090) +++ head/devel/avro-c/Makefile (revision 463091) @@ -1,36 +1,38 @@ # Created by: Veniamin Gvozdikov # $FreeBSD$ PORTNAME= avro -PORTVERSION= 1.8.1 -PORTREVISION= 1 +PORTVERSION= 1.8.2 +DISTVERSIONPREFIX= release- CATEGORIES= devel -MASTER_SITES= APACHE/${PORTNAME}/stable PKGNAMESUFFIX= -c -DISTNAME= ${PORTNAME}-src-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org -COMMENT= Data serialization system for ANSI C +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= C library for Apache Avro +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BROKEN_aarch64= fails to build: error: No atomic implementation +BROKEN_armv6= fails to build: error: No atomic implementation +BROKEN_armv7= fails to build: error: No atomic implementation +BROKEN_mips= fails to build: error: No atomic implementation +BROKEN_mips64= fails to build: error: No atomic implementation +BROKEN_sparc64= fails to build + LIB_DEPENDS= libjansson.so:devel/jansson \ libsnappy.so:archivers/snappy -BROKEN_aarch64= Fails to build: error: No atomic implementation -BROKEN_armv6= Fails to build: error: No atomic implementation -BROKEN_armv7= Fails to build: error: No atomic implementation -BROKEN_mips= Fails to build: error: No atomic implementation -BROKEN_mips64= Fails to build: error: No atomic implementation -BROKEN_sparc64= Fails to build - USES= cmake pkgconfig USE_LDCONFIG= yes +WRKSRC_SUBDIR= lang/c -WRKSRC= ${WRKDIR}/${DISTNAME}/lang/c +GH_ACCOUNT= apache +USE_GITHUB= yes post-patch: - @${REINPLACE_CMD} '/add_subdirectory(docs)/d' \ - ${WRKSRC}/CMakeLists.txt - @${REINPLACE_CMD} 's|/bin/bash|/bin/sh|g' \ - ${WRKSRC}/version.sh + @${REINPLACE_CMD} '/add_subdirectory(docs)/d' ${WRKSRC}/CMakeLists.txt + @${REINPLACE_CMD} '1 s|/bin/bash|/bin/sh|' ${WRKSRC}/version.sh + @${REINPLACE_CMD} 's|lib/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/src/CMakeLists.txt .include Index: head/devel/avro-c/distinfo =================================================================== --- head/devel/avro-c/distinfo (revision 463090) +++ head/devel/avro-c/distinfo (revision 463091) @@ -1,3 +1,3 @@ -TIMESTAMP = 1466107525 -SHA256 (avro-src-1.8.1.tar.gz) = 5b0531a3f408f3ccf22ab688be586199ab54de08ca347c50baa61d583191f42e -SIZE (avro-src-1.8.1.tar.gz) = 2152089 +TIMESTAMP = 1519473626 +SHA256 (apache-avro-release-1.8.2_GH0.tar.gz) = 19040889f2c822445b6ccf14e6f13ccf2d7851458790ae1539a2688d21c76ae0 +SIZE (apache-avro-release-1.8.2_GH0.tar.gz) = 2141779 Index: head/devel/avro-c/files/patch-src_CMakeLists.txt =================================================================== --- head/devel/avro-c/files/patch-src_CMakeLists.txt (revision 463090) +++ head/devel/avro-c/files/patch-src_CMakeLists.txt (revision 463091) @@ -1,25 +1,11 @@ ---- src/CMakeLists.txt.orig 2016-05-15 00:38:52 UTC +--- src/CMakeLists.txt.orig 2017-04-17 23:56:17 UTC +++ src/CMakeLists.txt -@@ -82,12 +82,12 @@ source_group(Avro FILES ${AVRO_SRC}) +@@ -82,7 +82,7 @@ source_group(Avro FILES ${AVRO_SRC}) # 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}) target_link_libraries(avro-static ${JANSSON_LIBRARIES} ${CODEC_LIBRARIES} ${THREADS_LIBRARIES}) - set_target_properties(avro-static PROPERTIES OUTPUT_NAME avro) - - if (NOT WIN32) - # TODO: Create Windows DLLs. See http://www.cmake.org/Wiki/BuildingWinDLL - add_library(avro-shared SHARED ${AVRO_SRC}) -@@ -125,7 +127,7 @@ set(prefix ${CMAKE_INSTALL_PREFIX}) - 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 libdata/pkgconfig) - - add_executable(avrocat avrocat.c) - target_link_libraries(avrocat avro-static) Index: head/devel/avro-c/pkg-descr =================================================================== --- head/devel/avro-c/pkg-descr (revision 463090) +++ head/devel/avro-c/pkg-descr (revision 463091) @@ -1,13 +1,13 @@ -Avro is a data serialization system. +This is the C library of Apache Avro (devel/avro). -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. +Apache Avro is a data serialization system which 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/ +WWW: https://avro.apache.org/