Version bump, compiling bkhive and samdump from source to fix bug 156119.
authorMike Auty <ikelos@gentoo.org>
Sat, 25 Nov 2006 17:49:48 +0000 (17:49 +0000)
committerMike Auty <ikelos@gentoo.org>
Sat, 25 Nov 2006 17:49:48 +0000 (17:49 +0000)
Package-Manager: portage-2.1.2_rc2-r1

app-crypt/ophcrack/ChangeLog
app-crypt/ophcrack/Manifest
app-crypt/ophcrack/files/digest-ophcrack-2.3.3 [new file with mode: 0644]
app-crypt/ophcrack/files/ophcrack-2.3.3-linuxtools-install-path.patch [new file with mode: 0644]
app-crypt/ophcrack/ophcrack-2.3.3.ebuild [new file with mode: 0644]

index 468d00000cef609ce7e722a0309ba384ee47c4d5..5b9159bb427cd92fc39ef1f0c45482717a463386 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for app-crypt/ophcrack
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/ophcrack/ChangeLog,v 1.4 2006/09/02 12:27:23 ikelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/ophcrack/ChangeLog,v 1.5 2006/11/25 17:49:48 ikelos Exp $
+
+*ophcrack-2.3.3 (25 Nov 2006)
+
+  25 Nov 2006; Mike Auty <ikelos@gentoo.org>
+  +files/ophcrack-2.3.3-linuxtools-install-path.patch,
+  +ophcrack-2.3.3.ebuild:
+  Version bump, compiling bkhive and samdump from source to fix bug 156119.
 
 *ophcrack-2.3.1 (02 Sep 2006)
 
index dddb7b2a72f19a180239147027e83f16090a57f3..feab3f968ec5305815de4dd260e47534c0dba4de 100644 (file)
@@ -9,10 +9,17 @@ AUX ophcrack-2.3.1-linuxtools-install-path.patch 1434 RMD160 52d25ae8e0332d1cafb
 MD5 5d619b8f22fec55ca03bd5466b2e38fc files/ophcrack-2.3.1-linuxtools-install-path.patch 1434
 RMD160 52d25ae8e0332d1cafb02e84f6264c21aa71c219 files/ophcrack-2.3.1-linuxtools-install-path.patch 1434
 SHA256 c0815bc2043f3b6c64fb4c159ed6eb1975ed64be225523c6c64e4e4ce972cf2c files/ophcrack-2.3.1-linuxtools-install-path.patch 1434
+AUX ophcrack-2.3.3-linuxtools-install-path.patch 1320 RMD160 9769d8ea3477c60fa08a90b9d8a44ebc82671964 SHA1 8627f2c5de7c05de6f243b447f46db6ee6777c5f SHA256 62a66b96c8ed62affca40837f51045b4e0e05fcf9216ab5ef9f5f8b85fd8b49a
+MD5 9135b34e522b26295949313543c5fb1a files/ophcrack-2.3.3-linuxtools-install-path.patch 1320
+RMD160 9769d8ea3477c60fa08a90b9d8a44ebc82671964 files/ophcrack-2.3.3-linuxtools-install-path.patch 1320
+SHA256 62a66b96c8ed62affca40837f51045b4e0e05fcf9216ab5ef9f5f8b85fd8b49a files/ophcrack-2.3.3-linuxtools-install-path.patch 1320
 DIST SSTIC04-10k.zip 364228 RMD160 bc0678e1b4a00020993a2c2c7f4beb67a0a985f9 SHA1 dcd3a9cdc5e0fb5f038a8c6fdafe469c3286bff7 SHA256 39ee186b7eca2f13a003e1a471ea083a80af7b657b90e829adee32cb1c875259
 DIST SSTIC04-5k.zip 701900757 RMD160 4ac60e6d7bd8d817e5deeb2d93db7397a8f42279 SHA1 dbd001e5aa0d4fc74b5ea8e2408e82e51c56c243 SHA256 910cfab447d273564a374d62620d50812d0623657905835da152d53c3542552f
+DIST bkhive2.tar.gz 3283 RMD160 08ed260fa1d2605e9ac9f25fe6fbb5fe0e7a92f8 SHA1 736c26b5da4a2c2892d7c0eb7c98c0bc218f1e4b SHA256 13f44f8e85ca0a5ae9a6c630780ada17fc1f31cf5f0181826784ebf0a85520bf
 DIST ophcrack-2.2.tar.gz 148443 RMD160 47af8b59460b28b617e99946e33bd453723bda44 SHA256 cb30073eb982f149478ca2923b6412d1a4a8db1ae4f0ba9a632fb7b62598d91b
 DIST ophcrack-2.3.1.tar.gz 164484 RMD160 e8eee53e8a49a55270161ee9b86332b129c6a468 SHA1 91d15c319f364d05aca0de108fbab0ac4a128948 SHA256 b8ad977b2c1835f6ce705ef6c2faf13a0dbf98445b72b60c7697fb5077503a3d
+DIST ophcrack-2.3.3.tar.gz 176184 RMD160 6cc9317f6c24c4d1bfa3a7b348eb759a8b0cac81 SHA1 dc83eb2a3d016eee272192e258c860e733538a8e SHA256 210db7499b76e41a89ac0930f98250aa04fef530f3f29253b42390e658eff6c3
+DIST samdump2_linux.tgz 144901 RMD160 525f1656285783ed951d6b9a1430eddc1c46426f SHA1 0a27c7d7fbf40451a9ee74e44d11592033e8f258 SHA256 fefe3b495de5a9901c96736ab85c88b981bd7ce6318dd90bbd68b1747e945d26
 EBUILD ophcrack-2.2.ebuild 888 RMD160 567ac15a0b0f25b673d16cff448179b33dfcf62e SHA1 262fe3ac7646293843eae9defb6fa8bcb284754e SHA256 2f4c11d60a56bb33891c4611a799ff00215f026071301458b1ef4301eb31160c
 MD5 c0625c83a1fc0def9fa6efa5e37b61ab ophcrack-2.2.ebuild 888
 RMD160 567ac15a0b0f25b673d16cff448179b33dfcf62e ophcrack-2.2.ebuild 888
@@ -21,10 +28,14 @@ EBUILD ophcrack-2.3.1.ebuild 887 RMD160 85c90c86af2c548d563c8d3df9e2b3788020b0a6
 MD5 8a0c62f423e59cdc3c374575fbe7a755 ophcrack-2.3.1.ebuild 887
 RMD160 85c90c86af2c548d563c8d3df9e2b3788020b0a6 ophcrack-2.3.1.ebuild 887
 SHA256 97a39bc6a431fe50dcf1595c1edf0df30c2f4be8c4134bede58a7ddd7cce8a7f ophcrack-2.3.1.ebuild 887
-MISC ChangeLog 774 RMD160 5677e2ef57710b0f22010f0999dbd1c644e57ad4 SHA1 bf7621b8220f57995cbf5e71cd079113ed7f3ee2 SHA256 54fd970fd51a353097a4eda7f6efa1b82ff5846733f49dc4bed789debff3636c
-MD5 cf67dfa43d6d180cb7a8b8253531d438 ChangeLog 774
-RMD160 5677e2ef57710b0f22010f0999dbd1c644e57ad4 ChangeLog 774
-SHA256 54fd970fd51a353097a4eda7f6efa1b82ff5846733f49dc4bed789debff3636c ChangeLog 774
+EBUILD ophcrack-2.3.3.ebuild 1670 RMD160 feac462588659c39b4a37a7ccd4a92f6722ea23e SHA1 09b90c4670610e1ebfbe822ad9fe763ae99f1ee2 SHA256 4e4bbe8c70272e0380ad2b4c51c3c1e10374a07544953837e2409bb3f3eae732
+MD5 6ba3b028ed8de3623af028beff26edd3 ophcrack-2.3.3.ebuild 1670
+RMD160 feac462588659c39b4a37a7ccd4a92f6722ea23e ophcrack-2.3.3.ebuild 1670
+SHA256 4e4bbe8c70272e0380ad2b4c51c3c1e10374a07544953837e2409bb3f3eae732 ophcrack-2.3.3.ebuild 1670
+MISC ChangeLog 1008 RMD160 6ab3a74d69f5695bce9b477dc66c5400f1ebf068 SHA1 8e11ad9ec8bbc6fdd0c32fed16803522ce72a5a2 SHA256 da8f02abeab2ee6f2462163875a514f49d7896fdc9d51819c6d1b51db94a43c9
+MD5 2720a49d02bd65dd9d39990fe8f84dd2 ChangeLog 1008
+RMD160 6ab3a74d69f5695bce9b477dc66c5400f1ebf068 ChangeLog 1008
+SHA256 da8f02abeab2ee6f2462163875a514f49d7896fdc9d51819c6d1b51db94a43c9 ChangeLog 1008
 MISC metadata.xml 228 RMD160 0c0f21c7ab70c383b7f97394d12228c73acc1761 SHA1 7244819ba1a8f6f55dd5e4ef9b699077b6149a54 SHA256 5bc9b0863b4032c32c2ee0612a08038a2f595c989254291ac8231bed7aecd8e1
 MD5 2435c886331c5f67eadc6ccbe10d5314 metadata.xml 228
 RMD160 0c0f21c7ab70c383b7f97394d12228c73acc1761 metadata.xml 228
@@ -35,10 +46,13 @@ SHA256 cdc5a04d234989f880f1b5a58a1dd04d9505bf89c076cae1ea4473463bb53a0b files/di
 MD5 7031dc44d511eb3dcc7bc64c98e8fef2 files/digest-ophcrack-2.3.1 702
 RMD160 d1c498e211963fb8002904329db8a4e237fd1805 files/digest-ophcrack-2.3.1 702
 SHA256 51a09a1c3f8f44718bcd94775d575092ad80a3f67cbe29ce60eb6164e16acc0c files/digest-ophcrack-2.3.1 702
+MD5 c919599c511bf0e281b543fa7e507979 files/digest-ophcrack-2.3.3 1154
+RMD160 111a4ce7774ef9a4f7f3b6fe805ca0adf54eb679 files/digest-ophcrack-2.3.3 1154
+SHA256 017f7f7806d083479cd43245d249ef752f832dc4b27143343a57071ab6eecbd1 files/digest-ophcrack-2.3.3 1154
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.5 (GNU/Linux)
 
-iD8DBQFE+XjXu7rWomwgFXoRAi5AAKCgP07wtkkL4XBfRxE/qLxCnPCMaACgn3FY
-huC47o0uiybd0lI40aAeXk0=
-=sO0y
+iD8DBQFFaIJIu7rWomwgFXoRAvcyAJ4u0dvCGdDzn3BMODhSHM5sTejd5gCgjQbd
+wMU9Hq7aVbxDOUEfMfUasTw=
+=+p5o
 -----END PGP SIGNATURE-----
diff --git a/app-crypt/ophcrack/files/digest-ophcrack-2.3.3 b/app-crypt/ophcrack/files/digest-ophcrack-2.3.3
new file mode 100644 (file)
index 0000000..c30f23a
--- /dev/null
@@ -0,0 +1,15 @@
+MD5 a5542fc3de4d24ecb62a01154f0f74b9 SSTIC04-10k.zip 364228
+RMD160 bc0678e1b4a00020993a2c2c7f4beb67a0a985f9 SSTIC04-10k.zip 364228
+SHA256 39ee186b7eca2f13a003e1a471ea083a80af7b657b90e829adee32cb1c875259 SSTIC04-10k.zip 364228
+MD5 00181247b0ef30d0fd138341a6f883ff SSTIC04-5k.zip 701900757
+RMD160 4ac60e6d7bd8d817e5deeb2d93db7397a8f42279 SSTIC04-5k.zip 701900757
+SHA256 910cfab447d273564a374d62620d50812d0623657905835da152d53c3542552f SSTIC04-5k.zip 701900757
+MD5 b1c7d23d7cd2efe9f7a6ff05ef92bb44 bkhive2.tar.gz 3283
+RMD160 08ed260fa1d2605e9ac9f25fe6fbb5fe0e7a92f8 bkhive2.tar.gz 3283
+SHA256 13f44f8e85ca0a5ae9a6c630780ada17fc1f31cf5f0181826784ebf0a85520bf bkhive2.tar.gz 3283
+MD5 33eb0e14ab5a196ac168795e38856b8b ophcrack-2.3.3.tar.gz 176184
+RMD160 6cc9317f6c24c4d1bfa3a7b348eb759a8b0cac81 ophcrack-2.3.3.tar.gz 176184
+SHA256 210db7499b76e41a89ac0930f98250aa04fef530f3f29253b42390e658eff6c3 ophcrack-2.3.3.tar.gz 176184
+MD5 75787583cdabdcd88f84604e2591bd03 samdump2_linux.tgz 144901
+RMD160 525f1656285783ed951d6b9a1430eddc1c46426f samdump2_linux.tgz 144901
+SHA256 fefe3b495de5a9901c96736ab85c88b981bd7ce6318dd90bbd68b1747e945d26 samdump2_linux.tgz 144901
diff --git a/app-crypt/ophcrack/files/ophcrack-2.3.3-linuxtools-install-path.patch b/app-crypt/ophcrack/files/ophcrack-2.3.3-linuxtools-install-path.patch
new file mode 100644 (file)
index 0000000..9279526
--- /dev/null
@@ -0,0 +1,32 @@
+diff -uNr Makefile.am.orig Makefile.am
+--- Makefile.am.orig   2005-03-31 15:09:50.000000000 +0100
++++ Makefile.am        2005-11-07 17:24:46.000000000 +0000
+@@ -36,10 +36,10 @@
+ install-exec-local:
+       if test -d $(srcdir)/linux_tools; then \
+         if test -f $(srcdir)/linux_tools/bkhive2; then \
+-          $(INSTALL_PROGRAM) $(srcdir)/linux_tools/bkhive2 $(bindir); \
++          $(INSTALL_PROGRAM) $(srcdir)/linux_tools/bkhive2 $(DESTDIR)$(bindir); \
+         fi ;\
+         if test -f $(srcdir)/linux_tools/samdump2; then \
+-          $(INSTALL_PROGRAM) $(srcdir)/linux_tools/samdump2 $(bindir); \
++          $(INSTALL_PROGRAM) $(srcdir)/linux_tools/samdump2 $(DESTDIR)$(bindir); \
+         fi \
+       fi
+diff -uNr Makefile.in.orig Makefile.in
+--- Makefile.in.orig   2005-03-31 15:10:16.000000000 +0100
++++ Makefile.in        2005-11-07 17:25:09.000000000 +0000
+@@ -383,10 +383,10 @@
+ install-exec-local:
+       if test -d $(srcdir)/linux_tools; then \
+         if test -f $(srcdir)/linux_tools/bkhive2; then \
+-          $(INSTALL_PROGRAM) $(srcdir)/linux_tools/bkhive2 $(bindir); \
++          $(INSTALL_PROGRAM) $(srcdir)/linux_tools/bkhive2 $(DESTDIR)$(bindir); \
+         fi ;\
+         if test -f $(srcdir)/linux_tools/samdump2; then \
+-          $(INSTALL_PROGRAM) $(srcdir)/linux_tools/samdump2 $(bindir); \
++          $(INSTALL_PROGRAM) $(srcdir)/linux_tools/samdump2 $(DESTDIR)$(bindir); \
+         fi \
+       fi
diff --git a/app-crypt/ophcrack/ophcrack-2.3.3.ebuild b/app-crypt/ophcrack/ophcrack-2.3.3.ebuild
new file mode 100644 (file)
index 0000000..a240caf
--- /dev/null
@@ -0,0 +1,67 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/ophcrack/ophcrack-2.3.3.ebuild,v 1.1 2006/11/25 17:49:48 ikelos Exp $
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="A time-memory-trade-off-cracker"
+HOMEPAGE="http://ophcrack.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+                mirror://sourceforge/${PN}/bkhive2.tar.gz
+                http://www.studenti.unina.it/~ncuomo/syskey/samdump2_linux.tgz
+                !ophsmall?(http://lasecwww.epfl.ch/SSTIC04-5k.zip)
+                ophsmall?(http://lasecwww.epfl.ch/SSTIC04-10k.zip)"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="ophsmall"
+
+DEPEND="dev-libs/openssl
+               net-libs/netwib"
+RDEPEND=""
+
+src_unpack() {
+       unpack ${A/samdump2_linux.tgz/}
+       cd ${S}
+
+       mkdir ${WORKDIR}/samdump2
+       pushd ${WORKDIR}/samdump2
+       unpack samdump2_linux.tgz
+       sed -i -e 's!\r!!' makedes
+
+       popd
+       epatch ${FILESDIR}/${P}-linuxtools-install-path.patch
+}
+
+src_compile() {
+       # Make samdump2
+       einfo "Compiling samdump2"
+       cd ${WORKDIR}/samdump2
+       MAKEOPTS="-j1" emake || die "Failed to make samdump"
+
+       # Make bkhive2
+       einfo "Compiling bkhive2"
+       cd ${WORKDIR}/bkhive2
+       $(tc-getCXX) ${CXXFLAGS} -lstdc++ -o bkhive2 *.cpp || die "Failed to make bkhive2"
+
+       # Make the program
+       einfo "Compiling ophcrack"
+       cd ${S}
+       econf
+       emake || die "Failed to make ophcrack"
+
+       # Copy samdump over
+       cp ${WORKDIR}/samdump2/samdump2 ${S}/linux_tools
+       cp ${WORKDIR}/bkhive2/bkhive2 ${S}/linux_tools
+}
+
+src_install() {
+       make install DESTDIR=${D}
+
+       TABLENAME="5000"
+       use ophsmall && TABLENAME="10000"
+
+       dodir /usr/share/${PN}/${TABLENAME}
+       mv ${WORKDIR}/table* ${D}/usr/share/${PN}/${TABLENAME}
+}