From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1264210-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id AC26313835A
	for <garchives@archives.gentoo.org>; Fri, 26 Mar 2021 10:53:33 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E99F8E082B;
	Fri, 26 Mar 2021 10:53:32 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id D1495E082B
	for <gentoo-commits@lists.gentoo.org>; Fri, 26 Mar 2021 10:53:32 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id A203B340E07
	for <gentoo-commits@lists.gentoo.org>; Fri, 26 Mar 2021 10:53:31 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id C6C01633
	for <gentoo-commits@lists.gentoo.org>; Fri, 26 Mar 2021 10:53:29 +0000 (UTC)
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" <soap@gentoo.org>
Message-ID: <1616755990.cffa6b9dc57669cebcbacd9446b939470d8265cb.soap@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/netopeer2/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-misc/netopeer2/Manifest net-misc/netopeer2/metadata.xml net-misc/netopeer2/netopeer2-1.1.53.ebuild
X-VCS-Directories: net-misc/netopeer2/
X-VCS-Committer: soap
X-VCS-Committer-Name: David Seifert
X-VCS-Revision: cffa6b9dc57669cebcbacd9446b939470d8265cb
X-VCS-Branch: master
Date: Fri, 26 Mar 2021 10:53:29 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: a26d9203-707d-4821-9236-1889fb07cd01
X-Archives-Hash: f04f04d38c51b0c900c0b61d571301d9

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>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 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"
+}