summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2022-03-21 19:48:03 +0100
committerJakov Smolić <jsmolic@gentoo.org>2022-03-21 19:48:30 +0100
commit67577380905abed79a618d5c8d217946fe3bc362 (patch)
tree67b81075ba4041ec6ea798ac9d52f82d37df7b37 /net-misc/netopeer2
parentnet-misc/sysrepo: add 2.1.42 (diff)
downloadgentoo-67577380905abed79a618d5c8d217946fe3bc362.tar.gz
gentoo-67577380905abed79a618d5c8d217946fe3bc362.tar.bz2
gentoo-67577380905abed79a618d5c8d217946fe3bc362.zip
net-misc/netopeer2: add 2.1.16
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'net-misc/netopeer2')
-rw-r--r--net-misc/netopeer2/Manifest1
-rw-r--r--net-misc/netopeer2/netopeer2-2.1.16.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/net-misc/netopeer2/Manifest b/net-misc/netopeer2/Manifest
index bad26e33c8b8..8b91a5d2cf94 100644
--- a/net-misc/netopeer2/Manifest
+++ b/net-misc/netopeer2/Manifest
@@ -1 +1,2 @@
DIST netopeer2-2.0.35.tar.gz 381321 BLAKE2B c776561b59bf05d093496e242fdb37766bf6292175186f92b85b86162d5fd6bba7118c41cef0ccfc835b09f34da1978f4e3aefb9961893b3d15b57117c3dbdb6 SHA512 f6b956c4b9d0f799f622eba62c2b20beb5f7db4899c6284bbb53303ff15f8787644687eeb99f1c68b455784166f2e858959ee16a345c0aabc444952bde70427d
+DIST netopeer2-2.1.16.tar.gz 371327 BLAKE2B fb9022cdad297ce366c00efbb0394feaa4dcff766f35c614354ea83a31871f24e05893e418face4e14df4d677c84e254cd8058259cddbc86ab4c94903eabd0f5 SHA512 9d0f1ddd38db2e9ac9a15ca1d8929eb32f682dd47c491a475acc406849fac0bc5f61f15cfabdacdedafe572855cf31cff4294c34eda2cad61e7518b62f40f71d
diff --git a/net-misc/netopeer2/netopeer2-2.1.16.ebuild b/net-misc/netopeer2/netopeer2-2.1.16.ebuild
new file mode 100644
index 000000000000..be90dbbc4e6e
--- /dev/null
+++ b/net-misc/netopeer2/netopeer2-2.1.16.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Server for implementing NETCONF configuration management"
+HOMEPAGE="https://github.com/CESNET/netopeer2"
+SRC_URI="https://github.com/CESNET/netopeer2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-libs/openssl:=
+ net-misc/curl:=
+ >=net-misc/sysrepo-2.1.42
+ >=net-libs/libnetconf2-2.1.7
+ net-libs/libssh:=
+ >=net-libs/libyang-2.0.164"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+ local mycmakeargs=(
+ -DGENERATE_HOSTKEY=OFF
+ -DINSTALL_MODULES=OFF
+ -DMERGE_LISTEN_CONFIG=OFF
+ -DENABLE_TESTS=OFF
+ -DENABLE_VALGRIND_TESTS=OFF
+ )
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ insinto /etc/netopeer2
+ doins -r scripts/.
+}
+
+pkg_postinst() {
+ elog "In order to do initial server setup please"
+ elog "run setup scripts located in /etc/netopeer2"
+}