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 84560139368 for ; Tue, 10 Aug 2021 00:22:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 494A8E0826; Tue, 10 Aug 2021 00:22:39 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 CA467E0822 for ; Tue, 10 Aug 2021 00:22:38 +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 61AFE342D27 for ; Tue, 10 Aug 2021 00:22:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AABAA7BD for ; Tue, 10 Aug 2021 00:22:35 +0000 (UTC) From: "Göktürk Yüksek" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Göktürk Yüksek" Message-ID: <1628554862.42691aa3df83ac90411d106253a571b939279c38.gokturk@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/libu2f-server/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/libu2f-server/libu2f-server-1.1.0-r1.ebuild X-VCS-Directories: app-crypt/libu2f-server/ X-VCS-Committer: gokturk X-VCS-Committer-Name: Göktürk Yüksek X-VCS-Revision: 42691aa3df83ac90411d106253a571b939279c38 X-VCS-Branch: master Date: Tue, 10 Aug 2021 00:22:35 +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: 3957fd88-8f87-4f10-9c87-1952f91193ae X-Archives-Hash: 9d809f0a81c54795b4e54a997151c9ce commit: 42691aa3df83ac90411d106253a571b939279c38 Author: Göktürk Yüksek gentoo org> AuthorDate: Tue Aug 10 00:12:10 2021 +0000 Commit: Göktürk Yüksek gentoo org> CommitDate: Tue Aug 10 00:21:02 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42691aa3 app-crypt/libu2f-server: bump to EAPI 7 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Göktürk Yüksek gentoo.org> .../libu2f-server/libu2f-server-1.1.0-r1.ebuild | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/app-crypt/libu2f-server/libu2f-server-1.1.0-r1.ebuild b/app-crypt/libu2f-server/libu2f-server-1.1.0-r1.ebuild new file mode 100644 index 00000000000..c4164b37658 --- /dev/null +++ b/app-crypt/libu2f-server/libu2f-server-1.1.0-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools multilib-minimal + +DESCRIPTION="Yubico Universal 2nd Factor (U2F) server C Library" +HOMEPAGE="https://developers.yubico.com/libu2f-server/" +SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.xz" + +LICENSE="BSD-2" +SLOT="0/0.1" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/openssl:0=[${MULTILIB_USEDEP}] + dev-libs/hidapi[${MULTILIB_USEDEP}] + dev-libs/json-c:=[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND} + test? ( dev-libs/check[${MULTILIB_USEDEP}] ) +" +BDEPEND=" + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}/${PN}-1.1.0-disable-help2man-gengetopt-checks.patch" + "${FILESDIR}/${PN}-1.1.0-jsonc014.patch" +) + +src_prepare() { + default + eautoreconf + touch man/u2f-server.1 || die # do not rebuild the man page +} + +multilib_src_configure() { + myeconfargs=( + --disable-h2a # tarball already contains the manpage + $(use_enable static-libs static) + $(use_enable test tests) + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + default + find "${D}" -name '*.la' -delete || die +}