From d6d149032cfaab47879bfdda154caf1d0fbe8ad4 Mon Sep 17 00:00:00 2001 From: John Marino Date: Thu, 1 Oct 2015 10:10:31 +0000 Subject: databases/libnvpair: New major version (so.1 => so.3) The changes since version 1.0.2 were significant enough to warrant a major library version bump. However, libnvpair.so.2 exists in FreeBSD base, so the port version builds libnvpair.so.3 instead. With one exception, all of the Solaris/Illumos types have been replaced with BSD equivalents, including boolean_t. This changes several prototypes, and also allows for the type compatibility header to be removed. The one type that remains is hrtime_t (equivalent to int64_t). Internally, the regression tests for print_json (functionality that does not exist in FreeBSD base, at least on F9) have been added from Illumos regression tests and both DragonFly and FreeBSD pass. --- databases/libnvpair/Makefile | 9 +++++++-- databases/libnvpair/distinfo | 4 ++-- databases/libnvpair/pkg-plist | 6 ------ 3 files changed, 9 insertions(+), 10 deletions(-) delete mode 100644 databases/libnvpair/pkg-plist (limited to 'databases') diff --git a/databases/libnvpair/Makefile b/databases/libnvpair/Makefile index df65c9cd8728..5394fb444fc5 100644 --- a/databases/libnvpair/Makefile +++ b/databases/libnvpair/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= libnvpair -PORTVERSION= 1.0.2 +PORTVERSION= 2.0 CATEGORIES= databases devel MAINTAINER= marino@FreeBSD.org @@ -14,9 +14,14 @@ GH_ACCOUNT= jrmarino USE_GITHUB= yes MAKE_ARGS= LIBDIR=${PREFIX}/lib +PLIST_FILES= include/libnvpair.h \ + include/nvpair.h \ + lib/libnvpair.a \ + lib/libnvpair.so \ + lib/libnvpair.so.3 post-install: (cd ${WRKSRC} && ${INSTALL_DATA} libnvpair.h nvpair.h \ - nvpair_type_compat.h ${STAGEDIR}${PREFIX}/include/) + ${STAGEDIR}${PREFIX}/include/) .include diff --git a/databases/libnvpair/distinfo b/databases/libnvpair/distinfo index fa331674d9c8..bcdb8766cbbd 100644 --- a/databases/libnvpair/distinfo +++ b/databases/libnvpair/distinfo @@ -1,2 +1,2 @@ -SHA256 (jrmarino-libnvpair-1.0.2_GH0.tar.gz) = 1dd0390b9bfba71cd6902b119df98ecfaafeb780e244dd9d6bea9ded6946a993 -SIZE (jrmarino-libnvpair-1.0.2_GH0.tar.gz) = 37960 +SHA256 (jrmarino-libnvpair-2.0_GH0.tar.gz) = 33184cf94d054eabed82d2cc528d9075c36577cc19e1fed0ecbfbb6cbe2d5cbd +SIZE (jrmarino-libnvpair-2.0_GH0.tar.gz) = 44909 diff --git a/databases/libnvpair/pkg-plist b/databases/libnvpair/pkg-plist deleted file mode 100644 index 02152bd0b990..000000000000 --- a/databases/libnvpair/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -include/libnvpair.h -include/nvpair.h -include/nvpair_type_compat.h -lib/libnvpair.a -lib/libnvpair.so -lib/libnvpair.so.1 -- cgit v1.3