Name: masscan Version: 1.3.2 Release: 6%{?dist} Summary: This is an Internet-scale port scanner License: AGPLv3 URL: https://github.com/robertdavidgraham/masscan Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: make BuildRequires: gcc BuildRequires: libpcap-devel Requires: libpcap-devel %description This is an Internet-scale port scanner. It can scan the entire Internet in under 6 minutes, transmitting 10 million packets per second, from a single machine. It is a faster port scan that produces results similar to nmap, the most famous port scanner. Internally, it operates more like scanrand, unicornscan, and ZMap, using asynchronous transmission. %prep %autosetup -n %{name}-%{version} sed -i -e 's/CC =/CC ?=/g' Makefile sed -i 's/\r$//' VULNINFO.md %build # Compile with GCC by default # gcc is the preferred compiler by Fedora # https://docs.fedoraproject.org/en-US/packaging-guidelines/#compiler export CC=gcc make %{?_smp_mflags} CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" %install make install DESTDIR=%{buildroot} mkdir -p %{buildroot}%{_bindir}/ install -pm 0755 bin/masscan %{buildroot}%{_bindir}/%{name} install -Dp -m 0644 doc/%{name}.8 %{buildroot}%{_mandir}/man8/%{name}.8 %files %license LICENSE %doc VULNINFO.md README.md %{_mandir}/man8/%{name}.* %{_bindir}/%{name} %changelog * Thu Jul 21 2022 Fedora Release Engineering - 1.3.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.3.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Aug 26 2021 Fabian Affolter - 1.3.2-4 - Add manpage (rhbz#1997895) * Wed Aug 25 2021 Fabian Affolter - 1.3.2-3 - libpcap is a run-time dependency (rhbz#1977053) * Thu Jul 22 2021 Fedora Release Engineering - 1.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Feb 01 2021 Fabian Affolter - 1.3.2-1 - Update to latest to latest upstream release 1.3.2 (#1920302) * Wed Jan 27 2021 Fabian Affolter - 1.3.1-3 - Fix license (it's AGPLv3 not BSD) * Tue Jan 26 2021 Fabian Affolter - 1.3.1-1 - Update to latest to latest upstream release 1.3.1 (#1920302) * Tue Jan 26 2021 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Jan 09 2021 Fabian Affolter - 1.3.0-1 - Update to latest to latest upstream release 1.3.0 (#1914488) * Tue Jul 28 2020 Fedora Release Engineering - 1.0.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.0.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jan 11 2020 Fabian Affolter - 1.0.5-2 - Update summary and source URL * Thu Oct 17 2019 Michal Ambroz - 1.0.5-1 - update to version 1.0.5 * Thu Jul 25 2019 Fedora Release Engineering - 1.0.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.0.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.0.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.0.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1.0.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.0.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Feb 16 2017 Ralf Corsépius - 1.0.3-7 - Extend masscan-1.0.3-gcc5.patch to treat gcc <= 7 as GCC4 (Fix F25FTBFS, F26FTBFS). * Fri Feb 10 2017 Fedora Release Engineering - 1.0.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.0.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jul 15 2015 Ralf Corsépius - 1.0.3-4 - Add support for gcc-5/Add masscan-1.0.3-gcc5.patch (Fix F23FTBFS, RHBZ#1239667). - Add %%license. * Wed Jun 17 2015 Fedora Release Engineering - 1.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 1.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Mon Jun 23 2014 Rino Rondan - 1.0.3-1 - Rebuilt for version 1.0.3 and fix Source0 * Sat Jun 07 2014 Fedora Release Engineering - 1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Jan 21 2014 Dan Horák - 1.0-8 - fix build on secondary arches * Wed Jan 01 2014 Rino Rondan - 1.0-7 - Change the description * Mon Nov 04 2013 Rino Rondan - 1.0-6 - Change the version macro, and all relationship with it * Thu Oct 31 2013 Rino Rondan - 1.0-5 - Change summary and description * Thu Oct 31 2013 Rino Rondan - 1.0-4 - Add some variables to build * Thu Oct 31 2013 Rino Rondan - 1.0-3 - Add the correct info on changelog - Fix the problem with doc * Thu Oct 31 2013 Rino Rondan - 1.0-2 - Add the correct tag for pre-release on Version and Release - Add global variable for checkout * Wed Sep 11 2013 Rino Rondan - 1.0-1 - Initial Package