## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global __cmake_in_source_build 1 %bcond_with pfring %bcond_without debug Name: zmap Version: 4.3.1 Release: %autorelease Summary: Network scanner for Internet-wide network studies # Automatically converted from old format: ASL 2.0 - review is highly recommended. License: Apache-2.0 URL: https://zmap.io Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: byacc BuildRequires: cmake BuildRequires: flex BuildRequires: gcc BuildRequires: gengetopt BuildRequires: gmp-devel BuildRequires: json-c-devel BuildRequires: Judy-devel BuildRequires: libpcap-devel BuildRequires: libunistring-devel %description ZMap is an open-source network scanner that enables researchers to easily perform Internet-wide network studies. With a single machine and a well provisioned network uplink, ZMap is capable of performing a complete scan of the IPv4 address space in under 45 minutes, approaching the theoretical limit of gigabit Ethernet. ZMap can be used to study protocol adoption over time, monitor service availability, and help us better understand large systems distributed across the Internet. ========== WARNING ========== While ZMap is a powerful tool for researchers, please keep in mind that by running ZMap, you are potentially scanning the ENTIRE IPv4 address space and some users may not appreciate your scanning. We encourage ZMap users to respect requests to stop scanning and to exclude these networks from ongoing scanning. %prep %autosetup %build %cmake -DENABLE_DEVELOPMENT=OFF \ -DENABLE_LOG_TRACE=OFF \ -DWITH_JSON=ON \ -DWITH_PFRING=OFF %cmake_build chmod 644 -v examples/udp-probes/* find ./examples/ -type f -exec sed -i 's/\r$//' {} \+ %install %cmake_install %files %doc AUTHORS CHANGELOG.md README.md examples/ %license LICENSE %dir %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/* %{_sbindir}/zmap %{_sbindir}/zblocklist %{_sbindir}/ziterate %{_sbindir}/ztee %{_mandir}/man1/zmap.1* %{_mandir}/man1/zblocklist.1* %{_mandir}/man1/ziterate.1* %{_mandir}/man1/ztee.1* %changelog ## START: Generated by rpmautospec * Thu Dec 12 2024 Filipe Rosset - 4.3.1-1 - update zmap to 4.3.1 * Tue Dec 10 2024 Filipe Rosset - 4.3.0-1 - update zmap to 4.3.0 * Wed Jul 24 2024 Miroslav Suchý - 4.2.0-4 - convert ASL 2.0 license to SPDX * Sat Jul 20 2024 Fedora Release Engineering - 4.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jul 17 2024 Filipe Rosset - 4.2.0-2 - build with recommended cmake settings for release * Wed Jul 17 2024 Filipe Rosset - 4.2.0-1 - update zmap to 4.2.0 fixes rhbz#2248610 * Sat Jan 27 2024 Fedora Release Engineering - 3.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Aug 10 2023 Filipe Rosset - 3.0.0-2 - upstream removed redis & mongodb support * Thu Aug 10 2023 Filipe Rosset - 3.0.0-1 - update zmap to 3.0.0 fixes rhbz#1989719 * Sat Jul 22 2023 Fedora Release Engineering - 2.1.1-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 2.1.1-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 2.1.1-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 2.1.1-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jan 18 2022 Kevin Fenzi - 2.1.1-18 - Rebuild for hiredis 1.0.2 * Fri Jul 23 2021 Fedora Release Engineering - 2.1.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Jul 10 2021 Björn Esser - 2.1.1-16 - Rebuild for versioned symbols in json-c * Thu Jan 28 2021 Fedora Release Engineering - 2.1.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 2.1.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Apr 21 2020 Björn Esser - 2.1.1-13 - Rebuild (json-c) * Fri Jan 31 2020 Fedora Release Engineering - 2.1.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jul 27 2019 Fedora Release Engineering - 2.1.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 03 2019 Fedora Release Engineering - 2.1.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Jan 23 2019 Björn Esser - 2.1.1-9 - Append curdir to CMake invokation. (#1668512) * Sat Jul 14 2018 Fedora Release Engineering - 2.1.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Mar 06 2018 Björn Esser - 2.1.1-7 - Rebuilt for libjson-c.so.4 (json-c v0.13.1) * Fri Feb 09 2018 Fedora Release Engineering - 2.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Dec 10 2017 Björn Esser - 2.1.1-5 - Rebuilt for libjson-c.so.3 * Thu Aug 03 2017 Fedora Release Engineering - 2.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Mar 02 2016 Fabio Alessandro Locati - 2.1.1-1 - Update to 2.1.1 - Clean the spec a little bit * Fri Feb 05 2016 Fedora Release Engineering - 2.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Sep 29 2015 Peter Robinson 2.1.0-2 - rebuild (hiredis) * Thu Sep 03 2015 Christopher Meng - 2.1.0-1 - Update to 2.1.0 * Sun Feb 22 2015 Christopher Meng - 1.2.1-3 - Rebuilt for hiredis 0.12.1 * Mon Aug 18 2014 Fedora Release Engineering - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jul 20 2014 Christopher Meng - 1.2.1-1 - Update to 1.2.1 * Wed Mar 12 2014 Christopher Meng - 1.2.0-1 - Update to 1.2.0 * Mon Jan 27 2014 Christopher Meng - 1.1.2-1 - Update to 1.1.2 * Thu Dec 19 2013 Christopher Meng - 1.1.1-1 - Update to 1.1.1 * Fri Nov 22 2013 Christopher Meng - 1.1.0-2 - Set 644 to examples. - Fix wrong line endings. * Tue Nov 19 2013 Christopher Meng - 1.1.0-1 - Update to 1.1.0 - Enable harden building. * Mon Aug 26 2013 Christopher Meng - 1.0.3-2 - Correct the license and summary. * Mon Aug 19 2013 Christopher Meng - 1.0.3-1 - Initial Package. ## END: Generated by rpmautospec