]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - tcpdump/tcpdump.nm
libpng: Update to 1.6.10.
[people/ms/ipfire-3.x.git] / tcpdump / tcpdump.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = tcpdump
7 version = 4.3.0
8 release = 1
9
10 groups = Networking/Sniffer
11 url = http://www.tcpdump.org/
12 license = BSD with advertising
13 summary = A network traffic monitoring tool.
14
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
21
22 source_dl = http://www.tcpdump.org/release/
23
24 CFLAGS += -fno-strict-aliasing
25
26 build
27 requires
28 chrpath
29 libpcap-devel
30 openssl-devel
31 end
32
33 configure_options += \
34 --with-crypto \
35 --without-smi
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
44 end
45
46 packages
47 package %{name}
48
49 package %{name}-debuginfo
50 template DEBUGINFO
51 end
52 end