diff options
author | Adrian Ratiu <adrian.ratiu@collabora.com> | 2024-10-28 17:04:45 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-10-28 18:51:49 +0000 |
commit | 805019b3a48b906f010946bb760c1c6811b0a82a (patch) | |
tree | bc5126701d5088564629fa8633e714d352918082 /app-crypt | |
parent | dev-python/pygccxml: Fix test errors with >=sys-devel/clang-19.1.2 (diff) | |
download | gentoo-805019b3a48b906f010946bb760c1c6811b0a82a.tar.gz gentoo-805019b3a48b906f010946bb760c1c6811b0a82a.tar.bz2 gentoo-805019b3a48b906f010946bb760c1c6811b0a82a.zip |
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@collabora.com>
Closes: https://github.com/gentoo/gentoo/pull/39143
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/gnupg-pkcs11-scd/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/gnupg-pkcs11-scd/gnupg-pkcs11-scd-0.11.0.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
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 +} |