public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/gnupg-pkcs11-scd/
Date: Mon, 28 Oct 2024 18:52:12 +0000 (UTC)	[thread overview]
Message-ID: <1730141509.805019b3a48b906f010946bb760c1c6811b0a82a.sam@gentoo> (raw)

commit:     805019b3a48b906f010946bb760c1c6811b0a82a
Author:     Adrian Ratiu <adrian.ratiu <AT> collabora <DOT> com>
AuthorDate: Mon Oct 28 15:04:45 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 28 18:51:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=805019b3

app-crypt/gnupg-pkcs11-scd: bump 0.10 -> 0.11

Upstream released 0.11 recently which contains the config
fix for libassuan v3, so we can drop the hardcoded v2 depend.

Otherwise this ebuild is already in sync with the 9999 ebuild
(thanks thesamesam!).

Signed-off-by: Adrian Ratiu <adrian.ratiu <AT> collabora.com>
Closes: https://github.com/gentoo/gentoo/pull/39143
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/gnupg-pkcs11-scd/Manifest                |  1 +
 .../gnupg-pkcs11-scd-0.11.0.ebuild                 | 60 ++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/app-crypt/gnupg-pkcs11-scd/Manifest b/app-crypt/gnupg-pkcs11-scd/Manifest
index 3b993f14bc5e..f27861b6e1db 100644
--- a/app-crypt/gnupg-pkcs11-scd/Manifest
+++ b/app-crypt/gnupg-pkcs11-scd/Manifest
@@ -1 +1,2 @@
 DIST gnupg-pkcs11-scd-0.10.0.tar.bz2 149036 BLAKE2B 7282850ddb953a32114a3b28e9f1992dd73cc64d065c00308479276750bdfd52533c3347361d86fb6ddc8ae01fcfabe5b375501280c9bd93e6a6d4e209c63e98 SHA512 47b9afdc3552fc9a741a725c6732cd31cd2643d7483a50d26222d68d0557b700addff37d8598ee1076575b8bc1e1134a52e06b67d4f94dda7c90141a57ca4182
+DIST gnupg-pkcs11-scd-0.11.0.tar.bz2 154497 BLAKE2B d5a0c84c6a31a3b8396b11cc2935995a2ed754e163f60bc81b142c59d37fe6f282c5d33222b85d50f95590e07da1187ba319e0dea23490e35ccc8c04346e93b5 SHA512 6f8da7e4166dc37aa98f424a470ea6f0678cfd5b02ac7b8e11516ea0a4bda0d84855b20fde166a5406047e8251b77f1544d7b362f72016bb5ee0a13ba040a40c

diff --git a/app-crypt/gnupg-pkcs11-scd/gnupg-pkcs11-scd-0.11.0.ebuild b/app-crypt/gnupg-pkcs11-scd/gnupg-pkcs11-scd-0.11.0.ebuild
new file mode 100644
index 000000000000..57940c3a99e9
--- /dev/null
+++ b/app-crypt/gnupg-pkcs11-scd/gnupg-pkcs11-scd-0.11.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="PKCS#11 support for GnuPG"
+HOMEPAGE="https://sourceforge.net/projects/gnupg-pkcs11/"
+
+if [[ ${PV} == "9999" ]] ; then
+	EGIT_REPO_URI="https://github.com/alonbl/gnupg-pkcs11-scd.git"
+	inherit autotools git-r3
+else
+	SRC_URI="https://github.com/alonbl/${PN}/releases/download/${P}/${P}.tar.bz2"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="proxy"
+
+DEPEND="
+	dev-libs/openssl:=
+	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_prepare() {
+	default
+
+	[[ ${PV} == 9999 ]] && eautoreconf
+}
+
+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
+}


             reply	other threads:[~2024-10-28 18:52 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-28 18:52 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-23 12:15 [gentoo-commits] repo/gentoo:master commit in: app-crypt/gnupg-pkcs11-scd/ Petr Vaněk
2024-10-28 13:36 Sam James
2024-10-28 13:36 Sam James
2024-08-31 15:44 Petr Vaněk
2024-07-04  9:57 David Seifert
2023-11-19 11:21 Ulrich Müller
2021-07-15 19:02 Conrad Kostecki
2021-05-02 17:22 Mikle Kolyada
2021-04-11 19:24 Conrad Kostecki
2019-04-29  5:31 Alon Bar-Lev
2019-01-05 20:19 Alon Bar-Lev
2019-01-05 19:13 Alon Bar-Lev
2017-10-04  6:21 Alon Bar-Lev
2017-10-04  6:21 Alon Bar-Lev
2017-07-15  7:51 Alon Bar-Lev
2017-04-18 19:31 Alon Bar-Lev
2017-03-01 21:14 Alon Bar-Lev
2017-01-18 20:27 Alon Bar-Lev
2016-06-03  9:05 Anthony G. Basile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1730141509.805019b3a48b906f010946bb760c1c6811b0a82a.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox