blob: 882d6c7d1b5ae9feb79a682846101d4982a081c3 (
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
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=dnsrecon
pkgver=0.8.13
pkgrel=0
pkgdesc="DNS Enumeration Script"
url="https://github.com/darkoperator/dnsrecon"
arch="noarch"
license="GPL-2.0"
depends="python2 py2-dnspython py2-netaddr"
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="228aa0166d46268ab5a7b0f54d1663fbb0d825b528955813a7c54a76bb693ddc167f6311ac4c88d4d158371218bf7f03e48e4f502d2c92d608eff66cad7f54ad dnsrecon-0.8.13.tar.gz"
|