pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip/libyang: imported to pkgsrc



Module Name:	pkgsrc-wip
Committed By:	Frank Kardel <kardel%netbsd.org@localhost>
Pushed By:	kardel
Date:		Thu Dec 10 17:53:43 2020 +0100
Changeset:	b6237f724308a07f620195fb989590b09f163c07

Removed Files:
	libyang/DESCR
	libyang/Makefile
	libyang/PLIST
	libyang/buildlink3.mk
	libyang/distinfo
	libyang/patches/patch-compat_compat.h.in

Log Message:
wip/libyang: imported to pkgsrc

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b6237f724308a07f620195fb989590b09f163c07

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libyang/DESCR                            |  7 ------
 libyang/Makefile                         | 39 --------------------------------
 libyang/PLIST                            | 21 -----------------
 libyang/buildlink3.mk                    | 16 -------------
 libyang/distinfo                         |  7 ------
 libyang/patches/patch-compat_compat.h.in | 22 ------------------
 6 files changed, 112 deletions(-)

diffs:
diff --git a/libyang/DESCR b/libyang/DESCR
deleted file mode 100644
index 26b24bff42..0000000000
--- a/libyang/DESCR
+++ /dev/null
@@ -1,7 +0,0 @@
-libyang is a YANG data modelling language parser and toolkit written (and
-providing API) in C. The library is used e.g. in
-
-* Parsing (and validating) schemas in YANG format.
-* Parsing (and validating) schemas in YIN format.
-* Parsing, validating and printing instance data in XML format.
-* Parsing, validating and printing instance data in JSON format
diff --git a/libyang/Makefile b/libyang/Makefile
deleted file mode 100644
index 8ed0cb7531..0000000000
--- a/libyang/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# $NetBSD$
-
-GITHUB_PROJECT=	libyang
-GITHUB_TAG=	v1.0.184
-DISTNAME=	v1.0.184
-PKGNAME=	${GITHUB_PROJECT}-${DISTNAME:S,^v,,}
-CATEGORIES=	devel
-MASTER_SITES=	${MASTER_SITE_GITHUB:=CESNET/}
-DIST_SUBDIR=	${GITHUB_PROJECT}
-
-MAINTAINER=	kardel%NetBSD.org@localhost
-HOMEPAGE=	https://github.com/CESNET/libyang/
-COMMENT=	YANG data modeling language library
-LICENSE=	cesnet-libyang
-
-WRKSRC=		${WRKDIR}/libyang-1.0.184
-USE_CMAKE=	yes
-USE_TOOLS+=	pkg-config
-USE_LANGUAGES=	c c++
-
-TOOL_DEPENDS+=	cmocka>=1.1.5:../../devel/cmocka
-
-PKGCONFIG_OVERRIDE+=	libyang.pc.in
-PKGCONFIG_OVERRIDE+=	swig/libyang-cpp.pc.in
-
-CMAKE_ARG_PATH=	..
-CONFIGURE_DIRS=	_build
-
-.include "../../mk/bsd.prefs.mk"
-
-pre-configure:
-	${MKDIR} ${WRKSRC}/_build
-
-CMAKE_ARGS?=	-DCMAKE_BUILD_TYPE:String="Release"
-CMAKE_ARGS+=	-DENABLE_LYD_PRIV=ON
-
-.include "../../devel/pcre/buildlink3.mk"
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/libyang/PLIST b/libyang/PLIST
deleted file mode 100644
index ae335dcb6c..0000000000
--- a/libyang/PLIST
+++ /dev/null
@@ -1,21 +0,0 @@
-@comment $NetBSD$
-bin/yanglint
-bin/yangre
-include/libyang/dict.h
-include/libyang/extensions.h
-include/libyang/libyang.h
-include/libyang/tree_data.h
-include/libyang/tree_schema.h
-include/libyang/user_types.h
-include/libyang/xml.h
-lib/libyang.so
-lib/libyang.so.1
-lib/libyang.so.1.9.2
-lib/libyang1/extensions/metadata.so
-lib/libyang1/extensions/nacm.so
-lib/libyang1/extensions/yangdata.so
-lib/libyang1/user_types/user_inet_types.so
-lib/libyang1/user_types/user_yang_types.so
-lib/pkgconfig/libyang.pc
-man/man1/yanglint.1
-man/man1/yangre.1
diff --git a/libyang/buildlink3.mk b/libyang/buildlink3.mk
deleted file mode 100644
index 6488a982d2..0000000000
--- a/libyang/buildlink3.mk
+++ /dev/null
@@ -1,16 +0,0 @@
-# $NetBSD$
-
-BUILDLINK_TREE+=	libyang
-
-.if !defined(LIBYANG_BUILDLINK3_MK)
-LIBYANG_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.libyang+=	libyang>=1.0.184
-BUILDLINK_PKGSRCDIR.libyang?=	../../wip/libyang
-
-.include "../../devel/pcre/buildlink3.mk"
-.include "../../devel/cmocka/buildlink3.mk"
-
-.endif	# LIBYANG_BUILDLINK3_MK
-
-BUILDLINK_TREE+=	-libyang
diff --git a/libyang/distinfo b/libyang/distinfo
deleted file mode 100644
index aee2fe2001..0000000000
--- a/libyang/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD$
-
-SHA1 (libyang/v1.0.184.tar.gz) = 89842305651e76696a0b79370659763f55be4398
-RMD160 (libyang/v1.0.184.tar.gz) = 58b54cf367692986bab10b95c37fa3909f31e785
-SHA512 (libyang/v1.0.184.tar.gz) = bb1c396b6048d848ea844cc462f1ee9f14b0dad848c7618ec0f9bd239d28db8a94f94550c5439ca07e01824a910a748ec6be699c58150b34072c2f9b76acd95c
-Size (libyang/v1.0.184.tar.gz) = 1659420 bytes
-SHA1 (patch-compat_compat.h.in) = e06eb93d911360dcb2255736911e7dbd926034a3
diff --git a/libyang/patches/patch-compat_compat.h.in b/libyang/patches/patch-compat_compat.h.in
deleted file mode 100644
index cb983ef75b..0000000000
--- a/libyang/patches/patch-compat_compat.h.in
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD$
-
-	NetBSD already defines bswap64.
-
---- compat/compat.h.in.orig	2020-10-10 06:19:45.124141482 +0000
-+++ compat/compat.h.in
-@@ -44,6 +44,7 @@
- #cmakedefine HAVE_GETLINE
- #cmakedefine HAVE_GET_CURRENT_DIR_NAME
- 
-+#ifndef __NetBSD__
- #define bswap64(val) \
-     ( (((val) >> 56) & 0x00000000000000FF) | (((val) >> 40) & 0x000000000000FF00) | \
-     (((val) >> 24) & 0x0000000000FF0000) | (((val) >>  8) & 0x00000000FF000000) | \
-@@ -62,6 +63,7 @@
- # define le64toh(x) (x)
- # define htole64(x) (x)
- #endif
-+#endif
- 
- #ifndef MAP_ANONYMOUS
- #define MAP_ANONYMOUS MAP_ANON


Home | Main Index | Thread Index | Old Index