zmap: update to 3.0.0.
This commit is contained in:
parent
06508b6edf
commit
9c13ba819d
|
@ -1,31 +1,27 @@
|
|||
# Template file for 'zmap'
|
||||
pkgname=zmap
|
||||
version=2.1.1
|
||||
revision=6
|
||||
version=3.0.0
|
||||
revision=1
|
||||
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"
|
||||
makedepends="libpcap-devel gmp-devel json-c-devel libunistring-devel"
|
||||
short_desc="Fast network scanner designed for Internet-wide network surveys"
|
||||
maintainer="Duncaen <mail@duncano.de>"
|
||||
maintainer="Duncaen <duncaen@voidlinux.org>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://zmap.io"
|
||||
distfiles="https://github.com/zmap/zmap/archive/v${version}.tar.gz"
|
||||
checksum=29627520c81101de01b0213434adb218a9f1210bfd3f2dcfdfc1f975dbce6399
|
||||
checksum=e3151cdcdf695ab7581e01a7c6ee78678717d6a62ef09849b34db39682535454
|
||||
make_check=no # does not define any checks
|
||||
|
||||
do_configure() {
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
|
||||
conf_files="
|
||||
/etc/zmap/blocklist.conf
|
||||
/etc/zmap/zmap.conf"
|
||||
|
||||
post_patch() {
|
||||
vsed -e 's/\(RUNTIME DESTINATION\) sbin/\1 bin/' -i src/CMakeLists.txt
|
||||
}
|
||||
|
||||
do_build() {
|
||||
make ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make DESTDIR="$DESTDIR" install
|
||||
vmkdir usr/bin
|
||||
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
|
||||
post_install() {
|
||||
vmkdir etc/zmap
|
||||
vcopy conf/* etc/zmap
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue