Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 186621 Details for
Bug 248715
app-crypt/johntheripper: pre-stripped files found
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Fix pre-stripped files
johntheripper-1.7.3.1-r1.ebuild (text/plain), 3.92 KB, created by
Víctor Ostorga (RETIRED)
on 2009-03-29 04:28:58 UTC
(
hide
)
Description:
Fix pre-stripped files
Filename:
MIME Type:
Creator:
Víctor Ostorga (RETIRED)
Created:
2009-03-29 04:28:58 UTC
Size:
3.92 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/johntheripper-1.7.3.1.ebuild,v 1.2 2009/03/03 13:54:27 pva Exp $ > >inherit eutils flag-o-matic toolchain-funcs pax-utils > >JUMBO='all-3' >MPI='mpi8-small' > >MY_PN="${PN/theripper/}" >MY_P="${MY_PN/theripper/}-${PV}" >S="${WORKDIR}/${MY_P}" > >DESCRIPTION="fast password cracker" >HOMEPAGE="http://www.openwall.com/john/" > >SRC_URI="http://www.openwall.com/john/g/${MY_P}.tar.gz > !minimal? ( ftp://ftp.openwall.com/john/contrib/historical/${MY_P}-${JUMBO}.diff.gz ) > mpi? ( http://bindshell.net/tools/johntheripper/${MY_P}-${MPI}.patch.gz )" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" >EAPI=1 >IUSE="mmx altivec sse2 custom-cflags -minimal -mpi" > ># Seems a bit fussy with other MPI implementations. >RDEPEND="!minimal? ( >=dev-libs/openssl-0.9.7 ) > mpi? ( sys-cluster/openmpi )" >DEPEND="${RDEPEND}" > >get_target() { > if use x86 ; then > if use sse2 ; then > echo "linux-x86-sse2" > elif use mmx ; then > echo "linux-x86-mmx" > else > echo "linux-x86-any" > fi > elif use alpha ; then > echo "linux-alpha" > elif use sparc; then > echo "linux-sparc" > elif use amd64; then > echo "linux-x86-64" > 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 ppc; then > if use altivec; then > echo "linux-ppc32-altivec" > else > echo "linux-ppc32" > fi > else > echo "generic" > fi >} > >#pkg_setup() { ># if use mpi && built_with_use sys-cluster/mpich2 threads; then ># die 'cannot work with sys-cluster/mpich2 USE=threads' ># #http://bindshell.net/tools/johntheripper/ ># fi >#} > >src_unpack() { > unpack ${A} > cd "${S}" > PATCHLIST="" > if use mpi ; then > epatch "${WORKDIR}"/${MY_P}-${MPI}.patch > # avoid the conflict on JOHN_VERSION until a better compromise is made > sed -i 's/_mpi"/"/' src/params.h > fi > if ! use minimal ; then > epatch "${WORKDIR}"/${MY_P}-${JUMBO}.diff > PATCHLIST=stackdef.S > fi > PATCHLIST="${PATCHLIST} params.h mkdir-sandbox" > > cd "${S}/src" > for p in ${PATCHLIST}; do > epatch "${FILESDIR}/${P}-${p}.patch" > done > > sed -i -e "/LDFLAGS/ s:-s::" Makefile || die "sed Makefile failed" > > sed -i "s/LDFLAGS *= */override LDFLAGS += /" Makefile >} > >src_compile() { > cd "${S}/src" > > use custom-cflags || strip-flags > append-flags -fno-PIC -fno-PIE > append-ldflags -nopie > > CPP=$(tc-getCXX) CC=$(tc-getCC) AS=$(tc-getCC) LD=$(tc-getCC) > use mpi && CPP=mpicxx CC=mpicc AS=mpicc LD=mpicc > emake \ > CPP=${CPP} CC=${CC} AS=${AS} LD=${LD} \ > CFLAGS="-c -Wall ${CFLAGS} -DJOHN_SYSTEMWIDE \ > -DJOHN_SYSTEMWIDE_HOME=\"\\\"/etc/john\\\"\"" \ > LDFLAGS="${LDFLAGS}" \ > OPT_NORMAL="" \ > $(get_target) \ > || die "make failed" >} > >src_test() { > cd "${S}/run" > if [ -f /etc/john/john.conf -o -f /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 "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 > > # jumbo-patch additions > if ! use minimal ; then > dosym john /usr/sbin/undrop > # >=all-4 > #dosbin run/calc_stat > #dosbin run/genmkvpwd > #dosbin run/mkvcalcproba > insinto /etc/john > # >=all-4 > #doins run/genincstats.rb run/stats > doins run/netscreen.py run/sap_prepare.pl > fi > > #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 248715
:
186621
|
187287