Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/netopeer2/
Date: Fri, 20 May 2022 18:41:19
Message-Id: 1653072052.a293c35b9f0c3bcdb8dd3b9dfea7955d20293da2.jsmolic@gentoo
1 commit: a293c35b9f0c3bcdb8dd3b9dfea7955d20293da2
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 19 17:08:55 2022 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Fri May 20 18:40:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a293c35b
7
8 net-misc/netopeer2: add 2.1.23
9
10 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
11
12 net-misc/netopeer2/Manifest | 1 +
13 net-misc/netopeer2/netopeer2-2.1.23.ebuild | 48 ++++++++++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/net-misc/netopeer2/Manifest b/net-misc/netopeer2/Manifest
17 index 11b445c4460a..5f8928e6ca09 100644
18 --- a/net-misc/netopeer2/Manifest
19 +++ b/net-misc/netopeer2/Manifest
20 @@ -1 +1,2 @@
21 DIST netopeer2-2.1.16.tar.gz 371327 BLAKE2B fb9022cdad297ce366c00efbb0394feaa4dcff766f35c614354ea83a31871f24e05893e418face4e14df4d677c84e254cd8058259cddbc86ab4c94903eabd0f5 SHA512 9d0f1ddd38db2e9ac9a15ca1d8929eb32f682dd47c491a475acc406849fac0bc5f61f15cfabdacdedafe572855cf31cff4294c34eda2cad61e7518b62f40f71d
22 +DIST netopeer2-2.1.23.tar.gz 375193 BLAKE2B 14407c1d4b6a382fd0f9cf1c5d2d5f5d0aea27bac7f9b5597fe500a227b9e990e82a87da0216b310abe66f88ab5116d2f4cf101f186b9264e77a67af656a1d64 SHA512 5dcd9850151b71fe25a286bd37b672191125abe6a9e52a815f9ee88fa8200da17016f5aacbe5bcd33767cddbd18833df71d4b06b1fed1b97536e494fa70ca22f
23
24 diff --git a/net-misc/netopeer2/netopeer2-2.1.23.ebuild b/net-misc/netopeer2/netopeer2-2.1.23.ebuild
25 new file mode 100644
26 index 000000000000..f2d625e240a2
27 --- /dev/null
28 +++ b/net-misc/netopeer2/netopeer2-2.1.23.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="Server for implementing NETCONF configuration management"
38 +HOMEPAGE="https://github.com/CESNET/netopeer2"
39 +SRC_URI="https://github.com/CESNET/netopeer2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="BSD"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~x86"
44 +
45 +RDEPEND="
46 + dev-libs/openssl:=
47 + net-misc/curl:=
48 + >=net-misc/sysrepo-2.1.64
49 + >=net-libs/libnetconf2-2.1.11
50 + net-libs/libssh:=
51 + >=net-libs/libyang-2.0.194"
52 +DEPEND="${RDEPEND}"
53 +BDEPEND="virtual/pkgconfig"
54 +
55 +src_configure() {
56 + local mycmakeargs=(
57 + -DGENERATE_HOSTKEY=OFF
58 + -DINSTALL_MODULES=OFF
59 + -DMERGE_LISTEN_CONFIG=OFF
60 + -DENABLE_TESTS=OFF
61 + -DENABLE_VALGRIND_TESTS=OFF
62 + )
63 +
64 + cmake_src_configure
65 +}
66 +
67 +src_install() {
68 + cmake_src_install
69 +
70 + insinto /etc/netopeer2
71 + doins -r scripts/.
72 +}
73 +
74 +pkg_postinst() {
75 + elog "In order to do initial server setup please"
76 + elog "run setup scripts located in /etc/netopeer2"
77 +}