diff options
Diffstat (limited to 'app-crypt/ophcrack')
-rw-r--r-- | app-crypt/ophcrack/ChangeLog | 10 | ||||
-rw-r--r-- | app-crypt/ophcrack/files/digest-ophcrack-2.4.1 | 15 | ||||
-rw-r--r-- | app-crypt/ophcrack/ophcrack-2.4.1.ebuild | 68 | ||||
-rw-r--r-- | app-crypt/ophcrack/ophcrack-2.4.ebuild | 26 |
4 files changed, 104 insertions, 15 deletions
diff --git a/app-crypt/ophcrack/ChangeLog b/app-crypt/ophcrack/ChangeLog index 9c2240d85dff..aa3a1c09aaf9 100644 --- a/app-crypt/ophcrack/ChangeLog +++ b/app-crypt/ophcrack/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-crypt/ophcrack -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/ophcrack/ChangeLog,v 1.14 2007/12/31 23:39:35 josejx Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/ophcrack/ChangeLog,v 1.15 2008/01/10 23:24:34 ikelos Exp $ + +*ophcrack-2.4.1 (10 Jan 2008) + + 10 Jan 2008; Mike Auty <ikelos@gentoo.org> ophcrack-2.4.ebuild, + +ophcrack-2.4.1.ebuild: + Version bump, and add pkgconfig dependency to fix bug 205026. 31 Dec 2007; Joseph Jezak <josejx@gentoo.org> ophcrack-2.4.ebuild: Marked ~ppc for bug #203621. diff --git a/app-crypt/ophcrack/files/digest-ophcrack-2.4.1 b/app-crypt/ophcrack/files/digest-ophcrack-2.4.1 new file mode 100644 index 000000000000..ec056f4c1115 --- /dev/null +++ b/app-crypt/ophcrack/files/digest-ophcrack-2.4.1 @@ -0,0 +1,15 @@ +MD5 d4edbf1f1ac39c718d9f0bf90083591d SSTIC04-10k.zip 370847438 +RMD160 962b83362ae61cd3ee87b9cc8f355f759ab7ba14 SSTIC04-10k.zip 370847438 +SHA256 44391ce526f4a135b54e6ea76a017f56c1aa9dd005354d355e949d261bd9d68a SSTIC04-10k.zip 370847438 +MD5 00181247b0ef30d0fd138341a6f883ff SSTIC04-5k.zip 701900757 +RMD160 4ac60e6d7bd8d817e5deeb2d93db7397a8f42279 SSTIC04-5k.zip 701900757 +SHA256 9ba2c9e6faeb658a77a342a2d45c47e593daae9e087be3254eb1b050b324cf10 SSTIC04-5k.zip 701900757 +MD5 bb5e076f3051c60331a7831b6c11719d bkhive-1.1.1.tar.gz 15985 +RMD160 90e0a228eec7ceb92bb9fa20b837b7c97fccdcc6 bkhive-1.1.1.tar.gz 15985 +SHA256 3f5f85b507d56c09944b394c94551fa27d6fc5ca21ec033e4ebd98ac47417e68 bkhive-1.1.1.tar.gz 15985 +MD5 9087eb77378bfcf02a843550cd6fc2ec ophcrack-2.4.1.tar.gz 171256 +RMD160 c0aa1ae966593cb025190c84fb5b2ce24b307059 ophcrack-2.4.1.tar.gz 171256 +SHA256 bb7723e2a3a289a16b7c76f1a6ba4b38007a41e675a437b6ae3e115613f7f355 ophcrack-2.4.1.tar.gz 171256 +MD5 f8c321594444df2dd3ca5be040ca5097 samdump2-1.1.1.tar.gz 18888 +RMD160 e361b712947b16b87b6f93d2d3a9f53ee4e8f63b samdump2-1.1.1.tar.gz 18888 +SHA256 51310babf8f23933a03aba115ae7ac7282d4f16cd6aa96fe3650ff294fb3516e samdump2-1.1.1.tar.gz 18888 diff --git a/app-crypt/ophcrack/ophcrack-2.4.1.ebuild b/app-crypt/ophcrack/ophcrack-2.4.1.ebuild new file mode 100644 index 000000000000..3e2da4c25444 --- /dev/null +++ b/app-crypt/ophcrack/ophcrack-2.4.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/ophcrack/ophcrack-2.4.1.ebuild,v 1.1 2008/01/10 23:24:34 ikelos Exp $ + +inherit toolchain-funcs eutils + +BKHIVE_VER="1.1.1" +SAMDUMP_VER="1.1.1" + +DESCRIPTION="A time-memory-trade-off-cracker" +HOMEPAGE="http://ophcrack.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz + mirror://sourceforge/${PN}/bkhive-${BKHIVE_VER}.tar.gz + mirror://sourceforge/${PN}/samdump2-${SAMDUMP_VER}.tar.gz + !ophsmall? ( http://lasecwww.epfl.ch/SSTIC04-5k.zip ) + ophsmall? ( http://lasecwww.epfl.ch/SSTIC04-10k.zip )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="ophsmall" + +DEPEND="app-arch/unzip + >=dev-util/pkgconfig-0.22 + dev-libs/openssl + net-libs/netwib + >=x11-libs/gtk+-2" +RDEPEND="dev-libs/openssl + net-libs/netwib + >=x11-libs/gtk+-2" + +src_compile() { + # Make samdump2 + einfo "Compiling samdump2" + cd "${WORKDIR}/samdump2-${SAMDUMP_VER}" + MAKEOPTS="-j1" emake || die "Failed to make samdump" + + # Make bkhive2 + einfo "Compiling bkhive" + cd "${WORKDIR}/bkhive-${BKHIVE_VER}" + MAKEOPTS="-j1" emake || die "Failed to make bkhive2" + + # Make the program + einfo "Compiling ophcrack" + cd "${S}" + econf + emake || die "Failed to make ophcrack" + + # Don't try to install the prebuilt binaries, + # they'll cause an access violation + rm -fr "${S}/linux_tools" +} + +src_install() { + make install DESTDIR="${D}" + + cd "${WORKDIR}/bkhive-${BKHIVE_VER}" + make install DESTDIR="${D}" PREFIX=/usr/ + + cd "${WORKDIR}/samdump2-${SAMDUMP_VER}" + make install DESTDIR="${D}" PREFIX=/usr/ + + TABLENAME="5000" + use ophsmall && TABLENAME="10000" + + dodir "/usr/share/${PN}/${TABLENAME}" + mv "${WORKDIR}/table"* "${D}/usr/share/${PN}/${TABLENAME}" +} diff --git a/app-crypt/ophcrack/ophcrack-2.4.ebuild b/app-crypt/ophcrack/ophcrack-2.4.ebuild index 805ab01aa6b0..bd29203f3b66 100644 --- a/app-crypt/ophcrack/ophcrack-2.4.ebuild +++ b/app-crypt/ophcrack/ophcrack-2.4.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/ophcrack/ophcrack-2.4.ebuild,v 1.3 2007/12/31 23:39:35 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/ophcrack/ophcrack-2.4.ebuild,v 1.4 2008/01/10 23:24:34 ikelos Exp $ inherit toolchain-funcs eutils @@ -29,37 +29,37 @@ RDEPEND="${DEPEND}" src_compile() { # Make samdump2 einfo "Compiling samdump2" - cd ${WORKDIR}/samdump2-${SAMDUMP_VER} + cd "${WORKDIR}/samdump2-${SAMDUMP_VER}" MAKEOPTS="-j1" emake || die "Failed to make samdump" # Make bkhive2 einfo "Compiling bkhive" - cd ${WORKDIR}/bkhive-${BKHIVE_VER} + cd "${WORKDIR}/bkhive-${BKHIVE_VER}" MAKEOPTS="-j1" emake || die "Failed to make bkhive2" # Make the program einfo "Compiling ophcrack" - cd ${S} + cd "${S}" econf emake || die "Failed to make ophcrack" # Don't try to install the prebuilt binaries, # they'll cause an access violation - rm -fr ${S}/linux_tools + rm -fr "${S}/linux_tools" } src_install() { - make install DESTDIR=${D} + make install DESTDIR="${D}" - cd ${WORKDIR}/bkhive-${BKHIVE_VER} - make install DESTDIR=${D} PREFIX=/usr/ + cd "${WORKDIR}/bkhive-${BKHIVE_VER}" + make install DESTDIR="${D}" PREFIX=/usr/ - cd ${WORKDIR}/samdump2-${SAMDUMP_VER} - make install DESTDIR=${D} PREFIX=/usr/ + cd "${WORKDIR}/samdump2-${SAMDUMP_VER}" + make install DESTDIR="${D}" PREFIX=/usr/ TABLENAME="5000" use ophsmall && TABLENAME="10000" - dodir /usr/share/${PN}/${TABLENAME} - mv ${WORKDIR}/table* ${D}/usr/share/${PN}/${TABLENAME} + dodir "/usr/share/${PN}/${TABLENAME}" + mv "${WORKDIR}/table"* "${D}/usr/share/${PN}/${TABLENAME}" } |