mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-04 03:42:56 +02:00
zmap: update to 2.1.1.
This commit is contained in:
parent
5170fdd7cd
commit
45890d5147
1 changed files with 16 additions and 5 deletions
|
@ -1,20 +1,31 @@
|
||||||
# Template file for 'zmap'
|
# Template file for 'zmap'
|
||||||
pkgname=zmap
|
pkgname=zmap
|
||||||
version=1.2.1
|
version=2.1.1
|
||||||
revision=2
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
conf_files="/etc/zmap/blacklist.conf /etc/zmap/zmap.conf"
|
conf_files="/etc/zmap/blacklist.conf /etc/zmap/zmap.conf"
|
||||||
hostmakedepends="cmake flex byacc gengetopt pkg-config"
|
hostmakedepends="cmake flex byacc gengetopt pkg-config"
|
||||||
makedepends="libpcap-devel gmp-devel"
|
makedepends="libpcap-devel gmp-devel json-c-devel"
|
||||||
short_desc="Fast network scanner designed for Internet-wide network surveys"
|
short_desc="Fast network scanner designed for Internet-wide network surveys"
|
||||||
maintainer="Duncaen <mail@duncano.de>"
|
maintainer="Duncaen <mail@duncano.de>"
|
||||||
license="Apache"
|
license="Apache"
|
||||||
homepage="https://zmap.io"
|
homepage="https://zmap.io"
|
||||||
distfiles="https://github.com/zmap/zmap/archive/v${version}.tar.gz"
|
distfiles="https://github.com/zmap/zmap/archive/v${version}.tar.gz"
|
||||||
checksum=ff01f2b139e98a7e64ed2872ae332929c500dd6120888d57900fac82dccfeea8
|
checksum=29627520c81101de01b0213434adb218a9f1210bfd3f2dcfdfc1f975dbce6399
|
||||||
|
|
||||||
post_install() {
|
do_configure() {
|
||||||
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
|
||||||
|
}
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
make ${makejobs}
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
make DESTDIR="$DESTDIR" install
|
||||||
vmkdir usr/bin
|
vmkdir usr/bin
|
||||||
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
|
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
|
||||||
|
vmkdir etc/zmap
|
||||||
|
vcopy conf/* etc/zmap
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue