auto-import changelog data from tcpdump-3.8.2-4.src.rpm

Wed Jun 23 2004 Elliot Lee <sopwith@redhat.com>
- added flex to BuildRequires
Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
Sun May 30 2004 Florian La Roche <Florian.LaRoche@redhat.de>
- simplify rpm scripts
This commit is contained in:
cvsdist 2004-09-09 13:24:18 +00:00
parent 4b41c34ac0
commit b60dffc7e9

View File

@ -2,8 +2,8 @@
%define PCAP_UID 77 %define PCAP_UID 77
%define PCAP_GID 77 %define PCAP_GID 77
%define releaseno 3 %define releaseno 4
%define arpwatch_release 1 %define arpwatch_release %{releaseno}
%define pcap_release %{releaseno} %define pcap_release %{releaseno}
%define tcpdump_release %{releaseno} %define tcpdump_release %{releaseno}
@ -55,7 +55,7 @@ Patch70: tcpslice-CVS.20010207-bpf.patch
Prefix: %{_prefix} Prefix: %{_prefix}
BuildRequires: kernel-headers >= 2.2.0 openssl-devel BuildRequires: kernel-headers >= 2.2.0 openssl-devel flex
Requires: kernel >= 2.2.0 Requires: kernel >= 2.2.0
BuildRoot: %{_tmppath}/%{name}-root BuildRoot: %{_tmppath}/%{name}-root
@ -236,18 +236,20 @@ popd
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 %{PCAP_GID} pcap 2> /dev/null
/usr/sbin/useradd -u %{PCAP_UID} -g %{PCAP_GID} \ /usr/sbin/useradd -u %{PCAP_UID} -g %{PCAP_GID} -s /sbin/nologin -M -r \
-s /sbin/nologin -M -r -d %{_vararpwatch} pcap 2> /dev/null || ( /usr/bin/chsh pcap /sbin/nologin 2> /dev/null || : ) -d %{_vararpwatch} pcap 2> /dev/null \
|| /usr/bin/chsh pcap /sbin/nologin 2> /dev/null
exit 0 exit 0
%post -n arpwatch %post -n arpwatch
/sbin/chkconfig --add arpwatch /sbin/chkconfig --add arpwatch
%pre -n arpwatch %pre -n arpwatch
/usr/sbin/groupadd -g %{PCAP_GID} pcap 2> /dev/null || : /usr/sbin/groupadd -g %{PCAP_GID} pcap 2> /dev/null
/usr/sbin/useradd -u %{PCAP_UID} -g %{PCAP_GID} \ /usr/sbin/useradd -u %{PCAP_UID} -g %{PCAP_GID} \
-s /sbin/nologin -M -r -d %{_vararpwatch} pcap 2> /dev/null || ( /usr/bin/chsh pcap /sbin/nologin 2> /dev/null || : ) -s /sbin/nologin -M -r -d %{_vararpwatch} pcap 2> /dev/null \
|| /usr/bin/chsh pcap /sbin/nologin 2> /dev/null
exit 0 exit 0
%postun -n arpwatch %postun -n arpwatch
@ -255,9 +257,10 @@ exit 0
%preun -n arpwatch %preun -n arpwatch
if [ "$1" = "0" ]; then if [ "$1" = "0" ]; then
/sbin/service arpwatch stop > /dev/null 2>&1 || : /sbin/service arpwatch stop > /dev/null 2>&1
/sbin/chkconfig --del arpwatch || : /sbin/chkconfig --del arpwatch
fi fi
exit 0
%post -n libpcap -p /sbin/ldconfig %post -n libpcap -p /sbin/ldconfig
@ -299,6 +302,15 @@ fi
%{_vararpwatch}/massagevendor-old %{_vararpwatch}/massagevendor-old
%changelog %changelog
* Wed Jun 23 2004 Elliot Lee <sopwith@redhat.com>
- added flex to BuildRequires
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Sun May 30 2004 Florian La Roche <Florian.LaRoche@redhat.de>
- simplify rpm scripts
* Tue Apr 6 2004 Harald Hoyer <harald@redhat.com> - 14:3.8.2-3 * Tue Apr 6 2004 Harald Hoyer <harald@redhat.com> - 14:3.8.2-3
- added LICENSE files - added LICENSE files