diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-07 23:31:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-07 23:31:01 +0100 |
commit | 11e4049d80ff5ce2aa21c2bb5dab36897e5359e9 (patch) | |
tree | 8a9bf6a29e45cb7a9c9cdc39be9dcda18917cd1a /app-crypt/yubihsm-shell | |
parent | debb2c431b40a6b4750a39956cc5fcfa5a4a6476 (diff) |
gentoo auto-resync : 07:04:2023 - 23:31:01
Diffstat (limited to 'app-crypt/yubihsm-shell')
3 files changed, 24 insertions, 1 deletions
diff --git a/app-crypt/yubihsm-shell/Manifest b/app-crypt/yubihsm-shell/Manifest index 0f00190d1d71..5ff606a73479 100644 --- a/app-crypt/yubihsm-shell/Manifest +++ b/app-crypt/yubihsm-shell/Manifest @@ -1,3 +1,4 @@ +AUX yubihsm-shell-2.4.0-remove-hardcoded-compiler-opts.patch 858 BLAKE2B 13b82998dfa65a2cb4c5d10550484676b23e0fdea3b1aff5b6bd35ed116db607435ddf5cedaa52e607ac651dc6f1e9ec5c35390a2b1bbaddb4615c4d3124d25f SHA512 56ef7920f604a050a523dfe32c0265244180b50c4474a1ebeba91042a9dc87ec0d1a5af1bf54245841dd6f2b6e84c88d8414d73876145259623a7a9bd54a7a5d DIST yubihsm-shell-2.4.0.tar.gz 334956 BLAKE2B 93a86baa1e463aa5200e31e9cc657642f37e05ec6e9897bb35f0b518df83b38c69e365766170d76aeeae6da357f3c2fce736c03665861c7ed4f2b56805a7eb3a SHA512 2b08e6e8932ff3bc12d1233d88147264a9875ce145290e29fb6b8f25eeb8e502afff9e7d02714a50454b85b0f01b09c0321d830a483d6b4f7afb962adce882d5 -EBUILD yubihsm-shell-2.4.0.ebuild 530 BLAKE2B d25cbe902c01c2178cc93a61fd9d583faea45b342b1154d07e2fae0eaff9657761182ffb79e4094ed6d03bf894be45c5f8562b537dce9f2b4ff9b6ecacdfe129 SHA512 451504879db0bb00531770a7736c7c3e2c8eddf0ba84d6578c768baf12c336ccb9fe3fbe64d43273e496f0c86ef725677faa3b71ca5d2c188b7edcf214687490 +EBUILD yubihsm-shell-2.4.0.ebuild 614 BLAKE2B 44e436c4efc8512e40bd4f15976191a75b8de929e62e74f295bc92030ca191d1748ebfb6cd5adfc2956b43eff819078920989a55d78fa45642a14e261cd430c3 SHA512 a60f27402be116010bb48e52102b23509ec7f1e7d5fcfc13c7f476f7cf75297dbb7d7122f3a7ab94f6d6de5dcb52ceeca2f69aa243fba0479bcd33c12e355d58 MISC metadata.xml 336 BLAKE2B 1c5a26c43beeee9fc1497c1444d100bd932ecf9c67b0601451caeee362a9bd408d6135f10cfe333c82832021fad86f6f0f39aa5fad26b9fa49fbb5b993903e86 SHA512 f560dfcedb27bf5cb2ab2ae5157702b047636c10e7a763357ba9d2dd23664296a03c2dc4652adc10393a1acac23ff9533c461b4dc7f64a1d96d05d9a18551277 diff --git a/app-crypt/yubihsm-shell/files/yubihsm-shell-2.4.0-remove-hardcoded-compiler-opts.patch b/app-crypt/yubihsm-shell/files/yubihsm-shell-2.4.0-remove-hardcoded-compiler-opts.patch new file mode 100644 index 000000000000..633e5e05422d --- /dev/null +++ b/app-crypt/yubihsm-shell/files/yubihsm-shell-2.4.0-remove-hardcoded-compiler-opts.patch @@ -0,0 +1,20 @@ +diff -ru yubihsm-shell-2.4.0-orig/cmake/SecurityFlags.cmake yubihsm-shell-2.4.0/cmake/SecurityFlags.cmake +--- yubihsm-shell-2.4.0-orig/cmake/SecurityFlags.cmake 2023-04-07 20:11:44.438751635 +0200 ++++ yubihsm-shell-2.4.0/cmake/SecurityFlags.cmake 2023-04-07 20:12:30.588873600 +0200 +@@ -4,7 +4,7 @@ + CMAKE_C_COMPILER_ID STREQUAL "AppleClang" OR + CMAKE_C_COMPILER_ID STREQUAL "GNU") + +- add_compile_options (-Wall -Wextra -Werror) ++ add_compile_options (-Wall -Wextra) + add_compile_options (-Wformat -Wformat-nonliteral -Wformat-security) + add_compile_options (-Wshadow) + add_compile_options (-Wcast-qual) +@@ -13,7 +13,6 @@ + add_compile_options (-pedantic -pedantic-errors) + add_compile_options (-fpie -fpic) + if (NOT FUZZ) +- add_compile_options(-O2) + add_definitions (-D_FORTIFY_SOURCE=2) + endif () + diff --git a/app-crypt/yubihsm-shell/yubihsm-shell-2.4.0.ebuild b/app-crypt/yubihsm-shell/yubihsm-shell-2.4.0.ebuild index 6ff4ec262044..acc0bbc3eb7c 100644 --- a/app-crypt/yubihsm-shell/yubihsm-shell-2.4.0.ebuild +++ b/app-crypt/yubihsm-shell/yubihsm-shell-2.4.0.ebuild @@ -8,10 +8,12 @@ inherit cmake DESCRIPTION="Components used to interact with the YubiHSM 2" HOMEPAGE="https://developers.yubico.com/yubihsm-shell/" SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz" +PATCHES=( "${FILESDIR}"/${P}-remove-hardcoded-compiler-opts.patch ) LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" +RESTRICT="test" DEPEND=" dev-libs/openssl:= |