diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2017-10-04 02:11:45 +0300 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2017-10-04 02:11:45 +0300 |
commit | 5c0c565bd02c3d412f55ace0f89b00bca47caa25 (patch) | |
tree | 6d948cb03f33aab1f0c41b80ed98d13edb4266d1 | |
parent | dev-libs/botan: version bump (diff) | |
download | gentoo-5c0c565bd02c3d412f55ace0f89b00bca47caa25.tar.gz gentoo-5c0c565bd02c3d412f55ace0f89b00bca47caa25.tar.bz2 gentoo-5c0c565bd02c3d412f55ace0f89b00bca47caa25.zip |
app-crypt/gnupg-pkcs11-scd: version bump
Package-Manager: Portage-2.3.8, Repoman-2.3.1
-rw-r--r-- | app-crypt/gnupg-pkcs11-scd/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/gnupg-pkcs11-scd/gnupg-pkcs11-scd-0.9.1.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/app-crypt/gnupg-pkcs11-scd/Manifest b/app-crypt/gnupg-pkcs11-scd/Manifest index 4d5894b2e0b6..9c6d44f90093 100644 --- a/app-crypt/gnupg-pkcs11-scd/Manifest +++ b/app-crypt/gnupg-pkcs11-scd/Manifest @@ -1,3 +1,4 @@ DIST gnupg-pkcs11-scd-0.7.6.tar.bz2 130210 SHA256 2962dc39a80c5aa9e71f0b847de8f66a9f02b620696d213bb138c17ffec9f7af SHA512 593fdd1320f12173afdec48debea7231006ffd7416e7343f0ff9f92b460245e30d69717784820628473ec782dc47a83d13dc6aa67db94693c462b60a400641e5 WHIRLPOOL ef3b9bc57832452dd9318731fa2ee8f1b24e423c58eb58a403891232a1c296be3f15010dcbbcc1e58803b09add32c346981fee8902e2ff7d563443ab43b2fdb2 DIST gnupg-pkcs11-scd-0.8.0.tar.bz2 130726 SHA256 391d16c1a8c9a4771963b72fca04becdf8953a3223e23db738a4c94c62beb834 SHA512 efd19a5c353a3285a5d9fd86241295a4c964b8a26cc1d3d43a579ad526ca23dcb79db028c6cdd40a3dc869e751e7d8580979c5e477217b61fdcc477e5bd00f19 WHIRLPOOL c31b3d3a32617370b943b3b94fdc24e19df38db0cfc9b412cab1bd36f4484b60c4f497089abb573bb7559a34c8274d5674b9f860267d759c61c3ba1ef1538377 DIST gnupg-pkcs11-scd-0.9.0.tar.bz2 145094 SHA256 8f9a2b56ef9c1ae0f6c9146cc842c05a8b77da5be2548b1c92bd555c5e868814 SHA512 0b4ce23dfa49fc0d8caaca2f8b00f0b9ef802f11635dda9ea310b9c10e7463d7e364b15b6ec6c9e08b03f3f0b4b331074f5028e9ccef11649c6662bb420ae189 WHIRLPOOL bffa80873ffb5f702e2b9f3d649d6b0278f54360aa4a30e85340dde186ca0109aede064e894d3cdb13cb11eb61dca398e82a5daaf397e7410aea426a0d383414 +DIST gnupg-pkcs11-scd-0.9.1.tar.bz2 145814 SHA256 abd3d13eb889c3793da319ddedd0f9b688572abb51b050d8284d1b44dfca94a9 SHA512 66ac4b2d4ed2106bb0bfe40bac00cdffc36f7f10ace15a232ba475d1a152439fca2bde3f7a6eaaae8b9f17fb3e6371207f2e689d3d9557817ef54984858a3489 WHIRLPOOL e38715ae2db915e833d5c7c9aba4dad8d62474d9aa6ced6e4e21a386398da16be91fdc4adaae5c0f9feb50952ede1ec4be922d56e68e3ef3c8452ac3c176042b diff --git a/app-crypt/gnupg-pkcs11-scd/gnupg-pkcs11-scd-0.9.1.ebuild b/app-crypt/gnupg-pkcs11-scd/gnupg-pkcs11-scd-0.9.1.ebuild new file mode 100644 index 000000000000..2a66c188bd0c --- /dev/null +++ b/app-crypt/gnupg-pkcs11-scd/gnupg-pkcs11-scd-0.9.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit user + +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" + +RDEPEND=" + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + dev-libs/libassuan:= + >=dev-libs/libgcrypt-1.2.2:= + >=dev-libs/libgpg-error-1.3:= + >=dev-libs/pkcs11-helper-1.02:=" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +pkg_setup() { + if use proxy; then + enewgroup gnupg-pkcs11 + enewgroup gnupg-pkcs11-scd-proxy + enewuser gnupg-pkcs11-scd-proxy -1 -1 / gnupg-pkcs11-scd-proxy,gnupg-pkcs11 + fi +} + +src_configure() { + econf \ + $(use_enable proxy) \ + --with-proxy-socket=/run/gnupg-pkcs11-scd-proxy/cmd +} + +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 +} |