commit:     887e57314c488ab2103d267b1771bb06af6cdf93
Author:     NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com>
AuthorDate: Sun Mar 23 11:30:33 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 12 20:57:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=887e5731

net-misc/netopeer2: add 2.2.35

Preemptive fix for CMake4, no tinderbox-reported build failure yet

Bug: https://bugs.gentoo.org/951902
Signed-off-by: NHOrus <jy6x2b32pie9 <AT> yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/41235
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/netopeer2/Manifest                |  1 +
 net-misc/netopeer2/netopeer2-2.2.35.ebuild | 48 ++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/net-misc/netopeer2/Manifest b/net-misc/netopeer2/Manifest
index 1fd47dc6c824..a3d27985ea11 100644
--- a/net-misc/netopeer2/Manifest
+++ b/net-misc/netopeer2/Manifest
@@ -1 +1,2 @@
 DIST netopeer2-2.1.59.tar.gz 390371 BLAKE2B 
777ff3a5db93bbeabb0f19dfb9a23b67f1945a834cfff716b3144fe24c62f848f048e35fac8ae6d10a7040bdbb29e1ff8ff3559f68a46ccf23fe958152adc3da
 SHA512 
4eb889cb018f22308578712edcaf2f2e20dc4fddf45dded66f644c5288e3ef16cdcf00e61f3d03a2b8e97c4f31441d46651fea12bc3af229aae9b720de59789f
+DIST netopeer2-2.2.35.tar.gz 380805 BLAKE2B 
4aaf8f5aa41646b97b3fc2f1b62bdb584ad2547f0dbad37843048782b7f0800b43ce910915605bff1f5b12fdb90f05ed118f2fc62a6df4dc363c98d12c9a62e8
 SHA512 
69053e5653a275fbc90ed4ace4a6370965f94692573e8a6371167afe0afc22680ec15fc82803ea6b1d1495e52dd5cd4e4f93724f16c4a0a9aaf3985e3dea02b9

diff --git a/net-misc/netopeer2/netopeer2-2.2.35.ebuild 
b/net-misc/netopeer2/netopeer2-2.2.35.ebuild
new file mode 100644
index 000000000000..c0034365b63f
--- /dev/null
+++ b/net-misc/netopeer2/netopeer2-2.2.35.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2021-2025 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="
+       app-misc/c_rehash
+       dev-libs/openssl:=
+       net-misc/curl:=
+       >=net-misc/sysrepo-3.3.10
+       >=net-libs/libnetconf2-3.5.4
+       net-libs/libssh:=
+       >=net-libs/libyang-3.7.8"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+       local mycmakeargs=(
+               -DSYSREPO_SETUP=OFF
+               -DENABLE_TESTS=OFF
+               -DENABLE_VALGRIND_TESTS=OFF
+               -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
+       )
+
+       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"
+}

Reply via email to