|
|
4eb8a38 |
%global __cmake_in_source_build 1
|
|
|
457aea6 |
%bcond_with pfring
|
|
|
457aea6 |
%bcond_without debug
|
|
|
457aea6 |
|
|
Christopher Meng |
7c36610 |
Name: zmap
|
|
|
9011388 |
Version: 3.0.0
|
|
|
5901c79 |
Release: %autorelease
|
|
Christopher Meng |
7c36610 |
Summary: Network scanner for Internet-wide network studies
|
|
Christopher Meng |
7c36610 |
License: ASL 2.0
|
|
Christopher Meng |
7c36610 |
URL: https://zmap.io
|
|
|
7ddb444 |
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
Igor Gnatenko |
dc6659a |
BuildRequires: gcc
|
|
Christopher Meng |
7c36610 |
BuildRequires: byacc
|
|
Christopher Meng |
7c36610 |
BuildRequires: cmake
|
|
Christopher Meng |
7c36610 |
BuildRequires: flex
|
|
Christopher Meng |
7c36610 |
BuildRequires: gengetopt
|
|
Christopher Meng |
7c36610 |
BuildRequires: gmp-devel
|
|
|
9011388 |
BuildRequires: libunistring-devel
|
|
Christopher Meng |
7c36610 |
BuildRequires: json-c-devel
|
|
Christopher Meng |
7c36610 |
BuildRequires: libpcap-devel
|
|
Christopher Meng |
7c36610 |
|
|
Christopher Meng |
7c36610 |
%description
|
|
Christopher Meng |
7c36610 |
ZMap is an open-source network scanner that enables researchers to easily
|
|
Christopher Meng |
7c36610 |
perform Internet-wide network studies. With a single machine and a well
|
|
Christopher Meng |
7c36610 |
provisioned network uplink, ZMap is capable of performing a complete scan of
|
|
|
7ddb444 |
the IPv4 address space in under 45 minutes, approaching the theoretical limit
|
|
|
7ddb444 |
of gigabit Ethernet.
|
|
Christopher Meng |
7c36610 |
|
|
Christopher Meng |
7c36610 |
ZMap can be used to study protocol adoption over time, monitor service
|
|
Christopher Meng |
7c36610 |
availability, and help us better understand large systems distributed across
|
|
Christopher Meng |
7c36610 |
the Internet.
|
|
Christopher Meng |
7c36610 |
|
|
Christopher Meng |
7c36610 |
========== WARNING ==========
|
|
Christopher Meng |
7c36610 |
While ZMap is a powerful tool for researchers, please keep in mind that by
|
|
Christopher Meng |
7c36610 |
running ZMap, you are potentially scanning the ENTIRE IPv4 address space and
|
|
Christopher Meng |
7c36610 |
some users may not appreciate your scanning. We encourage ZMap users to
|
|
Christopher Meng |
7c36610 |
respect requests to stop scanning and to exclude these networks from ongoing
|
|
Christopher Meng |
7c36610 |
scanning.
|
|
Christopher Meng |
7c36610 |
|
|
Christopher Meng |
7c36610 |
%prep
|
|
|
9011388 |
%autosetup
|
|
Christopher Meng |
7c36610 |
|
|
Christopher Meng |
7c36610 |
%build
|
|
|
457aea6 |
%cmake -DWITH_JSON=ON \
|
|
|
4eb8a38 |
-DWITH_PFRING=OFF
|
|
|
457aea6 |
|
|
|
4eb8a38 |
%cmake_build
|
|
|
083667f |
|
|
Christopher Meng |
7c36610 |
chmod 644 -v examples/udp-probes/*
|
|
|
457aea6 |
find ./examples/ -type f -exec sed -i 's/\r$//' {} \+
|
|
Christopher Meng |
7c36610 |
|
|
Christopher Meng |
7c36610 |
%install
|
|
|
4eb8a38 |
%cmake_install
|
|
Christopher Meng |
7c36610 |
|
|
Christopher Meng |
7c36610 |
%files
|
|
Fabio Alessandro Locati |
f79b585 |
%doc AUTHORS CHANGELOG.md README.md examples/
|
|
|
877d704 |
%license LICENSE
|
|
Christopher Meng |
7c36610 |
%dir %{_sysconfdir}/%{name}
|
|
Christopher Meng |
7c36610 |
%config(noreplace) %{_sysconfdir}/%{name}/*
|
|
|
457aea6 |
%{_sbindir}/zmap
|
|
|
9011388 |
%{_sbindir}/zblocklist
|
|
|
9011388 |
%{_sbindir}/ziterate
|
|
|
457aea6 |
%{_sbindir}/ztee
|
|
|
457aea6 |
%{_mandir}/man1/zmap.1*
|
|
|
9011388 |
%{_mandir}/man1/zblocklist.1*
|
|
|
9011388 |
%{_mandir}/man1/ziterate.1*
|
|
|
457aea6 |
%{_mandir}/man1/ztee.1*
|
|
Christopher Meng |
7c36610 |
|
|
Christopher Meng |
7c36610 |
%changelog
|
|
|
5901c79 |
%autochangelog
|