net-misc/netopeer2: add 2.1.23

Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
Jakov Smolić
2022-05-20 20:40:52 +02:00
parent 067a05d06d
commit a293c35b9f
2 changed files with 49 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST netopeer2-2.1.16.tar.gz 371327 BLAKE2B fb9022cdad297ce366c00efbb0394feaa4dcff766f35c614354ea83a31871f24e05893e418face4e14df4d677c84e254cd8058259cddbc86ab4c94903eabd0f5 SHA512 9d0f1ddd38db2e9ac9a15ca1d8929eb32f682dd47c491a475acc406849fac0bc5f61f15cfabdacdedafe572855cf31cff4294c34eda2cad61e7518b62f40f71d
DIST netopeer2-2.1.23.tar.gz 375193 BLAKE2B 14407c1d4b6a382fd0f9cf1c5d2d5f5d0aea27bac7f9b5597fe500a227b9e990e82a87da0216b310abe66f88ab5116d2f4cf101f186b9264e77a67af656a1d64 SHA512 5dcd9850151b71fe25a286bd37b672191125abe6a9e52a815f9ee88fa8200da17016f5aacbe5bcd33767cddbd18833df71d4b06b1fed1b97536e494fa70ca22f
@@ -0,0 +1,48 @@
# Copyright 2021-2022 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.1.64
>=net-libs/libnetconf2-2.1.11
net-libs/libssh:=
>=net-libs/libyang-2.0.194"
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"
}