mirror of
https://github.com/nmap/nmap.git
synced 2025-12-23 07:59:03 +00:00
Merge r16806 from /nmap-exp/david/nmap-nping. This adds an nping
subpackage to nmap.spec.in. I missed this one revision when merging before.
This commit is contained in:
27
nmap.spec.in
27
nmap.spec.in
@@ -2,6 +2,8 @@
|
||||
# --define "static 1"
|
||||
# to the rpmbuild command line. To build without Ncat, add
|
||||
# --define "buildncat 0"
|
||||
# To build without Nping, add
|
||||
# --define "buildnping 0"
|
||||
#
|
||||
# To specify openssl dir, add something like:
|
||||
# --define "openssl /usr/local/ssl"
|
||||
@@ -51,6 +53,9 @@ both console and graphical versions are available.
|
||||
%if "%{buildncat}" == "0"
|
||||
%configure --without-ncat
|
||||
%endif
|
||||
%if "%{buildnping}" == "0"
|
||||
%configure --without-nping
|
||||
%endif
|
||||
%if "%{static}" == "1"
|
||||
make static
|
||||
%else
|
||||
@@ -102,6 +107,28 @@ uses.
|
||||
|
||||
%endif
|
||||
|
||||
# Nping subpackage
|
||||
%if "%{buildnping}" != "0"
|
||||
%package -n nping
|
||||
Summary: Nping packet generator
|
||||
Group: Applications/System
|
||||
|
||||
%description -n nping
|
||||
Nping is an open source tool for network packet generation, response
|
||||
analysis and response time measurement. Nping allows to generate network
|
||||
packets of a wide range of protocols, letting users to tune virtually
|
||||
any field of the protocol headers. While Nping can be used as a simple
|
||||
ping utility to detect active hosts, it can also be used as a raw packet
|
||||
generator for network stack stress tests, ARP poisoning, Denial of
|
||||
Service attacks, route tracing, etc.
|
||||
|
||||
%files -n nping
|
||||
%defattr(-,root,root)
|
||||
%doc %{_prefix}/share/man/man1/nping.1.gz
|
||||
%{_bindir}/nping
|
||||
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
||||
* Sat Jun 06 2009 Fyodor (fyodor(a)insecure.org)
|
||||
|
||||
Reference in New Issue
Block a user