]>
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 MT |
6 | name = tcpdump |
7 | version = 4.1.1 | |
d924a840 | 8 | release = 2 |
76a370ef | 9 | |
802ea3af MT |
10 | groups = Networking/Sniffer |
11 | url = http://www.tcpdump.org/ | |
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 | |
802ea3af | 22 | source_dl = http://www.tcpdump.org/release/ |
76a370ef | 23 | |
802ea3af | 24 | CFLAGS += -fno-strict-aliasing |
76a370ef | 25 | |
802ea3af MT |
26 | build |
27 | requires | |
d924a840 | 28 | chrpath |
802ea3af MT |
29 | libpcap-devel |
30 | openssl-devel | |
31 | end | |
76a370ef | 32 | |
802ea3af MT |
33 | configure_options += \ |
34 | --with-crypto \ | |
35 | --without-smi | |
d924a840 MT |
36 | |
37 | install_cmds | |
38 | # Remove duplicated binary. | |
39 | rm -vf %{BUILDROOT}%{sbindir}/tcpdump.%{version} | |
40 | ||
41 | # Remove RPATH. | |
42 | chrpath --delete %{BUILDROOT}%{sbindir}/tcpdump | |
43 | end | |
802ea3af | 44 | end |
69dbe38d | 45 | |
802ea3af MT |
46 | packages |
47 | package %{name} | |
1f9bc2f0 MT |
48 | |
49 | package %{name}-debuginfo | |
50 | template DEBUGINFO | |
51 | end | |
802ea3af | 52 | end |