summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2021-03-26 11:53:10 +0100
committerDavid Seifert <soap@gentoo.org>2021-03-26 11:53:10 +0100
commitcffa6b9dc57669cebcbacd9446b939470d8265cb (patch)
tree53a87c87fff8b0afedd5e097765327e6cd23df3b /net-misc/netopeer2
parentnet-misc/sysrepo: YANG-based configuration and operational state data store (diff)
downloadgentoo-cffa6b9dc57669cebcbacd9446b939470d8265cb.tar.gz
gentoo-cffa6b9dc57669cebcbacd9446b939470d8265cb.tar.bz2
gentoo-cffa6b9dc57669cebcbacd9446b939470d8265cb.zip
net-misc/netopeer2: Server for implementing NETCONF configuration management
Closes: https://github.com/gentoo/gentoo/pull/19352 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-misc/netopeer2')
-rw-r--r--net-misc/netopeer2/Manifest1
-rw-r--r--net-misc/netopeer2/metadata.xml15
-rw-r--r--net-misc/netopeer2/netopeer2-1.1.53.ebuild46
3 files changed, 62 insertions, 0 deletions
diff --git a/net-misc/netopeer2/Manifest b/net-misc/netopeer2/Manifest
new file mode 100644
index 000000000000..e5d7e662a3e4
--- /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 000000000000..976b10aaa62d
--- /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>jakov.smolic@sartura.hr</email>
+ <name>Jakov Smolic</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</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 000000000000..13d86c998387
--- /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"
+}