Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
89f3a43764 | ||
|
|
398b100476 | ||
| f210251e36 |
2 changed files with 12 additions and 10 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
--- src/CMakeLists.txt-orig 2025-05-12 18:12:45.000000000 -0300
|
--- a/src/CMakeLists.txt
|
||||||
+++ src/CMakeLists.txt 2025-11-09 02:34:07.156908310 -0300
|
+++ b/src/CMakeLists.txt
|
||||||
@@ -274,7 +274,7 @@
|
@@ -274,7 +274,7 @@
|
||||||
zblocklist
|
zblocklist
|
||||||
ziterate
|
ziterate
|
||||||
|
|
|
||||||
18
zmap.spec
18
zmap.spec
|
|
@ -1,4 +1,3 @@
|
||||||
%global __cmake_in_source_build 1
|
|
||||||
%bcond_with pfring
|
%bcond_with pfring
|
||||||
%bcond_without debug
|
%bcond_without debug
|
||||||
|
|
||||||
|
|
@ -6,11 +5,11 @@ Name: zmap
|
||||||
Version: 4.4.0
|
Version: 4.4.0
|
||||||
Release: %autorelease
|
Release: %autorelease
|
||||||
Summary: Network scanner for Internet-wide network studies
|
Summary: Network scanner for Internet-wide network studies
|
||||||
# Automatically converted from old format: ASL 2.0 - review is highly recommended.
|
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://zmap.io
|
URL: https://zmap.io
|
||||||
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Patch0: zmap-bin-sbin-merge.patch
|
Patch: zmap-bin-sbin-merge.patch
|
||||||
|
ExcludeArch: %{ix86}
|
||||||
BuildRequires: byacc
|
BuildRequires: byacc
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
|
|
@ -21,6 +20,8 @@ BuildRequires: json-c-devel
|
||||||
BuildRequires: Judy-devel
|
BuildRequires: Judy-devel
|
||||||
BuildRequires: libpcap-devel
|
BuildRequires: libpcap-devel
|
||||||
BuildRequires: libunistring-devel
|
BuildRequires: libunistring-devel
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: ninja-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ZMap is an open-source network scanner that enables researchers to easily
|
ZMap is an open-source network scanner that enables researchers to easily
|
||||||
|
|
@ -41,22 +42,23 @@ respect requests to stop scanning and to exclude these networks from ongoing
|
||||||
scanning.
|
scanning.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p 0
|
%autosetup -p1
|
||||||
|
chmod 644 -v examples/udp-probes/*
|
||||||
|
find ./examples/ -type f -exec sed -i 's/\r$//' {} \+
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -DENABLE_DEVELOPMENT=OFF \
|
%cmake -DENABLE_DEVELOPMENT=OFF \
|
||||||
-DENABLE_LOG_TRACE=OFF \
|
-DENABLE_LOG_TRACE=OFF \
|
||||||
-DWITH_JSON=ON \
|
-DWITH_JSON=ON \
|
||||||
-DWITH_PFRING=OFF
|
-DWITH_PFRING=OFF
|
||||||
|
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
chmod 644 -v examples/udp-probes/*
|
|
||||||
find ./examples/ -type f -exec sed -i 's/\r$//' {} \+
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
%make_build -C test/unit run CC=%{__cc} CFLAGS="%{optflags} -I../../src"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS CHANGELOG.md README.md examples/
|
%doc AUTHORS CHANGELOG.md README.md examples/
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue