zmap: fix license, skip checks

This commit is contained in:
Colin Booth 2021-06-30 23:41:15 -07:00 committed by Érico Nogueira Rolim
parent d14d9730cc
commit b6197a1c82

View file

@ -1,17 +1,18 @@
# Template file for 'zmap'
pkgname=zmap
version=2.1.1
revision=4
revision=5
build_style=cmake
conf_files="/etc/zmap/blacklist.conf /etc/zmap/zmap.conf"
hostmakedepends="flex byacc gengetopt pkg-config"
makedepends="libpcap-devel gmp-devel json-c-devel"
short_desc="Fast network scanner designed for Internet-wide network surveys"
maintainer="Duncaen <mail@duncano.de>"
license="Apache"
license="Apache-2.0"
homepage="https://zmap.io"
distfiles="https://github.com/zmap/zmap/archive/v${version}.tar.gz"
checksum=29627520c81101de01b0213434adb218a9f1210bfd3f2dcfdfc1f975dbce6399
make_check=no # does not define any checks
do_configure() {
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
@ -27,5 +28,4 @@ do_install() {
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
vmkdir etc/zmap
vcopy conf/* etc/zmap
vlicense LICENSE
}