tcpdump/tcpdump.spec

changeset 789
cbbc8daa8174
parent 657
fdb90fe1cf21
equal deleted inserted replaced
0:1314a06fddd3 1:76dbc1d60ba2
34 Distribution: OpenPKG Community 34 Distribution: OpenPKG Community
35 Class: BASE 35 Class: BASE
36 Group: Capturing 36 Group: Capturing
37 License: GPL 37 License: GPL
38 Version: %{V_tarball} 38 Version: %{V_tarball}
39 Release: 20120613 39 Release: 20120800
40 40
41 # list of sources 41 # list of sources
42 Source0: http://www.tcpdump.org/release/tcpdump-%{V_tarball}.tar.gz 42 Source0: http://www.tcpdump.org/release/tcpdump-%{V_tarball}.tar.gz
43 Patch0: tcpdump.patch 43 Patch0: tcpdump.patch
44 44
47 PreReq: OpenPKG, openpkg >= 20100101 47 PreReq: OpenPKG, openpkg >= 20100101
48 BuildPreReq: libpcap, openssl 48 BuildPreReq: libpcap, openssl
49 PreReq: libpcap, openssl 49 PreReq: libpcap, openssl
50 50
51 %description 51 %description
52 Tcpdump is a real-time network packet capturing and dumping tool. 52 Tcpdump is a real time network packet capturing and dumping tool.
53 Despite its historical name, it is a general purpose network tool, 53 Despite its historical name, it is a general purpose network tool,
54 not just usable for TCP packets. 54 not just usable for TCP packets.
55 55
56 %track 56 %track
57 prog tcpdump = { 57 prog tcpdump = {
77 LDFLAGS="%{l_ldflags}" \ 77 LDFLAGS="%{l_ldflags}" \
78 GREP="grep" \ 78 GREP="grep" \
79 ./configure \ 79 ./configure \
80 --prefix=%{l_prefix} \ 80 --prefix=%{l_prefix} \
81 --mandir=%{l_prefix}/man \ 81 --mandir=%{l_prefix}/man \
82 --with-crypto \ 82 --with-crypto=%{l_prefix} \
83 $options 83 $options
84 %{l_make} %{l_mflags -O} 84 %{l_make} %{l_mflags -O}
85 85
86 %install 86 %install
87 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT 87 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT

mercurial