Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2019 23:43:34 +0000 (UTC)
From:      Olivier Cochard <olivier@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r495743 - in head/net/libyang: . files
Message-ID:  <201903142343.x2ENhY3v002194@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivier
Date: Thu Mar 14 23:43:34 2019
New Revision: 495743
URL: https://svnweb.freebsd.org/changeset/ports/495743

Log:
  Update to 0.16-R3

Added:
  head/net/libyang/files/
  head/net/libyang/files/patch-src_parser__lyb.c   (contents, props changed)
  head/net/libyang/files/patch-src_printer__lyb.c   (contents, props changed)
Modified:
  head/net/libyang/Makefile
  head/net/libyang/distinfo
  head/net/libyang/pkg-plist

Modified: head/net/libyang/Makefile
==============================================================================
--- head/net/libyang/Makefile	Thu Mar 14 23:15:28 2019	(r495742)
+++ head/net/libyang/Makefile	Thu Mar 14 23:43:34 2019	(r495743)
@@ -3,8 +3,8 @@
 PORTNAME=	libyang
 PORTVERSION=	0.16
 DISTVERSIONPREFIX=	v
-DISTVERSIONSUFFIX=	-r1
-PORTREVISION=	4
+DISTVERSIONSUFFIX=	-r3
+PORTREVISION=	5
 CATEGORIES=	net
 
 MAINTAINER=	olivier@FreeBSD.org

Modified: head/net/libyang/distinfo
==============================================================================
--- head/net/libyang/distinfo	Thu Mar 14 23:15:28 2019	(r495742)
+++ head/net/libyang/distinfo	Thu Mar 14 23:43:34 2019	(r495743)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1537973255
-SHA256 (CESNET-libyang-v0.16-r1_GH0.tar.gz) = 43ab396fc7529251dc9cf02fbd8da48dcf476b998ea0f9e66197632988969074
-SIZE (CESNET-libyang-v0.16-r1_GH0.tar.gz) = 2979630
+TIMESTAMP = 1552606133
+SHA256 (CESNET-libyang-v0.16-r3_GH0.tar.gz) = 4745460dedc4ba17d8bcfc39ad9ba0d1b91bbe82b55b9417a090390909ba8ca5
+SIZE (CESNET-libyang-v0.16-r3_GH0.tar.gz) = 2999818

Added: head/net/libyang/files/patch-src_parser__lyb.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libyang/files/patch-src_parser__lyb.c	Thu Mar 14 23:43:34 2019	(r495743)
@@ -0,0 +1,11 @@
+--- 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 <sys/endian.h>
+ #else
+ # include <endian.h>
+ #endif

Added: head/net/libyang/files/patch-src_printer__lyb.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libyang/files/patch-src_printer__lyb.c	Thu Mar 14 23:43:34 2019	(r495743)
@@ -0,0 +1,11 @@
+--- src/printer_lyb.c.orig	2019-03-14 23:35:50 UTC
++++ src/printer_lyb.c
+@@ -21,6 +21,8 @@
+ #ifdef __APPLE__
+ # include <libkern/OSByteOrder.h>
+ # define htole64(x) OSSwapHostToLittleInt64(x)
++#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
++# include <sys/endian.h>
+ #else
+ # include <endian.h>
+ #endif

Modified: head/net/libyang/pkg-plist
==============================================================================
--- head/net/libyang/pkg-plist	Thu Mar 14 23:15:28 2019	(r495742)
+++ head/net/libyang/pkg-plist	Thu Mar 14 23:43:34 2019	(r495743)
@@ -9,10 +9,11 @@ include/libyang/user_types.h
 include/libyang/xml.h
 lib/libyang.so
 lib/libyang.so.0.16
-lib/libyang.so.0.16.41
+lib/libyang.so.0.16.105
 lib/libyang/extensions/metadata.so
 lib/libyang/extensions/nacm.so
 lib/libyang/extensions/yangdata.so
 lib/libyang/user_types/user_date_and_time.so
 libdata/pkgconfig/libyang.pc
 man/man1/yanglint.1.gz
+man/man1/yangre.1.gz



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