commit:     cffa6b9dc57669cebcbacd9446b939470d8265cb
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Fri Mar 26 10:53:10 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Mar 26 10:53:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cffa6b9d

net-misc/netopeer2: Server for implementing NETCONF configuration management

Closes: https://github.com/gentoo/gentoo/pull/19352
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 net-misc/netopeer2/Manifest                |  1 +
 net-misc/netopeer2/metadata.xml            | 15 ++++++++++
 net-misc/netopeer2/netopeer2-1.1.53.ebuild | 46 ++++++++++++++++++++++++++++++
 3 files changed, 62 insertions(+)

diff --git a/net-misc/netopeer2/Manifest b/net-misc/netopeer2/Manifest
new file mode 100644
index 00000000000..e5d7e662a3e
--- /dev/null
+++ b/net-misc/netopeer2/Manifest
@@ -0,0 +1 @@
+DIST netopeer2-1.1.53.tar.gz 169329 BLAKE2B 
d65b579ca47d59963a181d78ec060c8a239639e7311f9e48ab88412cfa7f30e17dabde4ad086109193fec4129f836c46fb04acb0881248fc27e6f4e6877a70af
 SHA512 
30da532a370c44d598b37199550ae1adb65486d5bc9205e9a0213beafe16174c87628395d564c48d095503b597b0008457e0b951451472f1c414fcc705897d21

diff --git a/net-misc/netopeer2/metadata.xml b/net-misc/netopeer2/metadata.xml
new file mode 100644
index 00000000000..976b10aaa62
--- /dev/null
+++ b/net-misc/netopeer2/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Jakov Smolic</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">CESNET/netopeer2</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/net-misc/netopeer2/netopeer2-1.1.53.ebuild 
b/net-misc/netopeer2/netopeer2-1.1.53.ebuild
new file mode 100644
index 00000000000..13d86c99838
--- /dev/null
+++ b/net-misc/netopeer2/netopeer2-1.1.53.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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:=
+       net-libs/libnetconf2:=
+       net-libs/libssh:=
+       net-libs/libyang:="
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+       local mycmakeargs=(
+               -DGENERATE_HOSTKEY=OFF
+               -DINSTALL_MODULES=OFF
+               -DMERGE_LISTEN_CONFIG=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"
+}

Reply via email to