From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- sys-auth/yubico-piv-tool/Manifest | 3 ++ .../files/yubico-piv-tool-2.3.0-no-Werror.patch | 11 +++++ .../yubico-piv-tool/yubico-piv-tool-2.3.0.ebuild | 48 ++++++++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.3.0-no-Werror.patch create mode 100644 sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.0.ebuild (limited to 'sys-auth/yubico-piv-tool') diff --git a/sys-auth/yubico-piv-tool/Manifest b/sys-auth/yubico-piv-tool/Manifest index dffcace0c1f0..db578f05239b 100644 --- a/sys-auth/yubico-piv-tool/Manifest +++ b/sys-auth/yubico-piv-tool/Manifest @@ -2,6 +2,9 @@ AUX yubico-piv-tool-2.1.1-no-Werror.patch 453 BLAKE2B 80e024475d4c5c648154a0cb79 AUX yubico-piv-tool-2.1.1-tests-optional.patch 881 BLAKE2B 02821ac155a75a213567958d33e5f9b25838c1b1ea9dc65efda223ee397643d2d6479b5e5bd5867dfaf057d64bdebf1f1379d2187e4f9fbca1fb4fa97133d0fa SHA512 f694e2d9e882cdb04728a3fc1f857c9c5c388ed439d6efbb385fa96414c8241ce918f7a2bbbe0ac2c94fbf3b2981fc68de4c7a999822a14068c8f43bd21de43d AUX yubico-piv-tool-2.1.1-ykcs11-threads.patch 1168 BLAKE2B ec91a73c7ad6c9ddd2e6250536b89f01d1778a79bc8df823e896323053dac8fe23c6b23a84b526da61146204df3cbc7889cae3ffc9a0414626e6ddb3b0806051 SHA512 d48787ff5de1ed5ff80fbf2f65308ea0c174500e32b55033508284aa05b0674f013479aaed5697a8f1207f821e7fdbf99cc206830725c023aa3a349fa0792172 AUX yubico-piv-tool-2.2.1-openssl3.patch 983 BLAKE2B 6ceffc2aa061e2d27bf0868e4ef48d25ae37b621098b53fd6f0ae3ae234cfcfc9705cb0633ace91d00b37d20d7d975a20870912eebf6bf38c6ccca8a895c8c81 SHA512 bb4495b0be964ddf6226b83ba04fbf0e8a7d27097a5636d809936dc27e388a7c8b4ef61d393be28ba1e440a1b6b198017cffc74cbda143953f714f6c72e65fde +AUX yubico-piv-tool-2.3.0-no-Werror.patch 402 BLAKE2B 6ffdac507c007e3dfa8254b6220345da2d6789b2177300d33688387845c0d69cffb545b194ecef53b79120f15b0c35c153226be0ac6e16f97f6ca4840c4e5c41 SHA512 78587219d8b676a0af455bcf98b51765c4c3a8d2df58f34bbecd9135ed8e2566f568f79f07fee930c6f07d836a79f8b3aa4ce46e7715470210d007ff3c1be579 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 EBUILD yubico-piv-tool-2.2.1.ebuild 1327 BLAKE2B a4e83bf27261b27c27ea61c7ee9e8cf3596d42be510277c7115e1c0b1167d91d801472e64221c605478da3870f006bafb2d252f1cbb509880e72398a72525455 SHA512 157573f9a400802dcfad3148e36b907131ccc5e2ad52f9811c993e474e0de7552db705c80fb7c0c3e05a9bd8c30e5f0a9d6c8d89cb6149d67c5e240fad15d278 +EBUILD yubico-piv-tool-2.3.0.ebuild 1150 BLAKE2B 7907168c69623cad413577cd2d28b18120c96378fb22eff112ee6ec131ec6977e98f93bb2c06b62b6c33a13740af541b7f6475c74c90d94ebc9431f6fb2e8a97 SHA512 3579a996d3f139a6994cb28cce6a0f31a6e3ff0922b4b636340ee000cff4c262df4e5968033dbbfb26418e683752e9e992aed62b379031331a949f50994c7254 MISC metadata.xml 333 BLAKE2B 397e744e9f6f54b2204a1e843eef7a5bdb28b8c1adb52833e07ee67f31a22f4f4602c32bd1046c75597919df41eab48b48a6f8dcfdc4537280ee1d4371185a2c SHA512 a0bd364f2c2c41b1979d979deb9ee34eac43dfe1ed565cd787a39338512baf82760c8d1eb8e43f143af7f533e76bb0d0b10136c895ef09b1bb59aa3ff82e0544 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 000000000000..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") 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 000000000000..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 +} -- cgit v1.2.3