aboutsummaryrefslogtreecommitdiffstats
path: root/community/dnsrecon/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/dnsrecon/APKBUILD')
-rw-r--r--community/dnsrecon/APKBUILD34
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"