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 81CD61382C5 for ; Sun, 11 Apr 2021 19:24:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 701B4E0866; Sun, 11 Apr 2021 19:24:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 E212EE0866 for ; Sun, 11 Apr 2021 19:24:12 +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 0C9DF340CD2 for ; Sun, 11 Apr 2021 19:24:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6682B649 for ; Sun, 11 Apr 2021 19:24:09 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1618169027.c239243b9f453056f4186c44aa67e54c6ba02109.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/gnupg-pkcs11-scd/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/gnupg-pkcs11-scd/gnupg-pkcs11-scd-0.9.2-r1.ebuild X-VCS-Directories: app-crypt/gnupg-pkcs11-scd/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: c239243b9f453056f4186c44aa67e54c6ba02109 X-VCS-Branch: master Date: Sun, 11 Apr 2021 19:24:09 +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: 8077eb53-76e3-47f2-81fe-86928687250e X-Archives-Hash: 330c14c09b33444821c3035d717cc47b commit: c239243b9f453056f4186c44aa67e54c6ba02109 Author: Conrad Kostecki gentoo org> AuthorDate: Sun Apr 11 18:41:37 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sun Apr 11 19:23:47 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c239243b app-crypt/gnupg-pkcs11-scd: migrate to GLEP 81 Closes: https://bugs.gentoo.org/781212 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Conrad Kostecki gentoo.org> .../gnupg-pkcs11-scd-0.9.2-r1.ebuild | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/app-crypt/gnupg-pkcs11-scd/gnupg-pkcs11-scd-0.9.2-r1.ebuild b/app-crypt/gnupg-pkcs11-scd/gnupg-pkcs11-scd-0.9.2-r1.ebuild new file mode 100644 index 00000000000..29e037a3b44 --- /dev/null +++ b/app-crypt/gnupg-pkcs11-scd/gnupg-pkcs11-scd-0.9.2-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="PKCS#11 support for GnuPG" +HOMEPAGE="http://gnupg-pkcs11.sourceforge.net" +SRC_URI="https://github.com/alonbl/${PN}/releases/download/${P}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libressl proxy" + +DEPEND=" + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + dev-libs/libassuan:= + dev-libs/libgcrypt:= + dev-libs/libgpg-error:= + dev-libs/pkcs11-helper:= +" +RDEPEND=" + ${DEPEND} + proxy? ( + acct-group/gnupg-pkcs11 + acct-group/gnupg-pkcs11-scd-proxy + acct-user/gnupg-pkcs11-scd-proxy + ) +" +BDEPEND="virtual/pkgconfig" + +src_configure() { + local myeconfargs=( + $(use_enable proxy) + --with-proxy-socket=/run/gnupg-pkcs11-scd-proxy/cmd + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + if use proxy; then + newinitd "${FILESDIR}/gnupg-pkcs11-scd-proxy.initd" gnupg-pkcs11-scd-proxy + newconfd "${FILESDIR}/gnupg-pkcs11-scd-proxy.confd" gnupg-pkcs11-scd-proxy + fi +}