From 0389a26d3bbcbc99f58dc48db46e79d81103346e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 20 Feb 2013 14:26:04 +0000 Subject: testing/crunch: new aport Crunch is a wordlist generator where you can specify a standard character set or a character set you specify. crunch can generate all possible combinations and permutations. Website: http://sourceforge.net/projects/crunch-wordlist/ --- testing/crunch/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 testing/crunch/APKBUILD (limited to 'testing/crunch/APKBUILD') diff --git a/testing/crunch/APKBUILD b/testing/crunch/APKBUILD new file mode 100644 index 0000000000..9db89b1394 --- /dev/null +++ b/testing/crunch/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter +# Maintainer: Fabian Affolter +pkgname=crunch +pkgver=3.4 +pkgrel=0 +pkgdesc="A wordlist generator" +url="http://sourceforge.net/projects/crunch-wordlist/" +arch="all" +license="GPL2" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/project/crunch-wordlist/crunch-wordlist/$pkgname-$pkgver.tgz + crunch-3.4-destdir.patch" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p2 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" geninstall || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="3f658a60d8227025df12cfb4ff4b9e15 crunch-3.4.tgz +a75466c9dae86223f913f622208eef86 crunch-3.4-destdir.patch" -- cgit v1.2.3