[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2024-08-27 Thread Joonas Niilola
commit: 47cb087164c1b921c241ced36a5c87fe0ba11ed0
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Aug 28 06:58:15 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Aug 28 06:58:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47cb0871

sys-auth/yubico-piv-tool: add missing zlib dep to 2.6.0

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-auth/yubico-piv-tool/yubico-piv-tool-2.6.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.6.0.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.6.0.ebuild
index 431639fedfe6..bdbd4e029157 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.6.0.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.6.0.ebuild
@@ -19,7 +19,8 @@ 
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/yubico.com.asc"
 RESTRICT="!test? ( test )"
 
 RDEPEND="sys-apps/pcsc-lite
-   dev-libs/openssl:=[-bindist(-)]"
+   dev-libs/openssl:=[-bindist(-)]
+   sys-libs/zlib"
 DEPEND="${RDEPEND}
test? ( dev-libs/check )"
 BDEPEND="dev-util/gengetopt



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2024-08-27 Thread Joonas Niilola
commit: a084bd5f88be2206ec380845753348a410f0631a
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Thu Aug 22 05:42:49 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Aug 28 06:31:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a084bd5f

sys-auth/yubico-piv-tool: drop 2.3.1, 2.4.2, 2.5.1

Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/38242
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-auth/yubico-piv-tool/Manifest  |  3 --
 .../yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild   | 48 --
 .../yubico-piv-tool/yubico-piv-tool-2.4.2.ebuild   | 48 --
 .../yubico-piv-tool/yubico-piv-tool-2.5.1.ebuild   | 48 --
 4 files changed, 147 deletions(-)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
index 4810948a2f6b..3432e0d31fc9 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1,6 +1,3 @@
-DIST yubico-piv-tool-2.3.1.tar.gz 1315267 BLAKE2B 
9b7d96129f3cab4fd68d18d0bbbf8dfa5fdda383ffb8099f898e23c99d0f1caf387a26cb9d01582521a070b93bac941b8a10faac736137cb72c86fbf5c95d2f8
 SHA512 
44cd9c482f2a2942d10a238ac2cb2d40df7cd11ddc27d6df88912512e956746b5634018b421d5cc4b947e4c36f9841898d5a08eb613bf22558089103dab95988
-DIST yubico-piv-tool-2.4.2.tar.gz 1332497 BLAKE2B 
ba08b19fe4659842fdfad06d662120a9d2858e25a56d56f63edc88e607c5b56a79f5ca90826fb8b78295e218ff1a728a168d04f330b7f640a9f3e804528320ed
 SHA512 
032a91c9ac50cb5604a56ec0d0a84cf64bfff5440930a1643bddcd15cf02fc44d33d949286b2595eb4c196cb31050c13f507b32f3156d4600fdad46057b65b56
-DIST yubico-piv-tool-2.5.1.tar.gz 1340147 BLAKE2B 
96638e22bf03046daae5ba4b4d689cfe6d7e1f8ebbf64695bd3e259ca7e53513ff92933c935294536c504fc96b2ed1c7df4b9962b1789803eb9576b51715f00e
 SHA512 
736aeeac3d9368699b33e928cfb5b54ad6aa1450acf734397bc689ba9ccc82077f46f7ea2bd06dd1457b91eb50f7a0231a57914b3ea2ff0f07d425b4d27b96e4
 DIST yubico-piv-tool-2.5.2.tar.gz 1324642 BLAKE2B 
23b175d37f0f510e1360f8c793e95ee654e7d0218ca6fb29a884e4aaf143704555bc04c489fa944e2731208cb713d2d763d84dd8b6ef36aa4dafe22c55d81edc
 SHA512 
522a163be55dd92c2f18a779b64b1a163a6f81390757db34b58e909d896d78bcff30907eb8a2dc703d70133cdd71e2d3841d36d77cf7211351b5c825965dffd0
 DIST yubico-piv-tool-2.5.2.tar.gz.sig 566 BLAKE2B 
f7cdcbd7f47dd07b57c2cfe146c8801edce254b00cf4abf65783da687787ce91f2bee1419050a2977c66c074cfaf6c8e2f566d5b83ed3b61d56b6f9ba3e41a65
 SHA512 
c251cc7c7019923c60380302889cc3654ef913c1d5498d328528586d70b951aecff474a4da3a2b9ddb21c1b860335205a16ffed1d397e16e226e7f4725c2bf90
 DIST yubico-piv-tool-2.6.0.tar.gz 1359764 BLAKE2B 
c9513401bdf9175b929a7c7ecf09ef07a76cc0d7fc37fd43f0b1fb882c878417d5a804e27f66ec7d34e6faf40e1c1508efe6fd968f43b5f382d0071d5f74cc20
 SHA512 
11efcc12cdcdddc8f6a946460ee8be40d0652478f9884b01945ec048f95e03e706f00737607a20e75135667ece0de06627cd0a4f441d9048ad9e19f3f67fee00

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild
deleted file mode 100644
index 1145a5ac9a67..
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV 
application"
-HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
-SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz";
-
-LICENSE="BSD-2"
-SLOT="0/2"
-KEYWORDS="amd64 ~arm64 ~riscv"
-IUSE="test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="sys-apps/pcsc-lite
-   dev-libs/openssl:=[-bindist(-)]"
-DEPEND="${RDEPEND}
-   test? ( dev-libs/check )"
-BDEPEND="dev-util/gengetopt
-   sys-apps/help2man
-   virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
-   "${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
-   "${FILESDIR}"/${PN}-2.3.0-no-Werror.patch
-)
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_STATIC_LIB=OFF
-   -DBUILD_TESTING=$(usex test)
-   )
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   echo "module: ${EPREFIX}/usr/$(get_libdir)/libykcs11.so" > ${PN}.module 
\
-   || die "Failed to generate p11-kit module configuration"
-   insinto /usr/share/p11-kit/modules
-   doins ${PN}.module
-}

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.4.2.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.4.2.ebuild
deleted file mode 100644
index 42a6ee70a2dc..
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.4.2.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTI

[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2024-08-27 Thread Joonas Niilola
commit: b4dfca47afb0eea1b97f5f303f141858b0f24d28
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Thu Aug 22 05:41:09 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Aug 28 06:31:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4dfca47

sys-auth/yubico-piv-tool: add 2.6.0

Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-auth/yubico-piv-tool/Manifest  |  2 +
 .../yubico-piv-tool/yubico-piv-tool-2.6.0.ebuild   | 52 ++
 2 files changed, 54 insertions(+)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
index bd76042c13e4..4810948a2f6b 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -3,3 +3,5 @@ DIST yubico-piv-tool-2.4.2.tar.gz 1332497 BLAKE2B 
ba08b19fe4659842fdfad06d662120
 DIST yubico-piv-tool-2.5.1.tar.gz 1340147 BLAKE2B 
96638e22bf03046daae5ba4b4d689cfe6d7e1f8ebbf64695bd3e259ca7e53513ff92933c935294536c504fc96b2ed1c7df4b9962b1789803eb9576b51715f00e
 SHA512 
736aeeac3d9368699b33e928cfb5b54ad6aa1450acf734397bc689ba9ccc82077f46f7ea2bd06dd1457b91eb50f7a0231a57914b3ea2ff0f07d425b4d27b96e4
 DIST yubico-piv-tool-2.5.2.tar.gz 1324642 BLAKE2B 
23b175d37f0f510e1360f8c793e95ee654e7d0218ca6fb29a884e4aaf143704555bc04c489fa944e2731208cb713d2d763d84dd8b6ef36aa4dafe22c55d81edc
 SHA512 
522a163be55dd92c2f18a779b64b1a163a6f81390757db34b58e909d896d78bcff30907eb8a2dc703d70133cdd71e2d3841d36d77cf7211351b5c825965dffd0
 DIST yubico-piv-tool-2.5.2.tar.gz.sig 566 BLAKE2B 
f7cdcbd7f47dd07b57c2cfe146c8801edce254b00cf4abf65783da687787ce91f2bee1419050a2977c66c074cfaf6c8e2f566d5b83ed3b61d56b6f9ba3e41a65
 SHA512 
c251cc7c7019923c60380302889cc3654ef913c1d5498d328528586d70b951aecff474a4da3a2b9ddb21c1b860335205a16ffed1d397e16e226e7f4725c2bf90
+DIST yubico-piv-tool-2.6.0.tar.gz 1359764 BLAKE2B 
c9513401bdf9175b929a7c7ecf09ef07a76cc0d7fc37fd43f0b1fb882c878417d5a804e27f66ec7d34e6faf40e1c1508efe6fd968f43b5f382d0071d5f74cc20
 SHA512 
11efcc12cdcdddc8f6a946460ee8be40d0652478f9884b01945ec048f95e03e706f00737607a20e75135667ece0de06627cd0a4f441d9048ad9e19f3f67fee00
+DIST yubico-piv-tool-2.6.0.tar.gz.sig 566 BLAKE2B 
f5a99c89618cbfed11950402d850a4d38e934a3436399156e950abed6a45bf0ba89e2c45c9014248f1eb3e71bc8d0abbcfaaa87c537788490daca4a52368f794
 SHA512 
fae8612ea08e7136134fe9fa82893f0f98118e4592e5e7fb0b844aa96e0182cf9b6d5eddc1bbe11b49470ebaf22fdf33575f7955b870b01eeff6b751d7a000b8

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.6.0.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.6.0.ebuild
new file mode 100644
index ..431639fedfe6
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.6.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake verify-sig
+
+DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV 
application"
+HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
+SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz
+   verify-sig? ( 
https://developers.yubico.com/${PN}/Releases/${P}.tar.gz.sig )"
+
+LICENSE="BSD-2"
+SLOT="0/2"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+IUSE="test verify-sig"
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/yubico.com.asc"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="sys-apps/pcsc-lite
+   dev-libs/openssl:=[-bindist(-)]"
+DEPEND="${RDEPEND}
+   test? ( dev-libs/check )"
+BDEPEND="dev-util/gengetopt
+   sys-apps/help2man
+   virtual/pkgconfig
+   test? ( dev-libs/check )
+   verify-sig? ( >=sec-keys/openpgp-keys-yubico-20240628 )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
+   "${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
+   "${FILESDIR}"/${PN}-2.3.0-no-Werror.patch
+)
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_STATIC_LIB=OFF
+   -DBUILD_TESTING=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   echo "module: ${EPREFIX}/usr/$(get_libdir)/libykcs11.so" > ${PN}.module 
\
+   || die "Failed to generate p11-kit module configuration"
+   insinto /usr/share/p11-kit/modules
+   doins ${PN}.module
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2024-08-04 Thread Jakov Smolić
commit: eb64b6e639af7617cceea539cb039993ed38498f
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun Aug  4 12:52:39 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Aug  4 12:52:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb64b6e6

sys-auth/yubico-piv-tool: Stabilize 2.5.2 amd64, #937271

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-auth/yubico-piv-tool/yubico-piv-tool-2.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.5.2.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.5.2.ebuild
index 431639fedfe6..d12a41969d80 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.5.2.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.5.2.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz
 
 LICENSE="BSD-2"
 SLOT="0/2"
-KEYWORDS="~amd64 ~arm64 ~riscv"
+KEYWORDS="amd64 ~arm64 ~riscv"
 IUSE="test verify-sig"
 VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/yubico.com.asc"
 



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2024-07-04 Thread Jakov Smolić
commit: 64a5fbd8d0acaf7a58b338e96664d9ad7618e5a5
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Jul  4 16:45:45 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Jul  4 16:45:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64a5fbd8

sys-auth/yubico-piv-tool: Stabilize 2.5.1 amd64, #935485

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-auth/yubico-piv-tool/yubico-piv-tool-2.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.5.1.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.5.1.ebuild
index 68122cc758d6..42a6ee70a2dc 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.5.1.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.5.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz";
 
 LICENSE="BSD-2"
 SLOT="0/2"
-KEYWORDS="~amd64 ~arm64 ~riscv"
+KEYWORDS="amd64 ~arm64 ~riscv"
 IUSE="test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2024-07-03 Thread Sam James
commit: 7455276c5a13f0129ca52e4269d7077bc3c7c4eb
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Fri Jun 28 12:42:18 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul  4 01:14:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7455276c

sys-auth/yubico-piv-tool: add myself as a maintainer

Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Signed-off-by: Sam James  gentoo.org>

 sys-auth/yubico-piv-tool/metadata.xml | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/sys-auth/yubico-piv-tool/metadata.xml 
b/sys-auth/yubico-piv-tool/metadata.xml
index d490276f1a61..2f112a5a5f85 100644
--- a/sys-auth/yubico-piv-tool/metadata.xml
+++ b/sys-auth/yubico-piv-tool/metadata.xml
@@ -1,7 +1,14 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-   
+   
+   mario.haust...@hrz.tu-chemnitz.de
+   Mario Haustein
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   

Yubico/yubico-piv-tool




[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2024-07-03 Thread Sam James
commit: ee02de07086190b2eb05e88a667e177582cf3bca
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Fri Jun 28 12:41:10 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul  4 01:14:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee02de07

sys-auth/yubico-piv-tool: add 2.5.2

Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Signed-off-by: Sam James  gentoo.org>

 sys-auth/yubico-piv-tool/Manifest  |  2 +
 .../yubico-piv-tool/yubico-piv-tool-2.5.2.ebuild   | 52 ++
 2 files changed, 54 insertions(+)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
index 881856fd979b..bd76042c13e4 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1,3 +1,5 @@
 DIST yubico-piv-tool-2.3.1.tar.gz 1315267 BLAKE2B 
9b7d96129f3cab4fd68d18d0bbbf8dfa5fdda383ffb8099f898e23c99d0f1caf387a26cb9d01582521a070b93bac941b8a10faac736137cb72c86fbf5c95d2f8
 SHA512 
44cd9c482f2a2942d10a238ac2cb2d40df7cd11ddc27d6df88912512e956746b5634018b421d5cc4b947e4c36f9841898d5a08eb613bf22558089103dab95988
 DIST yubico-piv-tool-2.4.2.tar.gz 1332497 BLAKE2B 
ba08b19fe4659842fdfad06d662120a9d2858e25a56d56f63edc88e607c5b56a79f5ca90826fb8b78295e218ff1a728a168d04f330b7f640a9f3e804528320ed
 SHA512 
032a91c9ac50cb5604a56ec0d0a84cf64bfff5440930a1643bddcd15cf02fc44d33d949286b2595eb4c196cb31050c13f507b32f3156d4600fdad46057b65b56
 DIST yubico-piv-tool-2.5.1.tar.gz 1340147 BLAKE2B 
96638e22bf03046daae5ba4b4d689cfe6d7e1f8ebbf64695bd3e259ca7e53513ff92933c935294536c504fc96b2ed1c7df4b9962b1789803eb9576b51715f00e
 SHA512 
736aeeac3d9368699b33e928cfb5b54ad6aa1450acf734397bc689ba9ccc82077f46f7ea2bd06dd1457b91eb50f7a0231a57914b3ea2ff0f07d425b4d27b96e4
+DIST yubico-piv-tool-2.5.2.tar.gz 1324642 BLAKE2B 
23b175d37f0f510e1360f8c793e95ee654e7d0218ca6fb29a884e4aaf143704555bc04c489fa944e2731208cb713d2d763d84dd8b6ef36aa4dafe22c55d81edc
 SHA512 
522a163be55dd92c2f18a779b64b1a163a6f81390757db34b58e909d896d78bcff30907eb8a2dc703d70133cdd71e2d3841d36d77cf7211351b5c825965dffd0
+DIST yubico-piv-tool-2.5.2.tar.gz.sig 566 BLAKE2B 
f7cdcbd7f47dd07b57c2cfe146c8801edce254b00cf4abf65783da687787ce91f2bee1419050a2977c66c074cfaf6c8e2f566d5b83ed3b61d56b6f9ba3e41a65
 SHA512 
c251cc7c7019923c60380302889cc3654ef913c1d5498d328528586d70b951aecff474a4da3a2b9ddb21c1b860335205a16ffed1d397e16e226e7f4725c2bf90

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.5.2.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.5.2.ebuild
new file mode 100644
index ..431639fedfe6
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.5.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake verify-sig
+
+DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV 
application"
+HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
+SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz
+   verify-sig? ( 
https://developers.yubico.com/${PN}/Releases/${P}.tar.gz.sig )"
+
+LICENSE="BSD-2"
+SLOT="0/2"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+IUSE="test verify-sig"
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/yubico.com.asc"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="sys-apps/pcsc-lite
+   dev-libs/openssl:=[-bindist(-)]"
+DEPEND="${RDEPEND}
+   test? ( dev-libs/check )"
+BDEPEND="dev-util/gengetopt
+   sys-apps/help2man
+   virtual/pkgconfig
+   test? ( dev-libs/check )
+   verify-sig? ( >=sec-keys/openpgp-keys-yubico-20240628 )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
+   "${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
+   "${FILESDIR}"/${PN}-2.3.0-no-Werror.patch
+)
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_STATIC_LIB=OFF
+   -DBUILD_TESTING=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   echo "module: ${EPREFIX}/usr/$(get_libdir)/libykcs11.so" > ${PN}.module 
\
+   || die "Failed to generate p11-kit module configuration"
+   insinto /usr/share/p11-kit/modules
+   doins ${PN}.module
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2024-04-09 Thread Arthur Zamarin
commit: 6c6bb7a90449a582546f42a6a36c133cea6f31b0
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr  9 15:54:34 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr  9 15:54:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c6bb7a9

sys-auth/yubico-piv-tool: Stabilize 2.4.2 amd64, #928886

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-auth/yubico-piv-tool/yubico-piv-tool-2.4.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.4.2.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.4.2.ebuild
index 6e1c0cfda2c5..42a6ee70a2dc 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.4.2.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.4.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ 
SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz";
 
 LICENSE="BSD-2"
 SLOT="0/2"
-KEYWORDS="~amd64 ~arm64 ~riscv"
+KEYWORDS="amd64 ~arm64 ~riscv"
 IUSE="test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2024-04-07 Thread Marek Szuba
commit: 11c85a928c456be063102d5d61ae0b130e929181
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Apr  7 14:12:16 2024 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Apr  7 15:22:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11c85a92

sys-auth/yubico-piv-tool: add 2.5.1

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/yubico-piv-tool/Manifest  |  1 +
 .../yubico-piv-tool/yubico-piv-tool-2.5.1.ebuild   | 48 ++
 2 files changed, 49 insertions(+)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
index af1e0303fc16..881856fd979b 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1,2 +1,3 @@
 DIST yubico-piv-tool-2.3.1.tar.gz 1315267 BLAKE2B 
9b7d96129f3cab4fd68d18d0bbbf8dfa5fdda383ffb8099f898e23c99d0f1caf387a26cb9d01582521a070b93bac941b8a10faac736137cb72c86fbf5c95d2f8
 SHA512 
44cd9c482f2a2942d10a238ac2cb2d40df7cd11ddc27d6df88912512e956746b5634018b421d5cc4b947e4c36f9841898d5a08eb613bf22558089103dab95988
 DIST yubico-piv-tool-2.4.2.tar.gz 1332497 BLAKE2B 
ba08b19fe4659842fdfad06d662120a9d2858e25a56d56f63edc88e607c5b56a79f5ca90826fb8b78295e218ff1a728a168d04f330b7f640a9f3e804528320ed
 SHA512 
032a91c9ac50cb5604a56ec0d0a84cf64bfff5440930a1643bddcd15cf02fc44d33d949286b2595eb4c196cb31050c13f507b32f3156d4600fdad46057b65b56
+DIST yubico-piv-tool-2.5.1.tar.gz 1340147 BLAKE2B 
96638e22bf03046daae5ba4b4d689cfe6d7e1f8ebbf64695bd3e259ca7e53513ff92933c935294536c504fc96b2ed1c7df4b9962b1789803eb9576b51715f00e
 SHA512 
736aeeac3d9368699b33e928cfb5b54ad6aa1450acf734397bc689ba9ccc82077f46f7ea2bd06dd1457b91eb50f7a0231a57914b3ea2ff0f07d425b4d27b96e4

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.5.1.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.5.1.ebuild
new file mode 100644
index ..68122cc758d6
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.5.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV 
application"
+HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
+SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz";
+
+LICENSE="BSD-2"
+SLOT="0/2"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+IUSE="test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="sys-apps/pcsc-lite
+   dev-libs/openssl:=[-bindist(-)]"
+DEPEND="${RDEPEND}
+   test? ( dev-libs/check )"
+BDEPEND="dev-util/gengetopt
+   sys-apps/help2man
+   virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
+   "${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
+   "${FILESDIR}"/${PN}-2.3.0-no-Werror.patch
+)
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_STATIC_LIB=OFF
+   -DBUILD_TESTING=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   echo "module: ${EPREFIX}/usr/$(get_libdir)/libykcs11.so" > ${PN}.module 
\
+   || die "Failed to generate p11-kit module configuration"
+   insinto /usr/share/p11-kit/modules
+   doins ${PN}.module
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2023-12-25 Thread Marek Szuba
commit: 0ad51e75f6b8a1fa3e09db0c02d735b788a8afec
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Dec 25 12:24:38 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Dec 25 12:24:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ad51e75

sys-auth/yubico-piv-tool: add 2.4.2

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/yubico-piv-tool/Manifest  |  1 +
 .../yubico-piv-tool/yubico-piv-tool-2.4.2.ebuild   | 48 ++
 2 files changed, 49 insertions(+)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
index 096d74301322..af1e0303fc16 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1 +1,2 @@
 DIST yubico-piv-tool-2.3.1.tar.gz 1315267 BLAKE2B 
9b7d96129f3cab4fd68d18d0bbbf8dfa5fdda383ffb8099f898e23c99d0f1caf387a26cb9d01582521a070b93bac941b8a10faac736137cb72c86fbf5c95d2f8
 SHA512 
44cd9c482f2a2942d10a238ac2cb2d40df7cd11ddc27d6df88912512e956746b5634018b421d5cc4b947e4c36f9841898d5a08eb613bf22558089103dab95988
+DIST yubico-piv-tool-2.4.2.tar.gz 1332497 BLAKE2B 
ba08b19fe4659842fdfad06d662120a9d2858e25a56d56f63edc88e607c5b56a79f5ca90826fb8b78295e218ff1a728a168d04f330b7f640a9f3e804528320ed
 SHA512 
032a91c9ac50cb5604a56ec0d0a84cf64bfff5440930a1643bddcd15cf02fc44d33d949286b2595eb4c196cb31050c13f507b32f3156d4600fdad46057b65b56

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.4.2.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.4.2.ebuild
new file mode 100644
index ..6e1c0cfda2c5
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.4.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV 
application"
+HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
+SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz";
+
+LICENSE="BSD-2"
+SLOT="0/2"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+IUSE="test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="sys-apps/pcsc-lite
+   dev-libs/openssl:=[-bindist(-)]"
+DEPEND="${RDEPEND}
+   test? ( dev-libs/check )"
+BDEPEND="dev-util/gengetopt
+   sys-apps/help2man
+   virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
+   "${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
+   "${FILESDIR}"/${PN}-2.3.0-no-Werror.patch
+)
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_STATIC_LIB=OFF
+   -DBUILD_TESTING=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   echo "module: ${EPREFIX}/usr/$(get_libdir)/libykcs11.so" > ${PN}.module 
\
+   || die "Failed to generate p11-kit module configuration"
+   insinto /usr/share/p11-kit/modules
+   doins ${PN}.module
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2023-06-04 Thread Arthur Zamarin
commit: 1cd4302d358f53495ae00aa32efac21eb642d9f5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Jun  4 15:49:15 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Jun  4 15:49:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cd4302d

sys-auth/yubico-piv-tool: Keyword 2.3.1 arm64, #907743

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild
index 1747ca4e258c..1145a5ac9a67 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz";
 
 LICENSE="BSD-2"
 SLOT="0/2"
-KEYWORDS="amd64 ~riscv"
+KEYWORDS="amd64 ~arm64 ~riscv"
 IUSE="test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2023-04-05 Thread Marek Szuba
commit: cd90c72296324c0b10e34ad6b01cfdb256fc32a2
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Apr  5 14:04:51 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Apr  5 14:06:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd90c722

sys-auth/yubico-piv-tool: drop 2.3.0

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/yubico-piv-tool/Manifest  |  1 -
 .../yubico-piv-tool/yubico-piv-tool-2.3.0.ebuild   | 48 --
 2 files changed, 49 deletions(-)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
index e97435ee259e..096d74301322 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1,2 +1 @@
-DIST yubico-piv-tool-2.3.0.tar.gz 1329085 BLAKE2B 
b084982139012b4993a023078fd8ce7c106cb5c1e71475f26398012b86fc65e985a7c51300b3b122884e35327293737ed48b31bfdc83326dda9c9c05f2eb984d
 SHA512 
72125df922e32322563e95286e04d19e56db9c6e66ae9003ae7dfffac47425b8b2bc7c71ecfa603f96f3a24c985fca1f436580dc579ff44196dcde7aeceee7f3
 DIST yubico-piv-tool-2.3.1.tar.gz 1315267 BLAKE2B 
9b7d96129f3cab4fd68d18d0bbbf8dfa5fdda383ffb8099f898e23c99d0f1caf387a26cb9d01582521a070b93bac941b8a10faac736137cb72c86fbf5c95d2f8
 SHA512 
44cd9c482f2a2942d10a238ac2cb2d40df7cd11ddc27d6df88912512e956746b5634018b421d5cc4b947e4c36f9841898d5a08eb613bf22558089103dab95988

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.0.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.0.ebuild
deleted file mode 100644
index 10e8ccb2e7eb..
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.0.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV 
application"
-HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
-SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz";
-
-LICENSE="BSD-2"
-SLOT="0/2"
-KEYWORDS="amd64 ~riscv"
-IUSE="test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="sys-apps/pcsc-lite
-   dev-libs/openssl:=[-bindist(-)]"
-DEPEND="${RDEPEND}
-   test? ( dev-libs/check )"
-BDEPEND="dev-util/gengetopt
-   sys-apps/help2man
-   virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
-   "${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
-   "${FILESDIR}"/${PN}-2.3.0-no-Werror.patch
-)
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_STATIC_LIB=OFF
-   -DBUILD_TESTING=$(usex test)
-   )
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   echo "module: ${EPREFIX}/usr/$(get_libdir)/libykcs11.so" > ${PN}.module 
\
-   || die "Failed to generate p11-kit module configuration"
-   insinto /usr/share/p11-kit/modules
-   doins ${PN}.module
-}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2023-04-04 Thread Arthur Zamarin
commit: 01919f35dd5b4dd2cd95c371202e41c7c19a095b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr  4 19:32:20 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr  4 19:32:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01919f35

sys-auth/yubico-piv-tool: Stabilize 2.3.1 amd64, #903766

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild
index 204e3eb60e0b..1747ca4e258c 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz";
 
 LICENSE="BSD-2"
 SLOT="0/2"
-KEYWORDS="~amd64 ~riscv"
+KEYWORDS="amd64 ~riscv"
 IUSE="test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2023-02-21 Thread Marek Szuba
commit: 8508c144dff881b4dececb1e57eb650f1c6e2675
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Feb 21 23:06:17 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Feb 21 23:41:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8508c144

sys-auth/yubico-piv-tool: add 2.3.1

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/yubico-piv-tool/Manifest  |  1 +
 .../yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild   | 48 ++
 2 files changed, 49 insertions(+)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
index 6ed18642fc2e..e97435ee259e 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1 +1,2 @@
 DIST yubico-piv-tool-2.3.0.tar.gz 1329085 BLAKE2B 
b084982139012b4993a023078fd8ce7c106cb5c1e71475f26398012b86fc65e985a7c51300b3b122884e35327293737ed48b31bfdc83326dda9c9c05f2eb984d
 SHA512 
72125df922e32322563e95286e04d19e56db9c6e66ae9003ae7dfffac47425b8b2bc7c71ecfa603f96f3a24c985fca1f436580dc579ff44196dcde7aeceee7f3
+DIST yubico-piv-tool-2.3.1.tar.gz 1315267 BLAKE2B 
9b7d96129f3cab4fd68d18d0bbbf8dfa5fdda383ffb8099f898e23c99d0f1caf387a26cb9d01582521a070b93bac941b8a10faac736137cb72c86fbf5c95d2f8
 SHA512 
44cd9c482f2a2942d10a238ac2cb2d40df7cd11ddc27d6df88912512e956746b5634018b421d5cc4b947e4c36f9841898d5a08eb613bf22558089103dab95988

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild
new file mode 100644
index ..204e3eb60e0b
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV 
application"
+HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
+SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz";
+
+LICENSE="BSD-2"
+SLOT="0/2"
+KEYWORDS="~amd64 ~riscv"
+IUSE="test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="sys-apps/pcsc-lite
+   dev-libs/openssl:=[-bindist(-)]"
+DEPEND="${RDEPEND}
+   test? ( dev-libs/check )"
+BDEPEND="dev-util/gengetopt
+   sys-apps/help2man
+   virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
+   "${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
+   "${FILESDIR}"/${PN}-2.3.0-no-Werror.patch
+)
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_STATIC_LIB=OFF
+   -DBUILD_TESTING=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   echo "module: ${EPREFIX}/usr/$(get_libdir)/libykcs11.so" > ${PN}.module 
\
+   || die "Failed to generate p11-kit module configuration"
+   insinto /usr/share/p11-kit/modules
+   doins ${PN}.module
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/files/, sys-auth/yubico-piv-tool/

2022-09-25 Thread Marek Szuba
commit: 49a886b5b1edaf072997429f3664695932e05381
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Sep 26 00:58:36 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Sep 26 01:01:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49a886b5

sys-auth/yubico-piv-tool: drop 2.2.1

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/yubico-piv-tool/Manifest  |  1 -
 .../files/yubico-piv-tool-2.1.1-no-Werror.patch| 11 -
 .../files/yubico-piv-tool-2.2.1-openssl3.patch | 32 -
 .../yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild   | 53 --
 4 files changed, 97 deletions(-)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
index a255bd8c44b4..6ed18642fc2e 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1,2 +1 @@
-DIST yubico-piv-tool-2.2.1.tar.gz 1310253 BLAKE2B 
f5e5d2c351200b2fc57aafdd02a604ee5f15cd8f1a0cb552133a367da2cbf7fe248ec9eba649427b30e8322126be1f9677fd471b38db1f00cda37ccb0ac413c9
 SHA512 
495a269194d8d9d8957542611959b3fc8e0ae54d1cab5c041f2604590cc740e89e0956b9d595f8a06f138e92b8804def52aae797f199479a81fc1fc3d57bfb96
 DIST yubico-piv-tool-2.3.0.tar.gz 1329085 BLAKE2B 
b084982139012b4993a023078fd8ce7c106cb5c1e71475f26398012b86fc65e985a7c51300b3b122884e35327293737ed48b31bfdc83326dda9c9c05f2eb984d
 SHA512 
72125df922e32322563e95286e04d19e56db9c6e66ae9003ae7dfffac47425b8b2bc7c71ecfa603f96f3a24c985fca1f436580dc579ff44196dcde7aeceee7f3

diff --git 
a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-no-Werror.patch 
b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-no-Werror.patch
deleted file mode 100644
index a177395bc751..
--- a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-no-Werror.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -97,7 +97,7 @@
- find_package (PkgConfig REQUIRED)
- 
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w") # -g -O2
--set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
-+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wshadow")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wwrite-strings")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-prototypes")

diff --git 
a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.2.1-openssl3.patch 
b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.2.1-openssl3.patch
deleted file mode 100644
index 5ba807ea0c6c..
--- a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.2.1-openssl3.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 81b063f53db8a3d74077522a6ff4f1640cc3fe70 Mon Sep 17 00:00:00 2001
-From: Clemens Lang 
-Date: Sun, 14 Nov 2021 18:21:28 +0100
-Subject: [PATCH] Avoid header include guard conflict with OpenSSL 3
-
-OpenSSL 3.x ships an openssl/types.h header that's protected with an
-OPENSSL_TYPES_H include guard macro. OpenSSL's headers fail to parse
-when ykcs11/openssl_types.h defines this symbol.
-
-Switch the include guard for the file to YKCS11_OPENSSL_TYPES_H to
-prevent this from happening.
-
-Signed-off-by: Clemens Lang 

- ykcs11/openssl_types.h | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/ykcs11/openssl_types.h b/ykcs11/openssl_types.h
-index c526d815..f3e1a7c0 100644
 a/ykcs11/openssl_types.h
-+++ b/ykcs11/openssl_types.h
-@@ -28,8 +28,8 @@
-  *
-  */
- 
--#ifndef OPENSSL_TYPES_H
--#define OPENSSL_TYPES_H
-+#ifndef YKCS11_OPENSSL_TYPES_H
-+#define YKCS11_OPENSSL_TYPES_H
- 
- #include 
- #include 

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild
deleted file mode 100644
index c50d506fb8d8..
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV 
application"
-HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
-SRC_URI="https://github.com/Yubico/${PN}/archive/${P}.tar.gz";
-
-LICENSE="BSD-2"
-SLOT="0/2"
-KEYWORDS="amd64 ~riscv"
-IUSE="test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="sys-apps/pcsc-lite
-   dev-libs/openssl:=[-bindist(-)]"
-DEPEND="${RDEPEND}
-   test? ( dev-libs/check )"
-BDEPEND="dev-util/gengetopt
-   sys-apps/help2man
-   virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.1.1-no-Werror.patch
-   "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
-   "${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
-   "${FILESDIR}"/${PN}-2.2.1-openssl3.patch
-)
-
-S="${WORKDIR}/${PN}-${P}"
-
-src_configure() {
-   # As of 2.2.0, man pages end up in /usr/usr/... without the MANDIR 
override
-   local mycmakeargs=(
-   -DBUILD_STATIC_LIB=OFF
-   -DBUI

[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2022-04-09 Thread Marek Szuba
commit: bbae3cf2af8e89a1379e28fa24093b42f732f954
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Apr  9 23:34:08 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Apr  9 23:35:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbae3cf2

sys-auth/yubico-piv-tool: stabilize 2.3.0 for amd64

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.0.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.0.ebuild
index 94648193eb08..10e8ccb2e7eb 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.0.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz";
 
 LICENSE="BSD-2"
 SLOT="0/2"
-KEYWORDS="~amd64 ~riscv"
+KEYWORDS="amd64 ~riscv"
 IUSE="test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/files/

2022-03-03 Thread Marek Szuba
commit: bce7002ad8323ed377fd5c50a29c27d3b34611d4
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Mar  3 08:19:47 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Mar  3 08:27:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bce7002a

sys-auth/yubico-piv-tool-2.3.0: actually commit the patch

Closes: https://bugs.gentoo.org/834505
Signed-off-by: Marek Szuba  gentoo.org>

 .../files/yubico-piv-tool-2.3.0-no-Werror.patch   | 11 +++
 1 file changed, 11 insertions(+)

diff --git 
a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.3.0-no-Werror.patch 
b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.3.0-no-Werror.patch
new file mode 100644
index ..cf3ddd7b7bb1
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.3.0-no-Werror.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -104,7 +104,7 @@
+ else()
+ find_package (PkgConfig REQUIRED)
+ 
+-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror")
++set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-missing-braces")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wformat -Wformat-security")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wshadow")



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2022-03-02 Thread Marek Szuba
commit: a37c22e60aa71752af57194b9231272b80e0d4ac
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Mar  3 00:23:11 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Mar  3 00:24:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a37c22e6

sys-auth/yubico-piv-tool: add 2.3.0

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/yubico-piv-tool/Manifest  |  1 +
 .../yubico-piv-tool/yubico-piv-tool-2.3.0.ebuild   | 48 ++
 2 files changed, 49 insertions(+)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
index f2a0fe19e931..a255bd8c44b4 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1 +1,2 @@
 DIST yubico-piv-tool-2.2.1.tar.gz 1310253 BLAKE2B 
f5e5d2c351200b2fc57aafdd02a604ee5f15cd8f1a0cb552133a367da2cbf7fe248ec9eba649427b30e8322126be1f9677fd471b38db1f00cda37ccb0ac413c9
 SHA512 
495a269194d8d9d8957542611959b3fc8e0ae54d1cab5c041f2604590cc740e89e0956b9d595f8a06f138e92b8804def52aae797f199479a81fc1fc3d57bfb96
+DIST yubico-piv-tool-2.3.0.tar.gz 1329085 BLAKE2B 
b084982139012b4993a023078fd8ce7c106cb5c1e71475f26398012b86fc65e985a7c51300b3b122884e35327293737ed48b31bfdc83326dda9c9c05f2eb984d
 SHA512 
72125df922e32322563e95286e04d19e56db9c6e66ae9003ae7dfffac47425b8b2bc7c71ecfa603f96f3a24c985fca1f436580dc579ff44196dcde7aeceee7f3

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.0.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.0.ebuild
new file mode 100644
index ..94648193eb08
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV 
application"
+HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
+SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz";
+
+LICENSE="BSD-2"
+SLOT="0/2"
+KEYWORDS="~amd64 ~riscv"
+IUSE="test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="sys-apps/pcsc-lite
+   dev-libs/openssl:=[-bindist(-)]"
+DEPEND="${RDEPEND}
+   test? ( dev-libs/check )"
+BDEPEND="dev-util/gengetopt
+   sys-apps/help2man
+   virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
+   "${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
+   "${FILESDIR}"/${PN}-2.3.0-no-Werror.patch
+)
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_STATIC_LIB=OFF
+   -DBUILD_TESTING=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   echo "module: ${EPREFIX}/usr/$(get_libdir)/libykcs11.so" > ${PN}.module 
\
+   || die "Failed to generate p11-kit module configuration"
+   insinto /usr/share/p11-kit/modules
+   doins ${PN}.module
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2021-11-19 Thread Marek Szuba
commit: c9c1b6bc0545aead393d7b6bf5702f29b0b2c1fa
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Nov 19 15:02:17 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Nov 19 15:02:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9c1b6bc

sys-auth/yubico-piv-tool: drop 2.2.0-r1

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/yubico-piv-tool/Manifest  |  1 -
 .../yubico-piv-tool-2.2.0-r1.ebuild| 52 --
 2 files changed, 53 deletions(-)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
index 0a4fc772df5e..f2a0fe19e931 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1,2 +1 @@
-DIST yubico-piv-tool-2.2.0.tar.gz 1309359 BLAKE2B 
a5be7a48549f864b9322b5bf53726007b593ce7d08cd06f2251aef98cb065d90586e0189e6f3da94d6d274d6998459afa4a55a0d4c1145395f55830f53d334e4
 SHA512 
b2f8cd73800e0e0778ce36148b962026479f5d3ada3e313acb5a780993c28c41b03e9aa9335ac5b79fed7a418a2d3d3697231adf2da0dd06cd8d22ea5a01aca5
 DIST yubico-piv-tool-2.2.1.tar.gz 1310253 BLAKE2B 
f5e5d2c351200b2fc57aafdd02a604ee5f15cd8f1a0cb552133a367da2cbf7fe248ec9eba649427b30e8322126be1f9677fd471b38db1f00cda37ccb0ac413c9
 SHA512 
495a269194d8d9d8957542611959b3fc8e0ae54d1cab5c041f2604590cc740e89e0956b9d595f8a06f138e92b8804def52aae797f199479a81fc1fc3d57bfb96

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0-r1.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0-r1.ebuild
deleted file mode 100644
index 426295fd7d55..
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV 
application"
-HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
-SRC_URI="https://github.com/Yubico/${PN}/archive/${P}.tar.gz";
-
-LICENSE="BSD-2"
-SLOT="0/2"
-KEYWORDS="amd64 ~riscv"
-IUSE="test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="sys-apps/pcsc-lite
-${PN}.module 
\
-   || die "Failed to generate p11-kit module configuration"
-   insinto /usr/share/p11-kit/modules
-   doins ${PN}.module
-}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2021-11-19 Thread Jakov Smolić
commit: 6d24251a9d8bcdf9bc08b50bcd4a00d29cac4610
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Nov 19 13:38:22 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Nov 19 13:38:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d24251a

sys-auth/yubico-piv-tool: Stabilize 2.2.1 amd64, #824810

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild
index 246b8c226db5..c50d506fb8d8 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/Yubico/${PN}/archive/${P}.tar.gz";
 
 LICENSE="BSD-2"
 SLOT="0/2"
-KEYWORDS="~amd64 ~riscv"
+KEYWORDS="amd64 ~riscv"
 IUSE="test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2021-11-19 Thread Marek Szuba
commit: 3ee6824788b4f287136a0bd0781e0372429a57e6
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Nov 19 11:49:19 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Nov 19 11:50:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ee68247

sys-auth/yubico-piv-tool-2.2.1: allow linking against OpenSSL-3

Might as well now that it works, even though openssl-3 is still masked
in the tree.

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild
index a8415ba3ce87..246b8c226db5 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild
@@ -17,7 +17,7 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="sys-apps/pcsc-lite
-   

[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/files/, sys-auth/yubico-piv-tool/

2021-11-15 Thread Marek Szuba
commit: 9fa3fb2c429652631b76f18ee3feec3b9c068b04
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Nov 15 19:29:53 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Nov 15 19:29:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fa3fb2c

sys-auth/yubico-piv-tool-2.2.1: support openssl-3.0

Backported upstream fix, i.e. should no longer be needed come next
release.

Closes: https://bugs.gentoo.org/805914
Signed-off-by: Marek Szuba  gentoo.org>

 .../files/yubico-piv-tool-2.2.1-openssl3.patch | 32 ++
 .../yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild   |  1 +
 2 files changed, 33 insertions(+)

diff --git 
a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.2.1-openssl3.patch 
b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.2.1-openssl3.patch
new file mode 100644
index ..5ba807ea0c6c
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.2.1-openssl3.patch
@@ -0,0 +1,32 @@
+From 81b063f53db8a3d74077522a6ff4f1640cc3fe70 Mon Sep 17 00:00:00 2001
+From: Clemens Lang 
+Date: Sun, 14 Nov 2021 18:21:28 +0100
+Subject: [PATCH] Avoid header include guard conflict with OpenSSL 3
+
+OpenSSL 3.x ships an openssl/types.h header that's protected with an
+OPENSSL_TYPES_H include guard macro. OpenSSL's headers fail to parse
+when ykcs11/openssl_types.h defines this symbol.
+
+Switch the include guard for the file to YKCS11_OPENSSL_TYPES_H to
+prevent this from happening.
+
+Signed-off-by: Clemens Lang 
+---
+ ykcs11/openssl_types.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/ykcs11/openssl_types.h b/ykcs11/openssl_types.h
+index c526d815..f3e1a7c0 100644
+--- a/ykcs11/openssl_types.h
 b/ykcs11/openssl_types.h
+@@ -28,8 +28,8 @@
+  *
+  */
+ 
+-#ifndef OPENSSL_TYPES_H
+-#define OPENSSL_TYPES_H
++#ifndef YKCS11_OPENSSL_TYPES_H
++#define YKCS11_OPENSSL_TYPES_H
+ 
+ #include 
+ #include 

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild
index 8cea2321eafe..a8415ba3ce87 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild
@@ -28,6 +28,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.1.1-no-Werror.patch
"${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
"${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
+   "${FILESDIR}"/${PN}-2.2.1-openssl3.patch
 )
 
 S="${WORKDIR}/${PN}-${P}"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2021-09-09 Thread Marek Szuba
commit: 05f4d5714b8b5835fd8d76f821c6fc953966cce3
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Sep  9 15:13:33 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Sep  9 15:16:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05f4d571

sys-auth/yubico-piv-tool: fix OpenSSL-3 blocking

3.0.0_betaX does in fact match https://bugs.gentoo.org/805914
Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0-r1.ebuild | 2 +-
 sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0-r1.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0-r1.ebuild
index fd630dc72b1..426295fd7d5 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0-r1.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0-r1.ebuild
@@ -17,7 +17,7 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="sys-apps/pcsc-lite
-   

[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2021-09-09 Thread Marek Szuba
commit: 70dc3349825a3f95e899f9e52b18c4c110ddb940
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Sep  9 11:00:49 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Sep  9 11:20:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70dc3349

sys-auth/yubico-piv-tool: add 2.2.1

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/yubico-piv-tool/Manifest  |  1 +
 .../yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild   | 52 ++
 2 files changed, 53 insertions(+)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
index 5a4592f6754..0a4fc772df5 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1 +1,2 @@
 DIST yubico-piv-tool-2.2.0.tar.gz 1309359 BLAKE2B 
a5be7a48549f864b9322b5bf53726007b593ce7d08cd06f2251aef98cb065d90586e0189e6f3da94d6d274d6998459afa4a55a0d4c1145395f55830f53d334e4
 SHA512 
b2f8cd73800e0e0778ce36148b962026479f5d3ada3e313acb5a780993c28c41b03e9aa9335ac5b79fed7a418a2d3d3697231adf2da0dd06cd8d22ea5a01aca5
+DIST yubico-piv-tool-2.2.1.tar.gz 1310253 BLAKE2B 
f5e5d2c351200b2fc57aafdd02a604ee5f15cd8f1a0cb552133a367da2cbf7fe248ec9eba649427b30e8322126be1f9677fd471b38db1f00cda37ccb0ac413c9
 SHA512 
495a269194d8d9d8957542611959b3fc8e0ae54d1cab5c041f2604590cc740e89e0956b9d595f8a06f138e92b8804def52aae797f199479a81fc1fc3d57bfb96

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild
new file mode 100644
index 000..ba22c83716b
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV 
application"
+HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
+SRC_URI="https://github.com/Yubico/${PN}/archive/${P}.tar.gz";
+
+LICENSE="BSD-2"
+SLOT="0/2"
+KEYWORDS="~amd64 ~riscv"
+IUSE="test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="sys-apps/pcsc-lite
+${PN}.module 
\
+   || die "Failed to generate p11-kit module configuration"
+   insinto /usr/share/p11-kit/modules
+   doins ${PN}.module
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2021-08-02 Thread Marek Szuba
commit: 549cbefd9ae7728da2ba640b56d9c321e4b9112c
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Aug  2 09:16:54 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Aug  2 12:33:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=549cbefd

sys-auth/yubico-piv-tool: keyword 2.2.0-r1 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0-r1.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0-r1.ebuild
index f93875e443a..fd630dc72b1 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0-r1.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/Yubico/${PN}/archive/${P}.tar.gz";
 
 LICENSE="BSD-2"
 SLOT="0/2"
-KEYWORDS="amd64"
+KEYWORDS="amd64 ~riscv"
 IUSE="test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2021-08-01 Thread Marek Szuba
commit: 8536175c55b3efadc919e496918c8d8ef8ee7ac9
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Aug  1 16:42:20 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Aug  1 16:54:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8536175c

sys-auth/yubico-piv-tool: block OpenSSL-3

Bug: https://bugs.gentoo.org/805914
Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0-r1.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0-r1.ebuild
index 1bb45ee8e3f..f93875e443a 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0-r1.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0-r1.ebuild
@@ -17,7 +17,7 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="sys-apps/pcsc-lite
-   dev-libs/openssl:0=[-bindist(-)]"
+   

[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2021-06-17 Thread Thomas Deutschmann
commit: badccf505bc670605d351272d294385ef74408d6
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Jun 17 22:08:21 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Jun 17 22:18:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=badccf50

sys-auth/yubico-piv-tool: rev bump for commit 9a1a28bed

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann  gentoo.org>

 .../{yubico-piv-tool-2.2.0.ebuild => yubico-piv-tool-2.2.0-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0-r1.ebuild
similarity index 100%
rename from sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0.ebuild
rename to sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2021-06-17 Thread Thomas Deutschmann
commit: 9a1a28bedfee5bb95932cdb37936c80d3dc65553
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Jun 17 20:22:27 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Jun 17 20:32:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a1a28be

sys-auth/yubico-piv-tool: Fix MissingUseDepDefault for dev-libs/openssl[bindist]

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0.ebuild
index 92b44673f63..1bb45ee8e3f 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0.ebuild
@@ -17,7 +17,7 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="sys-apps/pcsc-lite
-   dev-libs/openssl:0=[-bindist]"
+   dev-libs/openssl:0=[-bindist(-)]"
 DEPEND="${RDEPEND}
test? ( dev-libs/check )"
 BDEPEND="dev-util/gengetopt



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/files/, sys-auth/yubico-piv-tool/

2021-04-27 Thread Marek Szuba
commit: 7d372f694e0537b2efe3211a7eb3fc801755b090
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Apr 27 10:57:53 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Apr 27 11:05:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d372f69

sys-auth/yubico-piv-tool: drop 2.1.1-r2

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/yubico-piv-tool/Manifest  |  1 -
 .../yubico-piv-tool-2.1.1-install-man-page.patch   | 29 
 .../yubico-piv-tool-2.1.1-r2.ebuild| 52 --
 3 files changed, 82 deletions(-)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
index fc99860636e..5a4592f6754 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1,2 +1 @@
-DIST yubico-piv-tool-2.1.1.tar.gz 1302573 BLAKE2B 
da4419b7074930f7d264f21a12973511d350e687d0487b93d25a528f4a79d5df44dbbdde34ef7cd0d14507ba1a00f776fcd7eaf503f2253d8ee8da3e9a68010f
 SHA512 
14d880088f7624f600c6badb6504c4c71ef29ff82e9c29bd837013e62273c6b198ca581705cc7fb9f3c0c13334767ea7b340fb033ce99fb60fb0478281affc9f
 DIST yubico-piv-tool-2.2.0.tar.gz 1309359 BLAKE2B 
a5be7a48549f864b9322b5bf53726007b593ce7d08cd06f2251aef98cb065d90586e0189e6f3da94d6d274d6998459afa4a55a0d4c1145395f55830f53d334e4
 SHA512 
b2f8cd73800e0e0778ce36148b962026479f5d3ada3e313acb5a780993c28c41b03e9aa9335ac5b79fed7a418a2d3d3697231adf2da0dd06cd8d22ea5a01aca5

diff --git 
a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-install-man-page.patch 
b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-install-man-page.patch
deleted file mode 100644
index 1d782767b3a..000
--- 
a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-install-man-page.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From e635608785ed374bfe5f1158ca4a4695f3ea2f08 Mon Sep 17 00:00:00 2001
-From: Dan Church 
-Date: Fri, 5 Jun 2020 11:09:30 -0500
-Subject: [PATCH] Fix omission of man page
-
-It was omitting the man page upon first install, so in order to get the
-man page added to the installed set of files, one would have to run
-cmake, then run make, then run cmake again, then run make.
-
-Also clarify when the extra `install` step would be added.

- tool/CMakeLists.txt | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/tool/CMakeLists.txt b/tool/CMakeLists.txt
-index c12a474..03efefe 100644
 a/tool/CMakeLists.txt
-+++ b/tool/CMakeLists.txt
-@@ -66,8 +66,10 @@ if (GENERATE_MAN_PAGES)
- add_help2man_manpage (yubico-piv-tool.1 yubico-piv-tool)
- 
- add_custom_target (yubico-piv-tool-man ALL DEPENDS 
${CMAKE_CURRENT_SOURCE_DIR}/yubico-piv-tool.1)
-+install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/yubico-piv-tool.1" DESTINATION 
"${YKPIV_INSTALL_MAN_DIR}/man1")
- endif(GENERATE_MAN_PAGES)
- 
-+# If somehow a manpage was generated before configure started, install that 
too
- find_file(MAN_PAGE yubico-piv-tool.1 PATHS ${CMAKE_CURRENT_SOURCE_DIR})
- if(MAN_PAGE)
- install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/yubico-piv-tool.1" DESTINATION 
"${YKPIV_INSTALL_MAN_DIR}/man1")

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild
deleted file mode 100644
index 38068c17a3e..000
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV 
application"
-SRC_URI="https://github.com/Yubico/yubico-piv-tool/archive/yubico-piv-tool-${PV}.tar.gz";
-HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
-
-LICENSE="BSD-2"
-SLOT="0/1"
-KEYWORDS="amd64"
-IUSE="libressl test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="sys-apps/pcsc-lite
-   libressl? ( dev-libs/libressl:0= )
-   !libressl? ( dev-libs/openssl:0=[-bindist] )"
-DEPEND="${RDEPEND}
-   test? ( dev-libs/check )"
-BDEPEND="dev-util/gengetopt
-   sys-apps/help2man
-   virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.1.1-install-man-page.patch
-   "${FILESDIR}"/${PN}-2.1.1-no-Werror.patch
-   "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
-   "${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
-)
-
-S="${WORKDIR}/${PN}-${P}"
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_STATIC_LIB=OFF
-   -DBUILD_TESTING=$(usex test)
-   )
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   echo "module: ${EPREFIX}/usr/$(get_libdir)/libykcs11.so" > ${PN}.module 
\
-   || die "Failed to generate p11-kit module configuration"
-   insinto /usr/share/p11-kit/modules
-   doins ${PN}.module
-}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2021-03-12 Thread Sam James
commit: a8891e1678906292de4d6109a6fae91491e96eae
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 12 15:23:33 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 12 15:25:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8891e16

sys-auth/yubico-piv-tool: Stabilize 2.2.0 amd64, #775458

Signed-off-by: Sam James  gentoo.org>

 sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0.ebuild
index 986733af196..92b44673f63 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/Yubico/${PN}/archive/${P}.tar.gz";
 
 LICENSE="BSD-2"
 SLOT="0/2"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2021-01-22 Thread Marek Szuba
commit: 423a90f512530f7a2d6595c8001065f41131345d
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Jan 22 10:17:35 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Jan 22 10:47:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=423a90f5

sys-auth/yubico-piv-tool: bump to 2.2.0

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/yubico-piv-tool/Manifest  |  1 +
 .../yubico-piv-tool/yubico-piv-tool-2.2.0.ebuild   | 52 ++
 2 files changed, 53 insertions(+)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
index 5f22756f38b..fc99860636e 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1 +1,2 @@
 DIST yubico-piv-tool-2.1.1.tar.gz 1302573 BLAKE2B 
da4419b7074930f7d264f21a12973511d350e687d0487b93d25a528f4a79d5df44dbbdde34ef7cd0d14507ba1a00f776fcd7eaf503f2253d8ee8da3e9a68010f
 SHA512 
14d880088f7624f600c6badb6504c4c71ef29ff82e9c29bd837013e62273c6b198ca581705cc7fb9f3c0c13334767ea7b340fb033ce99fb60fb0478281affc9f
+DIST yubico-piv-tool-2.2.0.tar.gz 1309359 BLAKE2B 
a5be7a48549f864b9322b5bf53726007b593ce7d08cd06f2251aef98cb065d90586e0189e6f3da94d6d274d6998459afa4a55a0d4c1145395f55830f53d334e4
 SHA512 
b2f8cd73800e0e0778ce36148b962026479f5d3ada3e313acb5a780993c28c41b03e9aa9335ac5b79fed7a418a2d3d3697231adf2da0dd06cd8d22ea5a01aca5

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0.ebuild
new file mode 100644
index 000..986733af196
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV 
application"
+HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
+SRC_URI="https://github.com/Yubico/${PN}/archive/${P}.tar.gz";
+
+LICENSE="BSD-2"
+SLOT="0/2"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="sys-apps/pcsc-lite
+   dev-libs/openssl:0=[-bindist]"
+DEPEND="${RDEPEND}
+   test? ( dev-libs/check )"
+BDEPEND="dev-util/gengetopt
+   sys-apps/help2man
+   virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.1.1-no-Werror.patch
+   "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
+   "${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
+)
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_configure() {
+   # As of 2.2.0, man pages end up in /usr/usr/... without the MANDIR 
override
+   local mycmakeargs=(
+   -DBUILD_STATIC_LIB=OFF
+   -DBUILD_TESTING=$(usex test)
+   -DCMAKE_INSTALL_MANDIR="share/man"
+   )
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   echo "module: ${EPREFIX}/usr/$(get_libdir)/libykcs11.so" > ${PN}.module 
\
+   || die "Failed to generate p11-kit module configuration"
+   insinto /usr/share/p11-kit/modules
+   doins ${PN}.module
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2020-10-15 Thread Marek Szuba
commit: 6bda8f8faebd98ed5c16316ac051a34d7874c940
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Oct 15 14:07:52 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Oct 15 14:07:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bda8f8f

sys-auth/yubico-piv-tool: remove old

Signed-off-by: Marek Szuba  gentoo.org>

 .../yubico-piv-tool-2.1.1-r1.ebuild| 52 --
 .../yubico-piv-tool/yubico-piv-tool-2.1.1.ebuild   | 42 -
 2 files changed, 94 deletions(-)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r1.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r1.ebuild
deleted file mode 100644
index 07beb0c0d0d..000
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="Command line tool for the YubiKey PIV application"
-SRC_URI="https://github.com/Yubico/yubico-piv-tool/archive/yubico-piv-tool-${PV}.tar.gz";
-HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
-
-LICENSE="BSD-2"
-SLOT="0/1"
-KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   dev-libs/openssl:0=[-bindist]
-   sys-apps/pcsc-lite
-"
-DEPEND="${RDEPEND}
-   dev-util/gengetopt
-   sys-apps/help2man
-   virtual/pkgconfig
-   test? ( dev-libs/check )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.1.1-install-man-page.patch
-   "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
-   "${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
-)
-
-S="${WORKDIR}/${PN}-${P}"
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_STATIC_LIB=OFF
-   -DBUILD_TESTING=$(usex test)
-   )
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   echo "module: ${EPREFIX}/usr/$(get_libdir)/libykcs11.so" > ${PN}.module 
\
-   || die "Failed to generate p11-kit module configuration"
-   insinto /usr/share/p11-kit/modules
-   doins ${PN}.module
-}

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1.ebuild
deleted file mode 100644
index e250affc1b8..000
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="Command line tool for the YubiKey PIV application"
-SRC_URI="https://github.com/Yubico/yubico-piv-tool/archive/yubico-piv-tool-${PV}.tar.gz";
-HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
-
-LICENSE="BSD-2"
-SLOT="0/1"
-KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   dev-libs/openssl:0=[-bindist]
-   sys-apps/pcsc-lite
-"
-DEPEND="${RDEPEND}
-   dev-util/gengetopt
-   sys-apps/help2man
-   virtual/pkgconfig
-   test? ( dev-libs/check )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.1.1-install-man-page.patch
-   "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
-)
-
-S="${WORKDIR}/${PN}-${P}"
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_STATIC_LIB=OFF
-   -DBUILD_TESTING=$(usex test)
-   )
-   cmake_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/, sys-auth/yubico-piv-tool/files/

2020-10-15 Thread Marek Szuba
commit: 2cbe4d3d2f240b4d74b518b3137684d8b2b599f6
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Oct 15 14:19:31 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Oct 15 14:19:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cbe4d3d

sys-auth/yubico-piv-tool: remove -Werror from compiler flags

Closes: https://bugs.gentoo.org/749165
Signed-off-by: Marek Szuba  gentoo.org>

 .../files/yubico-piv-tool-2.1.1-no-Werror.patch   | 11 +++
 sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild  |  1 +
 2 files changed, 12 insertions(+)

diff --git 
a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-no-Werror.patch 
b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-no-Werror.patch
new file mode 100644
index 000..a177395bc75
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-no-Werror.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -97,7 +97,7 @@
+ find_package (PkgConfig REQUIRED)
+ 
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w") # -g -O2
+-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
++set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wshadow")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wwrite-strings")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-prototypes")

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild
index 1d8e72cde90..38068c17a3e 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild
@@ -27,6 +27,7 @@ BDEPEND="dev-util/gengetopt
 
 PATCHES=(
"${FILESDIR}"/${PN}-2.1.1-install-man-page.patch
+   "${FILESDIR}"/${PN}-2.1.1-no-Werror.patch
"${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
"${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
 )



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2020-10-14 Thread Agostino Sarubbo
commit: 1487d551fe3e45177892a61cebd9be5ae3a2200d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Oct 14 19:08:36 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Oct 14 19:08:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1487d551

sys-auth/yubico-piv-tool: amd64 stable wrt bug #748918

Package-Manager: Portage-3.0.4, Repoman-3.0.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild
index f415815a1d5..1d8e72cde90 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubi
 
 LICENSE="BSD-2"
 SLOT="0/1"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="libressl test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2020-10-14 Thread Marek Szuba
commit: 9ee34949181fabf46678eca6b5dbc7ccc8a0cbb6
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Oct 14 11:42:59 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Oct 14 14:42:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ee34949

sys-auth/yubico-piv-tool-2.1.1-r2: update description

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild
index a7a762e6a8d..f415815a1d5 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 inherit cmake
 
-DESCRIPTION="Command line tool for the YubiKey PIV application"
+DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV 
application"
 
SRC_URI="https://github.com/Yubico/yubico-piv-tool/archive/yubico-piv-tool-${PV}.tar.gz";
 HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
 



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2020-09-13 Thread Marek Szuba
commit: 3badac5a347d8a7dd489c4546d907bf2ff028ffb
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Sep 13 11:01:20 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Sep 13 11:02:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3badac5a

sys-auth/yubico-piv-tool: support IUSE=libressl

Builds and tests fine, upstream officially fixed LibreSSL compatibility
in 2.1.0.

Closes: https://bugs.gentoo.org/741987
Signed-off-by: Marek Szuba  gentoo.org>

 .../yubico-piv-tool-2.1.1-r2.ebuild| 51 ++
 1 file changed, 51 insertions(+)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild
new file mode 100644
index 000..a7a762e6a8d
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Command line tool for the YubiKey PIV application"
+SRC_URI="https://github.com/Yubico/yubico-piv-tool/archive/yubico-piv-tool-${PV}.tar.gz";
+HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
+
+LICENSE="BSD-2"
+SLOT="0/1"
+KEYWORDS="~amd64"
+IUSE="libressl test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="sys-apps/pcsc-lite
+   libressl? ( dev-libs/libressl:0= )
+   !libressl? ( dev-libs/openssl:0=[-bindist] )"
+DEPEND="${RDEPEND}
+   test? ( dev-libs/check )"
+BDEPEND="dev-util/gengetopt
+   sys-apps/help2man
+   virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.1.1-install-man-page.patch
+   "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
+   "${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
+)
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_STATIC_LIB=OFF
+   -DBUILD_TESTING=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   echo "module: ${EPREFIX}/usr/$(get_libdir)/libykcs11.so" > ${PN}.module 
\
+   || die "Failed to generate p11-kit module configuration"
+   insinto /usr/share/p11-kit/modules
+   doins ${PN}.module
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/, sys-auth/yubico-piv-tool/files/

2020-09-12 Thread Marek Szuba
commit: 51d539606ca3bdf81ca3fa041ff17d8844db7c69
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Sep 12 19:51:06 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Sep 12 19:56:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51d53960

sys-auth/yubico-piv-tool: explicitly set thread flags for ykcs11

Part of the library explicitly calls the pthread API.

Closes: https://bugs.gentoo.org/741957
Signed-off-by: Marek Szuba  gentoo.org>

 .../yubico-piv-tool-2.1.1-ykcs11-threads.patch | 29 ++
 .../yubico-piv-tool-2.1.1-r1.ebuild|  1 +
 2 files changed, 30 insertions(+)

diff --git 
a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-ykcs11-threads.patch 
b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-ykcs11-threads.patch
new file mode 100644
index 000..cd85616b5e6
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-ykcs11-threads.patch
@@ -0,0 +1,29 @@
+--- a/ykcs11/CMakeLists.txt
 b/ykcs11/CMakeLists.txt
+@@ -30,7 +30,7 @@
+ link_directories(${PCSC_LIBRARY_DIRS})
+ add_definitions(-DCRYPTOKI_EXPORTS)
+ if(NOT WIN32)
+-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden")
++set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden -pthread")
+ endif(NOT WIN32)
+ 
+ set(
+@@ -63,7 +63,7 @@
+ # static library
+ if(BUILD_STATIC_LIB)
+ add_library(ykcs11 STATIC ${SOURCE})
+-target_link_libraries(ykcs11 ${LIBCRYPTO_LDFLAGS} ykpiv_static)
++target_link_libraries(ykcs11 ${LIBCRYPTO_LDFLAGS} -pthread ykpiv_static)
+ set_target_properties (ykcs11 PROPERTIES COMPILE_FLAGS "-DSTATIC ")
+ if(WIN32)
+ set_target_properties(ykcs11 PROPERTIES OUTPUT_NAME ykcs11_static)
+@@ -73,7 +73,7 @@
+ 
+ # dynamic library
+ add_library(ykcs11_shared SHARED ${SOURCE})
+-target_link_libraries(ykcs11_shared ${LIBCRYPTO_LDFLAGS} ykpiv_shared)
++target_link_libraries(ykcs11_shared ${LIBCRYPTO_LDFLAGS} -pthread 
ykpiv_shared)
+ set_target_properties(ykcs11_shared PROPERTIES SOVERSION ${SO_VERSION} 
VERSION ${VERSION})
+ set_target_properties(ykcs11_shared PROPERTIES INSTALL_RPATH 
"${YKPIV_INSTALL_LIB_DIR}")
+ if(WIN32)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r1.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r1.ebuild
index 8065e7bafa7..07beb0c0d0d 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r1.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r1.ebuild
@@ -29,6 +29,7 @@ DEPEND="${RDEPEND}
 PATCHES=(
"${FILESDIR}"/${PN}-2.1.1-install-man-page.patch
"${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
+   "${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
 )
 
 S="${WORKDIR}/${PN}-${P}"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2020-09-06 Thread Marek Szuba
commit: e1978be7e390b24a4edbccb0db659e6ba7532f34
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Sep  6 20:38:16 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Sep  6 20:39:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1978be7

sys-auth/yubico-piv-tool: make p11-kit aware of libykcs11

Closes: https://bugs.gentoo.org/701058
Signed-off-by: Marek Szuba  gentoo.org>

 .../yubico-piv-tool-2.1.1-r1.ebuild| 51 ++
 1 file changed, 51 insertions(+)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r1.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r1.ebuild
new file mode 100644
index 000..8065e7bafa7
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Command line tool for the YubiKey PIV application"
+SRC_URI="https://github.com/Yubico/yubico-piv-tool/archive/yubico-piv-tool-${PV}.tar.gz";
+HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
+
+LICENSE="BSD-2"
+SLOT="0/1"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   dev-libs/openssl:0=[-bindist]
+   sys-apps/pcsc-lite
+"
+DEPEND="${RDEPEND}
+   dev-util/gengetopt
+   sys-apps/help2man
+   virtual/pkgconfig
+   test? ( dev-libs/check )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.1.1-install-man-page.patch
+   "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
+)
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_STATIC_LIB=OFF
+   -DBUILD_TESTING=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   echo "module: ${EPREFIX}/usr/$(get_libdir)/libykcs11.so" > ${PN}.module 
\
+   || die "Failed to generate p11-kit module configuration"
+   insinto /usr/share/p11-kit/modules
+   doins ${PN}.module
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2020-09-06 Thread Marek Szuba
commit: 0b15b58769f18e63aac1ab5331f03e711a80503e
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Sep  6 20:25:01 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Sep  6 20:27:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b15b587

sys-auth/yubico-piv-tool: add self as maintainer

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/yubico-piv-tool/metadata.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-auth/yubico-piv-tool/metadata.xml 
b/sys-auth/yubico-piv-tool/metadata.xml
index 6b15d203069..7dc418cb37c 100644
--- a/sys-auth/yubico-piv-tool/metadata.xml
+++ b/sys-auth/yubico-piv-tool/metadata.xml
@@ -1,7 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
+   
+   mare...@gentoo.org
+   Marek Szuba
+   

Yubico/yubico-piv-tool




[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2020-09-06 Thread Marek Szuba
commit: d790b279143cdc1e60dfada747de6f8d9c70fdf4
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Sep  6 20:26:10 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Sep  6 20:27:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d790b279

sys-auth/yubico-piv-tool: remove old

Bug: https://bugs.gentoo.org/732000
Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/yubico-piv-tool/Manifest  |  1 -
 .../yubico-piv-tool/yubico-piv-tool-1.6.2.ebuild   | 49 --
 2 files changed, 50 deletions(-)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
index ab6a0967e1c..5f22756f38b 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1,2 +1 @@
-DIST yubico-piv-tool-1.6.2.tar.gz 182957 BLAKE2B 
0ca9bdcda68f7ee100078604854caccc5141ab01e40f894ae36c3175afa3989c1d0074ef0994e1e369d67499a9778e22f0c5a3cf930d1ba162b0ee0ddbc05f91
 SHA512 
fc72b9d381f10b63c8958b6c90c1ee97e3ef6b5fb283a9513e6f2ace972710c2872903f38350d9e4a3576b16cb0890b067dd55f5c125f443d353df3f628a9f96
 DIST yubico-piv-tool-2.1.1.tar.gz 1302573 BLAKE2B 
da4419b7074930f7d264f21a12973511d350e687d0487b93d25a528f4a79d5df44dbbdde34ef7cd0d14507ba1a00f776fcd7eaf503f2253d8ee8da3e9a68010f
 SHA512 
14d880088f7624f600c6badb6504c4c71ef29ff82e9c29bd837013e62273c6b198ca581705cc7fb9f3c0c13334767ea7b340fb033ce99fb60fb0478281affc9f

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-1.6.2.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-1.6.2.ebuild
deleted file mode 100644
index 64ebd5a99bb..000
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-1.6.2.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools
-
-DESCRIPTION="Command line tool for the YubiKey PIV application"
-SRC_URI="https://github.com/Yubico/yubico-piv-tool/archive/yubico-piv-tool-${PV}.tar.gz";
-HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
-
-LICENSE="BSD-2"
-SLOT="0/1"
-KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   dev-libs/openssl:0=[-bindist]
-   sys-apps/pcsc-lite
-"
-DEPEND="${RDEPEND}
-   dev-util/gengetopt
-   sys-apps/help2man
-   virtual/pkgconfig
-   test? ( dev-libs/check )
-"
-
-S=${WORKDIR}/${PN}-${P}
-
-src_prepare() {
-   default
-
-   if ! use test; then
-   sed -i -e "/PKG_CHECK_MODULES(\[CHECK/d" configure.ac || die
-   sed -i -e "s/@CHECK_CFLAGS@//" -e "s/@CHECK_LIBS@//" 
*/*/Makefile.am || die
-   fi
-
-   eautoreconf
-}
-
-src_configure() {
-   econf --disable-static
-}
-
-src_install() {
-   default
-   rm "${D}"/usr/$(get_libdir)/*.la || die
-}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/, sys-auth/yubico-piv-tool/files/

2020-09-06 Thread Marek Szuba
commit: 022da5ba99be2b208ba8ae6ba60c15b118bbac5f
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Sep  6 20:23:13 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Sep  6 20:27:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=022da5ba

sys-auth/yubico-piv-tool: only build tests when FEATURES=test is set

This means we no longer need dev-libs/check present even when one does
not wish to run the test suite.

Closes: https://bugs.gentoo.org/739040
Signed-off-by: Marek Szuba  gentoo.org>

 .../yubico-piv-tool-2.1.1-tests-optional.patch | 39 ++
 .../yubico-piv-tool/yubico-piv-tool-2.1.1.ebuild   |  6 +++-
 2 files changed, 44 insertions(+), 1 deletion(-)

diff --git 
a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-tests-optional.patch 
b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-tests-optional.patch
new file mode 100644
index 000..6653ef2949c
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-tests-optional.patch
@@ -0,0 +1,39 @@
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -125,7 +125,9 @@
+ find_libcrypto()
+ include_directories(${LIBCRYPTO_INCLUDE_DIRS})
+ 
++if (BUILD_TESTING)
+ enable_testing()
++endif()
+ find_package(codecov)
+ 
+ add_subdirectory (lib)
+--- a/lib/CMakeLists.txt
 b/lib/CMakeLists.txt
+@@ -92,4 +92,6 @@
+ 
+ install(FILES ykpiv.pc DESTINATION ${YKPIV_INSTALL_PKGCONFIG_DIR})
+ 
++if (BUILD_TESTING)
+ add_subdirectory(tests)
++endif ()
+--- a/tool/CMakeLists.txt
 b/tool/CMakeLists.txt
+@@ -78,4 +78,6 @@
+ install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/yubico-piv-tool.1" DESTINATION 
"${YKPIV_INSTALL_MAN_DIR}/man1")
+ endif(MAN_PAGE)
+ 
++if (BUILD_TESTING)
+ add_subdirectory(tests)
++endif ()
+--- a/ykcs11/CMakeLists.txt
 b/ykcs11/CMakeLists.txt
+@@ -102,4 +102,6 @@
+ 
+ install(FILES ykcs11.pc DESTINATION ${YKPIV_INSTALL_PKGCONFIG_DIR})
+ 
++if (BUILD_TESTING)
+ add_subdirectory(tests)
++endif ()

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1.ebuild
index e61b928b9a3..e250affc1b8 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1.ebuild
@@ -26,13 +26,17 @@ DEPEND="${RDEPEND}
test? ( dev-libs/check )
 "
 
-PATCHES=("${FILESDIR}/${P}-install-man-page.patch")
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.1.1-install-man-page.patch
+   "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
+)
 
 S="${WORKDIR}/${PN}-${P}"
 
 src_configure() {
local mycmakeargs=(
-DBUILD_STATIC_LIB=OFF
+   -DBUILD_TESTING=$(usex test)
)
cmake_src_configure
 }



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/, sys-auth/yubico-piv-tool/files/

2020-08-24 Thread Joonas Niilola
commit: 0338258449e3bd125f50ea3244c043efc3801dec
Author: Sebastian Hamann  ares-macrotechnology  com>
AuthorDate: Mon Aug 10 18:05:50 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Aug 24 14:38:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03382584

sys-auth/yubico-piv-tool: Bump to version 2.1.1

Closes: https://bugs.gentoo.org/732000
Signed-off-by: Sebastian Hamann  ares-macrotechnology.com>
Closes: https://github.com/gentoo/gentoo/pull/17072
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-auth/yubico-piv-tool/Manifest  |  1 +
 .../yubico-piv-tool-2.1.1-install-man-page.patch   | 29 +
 .../yubico-piv-tool/yubico-piv-tool-2.1.1.ebuild   | 38 ++
 3 files changed, 68 insertions(+)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
index 4b8764da767..ab6a0967e1c 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1 +1,2 @@
 DIST yubico-piv-tool-1.6.2.tar.gz 182957 BLAKE2B 
0ca9bdcda68f7ee100078604854caccc5141ab01e40f894ae36c3175afa3989c1d0074ef0994e1e369d67499a9778e22f0c5a3cf930d1ba162b0ee0ddbc05f91
 SHA512 
fc72b9d381f10b63c8958b6c90c1ee97e3ef6b5fb283a9513e6f2ace972710c2872903f38350d9e4a3576b16cb0890b067dd55f5c125f443d353df3f628a9f96
+DIST yubico-piv-tool-2.1.1.tar.gz 1302573 BLAKE2B 
da4419b7074930f7d264f21a12973511d350e687d0487b93d25a528f4a79d5df44dbbdde34ef7cd0d14507ba1a00f776fcd7eaf503f2253d8ee8da3e9a68010f
 SHA512 
14d880088f7624f600c6badb6504c4c71ef29ff82e9c29bd837013e62273c6b198ca581705cc7fb9f3c0c13334767ea7b340fb033ce99fb60fb0478281affc9f

diff --git 
a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-install-man-page.patch 
b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-install-man-page.patch
new file mode 100644
index 000..1d782767b3a
--- /dev/null
+++ 
b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-install-man-page.patch
@@ -0,0 +1,29 @@
+From e635608785ed374bfe5f1158ca4a4695f3ea2f08 Mon Sep 17 00:00:00 2001
+From: Dan Church 
+Date: Fri, 5 Jun 2020 11:09:30 -0500
+Subject: [PATCH] Fix omission of man page
+
+It was omitting the man page upon first install, so in order to get the
+man page added to the installed set of files, one would have to run
+cmake, then run make, then run cmake again, then run make.
+
+Also clarify when the extra `install` step would be added.
+---
+ tool/CMakeLists.txt | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/tool/CMakeLists.txt b/tool/CMakeLists.txt
+index c12a474..03efefe 100644
+--- a/tool/CMakeLists.txt
 b/tool/CMakeLists.txt
+@@ -66,8 +66,10 @@ if (GENERATE_MAN_PAGES)
+ add_help2man_manpage (yubico-piv-tool.1 yubico-piv-tool)
+ 
+ add_custom_target (yubico-piv-tool-man ALL DEPENDS 
${CMAKE_CURRENT_SOURCE_DIR}/yubico-piv-tool.1)
++install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/yubico-piv-tool.1" DESTINATION 
"${YKPIV_INSTALL_MAN_DIR}/man1")
+ endif(GENERATE_MAN_PAGES)
+ 
++# If somehow a manpage was generated before configure started, install that 
too
+ find_file(MAN_PAGE yubico-piv-tool.1 PATHS ${CMAKE_CURRENT_SOURCE_DIR})
+ if(MAN_PAGE)
+ install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/yubico-piv-tool.1" DESTINATION 
"${YKPIV_INSTALL_MAN_DIR}/man1")

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1.ebuild
new file mode 100644
index 000..e61b928b9a3
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Command line tool for the YubiKey PIV application"
+SRC_URI="https://github.com/Yubico/yubico-piv-tool/archive/yubico-piv-tool-${PV}.tar.gz";
+HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
+
+LICENSE="BSD-2"
+SLOT="0/1"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   dev-libs/openssl:0=[-bindist]
+   sys-apps/pcsc-lite
+"
+DEPEND="${RDEPEND}
+   dev-util/gengetopt
+   sys-apps/help2man
+   virtual/pkgconfig
+   test? ( dev-libs/check )
+"
+
+PATCHES=("${FILESDIR}/${P}-install-man-page.patch")
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_STATIC_LIB=OFF
+   )
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/files/, sys-auth/yubico-piv-tool/

2019-09-11 Thread Michał Górny
commit: 6161432c4f5c51e4b9b04cb4a3ceaed6eb5d469a
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Sep 11 11:27:09 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Sep 11 16:20:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6161432c

sys-auth/yubico-piv-tool: Drop old

Signed-off-by: Michał Górny  gentoo.org>

 sys-auth/yubico-piv-tool/Manifest  |   2 -
 .../files/yubico-piv-tool-1.5.0-openssl110.patch   | 170 -
 .../yubico-piv-tool/yubico-piv-tool-1.4.4.ebuild   |  29 
 .../yubico-piv-tool/yubico-piv-tool-1.5.0.ebuild   |  50 --
 4 files changed, 251 deletions(-)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
index 54e39443516..4b8764da767 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1,3 +1 @@
-DIST yubico-piv-tool-1.4.4.tar.gz 109397 BLAKE2B 
ed1299508cd5f90c662a184527ae696e7cd463b0e8d327413c8acff47d41de7393570798b9582e845262afb1780e0c759246980051a62335d7033de913147bb9
 SHA512 
3edc341fdbeeacfbf541adc37d0bd2b1df9777ca04e13bc1825e99a151008213b816ff811e83e623f52eb1400a8146c36a5a874fc5e26a89c9398e79a0e234e1
-DIST yubico-piv-tool-1.5.0.tar.gz 179092 BLAKE2B 
d15eed89699989ff545f18cf54fd42349fc81862e7bb3e182fad59d0604cc9729dedcc4aaa40d3f28c1d40b78ddbb5ed073c107cb233d0fa66a17a2ef1e29d68
 SHA512 
10d7f7a2f163e5f61d6f7463f2124d06213506bff39f3fe0c5b361f90f8bc372de97ab1fa8d6bfcb77659f086d71f8ff536a064ee8f300a620b929ee76e8f8b9
 DIST yubico-piv-tool-1.6.2.tar.gz 182957 BLAKE2B 
0ca9bdcda68f7ee100078604854caccc5141ab01e40f894ae36c3175afa3989c1d0074ef0994e1e369d67499a9778e22f0c5a3cf930d1ba162b0ee0ddbc05f91
 SHA512 
fc72b9d381f10b63c8958b6c90c1ee97e3ef6b5fb283a9513e6f2ace972710c2872903f38350d9e4a3576b16cb0890b067dd55f5c125f443d353df3f628a9f96

diff --git 
a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-1.5.0-openssl110.patch 
b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-1.5.0-openssl110.patch
deleted file mode 100644
index 86b8bf9bedc..000
--- a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-1.5.0-openssl110.patch
+++ /dev/null
@@ -1,170 +0,0 @@
-From c8372f27d791aa445e879ded4efe4a267e3ff48e Mon Sep 17 00:00:00 2001
-From: quentin 
-Date: Mon, 26 Feb 2018 02:43:41 +0100
-Subject: [PATCH] Improve compatibility with OpenSSL 1.1.0
-
-* add missing headers
-* stop using deprecated APIs

- tool/util.c|  1 +
- tool/yubico-piv-tool.c | 24 +++-
- ykcs11/openssl_types.h |  1 +
- ykcs11/openssl_utils.c | 11 +++
- 4 files changed, 36 insertions(+), 1 deletion(-)
-
-diff --git a/tool/util.c b/tool/util.c
-index de6b071..5b299ca 100644
 a/tool/util.c
-+++ b/tool/util.c
-@@ -38,6 +38,7 @@
- #endif
- 
- #include "openssl-compat.h"
-+#include 
- #include 
- #include 
- #include 
-diff --git a/tool/yubico-piv-tool.c b/tool/yubico-piv-tool.c
-index c40b027..f8b72b1 100644
 a/tool/yubico-piv-tool.c
-+++ b/tool/yubico-piv-tool.c
-@@ -43,10 +43,12 @@
- #endif
- 
- #include "openssl-compat.h"
-+#include 
- #include 
- #include 
- #include 
- #include 
-+#include 
- 
- #include "cmdline.h"
- #include "util.h"
-@@ -868,11 +870,19 @@ static bool selfsign_certificate(ykpiv_state *state, 
enum enum_key_format key_fo
- fprintf(stderr, "Failed to set certificate serial.\n");
- goto selfsign_out;
-   }
-+#if OPENSSL_VERSION_NUMBER < 0x1010L
-   if(!X509_gmtime_adj(X509_get_notBefore(x509), 0)) {
-+#else
-+  if(!X509_gmtime_adj(X509_getm_notBefore(x509), 0)) {
-+#endif
- fprintf(stderr, "Failed to set certificate notBefore.\n");
- goto selfsign_out;
-   }
-+#if OPENSSL_VERSION_NUMBER < 0x1010L
-   if(!X509_gmtime_adj(X509_get_notAfter(x509), 60L * 60L * 24L * validDays)) {
-+#else
-+  if(!X509_gmtime_adj(X509_getm_notAfter(x509), 60L * 60L * 24L * validDays)) 
{
-+#endif
- fprintf(stderr, "Failed to set certificate notAfter.\n");
- goto selfsign_out;
-   }
-@@ -1241,7 +1251,7 @@ static void print_cert_info(ykpiv_state *state, enum 
enum_slot slot, const EVP_M
- 
-   if(*ptr++ == 0x70) {
- unsigned int md_len = sizeof(data);
--ASN1_TIME *not_before, *not_after;
-+const ASN1_TIME *not_before, *not_after;
- 
- ptr += get_length(ptr, &cert_len);
- x509 = X509_new();
-@@ -1299,13 +1309,21 @@ static void print_cert_info(ykpiv_state *state, enum 
enum_slot slot, const EVP_M
- dump_data(data, md_len, output, false, format_arg_hex);
- 
- bio = BIO_new_fp(output, BIO_NOCLOSE | BIO_FP_TEXT);
-+#if OPENSSL_VERSION_NUMBER < 0x1010L
- not_before = X509_get_notBefore(x509);
-+#else
-+not_before = X509_get0_notBefore(x509);
-+#endif
- if(not_before) {
-   fprintf(output, "\tNot Before:\t");
-   ASN1_TIME_print(bio, not_before);
-   fprintf(output, "\n");
- }
-+#if OPENSSL_VERSION_NUMBER < 0x1010L
- not_after = X509_get_notAfter(x509);
-+#else
-+not_after = X509_get0_notAfter(x509);
-+#endif
- if(not_after) {
-   

[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2018-10-02 Thread Richard Farina
commit: 3c85d38dda508f21a6158b60129f064c6c950a95
Author: Zero_Chaos  gentoo  org>
AuthorDate: Tue Oct  2 18:34:37 2018 +
Commit: Richard Farina  gentoo  org>
CommitDate: Tue Oct  2 19:19:46 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c85d38d

sys-auth/yubico-piv-tool: bump

Signed-off-by: Rick Farina  gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 sys-auth/yubico-piv-tool/Manifest  |  1 +
 .../yubico-piv-tool/yubico-piv-tool-1.6.2.ebuild   | 48 ++
 2 files changed, 49 insertions(+)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
index f56afecfd6f..54e39443516 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1,2 +1,3 @@
 DIST yubico-piv-tool-1.4.4.tar.gz 109397 BLAKE2B 
ed1299508cd5f90c662a184527ae696e7cd463b0e8d327413c8acff47d41de7393570798b9582e845262afb1780e0c759246980051a62335d7033de913147bb9
 SHA512 
3edc341fdbeeacfbf541adc37d0bd2b1df9777ca04e13bc1825e99a151008213b816ff811e83e623f52eb1400a8146c36a5a874fc5e26a89c9398e79a0e234e1
 DIST yubico-piv-tool-1.5.0.tar.gz 179092 BLAKE2B 
d15eed89699989ff545f18cf54fd42349fc81862e7bb3e182fad59d0604cc9729dedcc4aaa40d3f28c1d40b78ddbb5ed073c107cb233d0fa66a17a2ef1e29d68
 SHA512 
10d7f7a2f163e5f61d6f7463f2124d06213506bff39f3fe0c5b361f90f8bc372de97ab1fa8d6bfcb77659f086d71f8ff536a064ee8f300a620b929ee76e8f8b9
+DIST yubico-piv-tool-1.6.2.tar.gz 182957 BLAKE2B 
0ca9bdcda68f7ee100078604854caccc5141ab01e40f894ae36c3175afa3989c1d0074ef0994e1e369d67499a9778e22f0c5a3cf930d1ba162b0ee0ddbc05f91
 SHA512 
fc72b9d381f10b63c8958b6c90c1ee97e3ef6b5fb283a9513e6f2ace972710c2872903f38350d9e4a3576b16cb0890b067dd55f5c125f443d353df3f628a9f96

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-1.6.2.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-1.6.2.ebuild
new file mode 100644
index 000..5bbb1bafd01
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-1.6.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Command line tool for the YubiKey PIV application"
+SRC_URI="https://github.com/Yubico/yubico-piv-tool/archive/yubico-piv-tool-${PV}.tar.gz";
+HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
+
+LICENSE="BSD-2"
+SLOT="0/1"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="
+   dev-libs/openssl:0=[-bindist]
+   sys-apps/pcsc-lite
+"
+DEPEND="${RDEPEND}
+   dev-util/gengetopt
+   sys-apps/help2man
+   virtual/pkgconfig
+   test? ( dev-libs/check )
+"
+
+S=${WORKDIR}/${PN}-${P}
+
+src_prepare() {
+   default
+
+   if ! use test; then
+   sed -i -e "/PKG_CHECK_MODULES(\[CHECK/d" configure.ac || die
+   sed -i -e "s/@CHECK_CFLAGS@//" -e "s/@CHECK_LIBS@//" 
*/*/Makefile.am || die
+   fi
+
+   eautoreconf
+}
+
+src_configure() {
+   econf --disable-static
+}
+
+src_install() {
+   default
+   rm "${D}"/usr/$(get_libdir)/*.la || die
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/, sys-auth/yubico-piv-tool/files/

2018-03-06 Thread Michael Palimaka
commit: bce09dab8931afbb372738f1d2c3eca91a727c4f
Author: Michael Palimaka  gentoo  org>
AuthorDate: Tue Mar  6 11:22:22 2018 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Tue Mar  6 11:22:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bce09dab

sys-auth/yubico-piv-tool: version bump 1.5.0

Includes a backported patch from upstream solving build failure with 
openssl-1.1.

Closes: https://bugs.gentoo.org/648796
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-auth/yubico-piv-tool/Manifest  |   1 +
 .../files/yubico-piv-tool-1.5.0-openssl110.patch   | 170 +
 .../yubico-piv-tool/yubico-piv-tool-1.5.0.ebuild   |  50 ++
 3 files changed, 221 insertions(+)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
index 13ceea8d7a2..f56afecfd6f 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1 +1,2 @@
 DIST yubico-piv-tool-1.4.4.tar.gz 109397 BLAKE2B 
ed1299508cd5f90c662a184527ae696e7cd463b0e8d327413c8acff47d41de7393570798b9582e845262afb1780e0c759246980051a62335d7033de913147bb9
 SHA512 
3edc341fdbeeacfbf541adc37d0bd2b1df9777ca04e13bc1825e99a151008213b816ff811e83e623f52eb1400a8146c36a5a874fc5e26a89c9398e79a0e234e1
+DIST yubico-piv-tool-1.5.0.tar.gz 179092 BLAKE2B 
d15eed89699989ff545f18cf54fd42349fc81862e7bb3e182fad59d0604cc9729dedcc4aaa40d3f28c1d40b78ddbb5ed073c107cb233d0fa66a17a2ef1e29d68
 SHA512 
10d7f7a2f163e5f61d6f7463f2124d06213506bff39f3fe0c5b361f90f8bc372de97ab1fa8d6bfcb77659f086d71f8ff536a064ee8f300a620b929ee76e8f8b9

diff --git 
a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-1.5.0-openssl110.patch 
b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-1.5.0-openssl110.patch
new file mode 100644
index 000..86b8bf9bedc
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-1.5.0-openssl110.patch
@@ -0,0 +1,170 @@
+From c8372f27d791aa445e879ded4efe4a267e3ff48e Mon Sep 17 00:00:00 2001
+From: quentin 
+Date: Mon, 26 Feb 2018 02:43:41 +0100
+Subject: [PATCH] Improve compatibility with OpenSSL 1.1.0
+
+* add missing headers
+* stop using deprecated APIs
+---
+ tool/util.c|  1 +
+ tool/yubico-piv-tool.c | 24 +++-
+ ykcs11/openssl_types.h |  1 +
+ ykcs11/openssl_utils.c | 11 +++
+ 4 files changed, 36 insertions(+), 1 deletion(-)
+
+diff --git a/tool/util.c b/tool/util.c
+index de6b071..5b299ca 100644
+--- a/tool/util.c
 b/tool/util.c
+@@ -38,6 +38,7 @@
+ #endif
+ 
+ #include "openssl-compat.h"
++#include 
+ #include 
+ #include 
+ #include 
+diff --git a/tool/yubico-piv-tool.c b/tool/yubico-piv-tool.c
+index c40b027..f8b72b1 100644
+--- a/tool/yubico-piv-tool.c
 b/tool/yubico-piv-tool.c
+@@ -43,10 +43,12 @@
+ #endif
+ 
+ #include "openssl-compat.h"
++#include 
+ #include 
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ #include "cmdline.h"
+ #include "util.h"
+@@ -868,11 +870,19 @@ static bool selfsign_certificate(ykpiv_state *state, 
enum enum_key_format key_fo
+ fprintf(stderr, "Failed to set certificate serial.\n");
+ goto selfsign_out;
+   }
++#if OPENSSL_VERSION_NUMBER < 0x1010L
+   if(!X509_gmtime_adj(X509_get_notBefore(x509), 0)) {
++#else
++  if(!X509_gmtime_adj(X509_getm_notBefore(x509), 0)) {
++#endif
+ fprintf(stderr, "Failed to set certificate notBefore.\n");
+ goto selfsign_out;
+   }
++#if OPENSSL_VERSION_NUMBER < 0x1010L
+   if(!X509_gmtime_adj(X509_get_notAfter(x509), 60L * 60L * 24L * validDays)) {
++#else
++  if(!X509_gmtime_adj(X509_getm_notAfter(x509), 60L * 60L * 24L * validDays)) 
{
++#endif
+ fprintf(stderr, "Failed to set certificate notAfter.\n");
+ goto selfsign_out;
+   }
+@@ -1241,7 +1251,7 @@ static void print_cert_info(ykpiv_state *state, enum 
enum_slot slot, const EVP_M
+ 
+   if(*ptr++ == 0x70) {
+ unsigned int md_len = sizeof(data);
+-ASN1_TIME *not_before, *not_after;
++const ASN1_TIME *not_before, *not_after;
+ 
+ ptr += get_length(ptr, &cert_len);
+ x509 = X509_new();
+@@ -1299,13 +1309,21 @@ static void print_cert_info(ykpiv_state *state, enum 
enum_slot slot, const EVP_M
+ dump_data(data, md_len, output, false, format_arg_hex);
+ 
+ bio = BIO_new_fp(output, BIO_NOCLOSE | BIO_FP_TEXT);
++#if OPENSSL_VERSION_NUMBER < 0x1010L
+ not_before = X509_get_notBefore(x509);
++#else
++not_before = X509_get0_notBefore(x509);
++#endif
+ if(not_before) {
+   fprintf(output, "\tNot Before:\t");
+   ASN1_TIME_print(bio, not_before);
+   fprintf(output, "\n");
+ }
++#if OPENSSL_VERSION_NUMBER < 0x1010L
+ not_after = X509_get_notAfter(x509);
++#else
++not_after = X509_get0_notAfter(x509);
++#endif
+ if(not_after) {
+   fprintf(output, "\tNot After:\t");
+   ASN1_TIME_print(bio, not_after);
+@@ -1950,7 +1968,9 @@ int main(int argc, char *argv[]) {
+ 
+ 
+   /* openssl setup.. */
++#if OPENSSL_VERSION_NUMBER < 0x1010L
+   OpenSSL_add_all_algo

[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2017-11-24 Thread Michael Palimaka
commit: b62bcc1b6b3d7b4d8a51ee30e01a7847d25d1022
Author: Michael Palimaka  gentoo  org>
AuthorDate: Fri Nov 24 23:05:15 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Fri Nov 24 23:09:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b62bcc1b

sys-auth/yubico-piv-tool: remove 1.4.3

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 sys-auth/yubico-piv-tool/Manifest  |  1 -
 .../yubico-piv-tool/yubico-piv-tool-1.4.3.ebuild   | 29 --
 2 files changed, 30 deletions(-)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
index 8b94609c658..945c3342f96 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1,2 +1 @@
-DIST yubico-piv-tool-1.4.3.tar.gz 108262 SHA256 
e2e46681716cde14be84f68a8b455bde0a6bef2c1703fd043763050c4e65fe5f SHA512 
86b2564fe96a8b4dbcf3f122316c4e258628c97bf6917953d93c6e0265df866c6b3ef5a6c7572177d26ef74265ef39db8e15348a08e6eb0be1e145978affd16b
 WHIRLPOOL 
19ad5e09db318d72dca9c63af85e5b6e7a196c4fa6a591faed91702051284ede40f04d3ad7ee8eeff695a040c4cb2e5479f2620e4bcc0e3f67e2f47d58db0684
 DIST yubico-piv-tool-1.4.4.tar.gz 109397 SHA256 
dc6253f1812cb29c66be1f194ca2ad8c2d019b8ce6564a0308ca9cf219e0be33 SHA512 
3edc341fdbeeacfbf541adc37d0bd2b1df9777ca04e13bc1825e99a151008213b816ff811e83e623f52eb1400a8146c36a5a874fc5e26a89c9398e79a0e234e1
 WHIRLPOOL 
61636a8807d374af09f06a589cf268e5ff9b578db0d911042ca6715f9be5fd118575badad40e5acc0556656f1ad94f58518ca1681dbc69e29f39f22fb187ba41

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-1.4.3.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-1.4.3.ebuild
deleted file mode 100644
index 9d5c1a2d880..000
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-1.4.3.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools
-
-DESCRIPTION="Command line tool for the YubiKey PIV application"
-SRC_URI="https://github.com/Yubico/yubico-piv-tool/archive/yubico-piv-tool-${PV}.tar.gz";
-HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
-
-LICENSE="BSD-2"
-SLOT="0/1"
-KEYWORDS="~amd64"
-IUSE=""
-
-RDEPEND="dev-libs/openssl:0=
-   sys-apps/pcsc-lite"
-DEPEND="dev-util/gengetopt
-   sys-apps/help2man
-   virtual/pkgconfig
-   ${RDEPEND}"
-
-S=${WORKDIR}/${PN}-${P}
-
-src_prepare() {
-   default
-   eautoreconf
-}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2017-11-21 Thread Manuel Rüger
commit: e74389cdbdbce65e0af1e7f6d6635cc5fce9bc9f
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Nov 21 17:59:59 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Nov 21 17:59:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e74389cd

sys-auth/yubico-piv-tool: Unmaintain

Package-Manager: Portage-2.3.15, Repoman-2.3.6

 sys-auth/yubico-piv-tool/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/sys-auth/yubico-piv-tool/metadata.xml 
b/sys-auth/yubico-piv-tool/metadata.xml
index 1b855a96865..6b15d203069 100644
--- a/sys-auth/yubico-piv-tool/metadata.xml
+++ b/sys-auth/yubico-piv-tool/metadata.xml
@@ -1,10 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   mr...@gentoo.org
-   Manuel Rüger
-   
+   

Yubico/yubico-piv-tool




[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2017-10-19 Thread Manuel Rüger
commit: 8b3bcad9d37724ca481a2b7b2b123bbeca7e454c
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Oct 19 13:07:35 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Oct 19 13:07:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b3bcad9

sys-auth/yubico-piv-tool: Requires IUSE="-bindist" on openssl

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 sys-auth/yubico-piv-tool/yubico-piv-tool-1.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-1.4.4.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-1.4.4.ebuild
index 9d5c1a2d880..689eca071a9 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-1.4.4.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-1.4.4.ebuild
@@ -14,7 +14,7 @@ SLOT="0/1"
 KEYWORDS="~amd64"
 IUSE=""
 
-RDEPEND="dev-libs/openssl:0=
+RDEPEND="dev-libs/openssl:0=[-bindist]
sys-apps/pcsc-lite"
 DEPEND="dev-util/gengetopt
sys-apps/help2man



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/

2017-10-19 Thread Manuel Rüger
commit: d125c0512453c279d8869f2aa49a8d944644220f
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Oct 19 12:15:04 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Oct 19 12:17:10 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d125c051

sys-auth/yubico-piv-tool: Version bump to 1.4.4

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 sys-auth/yubico-piv-tool/Manifest  |  1 +
 .../yubico-piv-tool/yubico-piv-tool-1.4.4.ebuild   | 29 ++
 2 files changed, 30 insertions(+)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
index 43e7e1b4ef4..8b94609c658 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1 +1,2 @@
 DIST yubico-piv-tool-1.4.3.tar.gz 108262 SHA256 
e2e46681716cde14be84f68a8b455bde0a6bef2c1703fd043763050c4e65fe5f SHA512 
86b2564fe96a8b4dbcf3f122316c4e258628c97bf6917953d93c6e0265df866c6b3ef5a6c7572177d26ef74265ef39db8e15348a08e6eb0be1e145978affd16b
 WHIRLPOOL 
19ad5e09db318d72dca9c63af85e5b6e7a196c4fa6a591faed91702051284ede40f04d3ad7ee8eeff695a040c4cb2e5479f2620e4bcc0e3f67e2f47d58db0684
+DIST yubico-piv-tool-1.4.4.tar.gz 109397 SHA256 
dc6253f1812cb29c66be1f194ca2ad8c2d019b8ce6564a0308ca9cf219e0be33 SHA512 
3edc341fdbeeacfbf541adc37d0bd2b1df9777ca04e13bc1825e99a151008213b816ff811e83e623f52eb1400a8146c36a5a874fc5e26a89c9398e79a0e234e1
 WHIRLPOOL 
61636a8807d374af09f06a589cf268e5ff9b578db0d911042ca6715f9be5fd118575badad40e5acc0556656f1ad94f58518ca1681dbc69e29f39f22fb187ba41

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-1.4.4.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-1.4.4.ebuild
new file mode 100644
index 000..9d5c1a2d880
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-1.4.4.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Command line tool for the YubiKey PIV application"
+SRC_URI="https://github.com/Yubico/yubico-piv-tool/archive/yubico-piv-tool-${PV}.tar.gz";
+HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
+
+LICENSE="BSD-2"
+SLOT="0/1"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-libs/openssl:0=
+   sys-apps/pcsc-lite"
+DEPEND="dev-util/gengetopt
+   sys-apps/help2man
+   virtual/pkgconfig
+   ${RDEPEND}"
+
+S=${WORKDIR}/${PN}-${P}
+
+src_prepare() {
+   default
+   eautoreconf
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/, sys-auth/yubico-piv-tool/files/

2017-04-28 Thread Alexys Jacob
commit: 272c18805c55eacd87442b9aa7448aecefb35098
Author: Ultrabug  gentoo  org>
AuthorDate: Fri Apr 28 14:40:24 2017 +
Commit: Alexys Jacob  gentoo  org>
CommitDate: Fri Apr 28 14:40:52 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=272c1880

sys-auth/yubico-piv-tool: version bump, drop old

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sys-auth/yubico-piv-tool/Manifest  |  2 +-
 .../files/yubico-piv-tool-1.4.2-help2man-fix.patch | 23 --
 ...l-1.4.2.ebuild => yubico-piv-tool-1.4.3.ebuild} |  4 +---
 3 files changed, 2 insertions(+), 27 deletions(-)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
index b2ec4cb9c21..43e7e1b4ef4 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1 +1 @@
-DIST yubico-piv-tool-1.4.2.tar.gz 113783 SHA256 
814609e0ee2cc3be6f1908e1a62c6f6e280c8e15991ecea1c0afce70b48b6a8a SHA512 
f2fd80a8d6faddf750d648c4777fb4d7f484a243e6d74c18fa0effc56469ded8e03f9c3437494c3e2d2cfba6397b6bcdec5d1286900b2908f21e1f0ccaeb59eb
 WHIRLPOOL 
12516ac66fbe74202a76bb1dee4630792372974cea57f83c188167643acd4abf9855794b769fe7c9878f8d964cf5d17f98e7906d09101679133379a1e3bde7a5
+DIST yubico-piv-tool-1.4.3.tar.gz 108262 SHA256 
e2e46681716cde14be84f68a8b455bde0a6bef2c1703fd043763050c4e65fe5f SHA512 
86b2564fe96a8b4dbcf3f122316c4e258628c97bf6917953d93c6e0265df866c6b3ef5a6c7572177d26ef74265ef39db8e15348a08e6eb0be1e145978affd16b
 WHIRLPOOL 
19ad5e09db318d72dca9c63af85e5b6e7a196c4fa6a591faed91702051284ede40f04d3ad7ee8eeff695a040c4cb2e5479f2620e4bcc0e3f67e2f47d58db0684

diff --git 
a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-1.4.2-help2man-fix.patch 
b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-1.4.2-help2man-fix.patch
deleted file mode 100644
index 46513315219..000
--- a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-1.4.2-help2man-fix.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 8bdf7378d6ada57204f93684a488368bbae11858 Mon Sep 17 00:00:00 2001
-From: Klas Lindfors 
-Date: Mon, 12 Sep 2016 09:54:04 +0200
-Subject: [PATCH] fixup dependencies for yubico-piv-tool.1
-
-should now support parallel builds

- tool/Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tool/Makefile.am b/tool/Makefile.am
-index 6100da7..4a1657b 100644
 a/tool/Makefile.am
-+++ b/tool/Makefile.am
-@@ -54,7 +54,7 @@ MAINTAINERCLEANFILES = $(BUILT_SOURCES)
- dist_man_MANS = yubico-piv-tool.1
- MAINTAINERCLEANFILES += $(dist_man_MANS)
- 
--yubico-piv-tool.1: $(yubico_piv_tool_SOURCES) $(libpiv_cmd_la_SOURCES)
-+yubico-piv-tool.1: $(yubico_piv_tool_SOURCES) $(libpiv_cmd_la_SOURCES) 
$(top_srcdir)/configure.ac | $(builddir)/yubico-piv-tool$(EXEEXT)
-   $(HELP2MAN) --no-info \
-   --name="Yubico PIV tool" \
-   --include=$(srcdir)/yubico-piv-tool.h2m \

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-1.4.2.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-1.4.3.ebuild
similarity index 86%
rename from sys-auth/yubico-piv-tool/yubico-piv-tool-1.4.2.ebuild
rename to sys-auth/yubico-piv-tool/yubico-piv-tool-1.4.3.ebuild
index eb3d97e73c1..9d5c1a2d880 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-1.4.2.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-1.4.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -23,8 +23,6 @@ DEPEND="dev-util/gengetopt
 
 S=${WORKDIR}/${PN}-${P}
 
-PATCHES=( "${FILESDIR}"/${P}-help2man-fix.patch )
-
 src_prepare() {
default
eautoreconf



[gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/, sys-auth/yubico-piv-tool/files/

2016-11-14 Thread Manuel Rüger
commit: e13b5501105ae03e2a258bd1d6f1b0e172da124c
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Nov 14 11:17:49 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Nov 14 11:18:37 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e13b5501

sys-auth/yubico-piv-tool: Initial version

Package-Manager: portage-2.3.0

 sys-auth/yubico-piv-tool/Manifest  |  1 +
 .../files/yubico-piv-tool-1.4.2-help2man-fix.patch | 23 
 sys-auth/yubico-piv-tool/metadata.xml  | 11 
 .../yubico-piv-tool/yubico-piv-tool-1.4.2.ebuild   | 32 ++
 4 files changed, 67 insertions(+)

diff --git a/sys-auth/yubico-piv-tool/Manifest 
b/sys-auth/yubico-piv-tool/Manifest
new file mode 100644
index ..b2ec4cb
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -0,0 +1 @@
+DIST yubico-piv-tool-1.4.2.tar.gz 113783 SHA256 
814609e0ee2cc3be6f1908e1a62c6f6e280c8e15991ecea1c0afce70b48b6a8a SHA512 
f2fd80a8d6faddf750d648c4777fb4d7f484a243e6d74c18fa0effc56469ded8e03f9c3437494c3e2d2cfba6397b6bcdec5d1286900b2908f21e1f0ccaeb59eb
 WHIRLPOOL 
12516ac66fbe74202a76bb1dee4630792372974cea57f83c188167643acd4abf9855794b769fe7c9878f8d964cf5d17f98e7906d09101679133379a1e3bde7a5

diff --git 
a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-1.4.2-help2man-fix.patch 
b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-1.4.2-help2man-fix.patch
new file mode 100644
index ..4651331
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-1.4.2-help2man-fix.patch
@@ -0,0 +1,23 @@
+From 8bdf7378d6ada57204f93684a488368bbae11858 Mon Sep 17 00:00:00 2001
+From: Klas Lindfors 
+Date: Mon, 12 Sep 2016 09:54:04 +0200
+Subject: [PATCH] fixup dependencies for yubico-piv-tool.1
+
+should now support parallel builds
+---
+ tool/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tool/Makefile.am b/tool/Makefile.am
+index 6100da7..4a1657b 100644
+--- a/tool/Makefile.am
 b/tool/Makefile.am
+@@ -54,7 +54,7 @@ MAINTAINERCLEANFILES = $(BUILT_SOURCES)
+ dist_man_MANS = yubico-piv-tool.1
+ MAINTAINERCLEANFILES += $(dist_man_MANS)
+ 
+-yubico-piv-tool.1: $(yubico_piv_tool_SOURCES) $(libpiv_cmd_la_SOURCES)
++yubico-piv-tool.1: $(yubico_piv_tool_SOURCES) $(libpiv_cmd_la_SOURCES) 
$(top_srcdir)/configure.ac | $(builddir)/yubico-piv-tool$(EXEEXT)
+   $(HELP2MAN) --no-info \
+   --name="Yubico PIV tool" \
+   --include=$(srcdir)/yubico-piv-tool.h2m \

diff --git a/sys-auth/yubico-piv-tool/metadata.xml 
b/sys-auth/yubico-piv-tool/metadata.xml
new file mode 100644
index ..1b855a9
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/metadata.xml
@@ -0,0 +1,11 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   mr...@gentoo.org
+   Manuel Rüger
+   
+   
+   Yubico/yubico-piv-tool
+   
+

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-1.4.2.ebuild 
b/sys-auth/yubico-piv-tool/yubico-piv-tool-1.4.2.ebuild
new file mode 100644
index ..eef3429
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-1.4.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Command line tool for the YubiKey PIV application"
+SRC_URI="https://github.com/Yubico/yubico-piv-tool/archive/yubico-piv-tool-${PV}.tar.gz";
+HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ 
https://github.com/Yubico/yubico-piv-tool";
+
+LICENSE="BSD-2"
+SLOT="0/1"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-libs/openssl:0=
+   sys-apps/pcsc-lite"
+DEPEND="dev-util/gengetopt
+   sys-apps/help2man
+   virtual/pkgconfig
+   ${RDEPEND}"
+
+S=${WORKDIR}/${PN}-${P}
+
+PATCHES=( "${FILESDIR}"/${P}-help2man-fix.patch )
+
+src_prepare() {
+   default
+   eautoreconf
+}