diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-24 23:59:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-24 23:59:54 +0000 |
commit | 401101f9c8077911929d3f2b60a37098460a5d89 (patch) | |
tree | c2bef4719f6787550f0916aeaa8f4f403a9296af /net-misc/netopeer2/netopeer2-2.1.16.ebuild | |
parent | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (diff) |
gentoo resync : 25.03.2022
Diffstat (limited to 'net-misc/netopeer2/netopeer2-2.1.16.ebuild')
-rw-r--r-- | net-misc/netopeer2/netopeer2-2.1.16.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/net-misc/netopeer2/netopeer2-2.1.16.ebuild b/net-misc/netopeer2/netopeer2-2.1.16.ebuild new file mode 100644 index 000000000000..be90dbbc4e6e --- /dev/null +++ b/net-misc/netopeer2/netopeer2-2.1.16.ebuild @@ -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.42 + >=net-libs/libnetconf2-2.1.7 + net-libs/libssh:= + >=net-libs/libyang-2.0.164" +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" +} |