1 |
commit: 067a05d06d37097fde597968f0d6551cebe7f94b |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 19 17:04:35 2022 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 20 18:40:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=067a05d0 |
7 |
|
8 |
net-libs/libnetconf2: add 2.1.11 |
9 |
|
10 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
11 |
|
12 |
net-libs/libnetconf2/Manifest | 1 + |
13 |
net-libs/libnetconf2/libnetconf2-2.1.11.ebuild | 48 ++++++++++++++++++++++++++ |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/net-libs/libnetconf2/Manifest b/net-libs/libnetconf2/Manifest |
17 |
index 5d83c2336001..9371a4c4c987 100644 |
18 |
--- a/net-libs/libnetconf2/Manifest |
19 |
+++ b/net-libs/libnetconf2/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST libnetconf2-2.1.11.tar.gz 302413 BLAKE2B c5a1316b61c1d36a57d65bb556f9f3c72dcc4e614f12ea8178cc84e28b1139173ecc951cbddf63d60c58cd4e7b6477ecd719bf9aa375ab73ad32f1c82dd3a59e SHA512 fad29d5f3c486bf4f56a9065ef447886b7ffef7c33cdc109e7702ed343ae9fe31b49d40fa3e85f07e92c4aa713d6b11b5afabfa4756cc487dd184f0653fc6d56 |
22 |
DIST libnetconf2-2.1.7.tar.gz 302011 BLAKE2B b83faebb8d04d9ecaa0bc3aa1fed1bc3b94388d1a6dbc8d3e8c2ff2bb73dc57a460eaf9cc7bf2d07a8e09ef612826417990d8c70bab9c58f9cb71b53766b035b SHA512 fd46a3c31a062324e6c9f2d66006ba8cd852ccb389bf8749d1d0d085b880409e1e373d1d1f2d79c1d88f5eaa72d56195889c07863d0eab1607da89484e21b86f |
23 |
|
24 |
diff --git a/net-libs/libnetconf2/libnetconf2-2.1.11.ebuild b/net-libs/libnetconf2/libnetconf2-2.1.11.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..3e777c22d94f |
27 |
--- /dev/null |
28 |
+++ b/net-libs/libnetconf2/libnetconf2-2.1.11.ebuild |
29 |
@@ -0,0 +1,48 @@ |
30 |
+# Copyright 2021-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+inherit cmake |
36 |
+ |
37 |
+DESCRIPTION="C library for building NETCONF servers and clients" |
38 |
+HOMEPAGE="https://github.com/CESNET/libnetconf2" |
39 |
+SRC_URI="https://github.com/CESNET/libnetconf2/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="BSD" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~x86" |
44 |
+IUSE="doc test" |
45 |
+RESTRICT="!test? ( test )" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ dev-libs/openssl:0= |
49 |
+ >=net-libs/libyang-2.0.194 |
50 |
+ net-libs/libssh:0=[server] |
51 |
+ virtual/libcrypt:=" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ test? ( dev-util/cmocka )" |
54 |
+BDEPEND=" |
55 |
+ virtual/pkgconfig |
56 |
+ doc? ( app-doc/doxygen[dot] )" |
57 |
+ |
58 |
+src_configure() { |
59 |
+ local mycmakeargs=( |
60 |
+ -DENABLE_TESTS=$(usex test) |
61 |
+ -DENABLE_VALGRIND_TESTS=OFF |
62 |
+ ) |
63 |
+ |
64 |
+ cmake_src_configure |
65 |
+} |
66 |
+ |
67 |
+src_compile() { |
68 |
+ cmake_src_compile |
69 |
+ |
70 |
+ use doc && cmake_src_compile doc |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ cmake_src_install |
75 |
+ |
76 |
+ use doc && dodoc -r doc/. |
77 |
+} |