Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2018 22:32:59 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r463091 - in head/devel/avro-c: . files
Message-ID:  <201802262232.w1QMWxKb029568@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Feb 26 22:32:58 2018
New Revision: 463091
URL: https://svnweb.freebsd.org/changeset/ports/463091

Log:
  Update to 1.8.2
  
  - Change MASTER_SITES to GitHub
  - Update COMMENT
  - Add LICENSE
  - Pet portlint: move BROKEN_* upward
  - Update BROKEN: use lowercase for leading character
  - Use WRKSRC_SUBDIR
  - Update pkg-descr
  - Update WWW
  
  Changes:	https://github.com/apache/avro/blob/branch-1.8/CHANGES.txt
  		https://github.com/apache/avro/commits/branch-1.8/lang/c

Modified:
  head/devel/avro-c/Makefile
  head/devel/avro-c/distinfo
  head/devel/avro-c/files/patch-src_CMakeLists.txt
  head/devel/avro-c/pkg-descr

Modified: head/devel/avro-c/Makefile
==============================================================================
--- head/devel/avro-c/Makefile	Mon Feb 26 22:32:53 2018	(r463090)
+++ head/devel/avro-c/Makefile	Mon Feb 26 22:32:58 2018	(r463091)
@@ -2,35 +2,37 @@
 # $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 <bsd.port.mk>

Modified: head/devel/avro-c/distinfo
==============================================================================
--- head/devel/avro-c/distinfo	Mon Feb 26 22:32:53 2018	(r463090)
+++ head/devel/avro-c/distinfo	Mon Feb 26 22:32:58 2018	(r463091)
@@ -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

Modified: head/devel/avro-c/files/patch-src_CMakeLists.txt
==============================================================================
--- head/devel/avro-c/files/patch-src_CMakeLists.txt	Mon Feb 26 22:32:53 2018	(r463090)
+++ head/devel/avro-c/files/patch-src_CMakeLists.txt	Mon Feb 26 22:32:58 2018	(r463091)
@@ -1,6 +1,6 @@
---- 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.
  
@@ -9,17 +9,3 @@
  
  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)

Modified: head/devel/avro-c/pkg-descr
==============================================================================
--- head/devel/avro-c/pkg-descr	Mon Feb 26 22:32:53 2018	(r463090)
+++ head/devel/avro-c/pkg-descr	Mon Feb 26 22:32:58 2018	(r463091)
@@ -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/



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