From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 593D11382C5 for ; Fri, 4 Dec 2020 09:31:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 609D7E0942; Fri, 4 Dec 2020 09:31:40 +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 486BEE0942 for ; Fri, 4 Dec 2020 09:31:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 46543340FBD for ; Fri, 4 Dec 2020 09:31:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AD23942F for ; Fri, 4 Dec 2020 09:31:37 +0000 (UTC) From: "Sergey Popov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergey Popov" Message-ID: <1607074294.53c35e44f800cddbb696ce93277025ae4fc50e78.pinkbyte@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/rtrlib/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/rtrlib/Manifest net-libs/rtrlib/metadata.xml net-libs/rtrlib/rtrlib-0.7.0.ebuild X-VCS-Directories: net-libs/rtrlib/ X-VCS-Committer: pinkbyte X-VCS-Committer-Name: Sergey Popov X-VCS-Revision: 53c35e44f800cddbb696ce93277025ae4fc50e78 X-VCS-Branch: master Date: Fri, 4 Dec 2020 09:31:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1af0ee75-4eaa-4d04-aa28-a86371eb168f X-Archives-Hash: 89511d73af5de2fadb904ed497a5b177 commit: 53c35e44f800cddbb696ce93277025ae4fc50e78 Author: Sergey Popov gentoo org> AuthorDate: Fri Dec 4 09:26:20 2020 +0000 Commit: Sergey Popov gentoo org> CommitDate: Fri Dec 4 09:31:34 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53c35e44 net-libs/rtrlib: new package An open-source C implementation of the RPKI/Router Protocol client Signed-off-by: Sergey Popov gentoo.org> net-libs/rtrlib/Manifest | 1 + net-libs/rtrlib/metadata.xml | 13 ++++++++++ net-libs/rtrlib/rtrlib-0.7.0.ebuild | 48 +++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+) diff --git a/net-libs/rtrlib/Manifest b/net-libs/rtrlib/Manifest new file mode 100644 index 00000000000..3aeaadc0752 --- /dev/null +++ b/net-libs/rtrlib/Manifest @@ -0,0 +1 @@ +DIST rtrlib-0.7.0.tar.gz 260699 BLAKE2B ea8b70b1ca1fb7cacc2943228e398e16f61de6264702f87e6bc5dc011dbb77e760a4e317f109e13b882efd9c080847e6e86c9c47afdc4518db5de210621181fc SHA512 e1c78ce92d066308c1c4fbb6575c2f0dc0f6840c16be90e27bd0da184cab7d0fa4dd1cff3677eda5f1720184756e02765e5abd267b0da0d183082721fee2ffd8 diff --git a/net-libs/rtrlib/metadata.xml b/net-libs/rtrlib/metadata.xml new file mode 100644 index 00000000000..e6560127312 --- /dev/null +++ b/net-libs/rtrlib/metadata.xml @@ -0,0 +1,13 @@ + + + + + pinkbyte@gentoo.org + Sergey Popov + + + + Enable SSH support + + + diff --git a/net-libs/rtrlib/rtrlib-0.7.0.ebuild b/net-libs/rtrlib/rtrlib-0.7.0.ebuild new file mode 100644 index 00000000000..58f1a21763e --- /dev/null +++ b/net-libs/rtrlib/rtrlib-0.7.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="An open-source C implementation of the RPKI/Router Protocol client" +HOMEPAGE="https://rtrlib.realmv6.org/" +SRC_URI="https://github.com/rtrlib/rtrlib/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="doc ssh" + +RDEPEND="ssh? ( net-libs/libssh:0= )" +DEPEND=" + ${RDEPEND} + doc? ( app-doc/doxygen[dot] ) +" + +src_prepare() { + # Fix checks for libssh version + sed -i \ + -e 's:/libssh/libssh.h:/libssh/libssh_version.h:g' \ + cmake/modules/FindLibSSH.cmake || die + # Fix automagic dependency on doxygen, fix path for installing docs + if use doc; then + sed -i -e "s:share/doc/rtrlib:share/doc/${PF}:" CMakeLists.txt || die + else + sed -i -e '/find_package(Doxygen)/d' CMakeLists.txt || die + fi + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DRTRLIB_TRANSPORT_SSH=$(usex ssh) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + find "${D}" -name '*.la' -delete || die +}