summaryrefslogtreecommitdiffstats
path: root/testing/enumiax/APKBUILD
blob: f5e6b02f152de6ff7b98f86a0aa32a0835e54980 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=enumiax
pkgver=0.4a
pkgrel=0
pkgdesc="An Inter Asterisk Exchange version 2 protocol username brute-force enumerator."
url="http://sourceforge.net/projects/enumiax/"
arch="all"
license="GPL+2"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="http://ufpr.dl.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir/$pkgname-$pkgver"
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"
	make
}

package() {
	cd "$_builddir"
	mkdir -p  "$pkgdir"/usr/bin
	install enumiax "$pkgdir"/usr/bin || return 1
}

md5sums="2a148fd2faa74d636ad891c7073fbd96  enumiax-0.4a.tar.gz"
sha256sums="cf1b1db4d6d62c919afd1484e2476ef7c2ce05220555e829cc5d3821e47a2f41  enumiax-0.4a.tar.gz"
sha512sums="671af2e274fa94b950d42db57880ec6d494510df8970edeeebe2e06a98aba4b6f3f10686624238f7cb19c590751a29d80993ffeee3c7091a30b4f2c337f8ce18  enumiax-0.4a.tar.gz"