aboutsummaryrefslogtreecommitdiffstats
path: root/community/dnsrecon/APKBUILD
blob: a4fc4f6ed41687a4314825db5944e15c8bab500f (plain) (blame)
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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=dnsrecon
pkgver=0.9.1
pkgrel=0
pkgdesc="DNS Enumeration Script"
url="https://github.com/darkoperator/dnsrecon"
arch="noarch"
license="GPL-2.0"
depends="python2 py2-dnspython py2-netaddr"
options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/darkoperator/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	return 0
}

package() {
	cd "$builddir"
	for dir in lib tools msf_plugin; do
		mkdir -p "$pkgdir"/usr/share/dnsrecon/$dir
		cp $dir/* "$pkgdir"/usr/share/dnsrecon/$dir
	done
	install -D -m 0755 dnsrecon.py "$pkgdir"/usr/share/dnsrecon/dnsrecon.py
	mkdir -p "$pkgdir"/usr/bin
	ln -sf /usr/share/dnsrecon/dnsrecon.py "$pkgdir"/usr/bin/dnsrecon.py
}

sha512sums="1b0ed1b405e58f8df7a8e1fb8a2dd07713bf5e8434ccfbced316cac8b16966b88a98f583be122c35bfbc540753bd44e5e47474aa58544dbea77e73d0cddc4c6b  dnsrecon-0.9.1.tar.gz"