mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-08 05:46:38 +02:00
community/dnsrecon: clarify license, modernize
This commit is contained in:
parent
6fc16ca818
commit
51bdccba2a
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user