diff options
author | Richard Farina <zerochaos@gentoo.org> | 2012-10-05 17:43:57 +0000 |
---|---|---|
committer | Richard Farina <zerochaos@gentoo.org> | 2012-10-05 17:43:57 +0000 |
commit | e8627392aa20e396987f84242df1223f69e0ac0a (patch) | |
tree | 064af76fc5fe520474f4f285299cdda786e96de7 /app-crypt/johntheripper | |
parent | Use more (diff) | |
download | historical-e8627392aa20e396987f84242df1223f69e0ac0a.tar.gz historical-e8627392aa20e396987f84242df1223f69e0ac0a.tar.bz2 historical-e8627392aa20e396987f84242df1223f69e0ac0a.zip |
bump to jumbo 7, seems to work
Package-Manager: portage-2.1.11.24/cvs/Linux x86_64
Diffstat (limited to 'app-crypt/johntheripper')
-rw-r--r-- | app-crypt/johntheripper/ChangeLog | 8 | ||||
-rw-r--r-- | app-crypt/johntheripper/Manifest | 32 | ||||
-rw-r--r-- | app-crypt/johntheripper/johntheripper-1.7.9-r5.ebuild | 242 |
3 files changed, 266 insertions, 16 deletions
diff --git a/app-crypt/johntheripper/ChangeLog b/app-crypt/johntheripper/ChangeLog index 879b0bdad848..89f74eb45757 100644 --- a/app-crypt/johntheripper/ChangeLog +++ b/app-crypt/johntheripper/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-crypt/johntheripper # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/ChangeLog,v 1.143 2012/07/05 21:11:28 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/ChangeLog,v 1.144 2012/10/05 17:43:57 zerochaos Exp $ + +*johntheripper-1.7.9-r5 (05 Oct 2012) + + 05 Oct 2012; Rick Farina <zerochaos@gentoo.org> + +johntheripper-1.7.9-r5.ebuild: + bump to jumbo 7, seems to work *johntheripper-1.7.9-r4 (05 Jul 2012) diff --git a/app-crypt/johntheripper/Manifest b/app-crypt/johntheripper/Manifest index e37a692d7f1c..48e2e828eab9 100644 --- a/app-crypt/johntheripper/Manifest +++ b/app-crypt/johntheripper/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA512 AUX johntheripper-1.7.3.1-mkdir-sandbox.patch 562 SHA256 9bf9577ed74048b4df82bc6fcf546469e07c93d27de438dd3aa36b5b360b27f0 SHA512 7aac967890dd57a67b6248722cefe9764e6ddfb280cb06f511e3f71e16527689098d39a80c32316f343030e3e5161e0e0003b83f95707b6a89dbf590fa5256a4 WHIRLPOOL 470ef8046765f009f367adeb217eb1300f99e517d07e3ff01aa4b38d2a529b39a2ca9a8d7dea45956c2f209b3acf5d0aa3d442cab5c148d05be893a0646e33e3 AUX johntheripper-1.7.6-cflags.patch 2927 SHA256 3c4438ec4dcc3e8c81f1180544cd005f561a013b25ea51ad36189ced8a29f36f SHA512 47d9f074c9a639caf2366c425220f03c4daf882cbac3d86fa2649a5b12de3784713800be0f719a37b0b92c0c4b0a36ded247c351f894514cfa8fe67a0e23c732 WHIRLPOOL 9e209861eef8276515fdc46573a5ed2ba9dda658aebc6c767481cbdd0ccb1c30d35a8b1463b973a81c957dcb76455697814a8461f790415a7c07730bfdfba155 @@ -10,6 +10,7 @@ DIST john-1.7.8-jumbo-2.diff.gz 402639 SHA256 fb1b83f1a5db8f42de25d65f78b605e44d DIST john-1.7.8.tar.gz 849810 SHA256 12f4307602b9a8f0d3f82daf28e0f59de21aa82c9dcccd16819b288ec83ab559 SHA512 a1d9cd984a271b6cf9ed61d283bee08b33a014bc2af164df6dee9e37a7dd4a9a092eda5ec7cb49775befb53a48781db393307f343eb05da136de3edf4ccf0149 WHIRLPOOL 0ac6f04a7a665aff5ebc37e0490540bb863afe11ce36fd848d21ed23922fd73a19fbb0828d7f86f301184da64ce43bad20989278f4739649eda06fff86d1c0b0 DIST john-1.7.9-jumbo-5.diff.gz 622881 SHA256 9a0ff6b912723a393122fa969b9af8efd9f47b154917870053141a372d5963bd SHA512 06b49db26c2a4794d657a4e2869b67abdbd4e93555f752a1b2aae62bd05cbf4604c997b55ba3e0c1afd6747d6f22d0fe634aa84dc97a646fa8a8983e0469eab4 WHIRLPOOL 262082d460538c11e151b32107609d5ca7cf67aae1c3ab59032569048c16e197020c055b068a2939d32e41082b865440e30ed79de5cc6e0b4862c59ed7393c77 DIST john-1.7.9-jumbo-6.diff.gz 1016874 SHA256 1f314caef8d4c6b98b24a74d28c89ee92c07456b8d7c6386a280f9b529073ac6 SHA512 ea7ed1733d25a7958e6fb27465a08ebb84b2cd2e6e2518f64d7764c641949a87fe616eaa895c9795e9c57cffda4b6eaad017ac03ed874ffe28450bc9909308f3 WHIRLPOOL 75dccfe58d0558c99ce1d043f8c6118c8d0e74bf4749b438823468eb6111d688625595ea05c5f9e133d2556573b19ebb8c70b1786b0216bd66a25e96b78d0b6c +DIST john-1.7.9-jumbo-7.diff.gz 1074044 SHA256 9e87e5660965e6e55214176299f67dd1b8a40820805441c62a57af6a6a4a19f5 SHA512 07a461df199fc776e8f62e969a95762fc1c99b72cdbd4a83d06f05ed236eaac9a918356ec9b8f8d060d1a9b2b8aa5c4021dfe53382761a5a76269ec66a5bd28a WHIRLPOOL da09df93277d90580cd08de2981a9d45df89f9a82f901f8bdc43acc66b97b6eb5515e603dc691cc000852a0847b943a104dee1826a59a000e09488604224f15a DIST john-1.7.9.tar.bz2 717505 SHA256 1d40083e37a7bc1ba1177651cbb27898dcf2a812b8ccf1430db0c372ac6dc199 SHA512 121b4aa6fbb62b14db366aed739d7db760c136a4c3a39d8bba32bde269350354b3d18d15ee783f61b17913b0dd6773068cb01b3d3bbad290c309ae1cd027568b WHIRLPOOL e217d3ae3bafaa0d2465402a1c98f05018da9a95ce61effc7f2f20af4aa9ef9a54a636fc7025dfc283e815f5ebd07fafd64e4b01564739fe97053dbeafbd2b13 EBUILD johntheripper-1.7.6-r1.ebuild 4780 SHA256 cbccc9675f4246e568ad5e6da1e666b965db42c2d50aa3ad8b25d14bf6faba25 SHA512 c4e9feafa347a656ee5a8a2a16d6df1703ac98e31c841c97dd0bae92fc9553ac355f00150b248c2f010ba6b61668f89af3bf89532646c5779d56ee7314db055a WHIRLPOOL bbd4354c6b2a7c622bc5c842ce52591a94216ce4ef552ee03da9d1ab23bb2e76d87a085fb42ddfa90882029cdfbba0a1ae4830ee5ae88bf64aeb77859e0f2961 EBUILD johntheripper-1.7.8.ebuild 4911 SHA256 f20d5efe90d076625aa12cf056504cb9969d0d5e46895368fdc75eb7a3011c76 SHA512 ae1084ef785dec44708e5406b82578ec10a80c12341ee956ea5fc92678340601eb98b722665bc5f16a4926bec52a7b355e5b906bacbd34304b98f6abf2194b26 WHIRLPOOL 45663454232d2d79bf2d022772121aeb8f8d0c35f848bc5197ad9a337a873ca773633f23fb76c7b67addaf673a63e4d36fe4b536d3aa0cf3759c2ebe155ebc6d @@ -17,23 +18,24 @@ EBUILD johntheripper-1.7.9-r1.ebuild 5207 SHA256 e6edc0814d6a35c4b7e7feddfd06bf4 EBUILD johntheripper-1.7.9-r2.ebuild 5344 SHA256 39e87b2ddd7f8c4d5aa2603761c2783a64d1b216d0021af53b81d503dc4e061d SHA512 cc4204dde8e6ccdec7476479a36ae5fb1df842972e0557052e08402c62d20b68efc045d917b39f6c437f583ef2a4a3e46585790062dd8a7c4441f491abd1b2f2 WHIRLPOOL 5f331813603a042be01034385f7433812546e915da8da219a72f814ce0bce7ee9850cd11facbc8fe9599e2c835fd2cae997b12a632e4733a12b043be28113c23 EBUILD johntheripper-1.7.9-r3.ebuild 5280 SHA256 c5132eba337f0bfd7b6b3e51bef38e5383f38522e04622246b429bf3028aa6f5 SHA512 765cdcd244a8e042540db4f267bde0348de35eeccd70c5f8451a6fb1bf406fc3eea3837d3f7502d6163716664daae53d57cb2d10b6404d6ff9d07ca644d1ed1e WHIRLPOOL 4c3881962f691a3f96d88bee94778ca73d25eb742e530dcd25b6599139ef8043459350479a1c17e95a870b78a11337fa853af8ed3a73e5b65239eb557306566d EBUILD johntheripper-1.7.9-r4.ebuild 6129 SHA256 83858e9f54b2b376f7ef0c50742c15a854e7c75f4ad2761229886cb7d48910fe SHA512 422afe0e045c41ff28246843b262340b737e7bc88b82ab11caf80acfeeaed6b20b21e77103248abab62e17d318265e18c9efc622a9832550109c285d9f3306be WHIRLPOOL ad6ca8bbb2393a5666fbef8785d47cf200c1deb46c4079124e14fdf505ac70973ca9be01f5ba9131b6ea8f4f2a53b2c389680f1ae1238f919504b4144c91dc2a +EBUILD johntheripper-1.7.9-r5.ebuild 6046 SHA256 84e8bfb3b378dcc7ec64df25f27344c8c340cc94762bf85fbfb3c654eb606fc5 SHA512 64154259f52371312a7f5c196c788926c3c5132cb012df0af5c142f4b41ca93ff37720894a2c143221dca454f480745487004e2ae8ad1105e7db7df07037cc73 WHIRLPOOL a0e44943584e98086ba4fd2f9d0449cddd669af55c5f33e31d0b95ab95145d737d9a5d5c78afbce1d485443a7404d1cf8b3a39da6253414455c80a56fffc4c87 EBUILD johntheripper-1.7.9.ebuild 5154 SHA256 591d62091f1b13bab26d888cabaf680a1ff85367947244328ff22caf06d502c9 SHA512 d5cf9a32409fa70642403133a11b9d201c2c17e2958197a9bec7da3a1bbefb56e76de4ba35e65ec1b1588a1eb2f2a9e0bc0e24f61736ca791a5c3111bd9d1377 WHIRLPOOL d5b2033b553fa887df16e2b014406013fd4db509c7336e8b0b8b2d5c6562761df7ac8196af972e809f46d8253c3e504a16efb9e0d9c4cdea5d8d4df508a0068e -MISC ChangeLog 23958 SHA256 64e5380ea189eedb3c183bb5fb3b7355f8b87ac77c6dcadb8b6e7ef1da98307a SHA512 ebe3018da72d26547f29d232a20b6f70bd22d12746096fb397a1a5e0a92305f484f0844abcdb4ba3f43bc58a1aee7fabf473f6d7417c51a788f18e8f9da86fd4 WHIRLPOOL 28e4900bdc7ffa7e9de50774d3b04968cd1adca0407fb8a43568d22d032344a71c52ec7ff18ad5d3e143d724b474e127ef6f5894197c0090f2773f0bb3a2a7d9 +MISC ChangeLog 24115 SHA256 8de0e8e42ca5a0512b7a47166ad9ac7dd1b1211849c4f2777fff5a5e6d3bd441 SHA512 cfe971fb85b95fdb891702a2f7f0519a81a1d6963c18fc2b1fbf9abd32b1726aea431f72accd2af6d49033555101815a8ee3e05ded568c3042dbda9c055d8f90 WHIRLPOOL 3bf36723b698f72406cb9910be0ecb963b25558980290a3cb1bf09cd8c5200513c1d9bc55d8ccbb24b5c4722d2e039520991bbc2adee3f5bf2db929ea57155c1 MISC metadata.xml 531 SHA256 bb4c0e9b5d1434c7873905469d1fa40f42db99babc475a08cf68d5d23d49d583 SHA512 357b9ab90cf72fb443cf98b0905f80adbd920d21c5b696c68a91f4936c7f8ced9895f1daeb74d813ddcc53d26c05cc82a9e83644c1f80afb8aad76bb1a7dd540 WHIRLPOOL e5497c9fbb9a8313d652b113a7d4090c4aadc45fb7b2ee87a7eca493a11b87b16194e094b956ac7142d94b58ddd9f72b90f405db4c9e5bc909c61be8698a4916 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBAgAGBQJP9gMgAAoJEKXdFCfdEflKwF0P/2gVWFdA3YkvnAGRc66nQ58S -M2L1g/QKZ7ZuIc12i/LJJBCiVqDjK8cxnuK3CYbR8QA1t6nPFia95ng1UeIy9Cqi -hd8K88MoNOWtANQoOmX7xFWfyFFroondVzxs/7QN9qjZ/MAZ41UlRZifWQLtvbT+ -XmoncFpCiDsNv8y8oiUQCu9wg/LQOORb9TYEXxJeNLMBI5HmZZxG66FTN3DiJc69 -QXJQAjIXet7aw3HiglWg2/0wcc10IvDYod6b5FC4B40qXJsGBeHQ3WyTQAVGuRjg -qCscGRCiMGSH1jyobZjJEQZDSpremejY41Nba1haXVmlo1SMm7R3n1toXdgNl6bP -Xs75U2rkoi4VCc3DJfCd4L23MbAsHSNKjOAwzdet/97JvSrZ0nD57DRweH+/Zc0A -9kLQkctet/S5SZ96+eEBdzpZtG9wIf6gtcnAq1txGZdg5fWfHGx2b8lRNpZvprps -QUO7T50q45zQnX/Pl2+ZY0h8j8Ts79Pj9otD8QzebQ9ZOJPNheUB4Ax3MvYN7rN/ -hM87UBWWky44Wzs3iSTDVliRTm/jLFEu5jZIWA3/BL1vgfjGWJrOWeHz0B/fsSO3 -bKL1HjAojvkf8leUQx85CONmT74Qzt5O6ivXMEuImBbUZcqkBDBNSU5vu0SaeH/h -mC8rlp04iC1Gpni8WjPc -=MHSZ +iQIcBAEBCgAGBQJQbxyRAAoJEKXdFCfdEflKsp4P/2Ik9lafeLmokiERSaeC/BQr +bw0B2oXVVDtYzrRKWo6hG7xRP28pMJv5ppshXnZk9M+45Jdx1tlHFeKQnVWxV2qd +AaqRy39V5O/tFdwWmAoVfJ2PnAJ1/kexlL7MWvyxDTWJqPj3S4mJl6hTqzkkpVCr +TgPTKQ5urIC6xaJIeJ231/VxPWOEmi5R8LU1v45PzEdhXm+43QJvSYHMRydEDVzA +IZmIYld5S0ibyzcmnMz82GKUyOQk7K9Y5041xqQbOYrLDDA0ufVRqWofsVWY8q5O +EXuoT7MPY+v3SYPv+GhLAv+ivLpGeUS3Juqcf2civjjZy940WndvSavY1GZY2Yx1 +EdihtU1pMWhtuzjlRMfQbbBuPk2GJYgX6aijHa5Cmfv7Rgid8KnuGmM8xzea9G/0 +1UMYxECvogXIbrniG0S00M0DE+l5jbaAROcbAz7bjVGmNtjlHU9sq2wFgaSrgCY4 +E3nZHvXZ3IqADakHeG6wS0TH2xGUeCKXhtuiLJJS4bT5EN5oT28tYDOUpA4TlYty +dwnule81yjxPpH7VpSDuKOdtb8UWuG5dQDzW4SwOoIJZtu/rp0q+ZhZuema+3LqX +HBRbCnTg03FXb2zMBtJK8vihaER5Fk2uQL/I9tUHpA6+OnzkZ/ct1ChksfjT0VNi +ESaKlIyztL51zOE9HQZC +=2XYG -----END PGP SIGNATURE----- diff --git a/app-crypt/johntheripper/johntheripper-1.7.9-r5.ebuild b/app-crypt/johntheripper/johntheripper-1.7.9-r5.ebuild new file mode 100644 index 000000000000..2e61c353892d --- /dev/null +++ b/app-crypt/johntheripper/johntheripper-1.7.9-r5.ebuild @@ -0,0 +1,242 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/johntheripper-1.7.9-r5.ebuild,v 1.1 2012/10/05 17:43:57 zerochaos Exp $ + +EAPI="4" + +inherit eutils flag-o-matic toolchain-funcs pax-utils multilib + +MY_PN="john" +MY_P="${MY_PN}-${PV}" + +JUMBO="jumbo-7" + +DESCRIPTION="fast password cracker" +HOMEPAGE="http://www.openwall.com/john/" + +SRC_URI="http://www.openwall.com/john/g/${MY_P}.tar.bz2 + !minimal? ( http://www.openwall.com/john/g/${MY_P}-${JUMBO}.diff.gz )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos" +#Remove AltiVec USE flag. Appears to be an upstream issue. +IUSE="cuda custom-cflags -minimal mmx mpi opencl openmp sse2" +REQUIRED_USE="openmp? ( !minimal ) + mpi? ( !minimal ) + cuda? ( !minimal ) + opencl? ( !minimal )" + +RDEPEND="!minimal? ( >=dev-libs/openssl-0.9.7:0 ) + mpi? ( virtual/mpi ) + cuda? ( x11-drivers/nvidia-drivers dev-util/nvidia-cuda-toolkit ) + opencl? ( virtual/opencl )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +has_xop() { + echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __XOP__ 1" +} + +has_avx() { + echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __AVX__ 1" +} + +get_target() { + if use alpha; then + echo "linux-alpha" + elif use amd64; then + if has_xop; then + echo "linux-x86-64-xop" + elif has_avx; then + echo "linux-x86-64-avx" + else + echo "linux-x86-64" + fi + elif use ppc; then + #if use altivec; then + # echo "linux-ppc32-altivec" + #else + echo "linux-ppc32" + #fi + elif use ppc64; then + #if use altivec; then + # echo "linux-ppc32-altivec" + #else + echo "linux-ppc64" + #fi + # linux-ppc64-altivec is slightly slower than linux-ppc32-altivec for most hash types. + # as per the Makefile comments + elif use sparc; then + echo "linux-sparc" + elif use x86; then + if has_xop; then + echo "linux-x86-xop" + elif has_avx; then + echo "linux-x86-avx" + elif use sse2; then + echo "linux-x86-sse2" + elif use mmx; then + echo "linux-x86-mmx" + else + echo "linux-x86-any" + fi + elif use ppc-macos; then + # force AltiVec, the non-altivec profile contains ancient compiler cruft + # if use altivec; then + echo "macosx-ppc32-altivec" + # else + # echo "macosx-ppc32" + # fi + # for Tiger this can be macosx-ppc64 + elif use x86-macos; then + if use sse2; then + echo "macosx-x86-sse2" + else + echo "macosx-x86" + fi + elif use x86-solaris; then + echo "solaris-x86-any" + elif use x86-fbsd; then + if use sse2; then + echo "freebsd-x86-sse2" + elif use mmx; then + echo "freebsd-x86-mmx" + else + echo "freebsd-x86-any" + fi + elif use amd64-fbsd; then + echo "freebsd-x86-64" + else + echo "generic" + fi +} + +get_john_objs() { + echo -n '${JOHN_COMMON_OBJS} ' + if use opencl; then + echo -n '${OCL_OBJS} ' + fi + if use cuda; then + echo -n '${CUDA_OBJS}' + fi +} + +pkg_setup() { + if use openmp ; then + tc-has-openmp || die "Please switch to an openmp compatible compiler" + fi +} + +src_prepare() { + if ! use minimal; then + epatch "${WORKDIR}/${MY_P}-${JUMBO}.diff" + + if use mpi ; then + sed -e "s/^#CC = mpicc/CC = mpicc/" \ + -e "s/^#MPIOBJ =/MPIOBJ =/" \ + -i src/Makefile || die + fi + + # fix typo in jumbo patch + sed -i 's:All15:All5:' run/john.conf || die + fi + + cd src + epatch "${FILESDIR}/${PN}-1.7.6-cflags.patch" + epatch "${FILESDIR}/${PN}-1.7.3.1-mkdir-sandbox.patch" + + if ! use minimal; then + sed -e "s/LDFLAGS *= */override LDFLAGS += /" -e "/LDFLAGS/s/-s//" \ + -e "/LDFLAGS/s/-L[^ ]*//g" -e "/CFLAGS/s/-[IL][^ ]*//g" \ + -i Makefile || die "sed Makefile failed" + sed -i 's#/usr/local#/opt#g' Makefile || die + fi + sed -i 's#JOHN_OBJS = \\#JOHN_COMMON_OBJS = \\#g' Makefile || die +} + +src_compile() { + local OMP + + use custom-cflags || strip-flags + echo "#define JOHN_SYSTEMWIDE 1" >> config.gentoo + echo "#define JOHN_SYSTEMWIDE_HOME \"${EPREFIX}/etc/john\"" >> config.gentoo + echo "#define JOHN_SYSTEMWIDE_EXEC \"${EPREFIX}/usr/libexec/john\"" >> config.gentoo + append-flags -fPIC -fPIE + gcc-specs-pie && append-ldflags -nopie + use openmp && OMP="-fopenmp" + + CPP="$(tc-getCXX)" CC="$(tc-getCC)" AS="$(tc-getCC)" LD="$(tc-getCC)" + use mpi && CPP=mpicxx CC=mpicc AS=mpicc LD=mpicc + + #this stuff was all stolen from the Makefile, if build breaks, check this first + if use opencl; then + GPUCFLAGS="${GPUCFLAGS} -DCL_VERSION_1_0" + GPULDFLAGS="${GPULDFLAGS} -lOpenCL" + fi + if use cuda; then + GPUCFLAGS="${GPUCFLAGS} -DHAVE_CUDA" + GPULDFLAGS="${GPULDFLAGS} -L/opt/cuda/$(get_libdir) -lcudart" + fi + + emake -C src/ \ + CPP="${CPP}" CC="${CC}" AS="${AS}" LD="${LD}" \ + CFLAGS="-c -Wall -include \\\"${S}\\\"/config.gentoo ${CFLAGS} ${OMP} ${GPUCFLAGS}" \ + LDFLAGS="${LDFLAGS} ${GPULDFLAGS}" \ + OPT_NORMAL="" \ + OMPFLAGS="${OMP}" \ + JOHN_OBJS="$(get_john_objs)" \ + $(get_target) +} + +src_test() { + cd run + if [[ -f "${EPREFIX}/etc/john/john.conf" || -f "${EPREFIX}/etc/john/john.ini" ]] ; then + # This requires that MPI is actually 100% online on your system, which might not + # be the case, depending on which MPI implementation you are using. + #if use mpi; then + # mpirun -np 2 ./john --test || die "self test failed" + #else + + ./john --test || die 'self test failed' + else + ewarn "Tests require '${EPREFIX}/etc/john/john.conf' or '${EPREFIX}/etc/john/john.ini'" + fi +} + +src_install() { + # executables + dosbin run/john + newsbin run/mailer john-mailer + + pax-mark -mr "${ED}usr/sbin/john" || die + + dosym john /usr/sbin/unafs + dosym john /usr/sbin/unique + dosym john /usr/sbin/unshadow + + # jumbo-patch additions + if ! use minimal; then + dosym john /usr/sbin/undrop + dosbin run/calc_stat + dosbin run/genmkvpwd + dosbin run/mkvcalcproba + dosbin run/tgtsnarf + insinto /etc/john + doins run/genincstats.rb run/stats + doins run/netscreen.py run/sap2john.pl + if use opencl; then + doins src/opencl/*.cl + doins src/opencl_*.h + fi + fi + + # config files + insinto /etc/john + doins run/*.chr run/password.lst + doins run/*.conf + + # documentation + dodoc doc/* +} |