summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-09-24 10:07:58 +0200
committerJakov Smolić <jsmolic@gentoo.org>2021-09-24 10:40:28 +0200
commit380d8ee0f26b30bd078af0a31eabc73947c0f50b (patch)
tree5715e38c959fc42b17f849c659d51dc5d67d0283 /net-misc/netopeer2
parentnet-libs/libnetconf2: Version bump to 2.0.17 (diff)
downloadgentoo-380d8ee0f26b30bd078af0a31eabc73947c0f50b.tar.gz
gentoo-380d8ee0f26b30bd078af0a31eabc73947c0f50b.tar.bz2
gentoo-380d8ee0f26b30bd078af0a31eabc73947c0f50b.zip
net-misc/netopeer2: Version bump to 2.0.28
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.0.28.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/net-misc/netopeer2/Manifest b/net-misc/netopeer2/Manifest
index e8971e5e87cf..cde08c727c85 100644
--- a/net-misc/netopeer2/Manifest
+++ b/net-misc/netopeer2/Manifest
@@ -1 +1,2 @@
DIST netopeer2-2.0.0.tar.gz 255138 BLAKE2B a33fa6a952a060a8fb4bd4ad2f2f4e0ab163faef44cd999eb5d3a28706110908bf6350859da1032e873cf24ff8bd9327d0d694edeb35ecb8e0650634dc5d8966 SHA512 789a6fb36f9a3cf9df4ff996b90a5e8f07a24b14027ec455133e184ae96c72a1e8f9adef6d36800139d47d667c54189a2c14616f4947ce0fe72467cb178dbec5
+DIST netopeer2-2.0.28.tar.gz 293502 BLAKE2B 0ddcede996167c4479b8172e39f80d92937858f1accce1aa62afff970fd81b4be2fc46475be4d04ebecbfc3124b692552b0ff653310e6f41942bdb7ffea234d4 SHA512 dc594b73d98d611f77cf6451ae23c35a6f4ecfb400e2ae34d321fc81956013fffc9f8267e567529cd3d92966a0930935e03e7d58d4e97187558b75cdf2e2c1a0
diff --git a/net-misc/netopeer2/netopeer2-2.0.28.ebuild b/net-misc/netopeer2/netopeer2-2.0.28.ebuild
new file mode 100644
index 000000000000..35ce893a9f95
--- /dev/null
+++ b/net-misc/netopeer2/netopeer2-2.0.28.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="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.0.41:=
+ >=net-libs/libnetconf2-2.0.17:=
+ net-libs/libssh:=
+ >=net-libs/libyang-2.0.88:="
+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"
+}