2 # - use /usr/lib/cgi-bin instead of /home/services
3 # - test fd-config.patch (works in Fedora)
4 # - test new hit_miss_mark.patch (ZPH TOS)
5 # - ac-ppc fails: cc1: error: invalid option `32'
8 %bcond_with combined_log # enables apache-like combined log format
10 Summary: SQUID Internet Object Cache
11 Summary(es.UTF-8): proxy/cache para WWW/FTP/gopher
12 Summary(pl.UTF-8): Uniwersalny serwer proxy-cache
13 Summary(pt_BR.UTF-8): Cache Squid de objetos Internet
14 Summary(ru.UTF-8): Squid - кэш объектов Internet
15 Summary(uk.UTF-8): Squid - кеш об'єктів Internet
16 Summary(zh_CN.UTF-8): SQUID 高速缓冲代理服务器
22 Group: Networking/Daemons
23 Source0: http://www.squid-cache.org/Versions/v2/2.6/%{name}-%{version}.tar.bz2
24 # Source0-md5: eadb138d48320df8b99349121159c6bf
25 # http://www.squid-cache.org/Doc/FAQ/FAQ.tar.gz
26 Source1: %{name}-FAQ.tar.gz
27 # Source1-md5: cb9a955f8cda9cc166e086fccd412a43
29 Source3: %{name}.sysconfig
30 # http://squid-docs.sourceforge.net/latest/zip-files/book-full-html.zip
31 Source4: %{name}-book-full-html.zip
32 # Source4-md5: 4f3b6dab1de9cbb847df89d8b417378a
33 Source5: %{name}.conf.patch
34 Source6: %{name}.logrotate
36 # Bug fixes from Squid home page, please include URL
37 # lets have fun - there is no patches... yet :)
39 # http://www.it-academy.bg/zph/
40 Patch100: %{name}_hit_miss_mark.patch
41 Patch101: %{name}-fhs.patch
42 Patch102: %{name}-location.patch
43 Patch103: %{name}-domainmatch.patch
44 Patch104: %{name}-libnsl_fixes.patch
45 Patch106: %{name}-crash-on-ENOSPC.patch
46 Patch107: %{name}-newssl.patch
47 Patch109: %{name}-more_FD-new.patch
48 Patch110: %{name}-empty-referer.patch
49 Patch111: %{name}-align.patch
50 Patch112: %{name}-2.5.STABLE4-apache-like-combined-log.patch
51 Patch113: %{name}-auth_on_acceleration.patch
52 Patch114: %{name}-fd-config.patch
53 URL: http://www.squid-cache.org/
54 BuildRequires: autoconf
55 BuildRequires: automake
56 BuildRequires: cyrus-sasl-devel >= 2.1.0
57 BuildRequires: db-devel
58 BuildRequires: openldap-devel >= 2.3.0
59 BuildRequires: openssl-devel >= 0.9.7d
60 BuildRequires: pam-devel
61 BuildRequires: perl-base
62 BuildRequires: rpmbuild(macros) >= 1.268
63 BuildRequires: sed >= 4.0
65 Requires(post): /bin/hostname
66 Requires(post): fileutils
67 Requires(post): findutils
69 Requires(post,preun): /sbin/chkconfig
70 Requires(postun): /usr/sbin/groupdel
71 Requires(postun): /usr/sbin/userdel
72 Requires(pre): /bin/id
73 Requires(pre): /usr/bin/getgid
74 Requires(pre): /usr/lib/rpm/user_group.sh
75 Requires(pre): /usr/sbin/groupadd
76 Requires(pre): /usr/sbin/useradd
77 Requires: rc-scripts >= 0.2.0
78 Requires: setup >= 2.4.6
79 Provides: group(squid)
81 Conflicts: logrotate < 3.7-4
82 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
84 %define _libexecdir %{_libdir}/%{name}
85 %define _sysconfdir /etc/%{name}
86 %define _cgidir /home/services/httpd/cgi-bin
89 Squid is a high-performance proxy caching server for web clients,
90 supporting FTP, gopher, and HTTP data objects. Unlike traditional
91 caching software, Squid handles all requests in a single,
92 non-blocking, I/O-driven process. Squid keeps meta data and especially
93 hot objects cached in RAM, caches DNS lookups, supports non-blocking
94 DNS lookups, and implements negative caching of failed requests. If
95 you are tight on memory, check out the NOVM version of this package.
96 Squid supports SSL, extensive access controls, and full request
97 logging. By using the lightweight Internet Cache Protocol, Squid
98 caches can be arranged in a hierarchy or mesh for additional bandwidth
99 savings. Squid consists of a main server program squid, a Domain Name
100 System lookup program dnsserver, a program for retrieving FTP data
101 ftpget, and some management and client tools. When squid starts up, it
102 spawns a configurable number of dnsserver processes, each of which can
103 perform a single, blocking Domain Name System (DNS) lookup. This
104 reduces the amount of time the cache waits for DNS lookups. Squid is
105 derived from the ARPA-funded Harvest project.
107 %description -l es.UTF-8
108 Squid es un servidor proxy con caché de alto desempeño para clientes
109 web, soportando FTP, gopher y HTTP. Diferentemente de softwares
110 tradicionales de caché squid manipula todas las requisiciones en un
111 único proceso sin bloqueos, direccionado a E/S. Mantienen metadatos y
112 objetos frecuentemente pedidos en uno caché en memoria RAM. Hace caché
113 de resoluciones DNS, soporta resoluciones DNS sin bloqueo y implementa
114 un caché negativo de requisiciones que fallen. Si tiene poca memoria
115 da un vistazo en la versión NOVM de este paquete. También soporta SSL,
116 controles extensivos de acceso y registro (log) completo de las
117 requisiciones. Usando el ligero Protocolo de Caches Internet (ICP)
118 puede ser usado en una jerarquía de servidores para mayor ahorro de la
119 banda de comunicación. Está compuesto del programa squid (servidor
120 principal), del programa dnsserver (para resolución DNS), del programa
121 ftpget (para transmisiones ftp) y otras herramientas clientes y para
122 administración. Cuando squid se inicia, dispara un número configurable
123 de procesos dnsserver, cada uno pudiendo ejecutar solamente una
124 resolución DNS con poder de bloquear. Esto reduce el tiempo que el
125 caché espera por resoluciones DNS. Fue derivado del proyecto Harvest,
126 financiado por la ARPA.
128 %description -l pl.UTF-8
129 Squid jest wysoce wydajnym serwerem proxy-cache dla przeglądarek WWW,
130 klientów FTP i gopher. Squid przechowuje najczęściej pobierane dane w
131 pamięci RAM i zapamiętuje odwołania do DNS. Squid oferuje wsparcie dla
132 SSL, rozbudowaną kontrolę dostępu oraz pełne rejestrowanie pobieranych
133 danych. Dzięki użyciu protokołu ICP (Internet Cache Protocol), serwer
134 squid można łączyć w hierarchię, zwiększając ich efektywność. Pakiet
135 squid obejmuje: główny program serwera squid, program dostarczający
136 informacji z DNS dnsserver, program odbierający dane FTP ftpget, oraz
137 pomocnicze programy do zarządzania. Squid wywodzi się ze
138 sponsorowanego przez ARPA projektu Harvest.
140 %description -l pt_BR.UTF-8
141 O Squid é um servidor proxy com cache de alta performance para
142 clientes web, suportando FTP, gopher e HTTP. Diferentemente de
143 softwares tradicionais de cache o squid manipula todas as requisições
144 em um único processo sem bloqueios, direcionado a E/S.
146 Mantém meta dados e objetos freqüentemente pedidos num cache em
147 memória RAM. Faz cache de resoluções DNS, suporta resoluções DNS sem
148 bloqueio e implementa um cache negativo de requisições que falharem.
149 Se você tem pouca memória dê uma olhada na versão NOVM deste pacote.
151 Também suporta SSL, controles extensivos de acesso e registro (log)
152 completo das requisições. Usando o leve Protocolo de Caches Internet
153 (ICP) ele pode ser usado em uma hierarquia de servidores para maior
154 economia de banda de comunicação.
156 Ele consiste do programa squid (servidor principal), do programa
157 dnsserver (para resolução DNS), do programa ftpget (para transmissões
158 ftp) e outras ferramentas clientes e para gerenciamento. Quando o
159 squid é inicializado ele dispara um número configurável de processos
160 dnsserver, cada um podendo executar somente uma resolução DNS
161 bloqueante. Isto reduz o tempo que o cache espera por resoluções DNS.
163 Foi derivado do projeto Harvest, financiado pela ARPA.
165 %description -l ru.UTF-8
166 Squid - это высокопроизводительный кэширующий прокси-сервер для
167 клиентов web, поддерживающий объекты данных типа FTP, gopher и HTTP. В
168 отличие от традиционных кэширующих программ, Squid обрабатывает все
169 запросы при помощи одного неблокирующегося, управляемого
170 вводом-выводом процесса.
172 Этот пакет имеет встроенную поддержку базы данных сетевых ICMP-проб
175 %description -l uk.UTF-8
176 Squid - це кешуючий проксі-сервер для web-клієнтів, що підтримує
177 об'єкти даних типу FTP, gopher та HTTP. На відміну від традиційних
178 кешуючих програм, Squid обробляє всі запити за допомогою одного
179 неблокуючого, керованого вводом-виводом процесу.
181 Цей пакет має вбудовану підтримку бази даних мережевих ICMP-проб
185 Summary: CGI script for Squid management
186 Summary(pl.UTF-8): Skrypt CGI do zarządzania Squidem przez WWW
187 Group: Networking/Admin
188 Requires: %{name} = %{epoch}:%{version}-%{release}
191 %description cachemgr
192 Cachemgr.cgi is a CGI script that allows administrator to chceck
193 various informations about Squid via WWW.
195 %description cachemgr -l pl.UTF-8
196 Cachemgr.cgi jest skryptem CGI, który pozwala administratorowi
197 zapoznać się z informacjami o pracy Squida poprzez WWW.
200 Summary: LDAP authentication helper for Squid
201 Summary(pl.UTF-8): Obsługa uwierzytelniania LDAP dla squida
202 Group: Networking/Admin
203 Requires: %{name} = %{epoch}:%{version}-%{release}
205 %description ldap_auth
206 This Squid helper allows authentication against LDAP directories using
207 the "simple authentication" (plain-text).
209 %description ldap_auth -l pl.UTF-8
210 Pakiet ten pozwala na uwierzytelnianie przez LDAP za pomocą prostego
211 uwierzytelniania (otwartym tekstem).
214 Summary: PAM authentication helper for Squid
215 Summary(pl.UTF-8): Obsługa uwierzytelniania PAM dla squida
216 Group: Networking/Admin
217 Requires: %{name} = %{epoch}:%{version}-%{release}
218 Requires: pam >= 0.77.3
220 %description pam_auth
221 This program authenticates users against a PAM configured
222 authentication service "squid". This allows you to authenticate Squid
223 users to any authentication source for which you have a PAM module.
225 %description pam_auth -l pl.UTF-8
226 Program ten pozwala na uwierzytelnianie użytkowników squida w dowolnym
227 źródle posiadającym moduł PAM.
230 Summary: SMB authentication helper for Squid
231 Summary(pl.UTF-8): Obsługa uwierzytelniania SMB dla squida
232 Group: Networking/Admin
233 Requires: %{name} = %{epoch}:%{version}-%{release}
235 %description smb_auth
236 This is a proxy authentication module. With smb_auth you can
237 authenticate proxy users against an SMB server like Windows NT or
240 %description smb_auth -l pl.UTF-8
241 To jest moduł uwierzytelniania proxy. Przy pomocy smb_auth można
242 uwierzytelniać użytkowników proxy na serwerach SMB, jak Windows NT czy
246 Summary: MSNT domain authentication helper for Squid
247 Summary(pl.UTF-8): Obsługa uwierzytelniania w domenie MSNT dla squida
248 Group: Networking/Admin
249 Requires: %{name} = %{epoch}:%{version}-%{release}
251 %description msnt_auth
252 This is an authentication module for the Squid proxy server to
253 authenticate users on an NT domain.
255 %description msnt_auth -l pl.UTF-8
256 Jest to moduł uwierzytelniania proxy, który pozwala na
257 uwierzytelnianie użytkowników proxy w domenie NT.
260 Summary: YP authentication helper for Squid
261 Summary(pl.UTF-8): Obsługa uwierzytelniania YP dla squida
262 Group: Networking/Admin
263 Requires: %{name} = %{epoch}:%{version}-%{release}
266 This is an authentication module for the Squid proxy server to
267 authenticate users on YP.
269 %description yp_auth -l pl.UTF-8
270 Jest to moduł uwierzytelniania proxy, który pozwala na
271 uwierzytelnianie użytkowników proxy poprzez YP.
274 Summary: NCSA httpd style authentication helper for Squid
275 Summary(pl.UTF-8): Obsługa uwierzytelniania NCSA httpd dla squida
276 Group: Networking/Admin
277 Requires: %{name} = %{epoch}:%{version}-%{release}
279 %description ncsa_auth
280 This module uses a NCSA httpd style password file for authentication.
282 %description ncsa_auth -l pl.UTF-8
283 Moduł uwierzytelniania proxy używający pliku haseł jak w NCSA httpd.
286 Summary: SASL authentication helper for Squid
287 Summary(pl.UTF-8): Obsługa uwierzytelniania SASL dla squida
288 Group: Networking/Admin
289 Requires: %{name} = %{epoch}:%{version}-%{release}
291 %description sasl_auth
292 This is an authentication module for the Squid proxy server to
293 authenticate users via SASL.
295 %description sasl_auth -l pl.UTF-8
296 Jest to moduł uwierzytelniania proxy, który pozwala na
297 uwierzytelnianie użytkowników proxy poprzez SASL.
299 %package getpwname_auth
300 Summary: getpwname authentication helper for Squid
301 Summary(pl.UTF-8): Obsługa uwierzytelniania getpwname dla squida
302 Group: Networking/Admin
303 Requires: %{name} = %{epoch}:%{version}-%{release}
305 %description getpwname_auth
306 This is an authentication module for the Squid proxy server to
307 authenticate users using getpwname.
309 %description getpwname_auth -l pl.UTF-8
310 Jest to moduł uwierzytelniania proxy, który pozwala na
311 uwierzytelnianie użytkowników proxy poprzez getpwname.
314 Summary: passwd authentication helper for Squid
315 Summary(pl.UTF-8): Obsługa uwierzytelniania passwd dla squida
316 Group: Networking/Admin
317 Requires: %{name} = %{epoch}:%{version}-%{release}
319 %description passwd_auth
320 This is an authentication module for the Squid proxy server to
321 authenticate users with separate passwd file.
323 %description passwd_auth -l pl.UTF-8
324 Jest to moduł uwierzytelniania proxy, który pozwala na
325 uwierzytelnianie użytkowników proxy poprzez oddzielny plik passwd.
328 Summary: NTLM authentication helper for Squid
329 Summary(pl.UTF-8): Obsługa uwierzytelniania NTLM dla squida
330 Group: Networking/Admin
331 Requires: %{name} = %{epoch}:%{version}-%{release}
333 %description ntlm_auth
334 This is an authentication module for the Squid proxy server to
335 authenticate users on NTLM.
337 %description ntlm_auth -l pl.UTF-8
338 Jest to moduł uwierzytelniania proxy, który pozwala na
339 uwierzytelnianie użytkowników proxy poprzez NTLM.
341 %package digest_ldap_auth
342 Summary: LDAP authentication helper for Squid
343 Summary(pl.UTF-8): Obsługa uwierzytelniania LDAP dla squida
344 Group: Networking/Admin
345 Requires: %{name} = %{epoch}:%{version}-%{release}
347 %description digest_ldap_auth
348 This is an authentication module for the Squid proxy server to
349 authenticate users on LDAP.
351 %description digest_ldap_auth -l pl.UTF-8
352 Jest to moduł uwierzytelniania proxy, który pozwala na
353 uwierzytelnianie użytkowników proxy poprzez LDAP.
356 Summary: IP external ACL helper for Squid
357 Summary(pl.UTF-8): Wsparcie kontroli dostępu przez IP dla squida
358 Group: Networking/Admin
359 Requires: %{name} = %{epoch}:%{version}-%{release}
362 This is an external ACL module for the Squid proxy server to limit
363 access for users based on IP address.
365 %description ip_acl -l pl.UTF-8
366 Jest to moduł kontroli dostępu (ACL) do proxy, który pozwala na
367 ograniczenie dostępu użytkowników proxy na podstawie ich adresu IP.
370 Summary: LDAP group external ACL helper for Squid
371 Summary(pl.UTF-8): Wsparcie kontroli dostępu przez grupy LDAP dla squida
372 Group: Networking/Admin
373 Requires: %{name} = %{epoch}:%{version}-%{release}
375 %description ldap_acl
376 This is an external ACL module for the Squid proxy server to limit
377 access for users based on LDAP group membership.
379 %description ldap_acl -l pl.UTF-8
380 Jest to moduł kontroli dostępu (ACL) do proxy, który pozwala na
381 ograniczenie dostępu użytkowników proxy na podstawie ich
382 przynależności do grup LDAP.
385 Summary: UNIX group external ACL helper for Squid
386 Summary(pl.UTF-8): Wsparcie kontroli dostępu przez grupy UNIX dla squida
387 Group: Networking/Admin
388 Requires: %{name} = %{epoch}:%{version}-%{release}
390 %description unix_acl
391 This is an external ACL module for the Squid proxy server to limit
392 access for users based on UNIX group membership.
394 %description unix_acl -l pl.UTF-8
395 Jest to moduł kontroli dostępu (ACL) do proxy, który pozwala na
396 ograniczenie dostępu użytkowników proxy na podstawie ich
397 przynależności do grup UNIX.
400 Summary: NT domain group external ACL helper for Squid
401 Summary(pl.UTF-8): Wsparcie kontroli dostępu przez grupy w domenie NT dla squida
402 Group: Networking/Admin
403 Requires: %{name} = %{epoch}:%{version}-%{release}
405 %description wbinfo_acl
406 This is an external ACL module for the Squid proxy server to limit
407 access for users based on NT domain group membership using wbinfo.
409 %description wbinfo_acl -l pl.UTF-8
410 Jest to moduł kontroli dostępu (ACL) do proxy, który pozwala na
411 ograniczenie dostępu użytkowników proxy na podstawie ich
412 przynależności do grup w domenie NT przy użyciu wbinfo.
415 Summary: Squid session tracking external acl group helper
416 Group: Networking/Admin
417 Requires: %{name} = %{epoch}:%{version}-%{release}
419 %description session_acl
420 This helper maintains a concept of sessions by monitoring requests and
421 timing out sessions if no requests have been seen for the idle timeout
425 Summary: Perl scripts for Squid
426 Summary(pl.UTF-8): Skrypty perlowe dla Squida
427 Group: Networking/Admin
428 Requires: %{name} = %{epoch}:%{version}-%{release}
431 This package contains Perl scripts and contributed programs for Squid.
433 %description scripts -l pl.UTF-8
434 Ten pakiet zawiera skrypty perlowe i dodatkowe programy dla Squida.
438 # Bug fixes from Squid home page:
451 %{?with_combined_log:%patch112 -p1}
455 %{__sed} -i -e '1s#!.*bin/perl#!%{__perl}#' {contrib,scripts,helpers/*/*}/*.pl
463 --datadir=%{_datadir}/squid \
464 --enable-storeio="aufs,coss,diskd,null,ufs" \
465 --enable-removal-policies="heap,lru" \
467 --enable-delay-pools \
468 --enable-useragent-log \
469 --enable-referer-log \
470 --enable-kill-parent-hack \
471 --enable-forward-log \
472 --enable-multicast-miss \
477 --enable-forw-via-db \
478 --enable-cache-digests \
479 --enable-err-language=English \
480 --enable-coss-aio-ops \
481 --enable-linux-netfilter \
482 --enable-large-cache-files \
483 --enable-auth="basic,digest,negotiate,ntlm" \
484 --enable-basic-auth-helpers="LDAP,MSNT,NCSA,PAM,SASL,SMB,YP,getpwnam,multi-domain-NTLM" \
485 --enable-digest-auth-helpers="ldap,password" \
486 --enable-external-acl-helpers="ip_user,ldap_group,session,unix_group,wbinfo_group" \
487 --enable-ntlm-auth-helpers="SMB,fakeauth,no_check" \
488 --enable-ntlm-fail-open \
489 --enable-x-accelerator-vary \
490 --enable-follow-x-forwarded-for \
491 --localstatedir=/var \
492 --sysconfdir=%{_sysconfdir} \
493 --with-auth-on-acceleration \
502 rm -rf $RPM_BUILD_ROOT
503 install -d $RPM_BUILD_ROOT%{_cgidir} \
504 $RPM_BUILD_ROOT/etc/{pam.d,rc.d/init.d,security,sysconfig,logrotate.d} \
505 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir},%{_libexecdir}/contrib} \
506 $RPM_BUILD_ROOT%{_mandir}/man8 \
507 $RPM_BUILD_ROOT%{_datadir}/squid \
508 $RPM_BUILD_ROOT/var/{cache,log{,/archive}}/squid
511 DESTDIR=$RPM_BUILD_ROOT
513 cp -a contrib/*.pl $RPM_BUILD_ROOT%{_libexecdir}/contrib
514 install scripts/*.pl $RPM_BUILD_ROOT%{_libexecdir}
516 install %{SOURCE7} $RPM_BUILD_ROOT/etc/pam.d/squid
517 touch $RPM_BUILD_ROOT/etc/security/blacklist.squid
519 mv -f $RPM_BUILD_ROOT%{_libdir}/squid/cachemgr.cgi $RPM_BUILD_ROOT%{_cgidir}
521 cd $RPM_BUILD_ROOT/etc/squid
522 cp -f squid.conf{,.default}
523 patch -p0 < %{SOURCE5}
526 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/squid
527 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/squid
528 install %{SOURCE6} $RPM_BUILD_ROOT/etc/logrotate.d/squid
530 touch $RPM_BUILD_ROOT/var/log/squid/{access,cache,store}.log
532 # These two files start squid. They are replaced by /etc/rc.d/init.d script.
533 rm -f $RPM_BUILD_ROOT%{_bindir}/R*
535 # cp, to have re-entrant install
538 # dunno why, but manual is not installed
539 mv docs/squid.8 $RPM_BUILD_ROOT%{_mandir}/man8
540 # We don't want Makefiles as docs...
543 # We don't like message: rpm found unpackaged files ...
544 rm -f $RPM_BUILD_ROOT/etc/squid/msntauth.conf.default \
545 $RPM_BUILD_ROOT/etc/squid/squid.conf.orig
547 > $RPM_BUILD_ROOT/var/cache/squid/netdb_state
548 > $RPM_BUILD_ROOT/var/cache/squid/swap.state
549 > $RPM_BUILD_ROOT/var/cache/squid/swap.state.clean
550 > $RPM_BUILD_ROOT/var/cache/squid/swap.state.last-clean
553 rm -rf $RPM_BUILD_ROOT
556 %groupadd -g 91 squid
557 %useradd -o -u 91 -s /bin/false -g squid -c "SQUID http caching daemon" -d /var/cache/squid squid
558 %addusertogroup stats squid
560 [ -L %{_datadir}/squid/errors ] && rm -f %{_datadir}/squid/errors || :
563 if ! grep -q "^visible_hostname" /etc/squid/squid.conf; then
564 hostname=`/bin/hostname -f 2>/dev/null` || hostname='localhost'
565 echo visible_hostname $hostname >> /etc/squid/squid.conf
568 /sbin/chkconfig --add squid
569 if [ "$1" = "1" ]; then
570 /sbin/service squid init >&2
572 %service squid restart
575 if [ "$1" = "0" ]; then
576 /sbin/chkconfig --del squid
579 # nuke squid cache if uninstalling
580 rm -rf /var/cache/squid/??
584 if [ "$1" = "0" ]; then
589 %triggerpostun -- squid < 7:2.5.STABLE7-5
590 %addusertogroup stats squid
593 %defattr(644,root,root,755)
594 %doc CONTRIBUTORS COPYRIGHT CREDITS README ChangeLog QUICKSTART RELEASENOTES.html SPONSORS
595 %doc docs/* src/mib.txt FAQ*.html book-full.html
596 %attr(755,root,root) %{_bindir}/squidclient
597 %attr(755,root,root) %{_bindir}/cossdump
598 %attr(755,root,root) %{_libexecdir}/diskd-daemon
599 # YES, it has to be suid root, it sends ICMP packets.
600 %attr(4754,root,squid) %{_libexecdir}/pinger
601 %attr(755,root,root) %{_libexecdir}/unlinkd
602 %attr(755,root,root) %{_libexecdir}/fakeauth_auth
603 %attr(755,root,root) %{_sbindir}/*
605 %attr(755,root,root) %dir %{_sysconfdir}
607 %attr(754,root,root) /etc/rc.d/init.d/squid
608 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/squid
609 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/squid
610 %attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/squid.conf
611 %attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mime.conf
612 %attr(640,root,root) %{_sysconfdir}/mime.conf.default
613 %attr(640,root,root) %{_sysconfdir}/squid.conf.default
615 %dir %{_datadir}/squid
616 %dir %{_datadir}/squid/errors
617 %{_datadir}/squid/icons
618 %{_datadir}/squid/mib.txt
619 %lang(az) %{_datadir}/squid/errors/Azerbaijani
620 %lang(bg) %{_datadir}/squid/errors/Bulgarian
621 %lang(ca) %{_datadir}/squid/errors/Catalan
622 %lang(cs) %{_datadir}/squid/errors/Czech
623 %lang(da) %{_datadir}/squid/errors/Danish
624 %lang(nl) %{_datadir}/squid/errors/Dutch
625 %{_datadir}/squid/errors/English
626 %lang(et) %{_datadir}/squid/errors/Estonian
627 %lang(fi) %{_datadir}/squid/errors/Finnish
628 %lang(fr) %{_datadir}/squid/errors/French
629 %lang(de) %{_datadir}/squid/errors/German
630 %lang(el) %{_datadir}/squid/errors/Greek
631 %lang(he) %{_datadir}/squid/errors/Hebrew
632 %lang(hu) %{_datadir}/squid/errors/Hungarian
633 %lang(it) %{_datadir}/squid/errors/Italian
634 %lang(ja) %{_datadir}/squid/errors/Japanese
635 %lang(ko) %{_datadir}/squid/errors/Korean
636 %lang(lt) %{_datadir}/squid/errors/Lithuanian
637 %lang(pl) %{_datadir}/squid/errors/Polish
638 %lang(pt) %{_datadir}/squid/errors/Portuguese
639 %lang(ro) %{_datadir}/squid/errors/Romanian
640 %lang(ru) %{_datadir}/squid/errors/Russian-1251
641 %lang(ru) %{_datadir}/squid/errors/Russian-koi8-r
642 %lang(zh_CN) %{_datadir}/squid/errors/Simplify_Chinese
643 %lang(sk) %{_datadir}/squid/errors/Slovak
644 %lang(es) %{_datadir}/squid/errors/Spanish
645 %lang(sr) %{_datadir}/squid/errors/Serbian
646 %lang(sv) %{_datadir}/squid/errors/Swedish
647 %lang(zh_TW) %{_datadir}/squid/errors/Traditional_Chinese
648 %lang(tr) %{_datadir}/squid/errors/Turkish
650 %attr(755,root,root) %dir %{_libexecdir}
652 %attr(770,root,squid) %dir /var/log/archive/squid
653 %attr(770,root,squid) %dir /var/log/squid
654 %attr(660,root,squid) %ghost /var/log/squid/*
656 %attr(770,root,squid) %dir /var/cache/squid
657 %ghost /var/cache/squid/netdb_state
658 %ghost /var/cache/squid/swap.state
659 %ghost /var/cache/squid/swap.state.clean
660 %ghost /var/cache/squid/swap.state.last-clean
661 %{_mandir}/man8/squid.8*
664 %defattr(644,root,root,755)
665 %attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cachemgr.conf
666 %attr(755,root,root) %{_cgidir}/*
667 %{_mandir}/man8/cachemgr.cgi.8*
670 %defattr(644,root,root,755)
671 %doc helpers/basic_auth/LDAP/README
672 %attr(755,root,root) %{_libexecdir}/%{name}_ldap_auth
673 %{_mandir}/man8/%{name}_ldap_auth.*
676 %defattr(644,root,root,755)
677 %doc helpers/basic_auth/PAM/pam_auth.c
678 %config(noreplace) /etc/pam.d/squid
679 %config(noreplace) /etc/security/blacklist.squid
680 %attr(755,root,root) %{_libexecdir}/pam_auth
681 %{_mandir}/man8/pam_auth.8*
684 %defattr(644,root,root,755)
685 %doc helpers/basic_auth/SMB/{README,ChangeLog,smb_auth.sh}
686 %doc helpers/basic_auth/multi-domain-NTLM/*
687 %attr(755,root,root) %{_libexecdir}/smb_auth*
690 %defattr(644,root,root,755)
691 %doc helpers/basic_auth/MSNT/README*
692 %attr(755,root,root) %{_libexecdir}/msnt_auth
693 %attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/msntauth.conf
696 %defattr(644,root,root,755)
697 %attr(755,root,root) %{_libexecdir}/yp_auth
700 %defattr(644,root,root,755)
701 %attr(755,root,root) %{_libexecdir}/ncsa_auth
702 %{_mandir}/man8/ncsa_auth.8*
705 %defattr(644,root,root,755)
706 %doc helpers/basic_auth/SASL/{README,squid_sasl*}
707 %attr(755,root,root) %{_libexecdir}/sasl_auth
709 %files getpwname_auth
710 %defattr(644,root,root,755)
711 %attr(755,root,root) %{_libexecdir}/getpwname_auth
714 %defattr(644,root,root,755)
715 %attr(755,root,root) %{_libexecdir}/digest_pw_auth
718 %defattr(644,root,root,755)
719 %doc helpers/ntlm_auth/no_check/{README*,no_check.pl}
720 %attr(755,root,root) %{_libexecdir}/ntlm_auth
722 %files digest_ldap_auth
723 %defattr(644,root,root,755)
724 %attr(755,root,root) %{_libexecdir}/digest_ldap_auth
727 %defattr(644,root,root,755)
728 %doc helpers/external_acl/ip_user/{README,example*}
729 %attr(755,root,root) %{_libexecdir}/ip_user_check
732 %defattr(644,root,root,755)
733 %attr(755,root,root) %{_libexecdir}/squid_ldap_group
734 %{_mandir}/man8/%{name}_ldap_group.*
737 %defattr(644,root,root,755)
738 %doc helpers/external_acl/unix_group/README
739 %attr(755,root,root) %{_libexecdir}/squid_unix_group
740 %{_mandir}/man8/%{name}_unix_group.*
743 %defattr(644,root,root,755)
744 %attr(755,root,root) %{_libexecdir}/wbinfo_group.pl
747 %defattr(644,root,root,755)
748 %attr(755,root,root) %{_libexecdir}/squid_session
749 %{_mandir}/man8/%{name}_session.8*
752 %defattr(644,root,root,755)
753 %attr(755,root,root) %{_libexecdir}/*.pl
754 %attr(755,root,root) %{_libexecdir}/contrib