aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ophcrack
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-03-02 12:31:21 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-03-02 12:31:53 +0000
commitca02a9aa2d12081cc936486f217f0b09a1d3e0c8 (patch)
treec70a82851fe087b62e53889bdee68fd7c530e2f7 /testing/ophcrack
parenta7c07b5196cce291039c0e04d8ecf4d93e45c9b8 (diff)
downloadaports-ca02a9aa2d12081cc936486f217f0b09a1d3e0c8.tar.bz2
aports-ca02a9aa2d12081cc936486f217f0b09a1d3e0c8.tar.xz
testing/ophcrack: new aport
Windows password cracker based on rainbow tables
Diffstat (limited to 'testing/ophcrack')
-rw-r--r--testing/ophcrack/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/ophcrack/APKBUILD b/testing/ophcrack/APKBUILD
new file mode 100644
index 0000000000..e478c880a8
--- /dev/null
+++ b/testing/ophcrack/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer:
+pkgname=ophcrack
+pkgver=3.6.1
+pkgrel=0
+pkgdesc="Windows password cracker based on rainbow tables"
+url="http://ophcrack.sourceforge.net/"
+arch="all"
+license="GPL"
+makedepends="$depends_dev expat-dev libressl-dev qt-dev"
+source="https://downloads.sourceforge.net/project/ophcrack/ophcrack/$pkgver/ophcrack-$pkgver.tar.bz2"
+options="!check"
+
+builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$builddir"
+}
+
+build() {
+ cd "$builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+sha512sums="f54c8d4f1a2c9435eb85707c4c7e2aba10f73356d9ba4e0bbe51b896f250090da1c593b10961b2cd311418e87d86e4723528774603ad7803f2758a821e31f03a ophcrack-3.6.1.tar.bz2"