aboutsummaryrefslogtreecommitdiffstats
path: root/community/dnsrecon/APKBUILD
blob: 8726a2baf692b34ec1f0e9259aa03c6f77aa5566 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=dnsrecon
pkgver=0.8.9
pkgrel=1
pkgdesc="DNS Enumeration Script"
url="https://github.com/darkoperator/dnsrecon"
arch="noarch"
license="GPL2"
depends="python2 py2-dnspython py2-netaddr"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/darkoperator/$pkgname/archive/v$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
}

md5sums="319094ce77dba9d5c79d68777af195a3  dnsrecon-0.8.9.tar.gz"
sha256sums="c3b99b423919ed877dd75893212c0365c1491f2abca3de411cee04c467d8500a  dnsrecon-0.8.9.tar.gz"
sha512sums="f014500e3950c001e0fe79782ff37f82ef562aec9475a7287dc2461bf53297eaf277d7395efb84a34e239e4517d6cc407d4846d1e988d79649ac376fa09572ef  dnsrecon-0.8.9.tar.gz"