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 |