summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn P. Davis <zhen@gentoo.org>2003-02-13 06:10:21 +0000
committerJohn P. Davis <zhen@gentoo.org>2003-02-13 06:10:21 +0000
commitcd7add96d9408fb9c795a903e76dca62fa378e30 (patch)
tree4b8863aceaadd36adeff57665f85c8a1e8e2362c
parentkeywords fix (diff)
downloadgentoo-2-cd7add96d9408fb9c795a903e76dca62fa378e30.tar.gz
gentoo-2-cd7add96d9408fb9c795a903e76dca62fa378e30.tar.bz2
gentoo-2-cd7add96d9408fb9c795a903e76dca62fa378e30.zip
new patchball, see changelog
-rw-r--r--app-crypt/johntheripper/ChangeLog10
-rw-r--r--app-crypt/johntheripper/files/digest-johntheripper-1.6-r13
-rw-r--r--app-crypt/johntheripper/johntheripper-1.6-r1.ebuild56
3 files changed, 68 insertions, 1 deletions
diff --git a/app-crypt/johntheripper/ChangeLog b/app-crypt/johntheripper/ChangeLog
index ad25ab3af845..1c3911c58251 100644
--- a/app-crypt/johntheripper/ChangeLog
+++ b/app-crypt/johntheripper/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-crypt/johntheripper
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/ChangeLog,v 1.6 2003/02/12 03:27:36 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/ChangeLog,v 1.7 2003/02/13 06:10:21 zhen Exp $
+
+*johntheripper-1.6-r1 (13 Feb 2003)
+
+ 13 Feb 2003; <zhen@gentoo.org> johntheripper-1.6-r1.ebuild files/digest-johntheripper-1.6-r1 :
+ new version that uses patches for ntlm, mysql, etc password cracking
+
+ 13 Feb 2003; <zhen@gentoo.org> johntheripper-1.6-r1.ebuild files/digest-johntheripper-1.6-r1 :
+ new
*johntheripper-1.6 (22 May 2002)
diff --git a/app-crypt/johntheripper/files/digest-johntheripper-1.6-r1 b/app-crypt/johntheripper/files/digest-johntheripper-1.6-r1
new file mode 100644
index 000000000000..a6a2b09598d7
--- /dev/null
+++ b/app-crypt/johntheripper/files/digest-johntheripper-1.6-r1
@@ -0,0 +1,3 @@
+MD5 aae782f160041b2bdc624b0a84054e32 john-1.6.tar.gz 497341
+MD5 ec0b4fed7c81d370e85544deab48d03c john_1.6-17.diff.gz 11451
+MD5 865722f0b87790dae5cd685d153af7c4 johntheripper-1.6-r1-gentoo.tar.bz2 46532
diff --git a/app-crypt/johntheripper/johntheripper-1.6-r1.ebuild b/app-crypt/johntheripper/johntheripper-1.6-r1.ebuild
new file mode 100644
index 000000000000..e611706095bc
--- /dev/null
+++ b/app-crypt/johntheripper/johntheripper-1.6-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/johntheripper-1.6-r1.ebuild,v 1.1 2003/02/13 06:10:21 zhen Exp $
+
+inherit eutils
+
+IUSE="mmx"
+
+MY_P=${P/theripper/}
+S=${WORKDIR}/${MY_P}
+DEBPATCH=${MY_P/-/_}-17.diff
+DESCRIPTION="John the Ripper is a fast password cracker."
+HOMEPAGE="http://www.openwall.com/${PN/theripper/}/"
+SRC_URI="${HOMEPAGE}/${MY_P}.tar.gz
+ http://ftp.debian.org/debian/pool/main/j/${PN/theripper/}/${DEBPATCH}.gz
+ http://cvs.gentoo.org/~zhen/${P}-r1-gentoo.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="-x86 -sparc -ppc -alpha -mips -hppa"
+
+DEPEND=">=sys-devel/binutils-2.8.1.0.15"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${WORKDIR}/${DEBPATCH}
+ epatch ${WORKDIR}/${P}-r1-gentoo
+}
+
+src_compile() {
+ cd src
+ mv Makefile Makefile.orig
+ sed -e "s:-m486::" -e "s:-Wall -O2:${CFLAGS}:" \
+ Makefile.orig > Makefile
+ if [ `use mmx` ] ; then
+ emake linux-x86-mmx-elf || die
+ else
+ emake generic || die
+ fi
+}
+
+src_install() {
+ insinto /etc
+ doins run/john.ini debian/john-mail.msg debian/john-mail.conf
+ insinto /usr/share/${PN/theripper/}
+ doins run/{all.chr,alpha.chr,digits.chr,lanman.chr,password.lst} \
+ debian/john-dailyscript
+ doman debian/*.1
+ dosbin run/john debian/mailer debian/john-cronjob
+
+ dosym john /usr/sbin/unafs
+ dosym john /usr/sbin/unique
+ dosym john /usr/sbin/unshadow
+
+ dodoc debian/{CONFIG.mailer,copyright} doc/*
+}