diff --git a/net/libyang/Makefile b/net/libyang/Makefile index 98ebaaf21e2c..4ed4c86048ff 100644 --- a/net/libyang/Makefile +++ b/net/libyang/Makefile @@ -1,10 +1,9 @@ # $FreeBSD$ PORTNAME= libyang -PORTVERSION= 0.16 +PORTVERSION= 1.0 DISTVERSIONPREFIX= v -DISTVERSIONSUFFIX= -r3 -PORTREVISION= 6 +DISTVERSIONSUFFIX= -r4 CATEGORIES= net MAINTAINER= olivier@FreeBSD.org diff --git a/net/libyang/distinfo b/net/libyang/distinfo index 0030400e640e..34d51b784010 100644 --- a/net/libyang/distinfo +++ b/net/libyang/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1552606133 -SHA256 (CESNET-libyang-v0.16-r3_GH0.tar.gz) = 4745460dedc4ba17d8bcfc39ad9ba0d1b91bbe82b55b9417a090390909ba8ca5 -SIZE (CESNET-libyang-v0.16-r3_GH0.tar.gz) = 2999818 +TIMESTAMP = 1571175233 +SHA256 (CESNET-libyang-v1.0-r4_GH0.tar.gz) = 411f0c675b0858f8deabc0545e33fbd791ff7c7a5b7d2c27e347e3973d5b8ae4 +SIZE (CESNET-libyang-v1.0-r4_GH0.tar.gz) = 3017685 diff --git a/net/libyang/files/patch-src_parser__lyb.c b/net/libyang/files/patch-src_parser__lyb.c deleted file mode 100644 index 83c5655dc258..000000000000 --- a/net/libyang/files/patch-src_parser__lyb.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/parser_lyb.c.orig 2019-03-14 23:35:14 UTC -+++ src/parser_lyb.c -@@ -23,6 +23,8 @@ - # define le16toh(x) OSSwapLittleToHostInt16(x) - # define le32toh(x) OSSwapLittleToHostInt32(x) - # define le64toh(x) OSSwapLittleToHostInt64(x) -+#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) -+# include - #else - # include - #endif diff --git a/net/libyang/files/patch-src_printer__lyb.c b/net/libyang/files/patch-src_printer__lyb.c deleted file mode 100644 index 47fa1841c12d..000000000000 --- a/net/libyang/files/patch-src_printer__lyb.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/printer_lyb.c.orig 2019-03-14 23:35:50 UTC -+++ src/printer_lyb.c -@@ -21,6 +21,8 @@ - #ifdef __APPLE__ - # include - # define htole64(x) OSSwapHostToLittleInt64(x) -+#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) -+# include - #else - # include - #endif diff --git a/net/libyang/pkg-plist b/net/libyang/pkg-plist index db91c70ef0fd..b266b5132659 100644 --- a/net/libyang/pkg-plist +++ b/net/libyang/pkg-plist @@ -8,12 +8,13 @@ include/libyang/tree_schema.h include/libyang/user_types.h include/libyang/xml.h lib/libyang.so -lib/libyang.so.0.16 -lib/libyang.so.0.16.105 +lib/libyang.so.1 +lib/libyang.so.1.2.2 lib/libyang/extensions/metadata.so lib/libyang/extensions/nacm.so lib/libyang/extensions/yangdata.so -lib/libyang/user_types/user_date_and_time.so +lib/libyang/user_types/user_inet_types.so +lib/libyang/user_types/user_yang_types.so libdata/pkgconfig/libyang.pc man/man1/yanglint.1.gz man/man1/yangre.1.gz