aboutsummaryrefslogtreecommitdiff
path: root/databases/libnvpair
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-10-01 10:10:31 +0000
committerJohn Marino <marino@FreeBSD.org>2015-10-01 10:10:31 +0000
commitd6d149032cfaab47879bfdda154caf1d0fbe8ad4 (patch)
tree35ec7251a82bc70b0907c5fff162ab0bf2e7cd6f /databases/libnvpair
parentb9b8b6782dbfe7b27d3e6d7bc445f43722509943 (diff)
downloadports-d6d149032cfaab47879bfdda154caf1d0fbe8ad4.tar.gz
ports-d6d149032cfaab47879bfdda154caf1d0fbe8ad4.zip
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.
Notes
Notes: svn path=/head/; revision=398267
Diffstat (limited to 'databases/libnvpair')
-rw-r--r--databases/libnvpair/Makefile9
-rw-r--r--databases/libnvpair/distinfo4
-rw-r--r--databases/libnvpair/pkg-plist6
3 files changed, 9 insertions, 10 deletions
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 <bsd.port.mk>
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