]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blame - tcpdump/tcpdump.nm
tcpdump: Switch to patchelf to remove the RPATH
[people/stevee/ipfire-3.x.git] / tcpdump / tcpdump.nm
CommitLineData
76a370ef 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
76a370ef
MT
4###############################################################################
5
802ea3af 6name = tcpdump
d9bba1ca 7version = 4.99.1
49317de5 8release = 2
76a370ef 9
802ea3af 10groups = Networking/Sniffer
d9bba1ca 11url = https://www.tcpdump.org/
802ea3af
MT
12license = BSD with advertising
13summary = A network traffic monitoring tool.
76a370ef 14
802ea3af
MT
15description
16 Tcpdump is a command-line tool for monitoring network traffic.
17 Tcpdump can capture and display the packet headers on a particular
18 network interface or on all interfaces. Tcpdump can display all of
19 the packet headers, or just the ones that match particular criteria.
20end
76a370ef 21
d9bba1ca 22source_dl = https://www.tcpdump.org/release/
76a370ef 23
802ea3af
MT
24build
25 requires
26 libpcap-devel
27 openssl-devel
49317de5 28 patchelf
802ea3af 29 end
76a370ef 30
802ea3af
MT
31 configure_options += \
32 --with-crypto \
33 --without-smi
d924a840
MT
34
35 install_cmds
36 # Remove duplicated binary.
37 rm -vf %{BUILDROOT}%{sbindir}/tcpdump.%{version}
38
39 # Remove RPATH.
49317de5 40 patchelf --remove-rpath %{BUILDROOT}%{bindir}/tcpdump
d924a840 41 end
802ea3af 42end
69dbe38d 43
802ea3af
MT
44packages
45 package %{name}
1f9bc2f0
MT
46
47 package %{name}-debuginfo
48 template DEBUGINFO
49 end
802ea3af 50end