]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = tcpdump |
d63e0994 AB |
7 | version = 4.99.4 |
8 | release = 1 | |
76a370ef | 9 | |
802ea3af | 10 | groups = Networking/Sniffer |
d9bba1ca | 11 | url = https://www.tcpdump.org/ |
802ea3af MT |
12 | license = BSD with advertising |
13 | summary = A network traffic monitoring tool. | |
76a370ef | 14 | |
802ea3af MT |
15 | description |
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. | |
20 | end | |
76a370ef | 21 | |
d9bba1ca | 22 | source_dl = https://www.tcpdump.org/release/ |
76a370ef | 23 | |
802ea3af MT |
24 | build |
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 | 42 | end |
69dbe38d | 43 | |
802ea3af MT |
44 | packages |
45 | package %{name} | |
1f9bc2f0 MT |
46 | |
47 | package %{name}-debuginfo | |
48 | template DEBUGINFO | |
49 | end | |
802ea3af | 50 | end |