summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-02-13 18:12:59 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-02-13 18:12:59 +0000
commitf5fc3fd0fd0c13264d8563c09480d26d7467ad3a (patch)
tree8bdb91d21246d097585afccb9d7c2753b0f5091d /app-crypt/johntheripper
parentadded -pre10 ebuild (diff)
downloadgentoo-2-f5fc3fd0fd0c13264d8563c09480d26d7467ad3a.tar.gz
gentoo-2-f5fc3fd0fd0c13264d8563c09480d26d7467ad3a.tar.bz2
gentoo-2-f5fc3fd0fd0c13264d8563c09480d26d7467ad3a.zip
checking in changes so Zhen can work on them
Diffstat (limited to 'app-crypt/johntheripper')
-rw-r--r--app-crypt/johntheripper/files/digest-johntheripper-1.6-r16
-rw-r--r--app-crypt/johntheripper/johntheripper-1.6-r1.ebuild32
2 files changed, 32 insertions, 6 deletions
diff --git a/app-crypt/johntheripper/files/digest-johntheripper-1.6-r1 b/app-crypt/johntheripper/files/digest-johntheripper-1.6-r1
index a6a2b09598d7..f23c52523aeb 100644
--- a/app-crypt/johntheripper/files/digest-johntheripper-1.6-r1
+++ b/app-crypt/johntheripper/files/digest-johntheripper-1.6-r1
@@ -1,3 +1,7 @@
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
+MD5 e8f5a5402d98dd1e604e08bb89ba507e john-1.6-mysql-1.diff 8778
+MD5 8da212c49e452650b1d94984698be670 john-ntlm-patch-v02.tgz 8649
+MD5 8245b5565cf3bf4df38f788f2450d337 john-1.6.krb4.patch-3 20603
+MD5 53d8caee3f29eebaee7403524fffd2ce john-1.6.skey.patch-1 7433
+MD5 6078b01600c807ee2f1700e8e39c594d john-1.6.31-eggpatch-8.diff.gz 18715
diff --git a/app-crypt/johntheripper/johntheripper-1.6-r1.ebuild b/app-crypt/johntheripper/johntheripper-1.6-r1.ebuild
index e611706095bc..f386b34a5060 100644
--- a/app-crypt/johntheripper/johntheripper-1.6-r1.ebuild
+++ b/app-crypt/johntheripper/johntheripper-1.6-r1.ebuild
@@ -1,10 +1,10 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/johntheripper-1.6-r1.ebuild,v 1.2 2003/02/13 18:12:59 seemant Exp $
inherit eutils
-IUSE="mmx"
+IUSE="mmx samba"
MY_P=${P/theripper/}
S=${WORKDIR}/${MY_P}
@@ -12,8 +12,13 @@ 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"
+ http://ftp.debian.org/debian/pool/main/j/${PN/theripper/}/${DEBPATCH}.gz
+ mysql? ( http://www.openwall.com/john/contrib/john-1.6-mysql-1.diff )
+ samba? ( http://www.openwall.com/john/contrib/john-ntlm-patch-v02.tgz )
+ kerberos? ( http://www.monkey.org/~dugsong/john-1.6.krb4.patch-3 )
+ http://www.monkey.org/~dugsong/john-1.6.skey.patch-1
+ http://www.openwall.com/john/contrib/john-1.6.31-eggpatch-8.diff.gz"
+
SLOT="0"
LICENSE="GPL-2"
@@ -24,7 +29,24 @@ DEPEND=">=sys-devel/binutils-2.8.1.0.15"
src_unpack() {
unpack ${A}
epatch ${WORKDIR}/${DEBPATCH}
- epatch ${WORKDIR}/${P}-r1-gentoo
+ cd ${S}/src
+ epatch ${DISTDIR}/${MY_P}.skey.patch-1
+ cd ${S}
+# use mysql && epatch ${DISTDIR}/${MY_P}-mysql-1.diff
+
+ if use samba
+ then
+ mv ${WORKDIR}/john-ntlm-patch-v02/* ${S}/src
+ cd ${S}/src
+ epatch john-ntlm.diff
+ cd ${S}
+ fi
+
+ epatch ${WORKDIR}/${MY_P}.31-eggpatch-8.diff
+ if use kerberos
+ then
+ patch -p0 < ${DISTDIR}/${MY_P}.krb4.patch-3 || die
+ fi
}
src_compile() {