ipfire-3.x/tcpdump/tcpdump.nm

51 lines
1.2 KiB
Plaintext

###############################################################################
# IPFire.org - An Open Source Firewall Solution #
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
###############################################################################
name = tcpdump
version = 4.99.4
release = 1
groups = Networking/Sniffer
url = https://www.tcpdump.org/
license = BSD with advertising
summary = A network traffic monitoring tool.
description
Tcpdump is a command-line tool for monitoring network traffic.
Tcpdump can capture and display the packet headers on a particular
network interface or on all interfaces. Tcpdump can display all of
the packet headers, or just the ones that match particular criteria.
end
source_dl = https://www.tcpdump.org/release/
build
requires
libpcap-devel
openssl-devel
patchelf
end
configure_options += \
--with-crypto \
--without-smi
install_cmds
# Remove duplicated binary.
rm -vf %{BUILDROOT}%{sbindir}/tcpdump.%{version}
# Remove RPATH.
patchelf --remove-rpath %{BUILDROOT}%{bindir}/tcpdump
end
end
packages
package %{name}
package %{name}-debuginfo
template DEBUGINFO
end
end