|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
%bcond_with pfring
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
%bcond_without hiredis
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
%bcond_with mongodb
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
%bcond_without debug
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
|
|
Christopher Meng |
7c36610 |
Name: zmap
|
|
Fabio Alessandro Locati |
f79b585 |
Version: 2.1.1
|
|
Fabio Alessandro Locati |
f79b585 |
Release: 1%{?dist}
|
|
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
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
7ddb444 |
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
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
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
%if %{with hiredis}
|
|
Christopher Meng |
7c36610 |
BuildRequires: hiredis-devel
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
%endif
|
|
Christopher Meng |
7c36610 |
BuildRequires: json-c-devel
|
|
Christopher Meng |
7c36610 |
BuildRequires: libpcap-devel
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
%if %{with mongodb}
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
BuildRequires: pkgconfig(libmongoc-1.0)
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
%endif
|
|
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
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
7ddb444 |
the IPv4 address space in under 45 minutes, approaching the theoretical limit
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
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
|
|
Christopher Meng |
7c36610 |
%setup -q
|
|
Fabio Alessandro Locati |
f79b585 |
# https://github.com/zmap/zmap/pull/332
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
sed -i 's|${CMAKE_C_FLAGS} ${GCCWARNINGS}|${GCCWARNINGS} ${CMAKE_C_FLAGS}|g;s|${CMAKE_EXE_LINKER_FLAGS} ${LDHARDENING}|${LDHARDENING} ${CMAKE_EXE_LINKER_FLAGS}|g' CMakeLists.txt
|
|
Christopher Meng |
7c36610 |
|
|
Christopher Meng |
7c36610 |
%build
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
%cmake -DWITH_JSON=ON \
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
%if %{with mongodb}
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
-DWITH_MONGO=ON \
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
%endif
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
%if %{with hiredis}
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
-DWITH_REDIS=ON \
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
%endif
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
-DWITH_PFRING=OFF
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
083667f |
%make_build
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
083667f |
|
|
Christopher Meng |
7c36610 |
chmod 644 -v examples/udp-probes/*
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
find ./examples/ -type f -exec sed -i 's/\r$//' {} \+
|
|
Christopher Meng |
7c36610 |
|
|
Christopher Meng |
7c36610 |
%install
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
083667f |
%make_install
|
|
Christopher Meng |
7c36610 |
|
|
Christopher Meng |
7c36610 |
%files
|
|
Fabio Alessandro Locati |
f79b585 |
%doc AUTHORS CHANGELOG.md README.md examples/
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
877d704 |
%license LICENSE
|
|
Christopher Meng |
7c36610 |
%dir %{_sysconfdir}/%{name}
|
|
Christopher Meng |
7c36610 |
%config(noreplace) %{_sysconfdir}/%{name}/*
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
%{_sbindir}/zmap
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
%{_sbindir}/zblacklist
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
%{_sbindir}/ztee
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
%{_mandir}/man1/zmap.1*
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
%{_mandir}/man1/zblacklist.1*
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
%{_mandir}/man1/ztee.1*
|
|
Christopher Meng |
7c36610 |
|
|
Christopher Meng |
7c36610 |
%changelog
|
|
Fabio Alessandro Locati |
bec9502 |
* Wed Mar 02 2016 Fabio Alessandro Locati <fabio@locati.cc> - 2.1.1-1
|
|
Fabio Alessandro Locati |
f79b585 |
- Update to 2.1.1
|
|
Fabio Alessandro Locati |
f79b585 |
- Clean the spec a little bit
|
|
Fabio Alessandro Locati |
f79b585 |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
ff100aa |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
ff100aa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
ff100aa |
|
|
![](https://seccdn.libravatar.org/avatar/4e8d68fe76de63043f2c89e9e363e4dc5af5775e488004cc7a8398c86381b072?s=16&d=retro) |
7c10a72 |
* Tue Sep 29 2015 Peter Robinson <pbrobinson@fedoraproject.org> 2.1.0-2
|
|
![](https://seccdn.libravatar.org/avatar/4e8d68fe76de63043f2c89e9e363e4dc5af5775e488004cc7a8398c86381b072?s=16&d=retro) |
7c10a72 |
- rebuild (hiredis)
|
|
![](https://seccdn.libravatar.org/avatar/4e8d68fe76de63043f2c89e9e363e4dc5af5775e488004cc7a8398c86381b072?s=16&d=retro) |
7c10a72 |
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
* Thu Sep 03 2015 Christopher Meng <rpm@cicku.me> - 2.1.0-1
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
- Update to 2.1.0
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
457aea6 |
|
|
![](https://seccdn.libravatar.org/avatar/f970308d71f3ca61b27e8dd3eff4452513db64aa06f933115f14504cd846b4df?s=16&d=retro) |
785fdc2 |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-4
|
|
![](https://seccdn.libravatar.org/avatar/f970308d71f3ca61b27e8dd3eff4452513db64aa06f933115f14504cd846b4df?s=16&d=retro) |
785fdc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/f970308d71f3ca61b27e8dd3eff4452513db64aa06f933115f14504cd846b4df?s=16&d=retro) |
785fdc2 |
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
877d704 |
* Sun Feb 22 2015 Christopher Meng <rpm@cicku.me> - 1.2.1-3
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
877d704 |
- Rebuilt for hiredis 0.12.1
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
877d704 |
|
|
![](https://seccdn.libravatar.org/avatar/4e8d68fe76de63043f2c89e9e363e4dc5af5775e488004cc7a8398c86381b072?s=16&d=retro) |
a5ea401 |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-2
|
|
![](https://seccdn.libravatar.org/avatar/4e8d68fe76de63043f2c89e9e363e4dc5af5775e488004cc7a8398c86381b072?s=16&d=retro) |
a5ea401 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/4e8d68fe76de63043f2c89e9e363e4dc5af5775e488004cc7a8398c86381b072?s=16&d=retro) |
a5ea401 |
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
083667f |
* Sun Jul 20 2014 Christopher Meng <rpm@cicku.me> - 1.2.1-1
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
083667f |
- Update to 1.2.1
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
083667f |
|
|
![](https://seccdn.libravatar.org/avatar/f970308d71f3ca61b27e8dd3eff4452513db64aa06f933115f14504cd846b4df?s=16&d=retro) |
9a80248 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
|
|
![](https://seccdn.libravatar.org/avatar/f970308d71f3ca61b27e8dd3eff4452513db64aa06f933115f14504cd846b4df?s=16&d=retro) |
9a80248 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/f970308d71f3ca61b27e8dd3eff4452513db64aa06f933115f14504cd846b4df?s=16&d=retro) |
9a80248 |
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
7ddb444 |
* Wed Mar 12 2014 Christopher Meng <rpm@cicku.me> - 1.2.0-1
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
7ddb444 |
- Update to 1.2.0
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
7ddb444 |
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
e69f763 |
* Mon Jan 27 2014 Christopher Meng <rpm@cicku.me> - 1.1.2-1
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
ed5a4a1 |
- Update to 1.1.2
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
ed5a4a1 |
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
a062410 |
* Thu Dec 19 2013 Christopher Meng <rpm@cicku.me> - 1.1.1-1
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
a062410 |
- Update to 1.1.1
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
a062410 |
|
|
Christopher Meng |
7c36610 |
* Fri Nov 22 2013 Christopher Meng <rpm@cicku.me> - 1.1.0-2
|
|
Christopher Meng |
7c36610 |
- Set 644 to examples.
|
|
Christopher Meng |
7c36610 |
- Fix wrong line endings.
|
|
Christopher Meng |
7c36610 |
|
|
Christopher Meng |
7c36610 |
* Tue Nov 19 2013 Christopher Meng <rpm@cicku.me> - 1.1.0-1
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
a062410 |
- Update to 1.1.0
|
|
Christopher Meng |
7c36610 |
- Enable harden building.
|
|
Christopher Meng |
7c36610 |
|
|
Christopher Meng |
7c36610 |
* Mon Aug 26 2013 Christopher Meng <rpm@cicku.me> - 1.0.3-2
|
|
Christopher Meng |
7c36610 |
- Correct the license and summary.
|
|
Christopher Meng |
7c36610 |
|
|
Christopher Meng |
7c36610 |
* Mon Aug 19 2013 Christopher Meng <rpm@cicku.me> - 1.0.3-1
|
|
Christopher Meng |
7c36610 |
- Initial Package.
|