Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
network:utilities
zmap
zmap.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File zmap.spec of Package zmap
# # spec file for package # # Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: zmap Version: 2.1.1 Release: 0 License: Apache-2.0 Summary: Network scanner for Internet-wide network studies Url: https://zmap.io/ Group: Productivity/Networking/Diagnostic Source0: https://github.com/zmap/zmap/archive/v%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libjson-devel %if 0%{?sles_version} == 11 #!BuildIgnore: libz1 BuildRequires: json-c-devel %endif BuildRequires: gmp-devel BuildRequires: libpcap-devel BuildRequires: gengetopt BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: byacc BuildRequires: flex #BuildRequires: zlib BuildRequires: pkg-config %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. 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. Developers suggest that users coordinate with local network administrators before performing any scans and they have developed a set of scanning best practices [https://zmap.io/documentation.html#bestpractices], which they encourage researchers to consider. It should go without saying that researchers should refrain from exploiting vulnerabilities or accessing protected resources, and should comply with any special legal requirements in their jurisdictions. %prep %setup -q %build export CFLAGS="$RPM_OPT_FLAGS -fpie" export CXXFLAGS="$RPM_OPT_FLAGS -fno-exceptions -fpie" export LDFLAGS="-pie" cmake -DWITH_REDIS=OFF -DWITH_JSON=OFF -DENABLE_DEVELOPMENT=OFF ./ make %{?_smp_mflags} VERBOSE=1 %install #mvyskocil: install is so trivial, that it's easier to do it manually than patch the Makefile # however it's not the right approach cd src mkdir -p %{buildroot}%{_bindir} install -m 0755 %{name} %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_sysconfdir}/%{name} cp -a ../conf/* %{buildroot}%{_sysconfdir}/%{name}/ mkdir -p %{buildroot}%{_mandir}/man1/ install -m 0644 %{name}.1 %{buildroot}%{_mandir}/man1/ %files %defattr(0644,root,root,0755) %doc AUTHORS CHANGELOG.md LICENSE %doc examples %dir %{_sysconfdir}/%{name} %attr(0755,root,root) %{_bindir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/* %{_mandir}/man1/%{name}.* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor