diff options
author | Mike Auty <ikelos@gentoo.org> | 2008-08-28 20:06:34 +0000 |
---|---|---|
committer | Mike Auty <ikelos@gentoo.org> | 2008-08-28 20:06:34 +0000 |
commit | 3874d1c72695c24e92c3e3aa04bc8cf62d820589 (patch) | |
tree | 37af80c009db74b01f2a0500c186464545ac21c1 /app-crypt/ophcrack | |
parent | Add ~sparc keyword, bug #235636 (diff) | |
download | gentoo-2-3874d1c72695c24e92c3e3aa04bc8cf62d820589.tar.gz gentoo-2-3874d1c72695c24e92c3e3aa04bc8cf62d820589.tar.bz2 gentoo-2-3874d1c72695c24e92c3e3aa04bc8cf62d820589.zip |
Fix bug 236019 (thanks to Steffen Stollfuss).
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686)
Diffstat (limited to 'app-crypt/ophcrack')
-rw-r--r-- | app-crypt/ophcrack/ChangeLog | 7 | ||||
-rw-r--r-- | app-crypt/ophcrack/ophcrack-3.0.1-r1.ebuild | 64 |
2 files changed, 70 insertions, 1 deletions
diff --git a/app-crypt/ophcrack/ChangeLog b/app-crypt/ophcrack/ChangeLog index 4dd7f850c664..0b811a398d35 100644 --- a/app-crypt/ophcrack/ChangeLog +++ b/app-crypt/ophcrack/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-crypt/ophcrack # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/ophcrack/ChangeLog,v 1.22 2008/07/24 21:44:59 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/ophcrack/ChangeLog,v 1.23 2008/08/28 20:06:34 ikelos Exp $ + +*ophcrack-3.0.1-r1 (28 Aug 2008) + + 28 Aug 2008; Mike Auty <ikelos@gentoo.org> +ophcrack-3.0.1-r1.ebuild: + Fix bug 236019 (thanks to Steffen Stollfuss). 24 Jul 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml: add GLEP 56 USE flag desc from use.local.desc diff --git a/app-crypt/ophcrack/ophcrack-3.0.1-r1.ebuild b/app-crypt/ophcrack/ophcrack-3.0.1-r1.ebuild new file mode 100644 index 000000000000..c074ec9573c4 --- /dev/null +++ b/app-crypt/ophcrack/ophcrack-3.0.1-r1.ebuild @@ -0,0 +1,64 @@ +# 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-3.0.1-r1.ebuild,v 1.1 2008/08/28 20:06:34 ikelos Exp $ + +inherit toolchain-funcs autotools eutils + +SAMDUMP_VER="2.0" + +DESCRIPTION="A time-memory-trade-off-cracker" +HOMEPAGE="http://ophcrack.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2 + mirror://sourceforge/${PN}/samdump2-${SAMDUMP_VER}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="app-arch/unzip + >=dev-util/pkgconfig-0.22 + dev-libs/openssl + net-libs/netwib + >=x11-libs/qt-4" +RDEPEND="dev-libs/openssl + net-libs/netwib + >=x11-libs/qt-4 + app-crypt/ophcrack-tables" + +src_unpack() { + unpack ${A} + cd "${S}" + eautoreconf + epatch "${FILESDIR}/${P}-makefile.patch" + cd "${WORKDIR}" + epatch "${FILESDIR}/samdump2-${SAMDUMP_VER}.patch" +} + +src_compile() { + # Make samdump2 + einfo "Compiling samdump2" + cd "${WORKDIR}/samdump2-${SAMDUMP_VER}" + MAKEOPTS="-j1" emake || die "Failed to make samdump" + + # 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}/samdump2-${SAMDUMP_VER}" + make install DESTDIR="${D}" PREFIX=/usr/ + + cd "${S}" + newicon src/gui/pixmaps/os.xpm ophcrack.xpm + make_desktop_entry "${PN}" OphCrack ophcrack +} |