Initial SETUP.
This commit is contained in:
parent
e7336b27b9
commit
7c366101d3
3 changed files with 69 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -0,0 +1 @@
|
|||
/v1.1.0.tar.gz
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
b767903e4da1f97377c881e0d4241a53 v1.1.0.tar.gz
|
||||
67
zmap.spec
Normal file
67
zmap.spec
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
Name: zmap
|
||||
Version: 1.1.0
|
||||
Release: 2%{?dist}
|
||||
Summary: Network scanner for Internet-wide network studies
|
||||
License: ASL 2.0
|
||||
URL: https://zmap.io
|
||||
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz
|
||||
BuildRequires: byacc
|
||||
BuildRequires: cmake
|
||||
BuildRequires: flex
|
||||
BuildRequires: gengetopt
|
||||
BuildRequires: gmp-devel
|
||||
BuildRequires: hiredis-devel
|
||||
BuildRequires: json-c-devel
|
||||
BuildRequires: libpcap-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
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake -DWITH_JSON=ON -DWITH_REDIS=ON
|
||||
make %{?_smp_mflags}
|
||||
chmod 644 -v examples/udp-probes/*
|
||||
find ./examples/ -type f -exec sed -i 's/\r$//' {} ";"
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
%files
|
||||
%doc AUTHORS CHANGELOG LICENSE README examples/
|
||||
%dir %{_sysconfdir}/%{name}
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/*
|
||||
%{_sbindir}/%{name}
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
|
||||
%changelog
|
||||
* Fri Nov 22 2013 Christopher Meng <rpm@cicku.me> - 1.1.0-2
|
||||
- Set 644 to examples.
|
||||
- Fix wrong line endings.
|
||||
|
||||
* Tue Nov 19 2013 Christopher Meng <rpm@cicku.me> - 1.1.0-1
|
||||
- New version.
|
||||
- Enable harden building.
|
||||
|
||||
* Mon Aug 26 2013 Christopher Meng <rpm@cicku.me> - 1.0.3-2
|
||||
- Correct the license and summary.
|
||||
|
||||
* Mon Aug 19 2013 Christopher Meng <rpm@cicku.me> - 1.0.3-1
|
||||
- Initial Package.
|
||||
Loading…
Add table
Add a link
Reference in a new issue