30 lines
856 B
Bash
30 lines
856 B
Bash
# Template file for 'zmap'
|
|
pkgname=zmap
|
|
version=4.2.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="flex byacc gengetopt pkg-config"
|
|
makedepends="libpcap-devel gmp-devel json-c-devel libunistring-devel
|
|
judy-devel"
|
|
short_desc="Fast network scanner designed for Internet-wide network surveys"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="Apache-2.0"
|
|
homepage="https://zmap.io"
|
|
changelog="https://raw.githubusercontent.com/zmap/zmap/main/CHANGELOG.md"
|
|
distfiles="https://github.com/zmap/zmap/archive/v${version}.tar.gz"
|
|
checksum=2580e41fbb56b7576530b2cdcac6dd6b5e167197a6981e330d56cfb14b3d3ebf
|
|
make_check=no # does not define any checks
|
|
|
|
conf_files="
|
|
/etc/zmap/blocklist.conf
|
|
/etc/zmap/zmap.conf"
|
|
|
|
post_patch() {
|
|
vsed -e 's/\(RUNTIME DESTINATION\) sbin/\1 bin/' -i src/CMakeLists.txt
|
|
}
|
|
|
|
post_install() {
|
|
vmkdir etc/zmap
|
|
vcopy conf/* etc/zmap
|
|
}
|