Skip to content
Snippets Groups Projects
Commit 02d054ef authored by Francesco Colista's avatar Francesco Colista
Browse files

community/dnsrecon: upgrade to 1.1.0

parent a2565e15
No related merge requests found
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=dnsrecon
pkgver=1.0.0
pkgver=1.1.0
pkgrel=0
pkgdesc="DNS Enumeration Script"
url="https://github.com/darkoperator/dnsrecon"
arch="noarch"
license="GPL-2.0-only"
depends="py3-dnspython py3-lxml py3-netaddr"
makedepends="py3-build py3-installer py3-poetry-core
py3-wheel py3-setuptools"
checkdepends="py3-pytest"
options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/darkoperator/dnsrecon/archive/$pkgver.tar.gz"
build() {
python3 -m build --no-isolation --wheel
}
check() {
python3 -m installer -d testenv dist/$pkgname-$pkgver-py3-none-any.whl
local sitedir="$(python3 -c 'import site;print(site.getsitepackages()[0])')"
PYTHONPATH="$PWD/testenv/$sitedir" python3 -m pytest
}
package() {
mkdir -p "$pkgdir"/usr/share/dnsrecon
cp -r lib msf_plugin tools "$pkgdir"/usr/share/dnsrecon
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
install -D -m 0644 namelist.txt subdomains-*.txt -t \
"$pkgdir"/usr/share/dnsrecon/
python3 -m installer -d "$pkgdir" dist/$pkgname-$pkgver-py3-none-any.whl
}
sha512sums="
0e06eb4f385545723aceec75cbde4031b5495e825d91f78316c5b46c236825defff194b497624343b992b815773ea0dbca4cda45dede09be49f01db586e0ee6c dnsrecon-1.0.0.tar.gz
7ca0205c7d15d41683bf0cfea04d792d0c9d3114e5bcd706cf7abf54387335a0c578e4c9de3285939e7e736a5e2e8cc8ea758028e1f8c589ebcba849f0a6874e dnsrecon-1.1.0.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment