Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 140654 Details for
Bug 202306
app-crypt/johntheripper-1.7.2-r3 - stable request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
added mpi support
johntheripper-1.7.2-r4.ebuild (text/plain), 3.28 KB, created by
Alex Barker
on 2008-01-11 02:21:48 UTC
(
hide
)
Description:
added mpi support
Filename:
MIME Type:
Creator:
Alex Barker
Created:
2008-01-11 02:21:48 UTC
Size:
3.28 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/johntheripper-1.7.2-r3.ebuild,v 1.6 2008/01/02 06:35:00 jer Exp $ > >inherit eutils flag-o-matic toolchain-funcs pax-utils > >MY_PN=${PN/theripper/} >MY_P=${MY_PN/theripper/}-${PV} >S=${WORKDIR}/${MY_P} > >DESCRIPTION="fast password cracker" >HOMEPAGE="http://www.openwall.com/john/" > ># !mpi? ( http://www.openwall.com/john/contrib/${MY_P}-all-7.diff.gz ) - This went missing.... >SRC_URI="http://www.openwall.com/john/f/${MY_P}.tar.gz > !mpi? ( http://www.openwall.com/john/contrib/${MY_P}-all-9.diff.gz ) > mpi? ( http://bindshell.net/tools/johntheripper/${MY_P}-bp17-mpi2.patch.gz )" > ># banquise-to-bigpatch-17.patch.bz2" ># based off /var/tmp/portage/johntheripper-1.6.40 > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="alpha ~amd64 hppa ~mips ppc ppc64 sparc x86" >IUSE="mmx altivec sse2 custom-cflags mpi" > >DEPEND="mpi? ( sys-cluster/openmpi )" >RDEPEND=">=dev-libs/openssl-0.9.7" > >src_unpack() { > unpack ${A} > > if ! use mpi ; then > cd "${S}/src" > epatch "${WORKDIR}"/${MY_P}-all-9.diff > > # TODO Need to fix the sha1-memset patch as the new 9-in-1 borked it. > #for p in sha1-memset stackdef.S stackdef-2.S mkdir-sandbox; do > for p in stackdef.S stackdef-2.S mkdir-sandbox; do > epatch "${FILESDIR}/${P}-${p}.patch" > done > else > epatch "${WORKDIR}"/${MY_P}-bp17-mpi2.patch > fi >} > >src_compile() { > cd "${S}/src" > > TARGET="" > if use x86 ; then > if use sse2 ; then > TARGET="linux-x86-sse2" > elif use mmx ; then > TARGET="linux-x86-mmx" > else > TARGET="linux-x86-any" > fi > elif use alpha ; then > TARGET="linux-alpha" > elif use sparc; then > TARGET="linux-sparc" > elif use amd64; then > TARGET="linux-x86-64" > elif use ppc-macos; then > if use altivec; then > TARGET="macosx-ppc32-altivec" > else > TARGET="macosx-ppc32" > fi > # for Tiger this can be macosx-ppc64 > elif use ppc64; then > if use altivec; then > TARGET="linux-ppc32-altivec" > else > TARGET="linux-ppc64" > fi > # linux-ppc64-altivec is slightly slower than linux-ppc32-altivec for most hash types. > # as per the Makefile comments > elif use ppc; then > if use altivec; then > TARGET="linux-ppc32-altivec" > else > TARGET="linux-ppc32" > fi > else > TARGET="generic" > fi > > > if use custom-cflags ; then > OPTIONS="-c -Wall -O3 -fomit-frame-pointer -DJOHN_SYSTEMWIDE" > else > strip-flags > OPTIONS="-c -Wall ${CFLAGS} -DJOHN_SYSTEMWIDE -DJOHN_SYSTEMWIDE_HOME=\"\\\"/etc/john\\\"\"" > echo ${OPTIONS} > fi > > append-flags -fno-PIC -fno-PIE > append-ldflags -nopie > > emake CFLAGS="${OPTIONS}" ${TARGET} || die "make failed" >} > >src_test() { > cd ${S}/run > if [ -f /etc/john/john.conf -o -f /etc/john/john.ini ]; then > if use mpi ; then > mpirun -np 2 ./john --test || die 'self test failed' > else > ./john --test || die 'self test failed' > fi > else > ewarn "selftest requires /etc/john/john.conf or /etc/john/john.ini" > fi >} > >src_install() { > # executables > dosbin run/john > newsbin run/mailer john-mailer > > pax-mark -m "${D}"/usr/sbin/john > > dosym john /usr/sbin/unafs > dosym john /usr/sbin/unique > dosym john /usr/sbin/unshadow > > # for EGG only > dosym john /usr/sbin/undrop > > #newsbin src/bench john-bench > > # config files > insinto /etc/john > doins run/john.conf > doins run/*.chr run/password.lst > > # documentation > dodoc doc/* >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 202306
: 140654