auto-import changelog data from squid-2.3.STABLE4-1.src.rpm
Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
This commit is contained in:
parent
f683da6ebe
commit
8d13385049
@ -0,0 +1 @@
|
|||||||
|
squid-2.3.STABLE4-src.tar.gz
|
134
squid.init
Normal file
134
squid.init
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# squid This shell script takes care of starting and stopping
|
||||||
|
# Squid Internet Object Cache
|
||||||
|
#
|
||||||
|
# chkconfig: - 90 25
|
||||||
|
# description: Squid - Internet Object Cache. Internet object caching is \
|
||||||
|
# a way to store requested Internet objects (i.e., data available \
|
||||||
|
# via the HTTP, FTP, and gopher protocols) on a system closer to the \
|
||||||
|
# requesting site than to the source. Web browsers can then use the \
|
||||||
|
# local Squid cache as a proxy HTTP server, reducing access time as \
|
||||||
|
# well as bandwidth consumption.
|
||||||
|
# pidfile: /var/run/squid.pid
|
||||||
|
# config: /etc/squid/squid.conf
|
||||||
|
|
||||||
|
PATH=/usr/bin:/sbin:/bin:/usr/sbin
|
||||||
|
export PATH
|
||||||
|
|
||||||
|
# Source function library.
|
||||||
|
. /etc/rc.d/init.d/functions
|
||||||
|
|
||||||
|
# Source networking configuration.
|
||||||
|
. /etc/sysconfig/network
|
||||||
|
|
||||||
|
# Check that networking is up.
|
||||||
|
[ ${NETWORKING} = "no" ] && exit 0
|
||||||
|
|
||||||
|
# check if the squid conf file is present
|
||||||
|
[ -f /etc/squid/squid.conf ] || exit 0
|
||||||
|
|
||||||
|
# determine the name of the squid binary
|
||||||
|
[ -f /usr/sbin/squid ] && SQUID=squid
|
||||||
|
[ -z "$SQUID" ] && exit 0
|
||||||
|
|
||||||
|
# determine which one is the cache_swap directory
|
||||||
|
CACHE_SWAP=`sed -e 's/#.*//g' /etc/squid/squid.conf | \
|
||||||
|
grep cache_dir | awk '{ print $3 }'`
|
||||||
|
[ -z "$CACHE_SWAP" ] && CACHE_SWAP=/var/spool/squid
|
||||||
|
|
||||||
|
# default squid options
|
||||||
|
# -D disables initial dns checks. If you most likely will not to have an
|
||||||
|
# internet connection when you start squid, uncomment this
|
||||||
|
SQUID_OPTS="-D"
|
||||||
|
|
||||||
|
RETVAL=0
|
||||||
|
|
||||||
|
start() {
|
||||||
|
echo -n "Starting $SQUID: "
|
||||||
|
for adir in $CACHE_SWAP; do
|
||||||
|
if [ ! -d $adir/00 ]; then
|
||||||
|
echo -n "init_cache_dir $adir... "
|
||||||
|
$SQUID -z -F 2>/dev/null
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
$SQUID $SQUID_OPTS &
|
||||||
|
RETVAL=$?
|
||||||
|
echo $SQUID
|
||||||
|
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$SQUID
|
||||||
|
return $RETVAL
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
echo -n "Stopping $SQUID: "
|
||||||
|
$SQUID -k shutdown &
|
||||||
|
RETVAL=$?
|
||||||
|
if [ $RETVAL -eq 0 ] ; then
|
||||||
|
rm -f /var/lock/subsys/$SQUID
|
||||||
|
while : ; do
|
||||||
|
[ -f /var/run/squid.pid ] || break
|
||||||
|
sleep 2 && echo -n "."
|
||||||
|
done
|
||||||
|
echo "done"
|
||||||
|
else
|
||||||
|
echo
|
||||||
|
fi
|
||||||
|
return $RETVAL
|
||||||
|
}
|
||||||
|
|
||||||
|
reload() {
|
||||||
|
$SQUID $SQUID_OPTS -k reconfigure
|
||||||
|
}
|
||||||
|
|
||||||
|
restart() {
|
||||||
|
stop
|
||||||
|
start
|
||||||
|
}
|
||||||
|
|
||||||
|
condrestart() {
|
||||||
|
[ -e /var/lock/subsys/squid ] && restart || :
|
||||||
|
}
|
||||||
|
|
||||||
|
rhstatus() {
|
||||||
|
status $SQUID
|
||||||
|
$SQUID -k check
|
||||||
|
}
|
||||||
|
|
||||||
|
probe() {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
start)
|
||||||
|
start
|
||||||
|
;;
|
||||||
|
|
||||||
|
stop)
|
||||||
|
stop
|
||||||
|
;;
|
||||||
|
|
||||||
|
reload)
|
||||||
|
reload
|
||||||
|
;;
|
||||||
|
|
||||||
|
restart)
|
||||||
|
restart
|
||||||
|
;;
|
||||||
|
|
||||||
|
condrestart)
|
||||||
|
condrestart
|
||||||
|
;;
|
||||||
|
|
||||||
|
status)
|
||||||
|
rhstatus
|
||||||
|
;;
|
||||||
|
|
||||||
|
probe)
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
echo "Usage: $0 {start|stop|status|reload|restart|condrestart}"
|
||||||
|
exit 1
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit $?
|
31
squid.logrotate
Normal file
31
squid.logrotate
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
/var/log/squid/access.log {
|
||||||
|
weekly
|
||||||
|
rotate 5
|
||||||
|
copytruncate
|
||||||
|
compress
|
||||||
|
notifempty
|
||||||
|
missingok
|
||||||
|
}
|
||||||
|
/var/log/squid/cache.log {
|
||||||
|
weekly
|
||||||
|
rotate 5
|
||||||
|
copytruncate
|
||||||
|
compress
|
||||||
|
notifempty
|
||||||
|
missingok
|
||||||
|
}
|
||||||
|
|
||||||
|
/var/log/squid/store.log {
|
||||||
|
weekly
|
||||||
|
rotate 5
|
||||||
|
copytruncate
|
||||||
|
compress
|
||||||
|
notifempty
|
||||||
|
missingok
|
||||||
|
# This script asks squid to rotate its logs on its own.
|
||||||
|
# Restarting squid is a long process and it is not worth
|
||||||
|
# doing it just to rotate logs
|
||||||
|
postrotate
|
||||||
|
/usr/sbin/squid -k rotate
|
||||||
|
endscript
|
||||||
|
}
|
428
squid.spec
Normal file
428
squid.spec
Normal file
@ -0,0 +1,428 @@
|
|||||||
|
Summary: The Squid proxy caching server.
|
||||||
|
Name: squid
|
||||||
|
Version: 2.3.STABLE4
|
||||||
|
Release: 1
|
||||||
|
Serial: 6
|
||||||
|
Copyright: GPL
|
||||||
|
Group: System Environment/Daemons
|
||||||
|
Source: http://www.squid-cache.org/Squid/v2/squid-%{version}-src.tar.gz
|
||||||
|
Source1: http://www.squid-cache.org/Squid/FAQ/FAQ.sgml
|
||||||
|
Source2: squid.init
|
||||||
|
Source3: squid.logrotate
|
||||||
|
Patch0: squid-2.1-make.patch
|
||||||
|
Patch1: squid-2.3-config.patch
|
||||||
|
Patch2: squid-perlpath.patch
|
||||||
|
Patch10: squid-2.3.stable4-ftp_icon_not_found.patch
|
||||||
|
Patch11: squid-2.3.stable4-internal_dns_rcode_table_formatting.patch
|
||||||
|
BuildRoot: /var/tmp/squid-root
|
||||||
|
Prereq: /sbin/chkconfig logrotate shadow-utils /etc/init.d
|
||||||
|
BuildPrereq: jade sgml-tools
|
||||||
|
Obsoletes: squid-novm
|
||||||
|
|
||||||
|
%description
|
||||||
|
Squid is a high-performance proxy caching server for Web clients,
|
||||||
|
supporting FTP, gopher, and HTTP data objects. Unlike traditional
|
||||||
|
caching software, Squid handles all requests in a single,
|
||||||
|
non-blocking, I/O-driven process. Squid keeps meta data and especially
|
||||||
|
hot objects cached in RAM, caches DNS lookups, supports non-blocking
|
||||||
|
DNS lookups, and implements negative caching of failed requests.
|
||||||
|
|
||||||
|
Squid consists of a main server program squid, a Domain Name System
|
||||||
|
lookup program (dnsserver), a program for retrieving FTP data
|
||||||
|
(ftpget), and some management and client tools.
|
||||||
|
|
||||||
|
Install squid if you need a proxy caching server.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch0 -p1 -b .make
|
||||||
|
%patch1 -p1 -b .config
|
||||||
|
%patch2 -p1
|
||||||
|
%patch10 -p0 -b .ftp-icon
|
||||||
|
%patch11 -p0 -b .dns
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure \
|
||||||
|
--exec_prefix=/usr --bindir=/usr/sbin --libexecdir=/usr/lib/squid \
|
||||||
|
--localstatedir=/var --sysconfdir=/etc/squid \
|
||||||
|
--enable-poll --enable-snmp --enable-heap-replacement \
|
||||||
|
--enable-delay-pools # --enable-icmp
|
||||||
|
|
||||||
|
# Some versions of autoconf fail to detect sys/resource.h correctly;
|
||||||
|
# apparently because it generates a compiler warning.
|
||||||
|
|
||||||
|
if [ -e /usr/include/sys/resource.h ]; then
|
||||||
|
cat >>include/autoconf.h <<EOF
|
||||||
|
#ifndef HAVE_SYS_RESOURCE_H
|
||||||
|
#define HAVE_SYS_RESOURCE_H 1
|
||||||
|
#define HAVE_STRUCT_RUSAGE 1
|
||||||
|
#endif
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
|
||||||
|
make -f makefile
|
||||||
|
|
||||||
|
mkdir faq
|
||||||
|
cp $RPM_SOURCE_DIR/FAQ.sgml faq
|
||||||
|
cd faq
|
||||||
|
sgml2html FAQ.sgml
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
%makeinstall \
|
||||||
|
sysconfdir=$RPM_BUILD_ROOT/etc/squid \
|
||||||
|
localstatedir=$RPM_BUILD_ROOT/var \
|
||||||
|
bindir=$RPM_BUILD_ROOT/usr/sbin \
|
||||||
|
libexecdir=$RPM_BUILD_ROOT/usr/lib/squid
|
||||||
|
#install -m 4750 src/pinger $RPM_BUILD_ROOT/usr/lib/squid
|
||||||
|
|
||||||
|
cd errors
|
||||||
|
rm -rf $RPM_BUILD_ROOT/etc/squid/errors
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/squid/errors
|
||||||
|
for i in *; do
|
||||||
|
if [ -d $i ]; then
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/squid/errors/$i
|
||||||
|
install -m 644 $i/* $RPM_BUILD_ROOT/usr/lib/squid/errors/$i
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
ln -s /usr/lib/squid/errors/English $RPM_BUILD_ROOT/etc/squid/errors
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d
|
||||||
|
install -m 755 $RPM_SOURCE_DIR/squid.init $RPM_BUILD_ROOT/etc/rc.d/init.d/squid
|
||||||
|
install -m 644 $RPM_SOURCE_DIR/squid.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/squid
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/var/log/squid
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/var/spool/squid
|
||||||
|
|
||||||
|
strip $RPM_BUILD_ROOT/usr/bin/* $RPM_BUILD_ROOT/usr/sbin/* \
|
||||||
|
$RPM_BUILD_ROOT/usr/lib/squid/* || :
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%config(noreplace) /etc/squid/squid.conf
|
||||||
|
%config(noreplace) /etc/squid/mime.conf
|
||||||
|
%config /etc/squid/mib.txt
|
||||||
|
/etc/squid/squid.conf.default
|
||||||
|
/etc/squid/mime.conf.default
|
||||||
|
/etc/squid/errors
|
||||||
|
/usr/lib/squid/errors
|
||||||
|
/usr/lib/squid/icons
|
||||||
|
/usr/lib/squid/dnsserver
|
||||||
|
/usr/lib/squid/unlinkd
|
||||||
|
#%attr(4750,root,squid) /usr/lib/squid/pinger
|
||||||
|
/usr/sbin/squid
|
||||||
|
/usr/sbin/client
|
||||||
|
/usr/lib/squid/cachemgr.cgi
|
||||||
|
%config /etc/rc.d/init.d/squid
|
||||||
|
%config /etc/logrotate.d/squid
|
||||||
|
%doc faq/* README ChangeLog QUICKSTART doc/*
|
||||||
|
%doc contrib/url-normalizer.pl contrib/rredir.* contrib/user-agents.pl
|
||||||
|
%attr(750,squid,squid) %dir /var/log/squid
|
||||||
|
%attr(750,squid,squid) %dir /var/spool/squid
|
||||||
|
|
||||||
|
%pre
|
||||||
|
/usr/sbin/useradd -u 23 -d /var/spool/squid -r -s /dev/null squid >/dev/null 2>&1
|
||||||
|
|
||||||
|
for i in /var/log/squid /var/spool/squid ; do
|
||||||
|
if [ -d $i ] ; then
|
||||||
|
for adir in `find $i -maxdepth 0 \! -user squid`; do
|
||||||
|
chown -R squid.squid $adir
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/chkconfig --add squid
|
||||||
|
if [ $1 = 0 ]; then
|
||||||
|
case "$LANG" in
|
||||||
|
bg*)
|
||||||
|
DIR=Bulgarian
|
||||||
|
;;
|
||||||
|
cs*)
|
||||||
|
DIR=Czech
|
||||||
|
;;
|
||||||
|
da*)
|
||||||
|
DIR=Danish
|
||||||
|
;;
|
||||||
|
nl*)
|
||||||
|
DIR=Dutch
|
||||||
|
;;
|
||||||
|
en*)
|
||||||
|
DIR=English
|
||||||
|
;;
|
||||||
|
ea*)
|
||||||
|
DIR=Estonian
|
||||||
|
;;
|
||||||
|
fi*)
|
||||||
|
DIR=Finnish
|
||||||
|
;;
|
||||||
|
fr*)
|
||||||
|
DIR=French
|
||||||
|
;;
|
||||||
|
de*)
|
||||||
|
DIR=German
|
||||||
|
;;
|
||||||
|
hu*)
|
||||||
|
DIR=Hungarian
|
||||||
|
;;
|
||||||
|
it*)
|
||||||
|
DIR=Italian
|
||||||
|
;;
|
||||||
|
ja*)
|
||||||
|
DIR=Japanese
|
||||||
|
;;
|
||||||
|
kr*)
|
||||||
|
DIR=Korean
|
||||||
|
;;
|
||||||
|
pl*)
|
||||||
|
DIR=Polish
|
||||||
|
;;
|
||||||
|
pt*)
|
||||||
|
DIR=Portuguese
|
||||||
|
;;
|
||||||
|
ro*)
|
||||||
|
DIR=Romanian
|
||||||
|
;;
|
||||||
|
ru*)
|
||||||
|
DIR=Russian-koi8-r
|
||||||
|
;;
|
||||||
|
sk*)
|
||||||
|
DIR=Slovak
|
||||||
|
;;
|
||||||
|
es*)
|
||||||
|
DIR=Spanish
|
||||||
|
;;
|
||||||
|
sv*)
|
||||||
|
DIR=Swedish
|
||||||
|
;;
|
||||||
|
zh*)
|
||||||
|
DIR=Traditional_Chinese
|
||||||
|
;;
|
||||||
|
tr*)
|
||||||
|
DIR=Turkish
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
DIR=English
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
ln -snf /usr/lib/squid/errors/$DIR /etc/squid/errors
|
||||||
|
fi
|
||||||
|
|
||||||
|
%preun
|
||||||
|
if [ $1 = 0 ] ; then
|
||||||
|
rm -f /var/log/squid/*
|
||||||
|
/sbin/chkconfig --del squid
|
||||||
|
service squid stop >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
%postun
|
||||||
|
if [ $1 = 0 ] ; then
|
||||||
|
userdel squid
|
||||||
|
fi
|
||||||
|
if [ "$1" -ge "1" ] ; then
|
||||||
|
service squid condrestart >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Jul 28 2000 Bill Nottingham <notting@redhat.com>
|
||||||
|
- clean up init script; fix condrestart
|
||||||
|
- update to STABLE4, more bugfixes
|
||||||
|
- update FAQ
|
||||||
|
|
||||||
|
* Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- fix syntax error in init script
|
||||||
|
- finish adding condrestart support
|
||||||
|
|
||||||
|
* Fri Jul 14 2000 Bill Nottingham <notting@redhat.com>
|
||||||
|
- move initscript back
|
||||||
|
|
||||||
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
||||||
|
- automatic rebuild
|
||||||
|
|
||||||
|
* Thu Jul 6 2000 Bill Nottingham <notting@redhat.com>
|
||||||
|
- prereq /etc/init.d
|
||||||
|
- add bugfix patch
|
||||||
|
- update FAQ
|
||||||
|
|
||||||
|
* Thu Jun 29 2000 Bill Nottingham <notting@redhat.com>
|
||||||
|
- fix init script
|
||||||
|
|
||||||
|
* Tue Jun 27 2000 Bill Nottingham <notting@redhat.com>
|
||||||
|
- don't prereq new initscripts
|
||||||
|
|
||||||
|
* Mon Jun 26 2000 Bill Nottingham <notting@redhat.com>
|
||||||
|
- initscript munging
|
||||||
|
|
||||||
|
* Sat Jun 10 2000 Bill Nottingham <notting@redhat.com>
|
||||||
|
- rebuild for exciting FHS stuff
|
||||||
|
|
||||||
|
* Wed May 31 2000 Bill Nottingham <notting@redhat.com>
|
||||||
|
- fix init script again (#11699)
|
||||||
|
- add --enable-delay-pools (#11695)
|
||||||
|
- update to STABLE3
|
||||||
|
- update FAQ
|
||||||
|
|
||||||
|
* Fri Apr 28 2000 Bill Nottingham <notting@redhat.com>
|
||||||
|
- fix init script (#11087)
|
||||||
|
|
||||||
|
* Fri Apr 7 2000 Bill Nottingham <notting@redhat.com>
|
||||||
|
- three more bugfix patches from the squid people
|
||||||
|
- buildprereq jade, sgmltools
|
||||||
|
|
||||||
|
* Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com>
|
||||||
|
- make %pre more portable
|
||||||
|
|
||||||
|
* Thu Mar 16 2000 Bill Nottingham <notting@redhat.com>
|
||||||
|
- bugfix patches
|
||||||
|
- fix dependency on /usr/local/bin/perl
|
||||||
|
|
||||||
|
* Sat Mar 4 2000 Bill Nottingham <notting@redhat.com>
|
||||||
|
- 2.3.STABLE2
|
||||||
|
|
||||||
|
* Mon Feb 14 2000 Bill Nottingham <notting@redhat.com>
|
||||||
|
- Yet More Bugfix Patches
|
||||||
|
|
||||||
|
* Tue Feb 8 2000 Bill Nottingham <notting@redhat.com>
|
||||||
|
- add more bugfix patches
|
||||||
|
- --enable-heap-replacement
|
||||||
|
|
||||||
|
* Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- rebuild to fix dependencies
|
||||||
|
|
||||||
|
* Fri Jan 28 2000 Bill Nottingham <notting@redhat.com>
|
||||||
|
- grab some bugfix patches
|
||||||
|
|
||||||
|
* Mon Jan 10 2000 Bill Nottingham <notting@redhat.com>
|
||||||
|
- 2.3.STABLE1 (whee, another serial number)
|
||||||
|
|
||||||
|
* Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com>
|
||||||
|
- Fix compliance with ftp RFCs
|
||||||
|
(http://www.wu-ftpd.org/broken-clients.html)
|
||||||
|
- Work around a bug in some versions of autoconf
|
||||||
|
- BuildPrereq sgml-tools - we're using sgml2html
|
||||||
|
|
||||||
|
* Mon Oct 18 1999 Bill Nottingham <notting@redhat.com>
|
||||||
|
- add a couple of bugfix patches
|
||||||
|
|
||||||
|
* Wed Oct 13 1999 Bill Nottingham <notting@redhat.com>
|
||||||
|
- update to 2.2.STABLE5.
|
||||||
|
- update FAQ, fix URLs.
|
||||||
|
|
||||||
|
* Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- transform restart in reload and add restart to the init script
|
||||||
|
|
||||||
|
* Tue Aug 31 1999 Bill Nottingham <notting@redhat.com>
|
||||||
|
- add squid user as user 23.
|
||||||
|
|
||||||
|
* Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
|
||||||
|
- initscript munging
|
||||||
|
- fix conflict between logrotate & squid -k (#4562)
|
||||||
|
|
||||||
|
* Wed Jul 28 1999 Bill Nottingham <notting@redhat.com>
|
||||||
|
- put cachemgr.cgi back in /usr/lib/squid
|
||||||
|
|
||||||
|
* Wed Jul 14 1999 Bill Nottingham <notting@redhat.com>
|
||||||
|
- add webdav bugfix patch (#4027)
|
||||||
|
|
||||||
|
* Mon Jul 12 1999 Bill Nottingham <notting@redhat.com>
|
||||||
|
- fix path to config in squid.init (confuses linuxconf)
|
||||||
|
|
||||||
|
* Wed Jul 7 1999 Bill Nottingham <notting@redhat.com>
|
||||||
|
- 2.2.STABLE4
|
||||||
|
|
||||||
|
* Wed Jun 9 1999 Dale Lovelace <dale@redhat.com>
|
||||||
|
- logrotate changes
|
||||||
|
- errors from find when /var/spool/squid or
|
||||||
|
- /var/log/squid didn't exist
|
||||||
|
|
||||||
|
* Thu May 20 1999 Bill Nottingham <notting@redhat.com>
|
||||||
|
- 2.2.STABLE3
|
||||||
|
|
||||||
|
* Thu Apr 22 1999 Bill Nottingham <notting@redhat.com>
|
||||||
|
- update to 2.2.STABLE.2
|
||||||
|
|
||||||
|
* Sun Apr 18 1999 Bill Nottingham <notting@redhat.com>
|
||||||
|
- update to 2.2.STABLE1
|
||||||
|
|
||||||
|
* Thu Apr 15 1999 Bill Nottingham <notting@redhat.com>
|
||||||
|
- don't need to run groupdel on remove
|
||||||
|
- fix useradd
|
||||||
|
|
||||||
|
* Mon Apr 12 1999 Bill Nottingham <notting@redhat.com>
|
||||||
|
- fix effective_user (bug #2124)
|
||||||
|
|
||||||
|
* Mon Apr 5 1999 Bill Nottingham <notting@redhat.com>
|
||||||
|
- strip binaries
|
||||||
|
|
||||||
|
* Thu Apr 1 1999 Bill Nottingham <notting@redhat.com>
|
||||||
|
- duh. adduser does require a user name.
|
||||||
|
- add a serial number
|
||||||
|
|
||||||
|
* Tue Mar 30 1999 Bill Nottingham <notting@redhat.com>
|
||||||
|
- add an adduser in %pre, too
|
||||||
|
|
||||||
|
* Thu Mar 25 1999 Bill Nottingham <notting@redhat.com>
|
||||||
|
- oog. chkconfig must be in %preun, not %postun
|
||||||
|
|
||||||
|
* Wed Mar 24 1999 Bill Nottingham <notting@redhat.com>
|
||||||
|
- switch to using group squid
|
||||||
|
- turn off icmp (insecure)
|
||||||
|
- update to 2.2.DEVEL3
|
||||||
|
- build FAQ docs from source
|
||||||
|
|
||||||
|
* Tue Mar 23 1999 Bill Nottingham <notting@redhat.com>
|
||||||
|
- logrotate changes
|
||||||
|
|
||||||
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- auto rebuild in the new build environment (release 4)
|
||||||
|
|
||||||
|
* Wed Feb 10 1999 Bill Nottingham <notting@redhat.com>
|
||||||
|
- update to 2.2.PRE2
|
||||||
|
|
||||||
|
* Wed Dec 30 1998 Bill Nottingham <notting@redhat.com>
|
||||||
|
- cache & log dirs shouldn't be world readable
|
||||||
|
- remove preun script (leave logs & cache @ uninstall)
|
||||||
|
|
||||||
|
* Tue Dec 29 1998 Bill Nottingham <notting@redhat.com>
|
||||||
|
- fix initscript to get cache_dir correct
|
||||||
|
|
||||||
|
* Fri Dec 18 1998 Bill Nottingham <notting@redhat.com>
|
||||||
|
- update to 2.1.PATCH2
|
||||||
|
- merge in some changes from RHCN version
|
||||||
|
|
||||||
|
* Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- strip binaries
|
||||||
|
- version 1.1.22
|
||||||
|
|
||||||
|
* Sun May 10 1998 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- don't make packages conflict with each other...
|
||||||
|
|
||||||
|
* Sat May 02 1998 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca>
|
||||||
|
- fixed initscripts
|
||||||
|
|
||||||
|
* Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- rebuilt for Manhattan
|
||||||
|
|
||||||
|
* Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- upgraded to 1.1.21/1.NOVM.21
|
||||||
|
|
||||||
|
* Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- updated the init script to use reconfigure option to restart squid instead
|
||||||
|
of shutdown/restart (both safer and quicker)
|
||||||
|
|
||||||
|
* Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- upgraded to 1.1.20
|
||||||
|
- added the NOVM package and tryied to reduce the mess in the spec file
|
||||||
|
|
||||||
|
* Wed Jan 7 1998 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- first build against glibc
|
||||||
|
- patched out the use of setresuid(), which is available only on kernels
|
||||||
|
2.1.44 and later
|
||||||
|
|
Loading…
Reference in New Issue
Block a user