summaryrefslogtreecommitdiff
path: root/net-libs/libnetconf2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
commitc719fdcee603a5a706a45d10cb598762d56a727d (patch)
tree620cbf137661399a3fb1eff92914204f9a970713 /net-libs/libnetconf2
parentcc4618c9ba3d974948ebf340b542d8cb01db2f55 (diff)
gentoo resync : 25.09.2021
Diffstat (limited to 'net-libs/libnetconf2')
-rw-r--r--net-libs/libnetconf2/Manifest2
-rw-r--r--net-libs/libnetconf2/libnetconf2-2.0.17.ebuild48
2 files changed, 50 insertions, 0 deletions
diff --git a/net-libs/libnetconf2/Manifest b/net-libs/libnetconf2/Manifest
index c640322dcc1b..56c1f4d351f4 100644
--- a/net-libs/libnetconf2/Manifest
+++ b/net-libs/libnetconf2/Manifest
@@ -1,3 +1,5 @@
DIST libnetconf2-2.0.1.tar.gz 292658 BLAKE2B d2821b4b66773b777764f7a453649a7ea60bacc418a8ff5c33e54b244a1f285b84ec8a1cc6d6285ff280c8631d79dfe9db352ad03781a7694762efd8545462ac SHA512 26f0a900387a8dbf5c12136d29529e7aba973dba4e1e3ff091cb70385a686533f041cfe647e273f6188b9494b67f771564b2e32f10e1fc61586112d88837f5c8
+DIST libnetconf2-2.0.17.tar.gz 297682 BLAKE2B f92b006886ed0ba16d65836d4e7fc3d82bd40192e756948f5f7332f215ae3a86b5c173060bb4fa8dda69cb40c6d6fcc49c73d40b38437ddabde3fa0c89d0b0ec SHA512 69a8e3139b9fb0661fc70d619c6005c32935aa86847812211b9846dbf60e664c9616848d8874ecd640d60ab316e75920a9e28a22864cb4dfa9b4aa4b5acbfcbc
EBUILD libnetconf2-2.0.1-r1.ebuild 869 BLAKE2B 2f2150c03e6925592a92744d7628979d6467a7dce3f887cb23613dd365de45897e8a7507d0d11764e31bd40a0905899d6140fecef7da42cbbf8f0627f0780d5d SHA512 6391c8af3972977c6fc490aebeec6b138de89eedeff3e53f0afc7aaeb02cd1b0fae2a1d66592b99751674ef87d62022ca83a167de55d074ee975fe00b533a61b
+EBUILD libnetconf2-2.0.17.ebuild 896 BLAKE2B 5f0e8446942eb5d1291bc158843479ba10bf2d2137cbffc8361f0524a244e0f01503b24f18afc8840aa8a43656cf00e973cebef17a47aa2786c475d5bb1fe15d SHA512 425cbf76221e6cc8fe074cfa83588173617aa15a417f1313a65f1a5c3c68a36e79bb35f68ab9588d0e1c890f804a7988853471e532b39133a3fbe7f6f4e4159b
MISC metadata.xml 331 BLAKE2B cdf31d4cc5f23689277be613336e351a92be7cc1ac1aeafb1e52fa88985f1fcb9d6b71de3ee149b0b0269f9660ec357d83d7ae4b18355a1121bf3d38b957f7e9 SHA512 33da7a046f20febb4e756f73dad37dd66ba07b7da865f07ee72b08026be7f81a026960ec7d4abe558a33ffd162806456454da89733944d974cc7132555176b16
diff --git a/net-libs/libnetconf2/libnetconf2-2.0.17.ebuild b/net-libs/libnetconf2/libnetconf2-2.0.17.ebuild
new file mode 100644
index 000000000000..e512eea48386
--- /dev/null
+++ b/net-libs/libnetconf2/libnetconf2-2.0.17.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="C library for building NETCONF servers and clients"
+HOMEPAGE="https://github.com/CESNET/libnetconf2"
+SRC_URI="https://github.com/CESNET/libnetconf2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/openssl:0=
+ >=net-libs/libyang-2.0.88:=
+ net-libs/libssh:0=[server]
+ virtual/libcrypt:="
+DEPEND="${RDEPEND}
+ test? ( dev-util/cmocka )"
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen[dot] )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_TESTS=$(usex test)
+ -DENABLE_VALGRIND_TESTS=OFF
+ )
+
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+
+ use doc && cmake_src_compile doc
+}
+
+src_install() {
+ cmake_src_install
+
+ use doc && dodoc -r doc/.
+}