aboutsummaryrefslogtreecommitdiffstats
path: root/testing/acccheck/APKBUILD
diff options
context:
space:
mode:
authorAlan Lacerda <alacerda@alpinelinux.org>2015-08-25 01:54:58 +0000
committerAlan Lacerda <alacerda@alpinelinux.org>2015-08-25 01:54:58 +0000
commitf4fa28a32e0491a2eb9f11aa2fba66aa7158fbbd (patch)
tree425bd6fe3c899afa71572a9a3a4edf6d3250d13c /testing/acccheck/APKBUILD
parentabbcab2b5f3df565aba8a2d2703cd6f668c253eb (diff)
downloadaports-f4fa28a32e0491a2eb9f11aa2fba66aa7158fbbd.tar.bz2
aports-f4fa28a32e0491a2eb9f11aa2fba66aa7158fbbd.tar.xz
testing/acccheck: new aport
Diffstat (limited to 'testing/acccheck/APKBUILD')
-rw-r--r--testing/acccheck/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/acccheck/APKBUILD b/testing/acccheck/APKBUILD
new file mode 100644
index 0000000000..e7c58a5ff2
--- /dev/null
+++ b/testing/acccheck/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
+# Maintainer:
+pkgname=acccheck
+pkgver=0.2.1
+pkgrel=0
+pkgdesc="A password dictionary attack tool"
+url="https://labs.portcullis.co.uk/tools/acccheck/"
+arch="noarch"
+license="GPLv2"
+depends="perl"
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="https://labs.portcullis.co.uk/download/$pkgname-0-2-1.tar.gz"
+
+_builddir="$srcdir/$pkgname-0-2-1"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+}
+
+package() {
+ cd "$_builddir"
+ mkdir -p "$pkgdir/usr/bin/"
+ install -Dm755 acccheck.pl "$pkgdir/usr/bin/"
+
+}
+
+md5sums="ad14f58e04bc683fce5f72ef3cdb745d acccheck-0-2-1.tar.gz"
+sha256sums="fc2274dfa16207e1b74c6fb40307286cfb4d83d3d3f842737c8e47f7c531e380 acccheck-0-2-1.tar.gz"
+sha512sums="28c1c5fa465e14d5447c42f539b95d436f303de801f6687d4cf22bd9f77371c68f84ad7b655c845bc42b6bdab851c379a72081feea2e1860e6619c089447238b acccheck-0-2-1.tar.gz"