nuclei/nuclei.spec

40 lines
1,021 B
RPMSpec
Raw Permalink Normal View History

2021-05-07 18:33:49 +03:00
%define debug_package %nil
Name: nuclei
2025-02-13 20:43:44 +00:00
Version: 3.3.9
2021-05-07 18:33:49 +03:00
Release: 1
2023-10-20 20:11:58 +00:00
Summary: Vulnerability scanner
2021-05-07 18:33:49 +03:00
URL: https://nuclei.projectdiscovery.io
Source0: https://github.com/projectdiscovery/nuclei/archive/v%{version}/%{name}-%{version}.tar.gz
License: MIT
Group: Development/Other
BuildRequires: go >= 1.11
BuildRequires: git-core
BuildRequires: upx
2024-11-21 21:11:17 +00:00
BuildRequires: pkgconfig(openssl3.3)
2025-02-15 06:52:35 +00:00
BuildRequires: glibc-static-devel
BuildRequires: glibc-devel
2021-05-07 18:33:49 +03:00
%description
Nuclei is used to send requests across targets based on a
template leading to zero false positives and providing fast
scanning on large number of hosts. Nuclei offers scanning
for a variety of protocols including TCP, DNS, HTTP, File,
etc. With powerful and flexible templating, all kinds of
security checks can be modelled with Nuclei
%prep
%setup -q
%build
2023-12-21 19:13:05 +00:00
export GOPROXY=https://proxy.golang.org/cached-only
2021-05-07 18:33:49 +03:00
%make
2025-02-14 22:40:20 +00:00
#upx bin/%{name}
2021-05-07 18:33:49 +03:00
%install
2024-11-21 21:11:17 +00:00
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
2021-05-07 18:33:49 +03:00
%files
%doc README*.md LICENSE.md
%{_bindir}/%{name}