1 |
commit: 575f42bb5e03463fedbe4312ebb55dc89ae80b0e |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 8 18:25:16 2021 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 8 18:25:56 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=575f42bb |
7 |
|
8 |
net-misc/netopeer2: add 2.0.30 |
9 |
|
10 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
11 |
|
12 |
net-misc/netopeer2/Manifest | 1 + |
13 |
net-misc/netopeer2/netopeer2-2.0.30.ebuild | 48 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/net-misc/netopeer2/Manifest b/net-misc/netopeer2/Manifest |
17 |
index cde08c727c8..51a4c6027f8 100644 |
18 |
--- a/net-misc/netopeer2/Manifest |
19 |
+++ b/net-misc/netopeer2/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST netopeer2-2.0.0.tar.gz 255138 BLAKE2B a33fa6a952a060a8fb4bd4ad2f2f4e0ab163faef44cd999eb5d3a28706110908bf6350859da1032e873cf24ff8bd9327d0d694edeb35ecb8e0650634dc5d8966 SHA512 789a6fb36f9a3cf9df4ff996b90a5e8f07a24b14027ec455133e184ae96c72a1e8f9adef6d36800139d47d667c54189a2c14616f4947ce0fe72467cb178dbec5 |
22 |
DIST netopeer2-2.0.28.tar.gz 293502 BLAKE2B 0ddcede996167c4479b8172e39f80d92937858f1accce1aa62afff970fd81b4be2fc46475be4d04ebecbfc3124b692552b0ff653310e6f41942bdb7ffea234d4 SHA512 dc594b73d98d611f77cf6451ae23c35a6f4ecfb400e2ae34d321fc81956013fffc9f8267e567529cd3d92966a0930935e03e7d58d4e97187558b75cdf2e2c1a0 |
23 |
+DIST netopeer2-2.0.30.tar.gz 382529 BLAKE2B e17bc4eceb07b91347aac4e5167d7a92bfd7bfde77a79f27b6531f4ad0c77fc42e9281ed156b017969171dbb9f25e2570e9b2db1a85af9da896d5f39bd902555 SHA512 f0ec1b1e469b5a39ec4ae9533bc0cea6391068502defba3e3f25b154a573d37c030283b4483e27a11e8e372f580110af7df7279c6e1be3a2fec249a6b79c3d95 |
24 |
|
25 |
diff --git a/net-misc/netopeer2/netopeer2-2.0.30.ebuild b/net-misc/netopeer2/netopeer2-2.0.30.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..07d22987d05 |
28 |
--- /dev/null |
29 |
+++ b/net-misc/netopeer2/netopeer2-2.0.30.ebuild |
30 |
@@ -0,0 +1,48 @@ |
31 |
+# Copyright 2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit cmake |
37 |
+ |
38 |
+DESCRIPTION="Server for implementing NETCONF configuration management" |
39 |
+HOMEPAGE="https://github.com/CESNET/netopeer2" |
40 |
+SRC_URI="https://github.com/CESNET/netopeer2/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="BSD" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ dev-libs/openssl:= |
48 |
+ net-misc/curl:= |
49 |
+ >=net-misc/sysrepo-2.0.47:= |
50 |
+ >=net-libs/libnetconf2-2.0.19:= |
51 |
+ net-libs/libssh:= |
52 |
+ >=net-libs/libyang-2.0.97:=" |
53 |
+DEPEND="${RDEPEND}" |
54 |
+BDEPEND="virtual/pkgconfig" |
55 |
+ |
56 |
+src_configure() { |
57 |
+ local mycmakeargs=( |
58 |
+ -DGENERATE_HOSTKEY=OFF |
59 |
+ -DINSTALL_MODULES=OFF |
60 |
+ -DMERGE_LISTEN_CONFIG=OFF |
61 |
+ -DENABLE_TESTS=OFF |
62 |
+ -DENABLE_VALGRIND_TESTS=OFF |
63 |
+ ) |
64 |
+ |
65 |
+ cmake_src_configure |
66 |
+} |
67 |
+ |
68 |
+src_install() { |
69 |
+ cmake_src_install |
70 |
+ |
71 |
+ insinto /etc/netopeer2 |
72 |
+ doins -r scripts/. |
73 |
+} |
74 |
+ |
75 |
+pkg_postinst() { |
76 |
+ elog "In order to do initial server setup please" |
77 |
+ elog "run setup scripts located in /etc/netopeer2" |
78 |
+} |