2 # - use /usr/lib/cgi-bin instead of /home/services
3 # - update combined_log patch
5 %bcond_with combined_log # enables apache-like combined log format
7 Summary: SQUID Internet Object Cache
8 Summary(es.UTF-8): proxy/cache para WWW/FTP/gopher
9 Summary(pl.UTF-8): Uniwersalny serwer proxy-cache
10 Summary(pt_BR.UTF-8): Cache Squid de objetos Internet
11 Summary(ru.UTF-8): Squid - кэш объектов Internet
12 Summary(uk.UTF-8): Squid - кеш об'єктів Internet
13 Summary(zh_CN.UTF-8): SQUID 高速缓冲代理服务器
19 Group: Networking/Daemons
20 Source0: http://www.squid-cache.org/Versions/v2/2.7/%{name}-%{version}.tar.bz2
21 # Source0-md5: 88ea575a67d35013ec786761d8a14f33
22 # http://www.squid-cache.org/Doc/FAQ/FAQ.tar.gz
23 Source1: %{name}-FAQ.tar.gz
24 # Source1-md5: cb9a955f8cda9cc166e086fccd412a43
26 Source3: %{name}.sysconfig
27 # http://squid-docs.sourceforge.net/latest/zip-files/book-full-html.zip
28 Source4: %{name}-book-full-html.zip
29 # Source4-md5: 4f3b6dab1de9cbb847df89d8b417378a
30 Source5: %{name}.conf.patch
31 Source6: %{name}.logrotate
33 # Bug fixes from Squid home page, please include URL
34 # lets have fun - there is no patches... yet:)
36 Patch0: %{name}-fhs.patch
37 Patch1: %{name}-location.patch
38 Patch2: %{name}-domainmatch.patch
39 Patch3: %{name}-libnsl_fixes.patch
40 Patch4: %{name}-newssl.patch
41 Patch5: %{name}-empty-referer.patch
42 Patch6: %{name}-2.5.STABLE4-apache-like-combined-log.patch
43 Patch7: %{name}-auth_on_acceleration.patch
44 Patch8: %{name}-ppc-m32.patch
45 URL: http://www.squid-cache.org/
46 BuildRequires: autoconf
47 BuildRequires: automake
48 BuildRequires: cyrus-sasl-devel >= 2.1.0
49 BuildRequires: db-devel
50 BuildRequires: openldap-devel >= 2.3.0
51 BuildRequires: openssl-devel >= 0.9.7d
52 BuildRequires: pam-devel
53 BuildRequires: perl-base
54 BuildRequires: rpmbuild(macros) >= 1.268
55 BuildRequires: sed >= 4.0
57 Requires(post): /bin/hostname
58 Requires(post): fileutils
59 Requires(post): findutils
61 Requires(post,preun): /sbin/chkconfig
62 Requires(postun): /usr/sbin/groupdel
63 Requires(postun): /usr/sbin/userdel
64 Requires(pre): /bin/id
65 Requires(pre): /usr/bin/getgid
66 Requires(pre): /usr/lib/rpm/user_group.sh
67 Requires(pre): /usr/sbin/groupadd
68 Requires(pre): /usr/sbin/useradd
69 Requires: rc-scripts >= 0.2.0
70 Requires: setup >= 2.4.6
71 # epoll enabled by default:
72 Requires: uname(release) >= 2.6
73 Provides: group(squid)
75 Conflicts: logrotate < 3.7-4
76 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
78 %define _libexecdir %{_libdir}/%{name}
79 %define _sysconfdir /etc/%{name}
80 %define _cgidir /home/services/httpd/cgi-bin
83 Squid is a high-performance proxy caching server for web clients,
84 supporting FTP, gopher, and HTTP data objects. Unlike traditional
85 caching software, Squid handles all requests in a single,
86 non-blocking, I/O-driven process. Squid keeps meta data and especially
87 hot objects cached in RAM, caches DNS lookups, supports non-blocking
88 DNS lookups, and implements negative caching of failed requests. If
89 you are tight on memory, check out the NOVM version of this package.
90 Squid supports SSL, extensive access controls, and full request
91 logging. By using the lightweight Internet Cache Protocol, Squid
92 caches can be arranged in a hierarchy or mesh for additional bandwidth
93 savings. Squid consists of a main server program squid, a Domain Name
94 System lookup program dnsserver, a program for retrieving FTP data
95 ftpget, and some management and client tools. When squid starts up, it
96 spawns a configurable number of dnsserver processes, each of which can
97 perform a single, blocking Domain Name System (DNS) lookup. This
98 reduces the amount of time the cache waits for DNS lookups. Squid is
99 derived from the ARPA-funded Harvest project.
101 %description -l es.UTF-8
102 Squid es un servidor proxy con caché de alto desempeño para clientes
103 web, soportando FTP, gopher y HTTP. Diferentemente de softwares
104 tradicionales de caché squid manipula todas las requisiciones en un
105 único proceso sin bloqueos, direccionado a E/S. Mantienen metadatos y
106 objetos frecuentemente pedidos en uno caché en memoria RAM. Hace caché
107 de resoluciones DNS, soporta resoluciones DNS sin bloqueo y implementa
108 un caché negativo de requisiciones que fallen. Si tiene poca memoria
109 da un vistazo en la versión NOVM de este paquete. También soporta SSL,
110 controles extensivos de acceso y registro (log) completo de las
111 requisiciones. Usando el ligero Protocolo de Caches Internet (ICP)
112 puede ser usado en una jerarquía de servidores para mayor ahorro de la
113 banda de comunicación. Está compuesto del programa squid (servidor
114 principal), del programa dnsserver (para resolución DNS), del programa
115 ftpget (para transmisiones ftp) y otras herramientas clientes y para
116 administración. Cuando squid se inicia, dispara un número configurable
117 de procesos dnsserver, cada uno pudiendo ejecutar solamente una
118 resolución DNS con poder de bloquear. Esto reduce el tiempo que el
119 caché espera por resoluciones DNS. Fue derivado del proyecto Harvest,
120 financiado por la ARPA.
122 %description -l pl.UTF-8
123 Squid jest wysoce wydajnym serwerem proxy-cache dla przeglądarek WWW,
124 klientów FTP i gopher. Squid przechowuje najczęściej pobierane dane w
125 pamięci RAM i zapamiętuje odwołania do DNS. Squid oferuje wsparcie dla
126 SSL, rozbudowaną kontrolę dostępu oraz pełne rejestrowanie pobieranych
127 danych. Dzięki użyciu protokołu ICP (Internet Cache Protocol), serwer
128 squid można łączyć w hierarchię, zwiększając ich efektywność. Pakiet
129 squid obejmuje: główny program serwera squid, program dostarczający
130 informacji z DNS dnsserver, program odbierający dane FTP ftpget, oraz
131 pomocnicze programy do zarządzania. Squid wywodzi się ze
132 sponsorowanego przez ARPA projektu Harvest.
134 %description -l pt_BR.UTF-8
135 O Squid é um servidor proxy com cache de alta performance para
136 clientes web, suportando FTP, gopher e HTTP. Diferentemente de
137 softwares tradicionais de cache o squid manipula todas as requisições
138 em um único processo sem bloqueios, direcionado a E/S.
140 Mantém meta dados e objetos freqüentemente pedidos num cache em
141 memória RAM. Faz cache de resoluções DNS, suporta resoluções DNS sem
142 bloqueio e implementa um cache negativo de requisições que falharem.
143 Se você tem pouca memória dê uma olhada na versão NOVM deste pacote.
145 Também suporta SSL, controles extensivos de acesso e registro (log)
146 completo das requisições. Usando o leve Protocolo de Caches Internet
147 (ICP) ele pode ser usado em uma hierarquia de servidores para maior
148 economia de banda de comunicação.
150 Ele consiste do programa squid (servidor principal), do programa
151 dnsserver (para resolução DNS), do programa ftpget (para transmissões
152 ftp) e outras ferramentas clientes e para gerenciamento. Quando o
153 squid é inicializado ele dispara um número configurável de processos
154 dnsserver, cada um podendo executar somente uma resolução DNS
155 bloqueante. Isto reduz o tempo que o cache espera por resoluções DNS.
157 Foi derivado do projeto Harvest, financiado pela ARPA.
159 %description -l ru.UTF-8
160 Squid - это высокопроизводительный кэширующий прокси-сервер для
161 клиентов web, поддерживающий объекты данных типа FTP, gopher и HTTP. В
162 отличие от традиционных кэширующих программ, Squid обрабатывает все
163 запросы при помощи одного неблокирующегося, управляемого
164 вводом-выводом процесса.
166 Этот пакет имеет встроенную поддержку базы данных сетевых ICMP-проб
169 %description -l uk.UTF-8
170 Squid - це кешуючий проксі-сервер для web-клієнтів, що підтримує
171 об'єкти даних типу FTP, gopher та HTTP. На відміну від традиційних
172 кешуючих програм, Squid обробляє всі запити за допомогою одного
173 неблокуючого, керованого вводом-виводом процесу.
175 Цей пакет має вбудовану підтримку бази даних мережевих ICMP-проб
179 Summary: CGI script for Squid management
180 Summary(pl.UTF-8): Skrypt CGI do zarządzania Squidem przez WWW
181 Group: Networking/Admin
182 Requires: %{name} = %{epoch}:%{version}-%{release}
185 %description cachemgr
186 Cachemgr.cgi is a CGI script that allows administrator to chceck
187 various informations about Squid via WWW.
189 %description cachemgr -l pl.UTF-8
190 Cachemgr.cgi jest skryptem CGI, który pozwala administratorowi
191 zapoznać się z informacjami o pracy Squida poprzez WWW.
194 Summary: LDAP authentication helper for Squid
195 Summary(pl.UTF-8): Obsługa uwierzytelniania LDAP dla squida
196 Group: Networking/Admin
197 Requires: %{name} = %{epoch}:%{version}-%{release}
199 %description ldap_auth
200 This Squid helper allows authentication against LDAP directories using
201 the "simple authentication" (plain-text).
203 %description ldap_auth -l pl.UTF-8
204 Pakiet ten pozwala na uwierzytelnianie przez LDAP za pomocą prostego
205 uwierzytelniania (otwartym tekstem).
208 Summary: PAM authentication helper for Squid
209 Summary(pl.UTF-8): Obsługa uwierzytelniania PAM dla squida
210 Group: Networking/Admin
211 Requires: %{name} = %{epoch}:%{version}-%{release}
212 Requires: pam >= 0.77.3
214 %description pam_auth
215 This program authenticates users against a PAM configured
216 authentication service "squid". This allows you to authenticate Squid
217 users to any authentication source for which you have a PAM module.
219 %description pam_auth -l pl.UTF-8
220 Program ten pozwala na uwierzytelnianie użytkowników squida w dowolnym
221 źródle posiadającym moduł PAM.
224 Summary: SMB authentication helper for Squid
225 Summary(pl.UTF-8): Obsługa uwierzytelniania SMB dla squida
226 Group: Networking/Admin
227 Requires: %{name} = %{epoch}:%{version}-%{release}
229 %description smb_auth
230 This is a proxy authentication module. With smb_auth you can
231 authenticate proxy users against an SMB server like Windows NT or
234 %description smb_auth -l pl.UTF-8
235 To jest moduł uwierzytelniania proxy. Przy pomocy smb_auth można
236 uwierzytelniać użytkowników proxy na serwerach SMB, jak Windows NT czy
240 Summary: MSNT domain authentication helper for Squid
241 Summary(pl.UTF-8): Obsługa uwierzytelniania w domenie MSNT dla squida
242 Group: Networking/Admin
243 Requires: %{name} = %{epoch}:%{version}-%{release}
245 %description msnt_auth
246 This is an authentication module for the Squid proxy server to
247 authenticate users on an NT domain.
249 %description msnt_auth -l pl.UTF-8
250 Jest to moduł uwierzytelniania proxy, który pozwala na
251 uwierzytelnianie użytkowników proxy w domenie NT.
254 Summary: YP authentication helper for Squid
255 Summary(pl.UTF-8): Obsługa uwierzytelniania YP dla squida
256 Group: Networking/Admin
257 Requires: %{name} = %{epoch}:%{version}-%{release}
260 This is an authentication module for the Squid proxy server to
261 authenticate users on YP.
263 %description yp_auth -l pl.UTF-8
264 Jest to moduł uwierzytelniania proxy, który pozwala na
265 uwierzytelnianie użytkowników proxy poprzez YP.
268 Summary: NCSA httpd style authentication helper for Squid
269 Summary(pl.UTF-8): Obsługa uwierzytelniania NCSA httpd dla squida
270 Group: Networking/Admin
271 Requires: %{name} = %{epoch}:%{version}-%{release}
273 %description ncsa_auth
274 This module uses a NCSA httpd style password file for authentication.
276 %description ncsa_auth -l pl.UTF-8
277 Moduł uwierzytelniania proxy używający pliku haseł jak w NCSA httpd.
280 Summary: SASL authentication helper for Squid
281 Summary(pl.UTF-8): Obsługa uwierzytelniania SASL dla squida
282 Group: Networking/Admin
283 Requires: %{name} = %{epoch}:%{version}-%{release}
285 %description sasl_auth
286 This is an authentication module for the Squid proxy server to
287 authenticate users via SASL.
289 %description sasl_auth -l pl.UTF-8
290 Jest to moduł uwierzytelniania proxy, który pozwala na
291 uwierzytelnianie użytkowników proxy poprzez SASL.
293 %package getpwname_auth
294 Summary: getpwname authentication helper for Squid
295 Summary(pl.UTF-8): Obsługa uwierzytelniania getpwname dla squida
296 Group: Networking/Admin
297 Requires: %{name} = %{epoch}:%{version}-%{release}
299 %description getpwname_auth
300 This is an authentication module for the Squid proxy server to
301 authenticate users using getpwname.
303 %description getpwname_auth -l pl.UTF-8
304 Jest to moduł uwierzytelniania proxy, który pozwala na
305 uwierzytelnianie użytkowników proxy poprzez getpwname.
308 Summary: passwd authentication helper for Squid
309 Summary(pl.UTF-8): Obsługa uwierzytelniania passwd dla squida
310 Group: Networking/Admin
311 Requires: %{name} = %{epoch}:%{version}-%{release}
313 %description passwd_auth
314 This is an authentication module for the Squid proxy server to
315 authenticate users with separate passwd file.
317 %description passwd_auth -l pl.UTF-8
318 Jest to moduł uwierzytelniania proxy, który pozwala na
319 uwierzytelnianie użytkowników proxy poprzez oddzielny plik passwd.
322 Summary: NTLM authentication helper for Squid
323 Summary(pl.UTF-8): Obsługa uwierzytelniania NTLM dla squida
324 Group: Networking/Admin
325 Requires: %{name} = %{epoch}:%{version}-%{release}
327 %description ntlm_auth
328 This is an authentication module for the Squid proxy server to
329 authenticate users on NTLM.
331 %description ntlm_auth -l pl.UTF-8
332 Jest to moduł uwierzytelniania proxy, który pozwala na
333 uwierzytelnianie użytkowników proxy poprzez NTLM.
335 %package digest_ldap_auth
336 Summary: LDAP authentication helper for Squid
337 Summary(pl.UTF-8): Obsługa uwierzytelniania LDAP dla squida
338 Group: Networking/Admin
339 Requires: %{name} = %{epoch}:%{version}-%{release}
341 %description digest_ldap_auth
342 This is an authentication module for the Squid proxy server to
343 authenticate users on LDAP.
345 %description digest_ldap_auth -l pl.UTF-8
346 Jest to moduł uwierzytelniania proxy, który pozwala na
347 uwierzytelnianie użytkowników proxy poprzez LDAP.
350 Summary: IP external ACL helper for Squid
351 Summary(pl.UTF-8): Wsparcie kontroli dostępu przez IP dla squida
352 Group: Networking/Admin
353 Requires: %{name} = %{epoch}:%{version}-%{release}
356 This is an external ACL module for the Squid proxy server to limit
357 access for users based on IP address.
359 %description ip_acl -l pl.UTF-8
360 Jest to moduł kontroli dostępu (ACL) do proxy, który pozwala na
361 ograniczenie dostępu użytkowników proxy na podstawie ich adresu IP.
364 Summary: LDAP group external ACL helper for Squid
365 Summary(pl.UTF-8): Wsparcie kontroli dostępu przez grupy LDAP dla squida
366 Group: Networking/Admin
367 Requires: %{name} = %{epoch}:%{version}-%{release}
369 %description ldap_acl
370 This is an external ACL module for the Squid proxy server to limit
371 access for users based on LDAP group membership.
373 %description ldap_acl -l pl.UTF-8
374 Jest to moduł kontroli dostępu (ACL) do proxy, który pozwala na
375 ograniczenie dostępu użytkowników proxy na podstawie ich
376 przynależności do grup LDAP.
379 Summary: UNIX group external ACL helper for Squid
380 Summary(pl.UTF-8): Wsparcie kontroli dostępu przez grupy UNIX dla squida
381 Group: Networking/Admin
382 Requires: %{name} = %{epoch}:%{version}-%{release}
384 %description unix_acl
385 This is an external ACL module for the Squid proxy server to limit
386 access for users based on UNIX group membership.
388 %description unix_acl -l pl.UTF-8
389 Jest to moduł kontroli dostępu (ACL) do proxy, który pozwala na
390 ograniczenie dostępu użytkowników proxy na podstawie ich
391 przynależności do grup UNIX.
394 Summary: NT domain group external ACL helper for Squid
395 Summary(pl.UTF-8): Wsparcie kontroli dostępu przez grupy w domenie NT dla squida
396 Group: Networking/Admin
397 Requires: %{name} = %{epoch}:%{version}-%{release}
399 %description wbinfo_acl
400 This is an external ACL module for the Squid proxy server to limit
401 access for users based on NT domain group membership using wbinfo.
403 %description wbinfo_acl -l pl.UTF-8
404 Jest to moduł kontroli dostępu (ACL) do proxy, który pozwala na
405 ograniczenie dostępu użytkowników proxy na podstawie ich
406 przynależności do grup w domenie NT przy użyciu wbinfo.
409 Summary: Squid session tracking external acl group helper
410 Group: Networking/Admin
411 Requires: %{name} = %{epoch}:%{version}-%{release}
413 %description session_acl
414 This helper maintains a concept of sessions by monitoring requests and
415 timing out sessions if no requests have been seen for the idle timeout
419 Summary: Perl scripts for Squid
420 Summary(pl.UTF-8): Skrypty perlowe dla Squida
421 Group: Networking/Admin
422 Requires: %{name} = %{epoch}:%{version}-%{release}
425 This package contains Perl scripts and contributed programs for Squid.
427 %description scripts -l pl.UTF-8
428 Ten pakiet zawiera skrypty perlowe i dodatkowe programy dla Squida.
432 # Bug fixes from Squid home page:
441 %{?with_combined_log:%patch6 -p1}
447 %{__sed} -i -e '1s#!.*bin/perl#!%{__perl}#' {contrib,scripts,helpers/*/*}/*.pl
455 --datadir=%{_datadir}/squid \
456 --enable-storeio="aufs,coss,diskd,null,ufs" \
457 --enable-removal-policies="heap,lru" \
459 --enable-delay-pools \
460 --enable-useragent-log \
461 --enable-referer-log \
462 --enable-kill-parent-hack \
463 --enable-forward-log \
464 --enable-multicast-miss \
470 --enable-forw-via-db \
471 --enable-cache-digests \
472 --enable-err-language=English \
473 --enable-coss-aio-ops \
474 --enable-linux-netfilter \
475 --enable-large-cache-files \
476 --enable-auth="basic,digest,negotiate,ntlm" \
477 --enable-basic-auth-helpers="LDAP,MSNT,NCSA,PAM,SASL,SMB,YP,getpwnam,multi-domain-NTLM" \
478 --enable-digest-auth-helpers="ldap,password" \
479 --enable-external-acl-helpers="ip_user,ldap_group,session,unix_group,wbinfo_group" \
480 --enable-ntlm-auth-helpers="SMB,fakeauth,no_check" \
481 --enable-ntlm-fail-open \
482 --enable-x-accelerator-vary \
483 --enable-follow-x-forwarded-for \
484 --localstatedir=/var \
485 --sysconfdir=%{_sysconfdir} \
486 --with-auth-on-acceleration \
494 rm -rf $RPM_BUILD_ROOT
495 install -d $RPM_BUILD_ROOT%{_cgidir} \
496 $RPM_BUILD_ROOT/etc/{pam.d,rc.d/init.d,security,sysconfig,logrotate.d} \
497 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir},%{_libexecdir}/contrib} \
498 $RPM_BUILD_ROOT%{_mandir}/man8 \
499 $RPM_BUILD_ROOT%{_datadir}/squid \
500 $RPM_BUILD_ROOT/var/{cache,log{,/archive}}/squid
503 DESTDIR=$RPM_BUILD_ROOT
505 cp -a contrib/*.pl $RPM_BUILD_ROOT%{_libexecdir}/contrib
506 install scripts/*.pl $RPM_BUILD_ROOT%{_libexecdir}
508 install %{SOURCE7} $RPM_BUILD_ROOT/etc/pam.d/squid
509 touch $RPM_BUILD_ROOT/etc/security/blacklist.squid
511 mv -f $RPM_BUILD_ROOT%{_libdir}/squid/cachemgr.cgi $RPM_BUILD_ROOT%{_cgidir}
513 cd $RPM_BUILD_ROOT/etc/squid
514 cp -f squid.conf{,.default}
515 %{__patch} -p0 < %{SOURCE5}
519 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/squid
520 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/squid
521 install %{SOURCE6} $RPM_BUILD_ROOT/etc/logrotate.d/squid
523 touch $RPM_BUILD_ROOT/var/log/squid/{access,cache,store}.log
525 # These two files start squid. They are replaced by /etc/rc.d/init.d script.
526 rm -f $RPM_BUILD_ROOT%{_bindir}/R*
528 # cp, to have re-entrant install
531 # dunno why, but manual is not installed
532 mv docs/squid.8 $RPM_BUILD_ROOT%{_mandir}/man8
533 # We don't want Makefiles as docs...
536 # We don't like message: rpm found unpackaged files ...
537 rm -f $RPM_BUILD_ROOT/etc/squid/msntauth.conf.default \
538 $RPM_BUILD_ROOT/etc/squid/squid.conf.orig
540 > $RPM_BUILD_ROOT/var/cache/squid/netdb_state
541 > $RPM_BUILD_ROOT/var/cache/squid/swap.state
542 > $RPM_BUILD_ROOT/var/cache/squid/swap.state.clean
543 > $RPM_BUILD_ROOT/var/cache/squid/swap.state.last-clean
546 rm -rf $RPM_BUILD_ROOT
549 %groupadd -g 91 squid
550 %useradd -o -u 91 -s /bin/false -g squid -c "SQUID http caching daemon" -d /var/cache/squid squid
551 %addusertogroup stats squid
553 [ -L %{_datadir}/squid/errors ] && rm -f %{_datadir}/squid/errors || :
556 if ! grep -q "^visible_hostname" /etc/squid/squid.conf; then
557 hostname=`/bin/hostname -f 2>/dev/null` || hostname='localhost'
558 echo visible_hostname $hostname >> /etc/squid/squid.conf
561 /sbin/chkconfig --add squid
562 if [ "$1" = "1" ]; then
563 /sbin/service squid init >&2
565 %service squid restart
568 if [ "$1" = "0" ]; then
569 /sbin/chkconfig --del squid
572 # nuke squid cache if uninstalling
573 rm -rf /var/cache/squid/??
577 if [ "$1" = "0" ]; then
582 %triggerpostun -- squid < 7:2.5.STABLE7-5
583 %addusertogroup stats squid
586 %defattr(644,root,root,755)
587 %doc CONTRIBUTORS COPYRIGHT CREDITS README ChangeLog QUICKSTART RELEASENOTES.html SPONSORS
588 %doc docs/* src/mib.txt FAQ*.html book-full.html
589 %attr(755,root,root) %{_bindir}/squidclient
590 %attr(755,root,root) %{_bindir}/cossdump
591 %attr(755,root,root) %{_libexecdir}/diskd-daemon
592 %attr(755,root,root) %{_libexecdir}/fakeauth_auth
593 %attr(755,root,root) %{_libexecdir}/logfile-daemon
594 # YES, it has to be suid root, it sends ICMP packets.
595 %attr(4754,root,squid) %{_libexecdir}/pinger
596 %attr(755,root,root) %{_libexecdir}/unlinkd
597 %attr(755,root,root) %{_sbindir}/*
601 %attr(754,root,root) /etc/rc.d/init.d/squid
602 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/squid
603 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/squid
604 %attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/squid.conf
605 %attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mime.conf
606 %attr(640,root,root) %{_sysconfdir}/mime.conf.default
607 %attr(640,root,root) %{_sysconfdir}/squid.conf.default
609 %dir %{_datadir}/squid
610 %dir %{_datadir}/squid/errors
611 %{_datadir}/squid/icons
612 %{_datadir}/squid/mib.txt
613 %lang(am) %{_datadir}/squid/errors/Armenian
614 %lang(az) %{_datadir}/squid/errors/Azerbaijani
615 %lang(bg) %{_datadir}/squid/errors/Bulgarian
616 %lang(ca) %{_datadir}/squid/errors/Catalan
617 %lang(cs) %{_datadir}/squid/errors/Czech
618 %lang(da) %{_datadir}/squid/errors/Danish
619 %lang(nl) %{_datadir}/squid/errors/Dutch
620 %{_datadir}/squid/errors/English
621 %lang(et) %{_datadir}/squid/errors/Estonian
622 %lang(fi) %{_datadir}/squid/errors/Finnish
623 %lang(fr) %{_datadir}/squid/errors/French
624 %lang(de) %{_datadir}/squid/errors/German
625 %lang(el) %{_datadir}/squid/errors/Greek
626 %lang(he) %{_datadir}/squid/errors/Hebrew
627 %lang(hu) %{_datadir}/squid/errors/Hungarian
628 %lang(it) %{_datadir}/squid/errors/Italian
629 %lang(ja) %{_datadir}/squid/errors/Japanese
630 %lang(ko) %{_datadir}/squid/errors/Korean
631 %lang(lt) %{_datadir}/squid/errors/Lithuanian
632 %lang(pl) %{_datadir}/squid/errors/Polish
633 %lang(pt) %{_datadir}/squid/errors/Portuguese
634 %lang(ro) %{_datadir}/squid/errors/Romanian
635 %lang(ru) %{_datadir}/squid/errors/Russian-1251
636 %lang(ru) %{_datadir}/squid/errors/Russian-koi8-r
637 %lang(zh_CN) %{_datadir}/squid/errors/Simplify_Chinese
638 %lang(sk) %{_datadir}/squid/errors/Slovak
639 %lang(es) %{_datadir}/squid/errors/Spanish
640 %lang(sr) %{_datadir}/squid/errors/Serbian
641 %lang(sv) %{_datadir}/squid/errors/Swedish
642 %lang(zh_TW) %{_datadir}/squid/errors/Traditional_Chinese
643 %lang(tr) %{_datadir}/squid/errors/Turkish
644 %lang(uk) %{_datadir}/squid/errors/Ukrainian-1251
645 %lang(uk) %{_datadir}/squid/errors/Ukrainian-koi8-u
646 %lang(uk) %{_datadir}/squid/errors/Ukrainian-utf8
650 %attr(770,root,squid) %dir /var/log/archive/squid
651 %attr(770,root,squid) %dir /var/log/squid
652 %attr(660,root,squid) %ghost /var/log/squid/*
654 %attr(770,root,squid) %dir /var/cache/squid
655 %ghost /var/cache/squid/netdb_state
656 %ghost /var/cache/squid/swap.state
657 %ghost /var/cache/squid/swap.state.clean
658 %ghost /var/cache/squid/swap.state.last-clean
659 %{_mandir}/man8/squid.8*
662 %defattr(644,root,root,755)
663 %attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cachemgr.conf
664 %attr(755,root,root) %{_cgidir}/*
665 %{_mandir}/man8/cachemgr.cgi.8*
668 %defattr(644,root,root,755)
669 %doc helpers/basic_auth/LDAP/README
670 %attr(755,root,root) %{_libexecdir}/%{name}_ldap_auth
671 %{_mandir}/man8/%{name}_ldap_auth.*
674 %defattr(644,root,root,755)
675 %doc helpers/basic_auth/PAM/pam_auth.c
676 %config(noreplace) /etc/pam.d/squid
677 %config(noreplace) /etc/security/blacklist.squid
678 %attr(755,root,root) %{_libexecdir}/pam_auth
679 %{_mandir}/man8/pam_auth.8*
682 %defattr(644,root,root,755)
683 %doc helpers/basic_auth/SMB/{README,ChangeLog,smb_auth.sh}
684 %doc helpers/basic_auth/multi-domain-NTLM/*
685 %attr(755,root,root) %{_libexecdir}/smb_auth*
688 %defattr(644,root,root,755)
689 %doc helpers/basic_auth/MSNT/README*
690 %attr(755,root,root) %{_libexecdir}/msnt_auth
691 %attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/msntauth.conf
694 %defattr(644,root,root,755)
695 %attr(755,root,root) %{_libexecdir}/yp_auth
698 %defattr(644,root,root,755)
699 %attr(755,root,root) %{_libexecdir}/ncsa_auth
700 %{_mandir}/man8/ncsa_auth.8*
703 %defattr(644,root,root,755)
704 %doc helpers/basic_auth/SASL/{README,squid_sasl*}
705 %attr(755,root,root) %{_libexecdir}/sasl_auth
707 %files getpwname_auth
708 %defattr(644,root,root,755)
709 %attr(755,root,root) %{_libexecdir}/getpwname_auth
712 %defattr(644,root,root,755)
713 %attr(755,root,root) %{_libexecdir}/digest_pw_auth
716 %defattr(644,root,root,755)
717 %doc helpers/ntlm_auth/no_check/{README*,no_check.pl}
718 %attr(755,root,root) %{_libexecdir}/ntlm_auth
720 %files digest_ldap_auth
721 %defattr(644,root,root,755)
722 %attr(755,root,root) %{_libexecdir}/digest_ldap_auth
725 %defattr(644,root,root,755)
726 %doc helpers/external_acl/ip_user/{README,example*}
727 %attr(755,root,root) %{_libexecdir}/ip_user_check
730 %defattr(644,root,root,755)
731 %attr(755,root,root) %{_libexecdir}/squid_ldap_group
732 %{_mandir}/man8/%{name}_ldap_group.*
735 %defattr(644,root,root,755)
736 %doc helpers/external_acl/unix_group/README
737 %attr(755,root,root) %{_libexecdir}/squid_unix_group
738 %{_mandir}/man8/%{name}_unix_group.*
741 %defattr(644,root,root,755)
742 %attr(755,root,root) %{_libexecdir}/wbinfo_group.pl
745 %defattr(644,root,root,755)
746 %attr(755,root,root) %{_libexecdir}/squid_session
747 %{_mandir}/man8/%{name}_session.8*
750 %defattr(644,root,root,755)
751 %attr(755,root,root) %{_libexecdir}/*.pl
752 %attr(755,root,root) %{_libexecdir}/contrib