aboutsummaryrefslogtreecommitdiffstats
path: root/community/dnsrecon
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-06-10 00:55:02 +0300
committerFrancesco Colista <fcolista@alpinelinux.org>2019-06-17 11:56:34 +0000
commit51bdccba2a4d7b8385af2139e261a00178ec6490 (patch)
tree986f970b2ba462c0aff64f9204dd94a67bd3f4d9 /community/dnsrecon
parent6fc16ca818005112e99f0cc6e803022ef4130af2 (diff)
downloadaports-51bdccba2a4d7b8385af2139e261a00178ec6490.tar.bz2
aports-51bdccba2a4d7b8385af2139e261a00178ec6490.tar.xz
community/dnsrecon: clarify license, modernize
Diffstat (limited to 'community/dnsrecon')
-rw-r--r--community/dnsrecon/APKBUILD11
1 files changed, 2 insertions, 9 deletions
diff --git a/community/dnsrecon/APKBUILD b/community/dnsrecon/APKBUILD
index d7751b8ba9..11508f292f 100644
--- a/community/dnsrecon/APKBUILD
+++ b/community/dnsrecon/APKBUILD
@@ -6,11 +6,10 @@ pkgrel=1
pkgdesc="DNS Enumeration Script"
url="https://github.com/darkoperator/dnsrecon"
arch="noarch"
-license="GPL-2.0"
+license="GPL-2.0-only"
depends="py3-dnspython py3-lxml py3-netaddr"
options="!check"
-source="$pkgname-$pkgver.tar.gz::https://github.com/darkoperator/$pkgname/archive/$pkgver.tar.gz"
-builddir="$srcdir"/$pkgname-$pkgver
+source="$pkgname-$pkgver.tar.gz::https://github.com/darkoperator/dnsrecon/archive/$pkgver.tar.gz"
prepare() {
default_prepare
@@ -20,13 +19,7 @@ prepare() {
sed -i 's/#!\/usr\/bin\/env python/#!\/usr\/bin\/python3/' {} \;
}
-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