Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/johntheripper/
Date: Wed, 05 Jun 2019 21:19:56
Message-Id: 1559769461.7cbaa258c6e1668bf08558fcfc894d5c97270acf.asturm@gentoo
1 commit: 7cbaa258c6e1668bf08558fcfc894d5c97270acf
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 15 15:28:34 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 5 21:17:41 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cbaa258
7
8 app-crypt/johntheripper: Drop 1.7.9*
9
10 Package-Manager: Portage-2.3.66, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 app-crypt/johntheripper/Manifest | 2 -
14 .../johntheripper/johntheripper-1.7.9-r11.ebuild | 274 ---------------------
15 .../johntheripper/johntheripper-1.7.9-r6.ebuild | 251 -------------------
16 app-crypt/johntheripper/metadata.xml | 5 -
17 4 files changed, 532 deletions(-)
18
19 diff --git a/app-crypt/johntheripper/Manifest b/app-crypt/johntheripper/Manifest
20 index 6be3684eb5f..b522016fa04 100644
21 --- a/app-crypt/johntheripper/Manifest
22 +++ b/app-crypt/johntheripper/Manifest
23 @@ -1,3 +1 @@
24 -DIST john-1.7.9-jumbo-7.diff.gz 1074044 BLAKE2B beb2b3777bccd68ba510b75575cc12678f38bcebd08a8c6d91a291d14b2a3e404013ade5d68610bc9d4a2e26a6a00db8c8757bd4fbcb64bd20cde28a6abde9f4 SHA512 07a461df199fc776e8f62e969a95762fc1c99b72cdbd4a83d06f05ed236eaac9a918356ec9b8f8d060d1a9b2b8aa5c4021dfe53382761a5a76269ec66a5bd28a
25 -DIST john-1.7.9.tar.bz2 717505 BLAKE2B ea720451b4544a975d5baca75242f22d8b306ad4101f5774dd80b0855410efae7d7e09d6c43bd6e89aac7346ea686ccc5a1bfedc8c89888a39a49941774759a9 SHA512 121b4aa6fbb62b14db366aed739d7db760c136a4c3a39d8bba32bde269350354b3d18d15ee783f61b17913b0dd6773068cb01b3d3bbad290c309ae1cd027568b
26 DIST john-1.8.0.tar.xz 4468704 BLAKE2B 90d6acc03dc8d22ef869320723e4799e64e15b621cde327ad420595889a43242b182079fd306bb7741b766ddc5e1239e3bdd4f4e396a4ab1e86d635cbebf8f60 SHA512 e2820ecabd7ea4c7404c3d40f064994d0f5746b093c859a58fbf2588492ebcef411d9f3088c8e8ee726284ead969e26fdae834cdae3eb2d32408fc79ed906543
27
28 diff --git a/app-crypt/johntheripper/johntheripper-1.7.9-r11.ebuild b/app-crypt/johntheripper/johntheripper-1.7.9-r11.ebuild
29 deleted file mode 100644
30 index 49d18cec623..00000000000
31 --- a/app-crypt/johntheripper/johntheripper-1.7.9-r11.ebuild
32 +++ /dev/null
33 @@ -1,274 +0,0 @@
34 -# Copyright 1999-2018 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -inherit cuda eutils flag-o-matic toolchain-funcs pax-utils multilib
40 -
41 -MY_PN="john"
42 -MY_P="${MY_PN}-${PV}"
43 -
44 -JUMBO="jumbo-7"
45 -
46 -DESCRIPTION="fast password cracker"
47 -HOMEPAGE="https://www.openwall.com/john/"
48 -
49 -SRC_URI="https://www.openwall.com/john/g/${MY_P}.tar.bz2
50 - !minimal? ( https://www.openwall.com/john/g/${MY_P}-${JUMBO}.diff.gz )"
51 -
52 -LICENSE="GPL-2"
53 -SLOT="0"
54 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
55 -#Remove AltiVec USE flag. Appears to be an upstream issue.
56 -IUSE="cuda custom-cflags -minimal cpu_flags_x86_mmx libressl mozilla mpi opencl openmp cpu_flags_x86_sse2"
57 -REQUIRED_USE="openmp? ( !minimal )
58 - mpi? ( !minimal )
59 - cuda? ( !minimal )
60 - opencl? ( !minimal )
61 - mozilla? ( !minimal )"
62 -
63 -RDEPEND="!app-crypt/johntheripper-jumbo
64 - sys-libs/zlib
65 - !minimal? (
66 - !libressl? ( dev-libs/openssl:0= )
67 - libressl? ( dev-libs/libressl:0= )
68 - )
69 - mpi? ( virtual/mpi )
70 - cuda? ( x11-drivers/nvidia-drivers
71 - dev-util/nvidia-cuda-toolkit:= )
72 - opencl? ( virtual/opencl )
73 - mozilla? ( dev-libs/nss dev-libs/nspr )"
74 -DEPEND="${RDEPEND}"
75 -
76 -S="${WORKDIR}/${MY_P}"
77 -
78 -has_xop() {
79 - echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __XOP__ 1"
80 -}
81 -
82 -has_avx() {
83 - echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __AVX__ 1"
84 -}
85 -
86 -get_target() {
87 - if use alpha; then
88 - echo "linux-alpha"
89 - elif use amd64; then
90 - if has_xop; then
91 - echo "linux-x86-64-xop"
92 - elif has_avx; then
93 - echo "linux-x86-64-avx"
94 - else
95 - echo "linux-x86-64"
96 - fi
97 - elif use ppc; then
98 - #if use altivec; then
99 - # echo "linux-ppc32-altivec"
100 - #else
101 - echo "linux-ppc32"
102 - #fi
103 - elif use ppc64; then
104 - #if use altivec; then
105 - # echo "linux-ppc32-altivec"
106 - #else
107 - echo "linux-ppc64"
108 - #fi
109 - # linux-ppc64-altivec is slightly slower than linux-ppc32-altivec for most hash types.
110 - # as per the Makefile comments
111 - elif use sparc; then
112 - echo "linux-sparc"
113 - elif use x86; then
114 - if has_xop; then
115 - echo "linux-x86-xop"
116 - elif has_avx; then
117 - echo "linux-x86-avx"
118 - elif use cpu_flags_x86_sse2; then
119 - echo "linux-x86-sse2"
120 - elif use cpu_flags_x86_mmx; then
121 - echo "linux-x86-mmx"
122 - else
123 - echo "linux-x86-any"
124 - fi
125 - elif use ppc-macos; then
126 - # force AltiVec, the non-altivec profile contains ancient compiler cruft
127 - # if use altivec; then
128 - echo "macosx-ppc32-altivec"
129 - # else
130 - # echo "macosx-ppc32"
131 - # fi
132 - # for Tiger this can be macosx-ppc64
133 - elif use x86-macos; then
134 - if use cpu_flags_x86_sse2; then
135 - echo "macosx-x86-sse2"
136 - else
137 - echo "macosx-x86"
138 - fi
139 - elif use x86-solaris; then
140 - echo "solaris-x86-any"
141 - elif use x86-fbsd; then
142 - if use cpu_flags_x86_sse2; then
143 - echo "freebsd-x86-sse2"
144 - elif use cpu_flags_x86_mmx; then
145 - echo "freebsd-x86-mmx"
146 - else
147 - echo "freebsd-x86-any"
148 - fi
149 - elif use amd64-fbsd; then
150 - echo "freebsd-x86-64"
151 - else
152 - echo "generic"
153 - fi
154 -}
155 -
156 -get_john_objs() {
157 - echo -n '${JOHN_COMMON_OBJS} '
158 - if use opencl; then
159 - echo -n '${OCL_OBJS} '
160 - fi
161 - if use cuda; then
162 - echo -n '${CUDA_OBJS}'
163 - fi
164 -}
165 -
166 -pkg_setup() {
167 - if use openmp && [[ ${MERGE_TYPE} != binary ]]; then
168 - tc-has-openmp || die "Please switch to an openmp compatible compiler"
169 - fi
170 -}
171 -
172 -src_prepare() {
173 - if ! use minimal; then
174 - eapply "${WORKDIR}/${MY_P}-${JUMBO}.diff"
175 -
176 - if use mpi ; then
177 - sed -e "s/^#CC = mpicc/CC = mpicc/" \
178 - -e "s/^#MPIOBJ =/MPIOBJ =/" \
179 - -i src/Makefile || die
180 - fi
181 -
182 - # fix typo in jumbo patch
183 - sed -i 's:All15:All5:' run/john.conf || die
184 - # fix compile on ppc (only needed for jumbo-7)
185 - eapply "${FILESDIR}/${P}-ppc-compile-fix.patch"
186 - fi
187 -
188 - cd src || die
189 - eapply -p0 "${FILESDIR}/${PN}-1.7.6-cflags.patch"
190 - eapply -p2 "${FILESDIR}/${PN}-1.7.3.1-mkdir-sandbox.patch"
191 - eapply -p2 "${FILESDIR}/${PN}-1.7.9-clang.patch"
192 - eapply_user
193 -
194 - if ! use minimal; then
195 - sed -e "s/LDFLAGS *= */override LDFLAGS += /" -e "/LDFLAGS/s/-s//" \
196 - -e "/LDFLAGS/s/-L[^ ]*//g" -e "/CFLAGS/s/-[IL][^ ]*//g" \
197 - -i Makefile || die "sed Makefile failed"
198 - sed -i 's#/usr/local#/opt#g' Makefile || die
199 - fi
200 - sed -i 's#JOHN_OBJS = \\#JOHN_COMMON_OBJS = \\#g' Makefile || die
201 -
202 - if use cuda; then
203 - cuda_src_prepare
204 - sed \
205 - -e "/^NVCC_FLAGS/s:-arch sm_10:${NVCCFLAGS}:g" \
206 - -i Makefile || die
207 - fi
208 -
209 - if use mozilla; then
210 - sed -i -e '/HAVE_NSS =/s/^#*//' -e 's/NSS_override//' Makefile || die
211 - fi
212 -}
213 -
214 -src_compile() {
215 - local OMP
216 -
217 - use custom-cflags || strip-flags
218 - cat <<- EOF >> config.gentoo || die
219 - #define JOHN_SYSTEMWIDE 1
220 - #define JOHN_SYSTEMWIDE_HOME "${EPREFIX}/etc/john"
221 - #define JOHN_SYSTEMWIDE_EXEC "${EPREFIX}/usr/libexec/john"
222 -EOF
223 -
224 - append-flags -fPIC -fPIE
225 - gcc-specs-pie && append-ldflags -nopie
226 - use openmp && OMP="-fopenmp"
227 -
228 - CPP="$(tc-getCXX)" CC="$(tc-getCC)" AS="$(tc-getCC)" LD="$(tc-getCC)"
229 - if use mpi; then
230 - CPP=mpicxx CC=mpicc AS=mpicc LD=mpicc
231 - fi
232 -
233 - #this stuff was all stolen from the Makefile, if build breaks, check this first
234 - if use opencl; then
235 - GPUCFLAGS="${GPUCFLAGS} -DCL_VERSION_1_0"
236 - GPULDFLAGS="${GPULDFLAGS} -lOpenCL"
237 - fi
238 - if use cuda; then
239 - GPUCFLAGS="${GPUCFLAGS} -DHAVE_CUDA"
240 - GPULDFLAGS="${GPULDFLAGS} -L/opt/cuda/$(get_libdir) -lcudart"
241 - fi
242 -
243 - emake -C src/ \
244 - CPP="${CPP}" CC="${CC}" AS="${AS}" LD="${LD}" \
245 - CFLAGS="-c -Wall -include ../config.gentoo ${CFLAGS} ${OMP} ${GPUCFLAGS}" \
246 - LDFLAGS="${LDFLAGS} ${GPULDFLAGS}" \
247 - OPT_NORMAL="" \
248 - OMPFLAGS="${OMP}" \
249 - JOHN_OBJS="$(get_john_objs)" \
250 - $(get_target)
251 -}
252 -
253 -src_test() {
254 - if use opencl; then
255 - cp src/opencl/*.cl run/
256 - cp src/opencl_*.h run/
257 - fi
258 - pax-mark -mr run/john
259 - if use opencl || use cuda; then
260 - ewarn "GPU tests fail, skipping all tests..."
261 - else
262 - make -C src/ check
263 - fi
264 -}
265 -
266 -src_install() {
267 - # executables
268 - dosbin run/john
269 - newsbin run/mailer john-mailer
270 -
271 - pax-mark -mr "${ED}/usr/sbin/john" || die
272 -
273 - dosym john /usr/sbin/unafs
274 - dosym john /usr/sbin/unique
275 - dosym john /usr/sbin/unshadow
276 -
277 - # jumbo-patch additions
278 - if ! use minimal; then
279 - for s in \
280 - keychain2john keepass2john pwsafe2john hccap2john \
281 - racf2john zip2john rar2john pdf2john ssh2john undrop \
282 - ; do
283 - dosym john /usr/sbin/$s
284 - done
285 - use mozilla && dosym john /usr/sbin/mozilla2john
286 - dosbin run/calc_stat
287 - dosbin run/genmkvpwd
288 - dosbin run/mkvcalcproba
289 - dosbin run/raw2dyna
290 - dosbin run/tgtsnarf
291 - insinto /etc/john
292 - doins run/genincstats.rb run/stats
293 - doins run/netscreen.py run/sap2john.pl
294 - if use opencl; then
295 - doins src/opencl/*.cl
296 - doins src/opencl_*.h
297 - fi
298 - fi
299 -
300 - # config files
301 - insinto /etc/john
302 - doins run/*.chr run/password.lst
303 - doins run/*.conf
304 -
305 - # documentation
306 - dodoc doc/*
307 -}
308
309 diff --git a/app-crypt/johntheripper/johntheripper-1.7.9-r6.ebuild b/app-crypt/johntheripper/johntheripper-1.7.9-r6.ebuild
310 deleted file mode 100644
311 index 48f23d519a6..00000000000
312 --- a/app-crypt/johntheripper/johntheripper-1.7.9-r6.ebuild
313 +++ /dev/null
314 @@ -1,251 +0,0 @@
315 -# Copyright 1999-2018 Gentoo Authors
316 -# Distributed under the terms of the GNU General Public License v2
317 -
318 -EAPI="4"
319 -
320 -inherit eutils flag-o-matic toolchain-funcs pax-utils multilib
321 -
322 -MY_PN="john"
323 -MY_P="${MY_PN}-${PV}"
324 -
325 -JUMBO="jumbo-7"
326 -
327 -DESCRIPTION="fast password cracker"
328 -HOMEPAGE="https://www.openwall.com/john/"
329 -
330 -SRC_URI="https://www.openwall.com/john/g/${MY_P}.tar.bz2
331 - !minimal? ( https://www.openwall.com/john/g/${MY_P}-${JUMBO}.diff.gz )"
332 -
333 -LICENSE="GPL-2"
334 -SLOT="0"
335 -KEYWORDS="alpha amd64 arm hppa ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
336 -#Remove AltiVec USE flag. Appears to be an upstream issue.
337 -IUSE="cuda custom-cflags -minimal cpu_flags_x86_mmx mpi opencl openmp cpu_flags_x86_sse2"
338 -REQUIRED_USE="openmp? ( !minimal )
339 - mpi? ( !minimal )
340 - cuda? ( !minimal )
341 - opencl? ( !minimal )"
342 -
343 -RDEPEND="!app-crypt/johntheripper-jumbo
344 - sys-libs/zlib
345 - !minimal? ( >=dev-libs/openssl-0.9.7:0 )
346 - mpi? ( virtual/mpi )
347 - cuda? ( x11-drivers/nvidia-drivers dev-util/nvidia-cuda-toolkit )
348 - opencl? ( virtual/opencl )"
349 -DEPEND="${RDEPEND}"
350 -
351 -S="${WORKDIR}/${MY_P}"
352 -
353 -has_xop() {
354 - echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __XOP__ 1"
355 -}
356 -
357 -has_avx() {
358 - echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __AVX__ 1"
359 -}
360 -
361 -get_target() {
362 - if use alpha; then
363 - echo "linux-alpha"
364 - elif use amd64; then
365 - if has_xop; then
366 - echo "linux-x86-64-xop"
367 - elif has_avx; then
368 - echo "linux-x86-64-avx"
369 - else
370 - echo "linux-x86-64"
371 - fi
372 - elif use ppc; then
373 - #if use altivec; then
374 - # echo "linux-ppc32-altivec"
375 - #else
376 - echo "linux-ppc32"
377 - #fi
378 - elif use ppc64; then
379 - #if use altivec; then
380 - # echo "linux-ppc32-altivec"
381 - #else
382 - echo "linux-ppc64"
383 - #fi
384 - # linux-ppc64-altivec is slightly slower than linux-ppc32-altivec for most hash types.
385 - # as per the Makefile comments
386 - elif use sparc; then
387 - echo "linux-sparc"
388 - elif use x86; then
389 - if has_xop; then
390 - echo "linux-x86-xop"
391 - elif has_avx; then
392 - echo "linux-x86-avx"
393 - elif use cpu_flags_x86_sse2; then
394 - echo "linux-x86-sse2"
395 - elif use cpu_flags_x86_mmx; then
396 - echo "linux-x86-mmx"
397 - else
398 - echo "linux-x86-any"
399 - fi
400 - elif use ppc-macos; then
401 - # force AltiVec, the non-altivec profile contains ancient compiler cruft
402 - # if use altivec; then
403 - echo "macosx-ppc32-altivec"
404 - # else
405 - # echo "macosx-ppc32"
406 - # fi
407 - # for Tiger this can be macosx-ppc64
408 - elif use x86-macos; then
409 - if use cpu_flags_x86_sse2; then
410 - echo "macosx-x86-sse2"
411 - else
412 - echo "macosx-x86"
413 - fi
414 - elif use x86-solaris; then
415 - echo "solaris-x86-any"
416 - elif use x86-fbsd; then
417 - if use cpu_flags_x86_sse2; then
418 - echo "freebsd-x86-sse2"
419 - elif use cpu_flags_x86_mmx; then
420 - echo "freebsd-x86-mmx"
421 - else
422 - echo "freebsd-x86-any"
423 - fi
424 - elif use amd64-fbsd; then
425 - echo "freebsd-x86-64"
426 - else
427 - echo "generic"
428 - fi
429 -}
430 -
431 -get_john_objs() {
432 - echo -n '${JOHN_COMMON_OBJS} '
433 - if use opencl; then
434 - echo -n '${OCL_OBJS} '
435 - fi
436 - if use cuda; then
437 - echo -n '${CUDA_OBJS}'
438 - fi
439 -}
440 -
441 -pkg_setup() {
442 - if use openmp ; then
443 - tc-has-openmp || die "Please switch to an openmp compatible compiler"
444 - fi
445 -}
446 -
447 -src_prepare() {
448 - if ! use minimal; then
449 - epatch "${WORKDIR}/${MY_P}-${JUMBO}.diff"
450 -
451 - if use mpi ; then
452 - sed -e "s/^#CC = mpicc/CC = mpicc/" \
453 - -e "s/^#MPIOBJ =/MPIOBJ =/" \
454 - -i src/Makefile || die
455 - fi
456 -
457 - # fix typo in jumbo patch
458 - sed -i 's:All15:All5:' run/john.conf || die
459 - # fix compile on ppc (only needed for jumbo-7)
460 - epatch "${FILESDIR}/${P}-ppc-compile-fix.patch"
461 - fi
462 -
463 - cd src
464 - epatch "${FILESDIR}/${PN}-1.7.6-cflags.patch"
465 - epatch "${FILESDIR}/${PN}-1.7.3.1-mkdir-sandbox.patch"
466 -
467 - if ! use minimal; then
468 - sed -e "s/LDFLAGS *= */override LDFLAGS += /" -e "/LDFLAGS/s/-s//" \
469 - -e "/LDFLAGS/s/-L[^ ]*//g" -e "/CFLAGS/s/-[IL][^ ]*//g" \
470 - -i Makefile || die "sed Makefile failed"
471 - sed -i 's#/usr/local#/opt#g' Makefile || die
472 - fi
473 - sed -i 's#JOHN_OBJS = \\#JOHN_COMMON_OBJS = \\#g' Makefile || die
474 -}
475 -
476 -src_compile() {
477 - local OMP
478 -
479 - use custom-cflags || strip-flags
480 - echo "#define JOHN_SYSTEMWIDE 1" >> config.gentoo
481 - echo "#define JOHN_SYSTEMWIDE_HOME \"${EPREFIX}/etc/john\"" >> config.gentoo
482 - echo "#define JOHN_SYSTEMWIDE_EXEC \"${EPREFIX}/usr/libexec/john\"" >> config.gentoo
483 - append-flags -fPIC -fPIE
484 - gcc-specs-pie && append-ldflags -nopie
485 - use openmp && OMP="-fopenmp"
486 -
487 - CPP="$(tc-getCXX)" CC="$(tc-getCC)" AS="$(tc-getCC)" LD="$(tc-getCC)"
488 - if use mpi; then
489 - CPP=mpicxx CC=mpicc AS=mpicc LD=mpicc
490 - fi
491 -
492 - #this stuff was all stolen from the Makefile, if build breaks, check this first
493 - if use opencl; then
494 - GPUCFLAGS="${GPUCFLAGS} -DCL_VERSION_1_0"
495 - GPULDFLAGS="${GPULDFLAGS} -lOpenCL"
496 - fi
497 - if use cuda; then
498 - GPUCFLAGS="${GPUCFLAGS} -DHAVE_CUDA"
499 - GPULDFLAGS="${GPULDFLAGS} -L/opt/cuda/$(get_libdir) -lcudart"
500 - fi
501 -
502 - emake -C src/ \
503 - CPP="${CPP}" CC="${CC}" AS="${AS}" LD="${LD}" \
504 - CFLAGS="-c -Wall -include ../config.gentoo ${CFLAGS} ${OMP} ${GPUCFLAGS}" \
505 - LDFLAGS="${LDFLAGS} ${GPULDFLAGS}" \
506 - OPT_NORMAL="" \
507 - OMPFLAGS="${OMP}" \
508 - JOHN_OBJS="$(get_john_objs)" \
509 - $(get_target)
510 -}
511 -
512 -src_test() {
513 - if use opencl; then
514 - cp src/opencl/*.cl run/
515 - cp src/opencl_*.h run/
516 - fi
517 - pax-mark -mr run/john
518 - if use opencl || use cuda; then
519 - ewarn "GPU tests fail, skipping all tests..."
520 - else
521 - make -C src/ check
522 - fi
523 -}
524 -
525 -src_install() {
526 - # executables
527 - dosbin run/john
528 - newsbin run/mailer john-mailer
529 -
530 - pax-mark -mr "${ED}usr/sbin/john" || die
531 -
532 - dosym john /usr/sbin/unafs
533 - dosym john /usr/sbin/unique
534 - dosym john /usr/sbin/unshadow
535 -
536 - # jumbo-patch additions
537 - if ! use minimal; then
538 - for s in \
539 - keychain2john keepass2john pwsafe2john hccap2john \
540 - racf2john zip2john rar2john pdf2john ssh2john undrop \
541 - ; do
542 - dosym john /usr/sbin/$s
543 - done
544 - dosbin run/calc_stat
545 - dosbin run/genmkvpwd
546 - dosbin run/mkvcalcproba
547 - dosbin run/raw2dyna
548 - dosbin run/tgtsnarf
549 - insinto /etc/john
550 - doins run/genincstats.rb run/stats
551 - doins run/netscreen.py run/sap2john.pl
552 - if use opencl; then
553 - doins src/opencl/*.cl
554 - doins src/opencl_*.h
555 - fi
556 - fi
557 -
558 - # config files
559 - insinto /etc/john
560 - doins run/*.chr run/password.lst
561 - doins run/*.conf
562 -
563 - # documentation
564 - dodoc doc/*
565 -}
566
567 diff --git a/app-crypt/johntheripper/metadata.xml b/app-crypt/johntheripper/metadata.xml
568 index e03a2537ac5..40069f63efa 100644
569 --- a/app-crypt/johntheripper/metadata.xml
570 +++ b/app-crypt/johntheripper/metadata.xml
571 @@ -13,9 +13,4 @@
572 <upstream>
573 <remote-id type="github">magnumripper/JohnTheRipper</remote-id>
574 </upstream>
575 - <use>
576 - <flag name="cuda">Use nvidia cuda toolkit for speeding up cracking on capable devices</flag>
577 - <flag name="mozilla"> Support mozilla password cracking</flag>
578 - <flag name="opencl">Enable opencl support for speeding up cracking on capable devices</flag>
579 - </use>
580 </pkgmetadata>