diff options
author | Rick Farina <zerochaos@gentoo.org> | 2023-08-21 16:53:23 -0400 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2023-08-21 16:55:53 -0400 |
commit | bc46c1859c437b578758a64110b0e9cc2f6facba (patch) | |
tree | 4f65fa77bdfe7c5df5ee78fcb00a71aa30392ca9 /app-crypt/johntheripper | |
parent | app-crypt/johntheripper: add 1.9.0 (diff) | |
download | gentoo-bc46c1859c437b578758a64110b0e9cc2f6facba.tar.gz gentoo-bc46c1859c437b578758a64110b0e9cc2f6facba.tar.bz2 gentoo-bc46c1859c437b578758a64110b0e9cc2f6facba.zip |
app-crypt/johntheripper: add new use flags
Closes: https://bugs.gentoo.org/702748
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'app-crypt/johntheripper')
-rw-r--r-- | app-crypt/johntheripper/johntheripper-1.9.0.ebuild | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/app-crypt/johntheripper/johntheripper-1.9.0.ebuild b/app-crypt/johntheripper/johntheripper-1.9.0.ebuild index d7bd1317da50..354432e452ae 100644 --- a/app-crypt/johntheripper/johntheripper-1.9.0.ebuild +++ b/app-crypt/johntheripper/johntheripper-1.9.0.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://www.openwall.com/john/k/${MY_P}.tar.xz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 arm ~hppa ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" -CPU_FLAGS="cpu_flags_x86_mmx cpu_flags_x86_sse2 cpu_flags_x86_avx cpu_flags_x86_xop" +CPU_FLAGS="cpu_flags_x86_mmx cpu_flags_x86_sse2 cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_avx512f cpu_flags_x86_xop" IUSE="custom-cflags openmp ${CPU_FLAGS}" DEPEND="virtual/libcrypt:=" @@ -29,7 +29,11 @@ get_target() { if use alpha; then echo "linux-alpha" elif use amd64; then - if use cpu_flags_x86_xop; then + if use cpu_flags_x86_avx512f; then + echo "linux-x86-64-avx512" + elif use cpu_flags_x86_avx2; then + echo "linux-x86-64-avx2" + elif use cpu_flags_x86_xop; then echo "linux-x86-64-xop" elif use cpu_flags_x86_avx; then echo "linux-x86-64-avx" @@ -43,7 +47,11 @@ get_target() { elif use sparc; then echo "linux-sparc" elif use x86; then - if use cpu_flags_x86_xop; then + if use cpu_flags_x86_avx512f; then + echo "linux-x86-64-avx512" + elif use cpu_flags_x86_avx2; then + echo "linux-x86-64-avx2" + elif use cpu_flags_x86_xop; then echo "linux-x86-xop" elif use cpu_flags_x86_avx; then echo "linux-x86-avx" |