Summary: The Squid proxy caching server. Name: squid Version: 2.6.STABLE16 Release: 1 Serial: 6 Copyright: GPL Group: System Environment/Daemons Source: http://www.squid-cache.org/Squid/v2/%{name}-%{version}.tar.bz2 # Source1: FAQ.sgml Patch1: squid-perlpath.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root Prefix: %{_prefix} %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. %define DEFCC cc %prep %setup -q %patch1 -p1 %build # Seems to help build faster, using bash export CONFIG_SHELL=/opt/freeware/bin/bash export CONFIGURE_ENV_ARGS=/opt/freeware/bin/bash # Use the default compiler for this platform - gcc otherwise if [[ -z "$CC" ]] then if test "X`type %{DEFCC} 2>/dev/null`" != 'X'; then export CC=%{DEFCC} else export CC=gcc fi fi if [[ "$CC" != "gcc" ]] then export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's:-fsigned-char::'` fi export CFLAGS=$RPM_OPT_FLAGS %configure --localstatedir=/var --sysconfdir=%{prefix}/etc/squid \ --libexecdir=%{prefix}/lib/squid --bindir=%{prefix}/sbin \ --enable-delay-pools make # mkdir faq # cp $RPM_SOURCE_DIR/FAQ.sgml faq # cd faq %install # Seems to help build faster, using bash export CONFIG_SHELL=/opt/freeware/bin/bash export CONFIGURE_ENV_ARGS=/opt/freeware/bin/bash rm -rf $RPM_BUILD_ROOT %makeinstall \ sysconfdir=$RPM_BUILD_ROOT%{prefix}/etc/squid \ localstatedir=$RPM_BUILD_ROOT/var \ bindir=$RPM_BUILD_ROOT%{prefix}/sbin \ libexecdir=$RPM_BUILD_ROOT%{prefix}/lib/squid cd errors for i in *; do if [ -d $i ]; then mkdir -p $RPM_BUILD_ROOT%{prefix}/etc/squid/errors/$i install -m 644 $i/* $RPM_BUILD_ROOT%{prefix}/etc/squid/errors/$i fi done ( cd $RPM_BUILD_ROOT mkdir -p usr/sbin cd usr/sbin ln -sf ../..%{prefix}/sbin/* . cd - mkdir -p etc cd etc ln -sf ..%{prefix}/etc/squid . cd - mkdir -p usr/lib cd usr/lib ln -sf ../..%{prefix}/lib/squid . cd - ) mkdir -p $RPM_BUILD_ROOT/var/log/squid mkdir -p $RPM_BUILD_ROOT/var/spool/squid /usr/bin/strip $RPM_BUILD_ROOT%{prefix}/sbin/* \ $RPM_BUILD_ROOT%{prefix}/lib/squid/* || : %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,system) %config(noreplace) %{prefix}/etc/squid/squid.conf %config(noreplace) %{prefix}/etc/squid/mime.conf ##%config %{prefix}/etc/squid/mib.txt %{prefix}/etc/squid/squid.conf.default %{prefix}/etc/squid/mime.conf.default %{prefix}/etc/squid/errors ##%{prefix}/etc/squid/icons %{prefix}/lib/squid/cachemgr.cgi %{prefix}/lib/squid/unlinkd %{prefix}/sbin/* %doc faq/* README INSTALL ChangeLog QUICKSTART doc/* %doc CONTRIBUTORS COPYING COPYRIGHT CREDITS %doc contrib/url-normalizer.pl contrib/rredir.* contrib/user-agents.pl %attr(750,nobody,nobody) %dir /var/log/squid %attr(750,nobody,nobody) %dir /var/spool/squid /etc/squid /usr/lib/squid /usr/sbin/* %preun if [ $1 = 0 ] ; then rm -rf /var/log/squid/* fi %changelog * Wed Oct 17 2007 Christophe BELLE 2.6.STABLE16-1 - Update to 2.6.STABLE16 on AIX 52S * Fri Apr 27 2007 AIX Builder 2.6.STABLE12-1 - Update to 2.6.STABLE12 * Wed Jul 24 2002 David Clissold - 2.4.STABLE7-2: enable delay-pools as per special request. * Mon Jul 08 2002 David Clissold - Update to 2.4.STABLE7 * Wed Apr 10 2002 David Clissold - Update to 2.4.STABLE4 * Thu Sep 06 2001 David Clissold - Update to 2.4.STABLE2 * Tue Jun 18 2001 David Clissold - Initial build for AIX Toolbox * Tue Apr 24 2001 Bill Nottingham - update to 2.4.STABLE1 + patches - enable some more configure options (#24981) - oops, ship /etc/sysconfig/squid * Fri Mar 2 2001 Nalin Dahyabhai - rebuild in new environment * Tue Feb 6 2001 Trond Eivind Glomsrød - improve i18n - make the initscript use the standard OK/FAILED * Tue Jan 23 2001 Bill Nottingham - change i18n mechanism * Fri Jan 19 2001 Bill Nottingham - fix path references in QUICKSTART (#15114) - fix initscript translations (#24086) - fix shutdown logic (#24234), patch from - add /etc/sysconfig/squid for daemon options & shutdown timeouts - three more bugfixes from the Squid people - update FAQ.sgml - build and ship auth modules (#23611) * Thu Jan 11 2001 Bill Nottingham - initscripts translations * Mon Jan 8 2001 Bill Nottingham - add patch to use mkstemp (greg@wirex.com) * Fri Dec 01 2000 Bill Nottingham - rebuild because of broken fileutils * Sat Nov 11 2000 Bill Nottingham - fix the acl matching cases (only need the second patch) * Tue Nov 7 2000 Bill Nottingham - add two patches to fix domain ACLs - add 2 bugfix patches from the squid people * Fri Jul 28 2000 Bill Nottingham - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ * Tue Jul 18 2000 Nalin Dahyabhai - fix syntax error in init script - finish adding condrestart support * Fri Jul 14 2000 Bill Nottingham - move initscript back * Wed Jul 12 2000 Prospector - automatic rebuild * Thu Jul 6 2000 Bill Nottingham - prereq /etc/init.d - add bugfix patch - update FAQ * Thu Jun 29 2000 Bill Nottingham - fix init script * Tue Jun 27 2000 Bill Nottingham - don't prereq new initscripts * Mon Jun 26 2000 Bill Nottingham - initscript munging * Sat Jun 10 2000 Bill Nottingham - rebuild for exciting FHS stuff * Wed May 31 2000 Bill Nottingham - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ * Fri Apr 28 2000 Bill Nottingham - fix init script (#11087) * Fri Apr 7 2000 Bill Nottingham - three more bugfix patches from the squid people - buildprereq jade, sgmltools * Sun Mar 26 2000 Florian La Roche - make %pre more portable * Thu Mar 16 2000 Bill Nottingham - bugfix patches - fix dependency on /usr/local/bin/perl * Sat Mar 4 2000 Bill Nottingham - 2.3.STABLE2 * Mon Feb 14 2000 Bill Nottingham - Yet More Bugfix Patches * Tue Feb 8 2000 Bill Nottingham - add more bugfix patches - --enable-heap-replacement * Mon Jan 31 2000 Cristian Gafton - rebuild to fix dependencies * Fri Jan 28 2000 Bill Nottingham - grab some bugfix patches * Mon Jan 10 2000 Bill Nottingham - 2.3.STABLE1 (whee, another serial number) * Tue Dec 21 1999 Bernhard Rosenkraenzer - 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 - add a couple of bugfix patches * Wed Oct 13 1999 Bill Nottingham - update to 2.2.STABLE5. - update FAQ, fix URLs. * Sat Sep 11 1999 Cristian Gafton - transform restart in reload and add restart to the init script * Tue Aug 31 1999 Bill Nottingham - add squid user as user 23. * Mon Aug 16 1999 Bill Nottingham - initscript munging - fix conflict between logrotate & squid -k (#4562) * Wed Jul 28 1999 Bill Nottingham - put cachemgr.cgi back in /usr/lib/squid * Wed Jul 14 1999 Bill Nottingham - add webdav bugfix patch (#4027) * Mon Jul 12 1999 Bill Nottingham - fix path to config in squid.init (confuses linuxconf) * Wed Jul 7 1999 Bill Nottingham - 2.2.STABLE4 * Wed Jun 9 1999 Dale Lovelace - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist * Thu May 20 1999 Bill Nottingham - 2.2.STABLE3 * Thu Apr 22 1999 Bill Nottingham - update to 2.2.STABLE.2 * Sun Apr 18 1999 Bill Nottingham - update to 2.2.STABLE1 * Thu Apr 15 1999 Bill Nottingham - don't need to run groupdel on remove - fix useradd * Mon Apr 12 1999 Bill Nottingham - fix effective_user (bug #2124) * Mon Apr 5 1999 Bill Nottingham - strip binaries * Thu Apr 1 1999 Bill Nottingham - duh. adduser does require a user name. - add a serial number * Tue Mar 30 1999 Bill Nottingham - add an adduser in %pre, too * Thu Mar 25 1999 Bill Nottingham - oog. chkconfig must be in %preun, not %postun * Wed Mar 24 1999 Bill Nottingham - 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 - logrotate changes * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 4) * Wed Feb 10 1999 Bill Nottingham - update to 2.2.PRE2 * Wed Dec 30 1998 Bill Nottingham - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) * Tue Dec 29 1998 Bill Nottingham - fix initscript to get cache_dir correct * Fri Dec 18 1998 Bill Nottingham - update to 2.1.PATCH2 - merge in some changes from RHCN version * Sat Oct 10 1998 Cristian Gafton - strip binaries - version 1.1.22 * Sun May 10 1998 Cristian Gafton - don't make packages conflict with each other... * Sat May 02 1998 Cristian Gafton - added a proxy auth patch from Alex deVries - fixed initscripts * Thu Apr 09 1998 Cristian Gafton - rebuilt for Manhattan * Fri Mar 20 1998 Cristian Gafton - upgraded to 1.1.21/1.NOVM.21 * Mon Mar 02 1998 Cristian Gafton - 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 - 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 - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later