parent
f528f5c3a4
commit
2af905112d
13
tcpdump.spec
13
tcpdump.spec
@ -2,7 +2,7 @@ Summary: A network traffic monitoring tool
|
|||||||
Name: tcpdump
|
Name: tcpdump
|
||||||
Epoch: 14
|
Epoch: 14
|
||||||
Version: 3.9.5
|
Version: 3.9.5
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://www.tcpdump.org
|
URL: http://www.tcpdump.org
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
@ -45,7 +45,7 @@ pushd %tcpslice_dir
|
|||||||
make
|
make
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%configure --with-user=pcap
|
%configure --with-user=tcpdump
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -66,9 +66,9 @@ install -m644 tcpdump.1 ${RPM_BUILD_ROOT}%{_mandir}/man8/tcpdump.8
|
|||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
/usr/sbin/groupadd -g %{PCAP_GID} pcap 2> /dev/null
|
/usr/sbin/groupadd -g 72 tcpdump 2> /dev/null
|
||||||
/usr/sbin/useradd -u %{PCAP_UID} -g %{PCAP_GID} -s /sbin/nologin -M -r \
|
/usr/sbin/useradd -u 72 -g 72 -s /sbin/nologin -M -r \
|
||||||
-d %{_vararpwatch} pcap 2> /dev/null
|
-d / tcpdump 2> /dev/null
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -80,6 +80,9 @@ exit 0
|
|||||||
%{_mandir}/man8/tcpdump.8*
|
%{_mandir}/man8/tcpdump.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 12 2006 Miroslav Lichvar <mlichvar@redhat.com> - 14:3.9.5-2
|
||||||
|
- use tcpdump user, fix scriptlet (#219268)
|
||||||
|
|
||||||
* Wed Nov 29 2006 Miroslav Lichvar <mlichvar@redhat.com> - 14:3.9.5-1
|
* Wed Nov 29 2006 Miroslav Lichvar <mlichvar@redhat.com> - 14:3.9.5-1
|
||||||
- split off libpcap and arpwatch (#193657)
|
- split off libpcap and arpwatch (#193657)
|
||||||
- update to 3.9.5
|
- update to 3.9.5
|
||||||
|
Loading…
Reference in New Issue
Block a user