diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-22 10:56:23 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-22 10:56:28 +0000 |
commit | 5fc9b66c14b8e02ceab609c76b00d3213f363e66 (patch) | |
tree | d3a09f8e85e077201932ab0e65ae3f9d4cfb0593 /community/dnsrecon/APKBUILD | |
parent | 644bfb80dfab8f384e4147be4514ea8f9c1ebc67 (diff) | |
download | aports-5fc9b66c14b8e02ceab609c76b00d3213f363e66.tar.bz2 aports-5fc9b66c14b8e02ceab609c76b00d3213f363e66.tar.xz |
community/dnsrecon: moved from testing
Diffstat (limited to 'community/dnsrecon/APKBUILD')
-rw-r--r-- | community/dnsrecon/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/dnsrecon/APKBUILD b/community/dnsrecon/APKBUILD new file mode 100644 index 0000000000..8726a2baf6 --- /dev/null +++ b/community/dnsrecon/APKBUILD @@ -0,0 +1,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" |