]>
Commit | Line | Data |
---|---|---|
f78f51ea | 1 | # TODO |
078f5547 | 2 | # - REVIEW patches and configuration |
59113687 | 3 | # - ZPH TOS - |
4 | # For this to work correctly, you will need to patch your linux | |
5 | # kernel with the TOS preserving ZPH patch. | |
6 | # The kernel patch can be downloaded from http://zph.bratcheda.org | |
9f399e60 | 7 | # |
8 | # Conditional build: | |
632c8533 | 9 | %bcond_with combined_log # enables apache-like combined log format |
9f399e60 | 10 | # |
bbd3a6ea | 11 | Summary: SQUID Internet Object Cache |
42b7bd48 ER |
12 | Summary(es.UTF-8): proxy/cache para WWW/FTP/gopher |
13 | Summary(pl.UTF-8): Uniwersalny serwer proxy-cache | |
14 | Summary(pt_BR.UTF-8): Cache Squid de objetos Internet | |
15 | Summary(ru.UTF-8): Squid - кэш объектов Internet | |
16 | Summary(uk.UTF-8): Squid - кеш об'єктів Internet | |
17 | Summary(zh_CN.UTF-8): SQUID 高速缓冲代理服务器 | |
bbd3a6ea | 18 | Name: squid |
eb02836c | 19 | Version: 3.2.6 |
479770b1 | 20 | Release: 1 |
80d0d8a3 | 21 | Epoch: 7 |
c0986f46 | 22 | License: GPL v2 |
36fddb2a | 23 | Group: Networking/Daemons |
c054e824 | 24 | Source0: http://www.squid-cache.org/Versions/v3/3.2/%{name}-%{version}.tar.bz2 |
eb02836c | 25 | # Source0-md5: 87915ad83aebafc7af6871c770b23339 |
8fe7d590 CM |
26 | Source1: %{name}.init |
27 | Source2: %{name}.sysconfig | |
28 | Source3: http://squid-docs.sourceforge.net/latest/zip-files/book-full-html.zip | |
29 | # Source3-md5: 4f3b6dab1de9cbb847df89d8b417378a | |
30 | Source4: %{name}.conf.patch | |
31 | Source5: %{name}.logrotate | |
32 | Source6: %{name}.pamd | |
33 | Source7: %{name}-cachemgr-apache.conf | |
c054e824 | 34 | Source8: %{name}.tmpfiles |
d30eaf72 JR |
35 | Patch0: %{name}-fhs.patch |
36 | Patch1: %{name}-location.patch | |
37 | Patch2: %{name}-crash-on-ENOSPC.patch | |
d30eaf72 JR |
38 | Patch4: %{name}-2.5.STABLE4-apache-like-combined-log.patch |
39 | Patch5: %{name}-ppc-m32.patch | |
40 | Patch6: %{name}-cachemgr-webapp.patch | |
07a3710e JR |
41 | # http://www.squid-cache.org/mail-archive/squid-dev/201207/0099.html |
42 | # http://www.squid-cache.org/mail-archive/squid-dev/201207/att-0177/squidv3-vary-cache-1.patch | |
43 | Patch7: squidv3-vary-cache-1.patch | |
44 | # http://www.squid-cache.org/mail-archive/squid-dev/201207/att-0177/squidv3-vary-headers-shm-hack.patch | |
45 | Patch8: squidv3-vary-headers-shm-hack.patch | |
f0a5f35f | 46 | URL: http://www.squid-cache.org/ |
7488bd27 | 47 | BuildRequires: autoconf |
4b4ba0a1 | 48 | BuildRequires: automake |
eb1f5eda | 49 | BuildRequires: cppunit-devel |
0f1815c6 | 50 | BuildRequires: cyrus-sasl-devel >= 2.1.0 |
427f606c | 51 | BuildRequires: db-devel |
50e75865 JR |
52 | BuildRequires: expat-devel |
53 | BuildRequires: heimdal-devel | |
eb1f5eda | 54 | BuildRequires: libcap-devel >= 1:2.09 |
c054e824 | 55 | BuildRequires: libecap-devel >= 0.2.0 |
f89ac51f | 56 | BuildRequires: libltdl-devel |
c054e824 | 57 | BuildRequires: libnetfilter_conntrack-devel |
1f286e7a | 58 | BuildRequires: libstdc++-devel |
59 | BuildRequires: libtool | |
50e75865 | 60 | BuildRequires: libxml2-devel |
0542d8f7 | 61 | BuildRequires: openldap-devel >= 2.3.0 |
63e75b9c | 62 | BuildRequires: openssl-devel >= 0.9.7d |
29294f93 | 63 | BuildRequires: pam-devel |
7de7a1e8 | 64 | BuildRequires: perl-base |
2210ba0e | 65 | BuildRequires: rpmbuild(macros) >= 1.268 |
349b995c | 66 | BuildRequires: sed >= 4.0 |
115a61f1 | 67 | BuildRequires: unzip |
2a8ec884 | 68 | Requires(post): /bin/hostname |
b3a4b715 JB |
69 | Requires(post): fileutils |
70 | Requires(post): findutils | |
d6013865 | 71 | Requires(post): grep |
2a8ec884 | 72 | Requires(post,preun): /sbin/chkconfig |
b3a4b715 JB |
73 | Requires(postun): /usr/sbin/groupdel |
74 | Requires(postun): /usr/sbin/userdel | |
2a8ec884 ER |
75 | Requires(pre): /usr/bin/getgid |
76 | Requires(pre): /usr/lib/rpm/user_group.sh | |
77 | Requires(pre): /usr/sbin/groupadd | |
78 | Requires(pre): /usr/sbin/useradd | |
8fe7d590 | 79 | Requires(pre,triggerpostun): /bin/id |
bbc421a1 | 80 | Requires(pre,triggerpostun): /usr/sbin/usermod |
2a8ec884 ER |
81 | Requires: rc-scripts >= 0.2.0 |
82 | Requires: setup >= 2.4.6 | |
93090cc0 | 83 | Provides: group(squid) |
c93c3680 | 84 | # epoll enabled by default: |
d765f971 | 85 | Requires: uname(release) >= 2.6 |
be7848a3 JR |
86 | # TPROXYv4 (v2 disabled b/c it breaks v4) |
87 | #Suggests: uname(release) >= 2.6.28.3 | |
93090cc0 | 88 | Provides: user(squid) |
3f820e53 | 89 | Conflicts: logrotate < 3.8.0 |
f01c9d57 | 90 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
e1baf3c8 | 91 | |
102df24e ER |
92 | %define _webapps /etc/webapps |
93 | %define _webapp cachemgr | |
7480ed4d AF |
94 | %define _libexecdir %{_libdir}/%{name} |
95 | %define _sysconfdir /etc/%{name} | |
102df24e | 96 | %define _cgidir %{_prefix}/lib/cgi-bin/%{_webapp} |
7480ed4d | 97 | |
e1baf3c8 | 98 | %description |
36fddb2a | 99 | Squid is a high-performance proxy caching server for web clients, |
100 | supporting FTP, gopher, and HTTP data objects. Unlike traditional | |
101 | caching software, Squid handles all requests in a single, | |
102 | non-blocking, I/O-driven process. Squid keeps meta data and especially | |
103 | hot objects cached in RAM, caches DNS lookups, supports non-blocking | |
104 | DNS lookups, and implements negative caching of failed requests. If | |
105 | you are tight on memory, check out the NOVM version of this package. | |
106 | Squid supports SSL, extensive access controls, and full request | |
107 | logging. By using the lightweight Internet Cache Protocol, Squid | |
8f00d34a | 108 | caches can be arranged in a hierarchy or mesh for additional bandwidth |
36fddb2a | 109 | savings. Squid consists of a main server program squid, a Domain Name |
110 | System lookup program dnsserver, a program for retrieving FTP data | |
111 | ftpget, and some management and client tools. When squid starts up, it | |
112 | spawns a configurable number of dnsserver processes, each of which can | |
113 | perform a single, blocking Domain Name System (DNS) lookup. This | |
114 | reduces the amount of time the cache waits for DNS lookups. Squid is | |
115 | derived from the ARPA-funded Harvest project. | |
e1baf3c8 | 116 | |
1cf03309 JR |
117 | %description -l es.UTF-8 |
118 | Squid es un servidor proxy con caché de alto desempeño para clientes | |
4b571a16 | 119 | web, soportando FTP, gopher y HTTP. Diferentemente de softwares |
1cf03309 JR |
120 | tradicionales de caché squid manipula todas las requisiciones en un |
121 | único proceso sin bloqueos, direccionado a E/S. Mantienen metadatos y | |
122 | objetos frecuentemente pedidos en uno caché en memoria RAM. Hace caché | |
4b571a16 | 123 | de resoluciones DNS, soporta resoluciones DNS sin bloqueo y implementa |
1cf03309 JR |
124 | un caché negativo de requisiciones que fallen. Si tiene poca memoria |
125 | da un vistazo en la versión NOVM de este paquete. También soporta SSL, | |
4b571a16 | 126 | controles extensivos de acceso y registro (log) completo de las |
127 | requisiciones. Usando el ligero Protocolo de Caches Internet (ICP) | |
1cf03309 JR |
128 | puede ser usado en una jerarquía de servidores para mayor ahorro de la |
129 | banda de comunicación. Está compuesto del programa squid (servidor | |
130 | principal), del programa dnsserver (para resolución DNS), del programa | |
4b571a16 | 131 | ftpget (para transmisiones ftp) y otras herramientas clientes y para |
1cf03309 | 132 | administración. Cuando squid se inicia, dispara un número configurable |
4b571a16 | 133 | de procesos dnsserver, cada uno pudiendo ejecutar solamente una |
1cf03309 JR |
134 | resolución DNS con poder de bloquear. Esto reduce el tiempo que el |
135 | caché espera por resoluciones DNS. Fue derivado del proyecto Harvest, | |
4b571a16 | 136 | financiado por la ARPA. |
137 | ||
1cf03309 JR |
138 | %description -l pl.UTF-8 |
139 | Squid jest wysoce wydajnym serwerem proxy-cache dla przeglądarek WWW, | |
140 | klientów FTP i gopher. Squid przechowuje najczęściej pobierane dane w | |
141 | pamięci RAM i zapamiętuje odwołania do DNS. Squid oferuje wsparcie dla | |
142 | SSL, rozbudowaną kontrolę dostępu oraz pełne rejestrowanie pobieranych | |
143 | danych. Dzięki użyciu protokołu ICP (Internet Cache Protocol), serwer | |
144 | squid można łączyć w hierarchię, zwiększając ich efektywność. Pakiet | |
145 | squid obejmuje: główny program serwera squid, program dostarczający | |
146 | informacji z DNS dnsserver, program odbierający dane FTP ftpget, oraz | |
147 | pomocnicze programy do zarządzania. Squid wywodzi się ze | |
36fddb2a | 148 | sponsorowanego przez ARPA projektu Harvest. |
e1baf3c8 | 149 | |
1cf03309 JR |
150 | %description -l pt_BR.UTF-8 |
151 | O Squid é um servidor proxy com cache de alta performance para | |
4b571a16 | 152 | clientes web, suportando FTP, gopher e HTTP. Diferentemente de |
1cf03309 JR |
153 | softwares tradicionais de cache o squid manipula todas as requisições |
154 | em um único processo sem bloqueios, direcionado a E/S. | |
4b571a16 | 155 | |
1cf03309 JR |
156 | Mantém meta dados e objetos freqüentemente pedidos num cache em |
157 | memória RAM. Faz cache de resoluções DNS, suporta resoluções DNS sem | |
158 | bloqueio e implementa um cache negativo de requisições que falharem. | |
159 | Se você tem pouca memória dê uma olhada na versão NOVM deste pacote. | |
4b571a16 | 160 | |
1cf03309 JR |
161 | Também suporta SSL, controles extensivos de acesso e registro (log) |
162 | completo das requisições. Usando o leve Protocolo de Caches Internet | |
4b571a16 | 163 | (ICP) ele pode ser usado em uma hierarquia de servidores para maior |
1cf03309 | 164 | economia de banda de comunicação. |
4b571a16 | 165 | |
166 | Ele consiste do programa squid (servidor principal), do programa | |
1cf03309 | 167 | dnsserver (para resolução DNS), do programa ftpget (para transmissões |
4b571a16 | 168 | ftp) e outras ferramentas clientes e para gerenciamento. Quando o |
1cf03309 JR |
169 | squid é inicializado ele dispara um número configurável de processos |
170 | dnsserver, cada um podendo executar somente uma resolução DNS | |
171 | bloqueante. Isto reduz o tempo que o cache espera por resoluções DNS. | |
4b571a16 | 172 | |
173 | Foi derivado do projeto Harvest, financiado pela ARPA. | |
174 | ||
1cf03309 JR |
175 | %description -l ru.UTF-8 |
176 | Squid - это высокопроизводительный кэширующий прокси-сервер для | |
177 | клиентов web, поддерживающий объекты данных типа FTP, gopher и HTTP. В | |
178 | отличие от традиционных кэширующих программ, Squid обрабатывает все | |
179 | запросы при помощи одного неблокирующегося, управляемого | |
180 | вводом-выводом процесса. | |
735979dc | 181 | |
1cf03309 | 182 | Этот пакет имеет встроенную поддержку базы данных сетевых ICMP-проб |
735979dc | 183 | (Netdb). |
184 | ||
1cf03309 JR |
185 | %description -l uk.UTF-8 |
186 | Squid - це кешуючий проксі-сервер для web-клієнтів, що підтримує | |
187 | об'єкти даних типу FTP, gopher та HTTP. На відміну від традиційних | |
188 | кешуючих програм, Squid обробляє всі запити за допомогою одного | |
189 | неблокуючого, керованого вводом-виводом процесу. | |
735979dc | 190 | |
1cf03309 | 191 | Цей пакет має вбудовану підтримку бази даних мережевих ICMP-проб |
735979dc | 192 | (Netdb). |
193 | ||
29ca562c | 194 | %package cachemgr |
195 | Summary: CGI script for Squid management | |
42b7bd48 | 196 | Summary(pl.UTF-8): Skrypt CGI do zarządzania Squidem przez WWW |
102df24e ER |
197 | Group: Applications/WWW |
198 | # does not require squid locally | |
199 | Requires: group(http) | |
200 | Requires: webapps | |
79634bd7 | 201 | Requires: webserver |
102df24e ER |
202 | Requires: webserver(access) |
203 | Requires: webserver(alias) | |
204 | Requires: webserver(cgi) | |
29ca562c | 205 | |
206 | %description cachemgr | |
039b63e2 | 207 | Cachemgr.cgi is a CGI script that allows administrator to check |
36fddb2a | 208 | various informations about Squid via WWW. |
29ca562c | 209 | |
1cf03309 JR |
210 | %description cachemgr -l pl.UTF-8 |
211 | Cachemgr.cgi jest skryptem CGI, który pozwala administratorowi | |
212 | zapoznać się z informacjami o pracy Squida poprzez WWW. | |
29ca562c | 213 | |
c054e824 | 214 | %package kerberos_auth |
50e75865 JR |
215 | Summary: Authentication via the Negotiate RFC 4559 for proxies |
216 | Summary(pl.UTF-8): Uwierzytelnianie przez negocjację RFC 4559 dla serwerów proxy | |
217 | Group: Networking/Admin | |
b770c784 JR |
218 | Requires: %{name} = %{epoch}:%{version}-%{release} |
219 | Obsoletes: squid-kerb_auth < %{epoch}:%{version}-%{release} | |
220 | Provides: squid-kerb_auth = %{epoch}:%{version}-%{release} | |
50e75865 | 221 | |
c054e824 | 222 | %description kerberos_auth |
50e75865 | 223 | This squid helper is a reference implementation that supports |
8fe7d590 CM |
224 | authentication via the Negotiate RFC 4559 for proxies. It decodes RFC |
225 | 2478 SPNEGO GSS-API tokens from IE7 either through helper functions or | |
226 | via SPNEGO supporting Kerberos libraries and RFC 1964 Kerberos tokens | |
227 | from Firefox on Linux. | |
50e75865 | 228 | |
c054e824 | 229 | %description kerberos_auth -l pl.UTF-8 |
8fe7d590 CM |
230 | Pakiet ten jest implementacją uwierzytelniania przez negocjacji RFC |
231 | 4559 dla serwerów proxy. Dekoduje żetony SPNEGO GSS-API RFC 2478 z IE7 | |
232 | poprzez funkcje pomocnicze lub przez biblioteki Kerberos wspierające | |
233 | SPNEGO i żetony Kerberos RFC 1964 z Firefoksa w Linuksie. | |
50e75865 | 234 | |
ce1cc056 | 235 | %package ldap_auth |
8acaa3f5 | 236 | Summary: LDAP authentication helper for Squid |
42b7bd48 | 237 | Summary(pl.UTF-8): Obsługa uwierzytelniania LDAP dla squida |
ce1cc056 | 238 | Group: Networking/Admin |
b770c784 | 239 | Requires: %{name} = %{epoch}:%{version}-%{release} |
ce1cc056 | 240 | |
241 | %description ldap_auth | |
242 | This Squid helper allows authentication against LDAP directories using | |
243 | the "simple authentication" (plain-text). | |
244 | ||
1cf03309 JR |
245 | %description ldap_auth -l pl.UTF-8 |
246 | Pakiet ten pozwala na uwierzytelnianie przez LDAP za pomocą prostego | |
632c8533 | 247 | uwierzytelniania (otwartym tekstem). |
8acaa3f5 | 248 | |
ce1cc056 | 249 | %package pam_auth |
8acaa3f5 | 250 | Summary: PAM authentication helper for Squid |
42b7bd48 | 251 | Summary(pl.UTF-8): Obsługa uwierzytelniania PAM dla squida |
ce1cc056 | 252 | Group: Networking/Admin |
b770c784 | 253 | Requires: %{name} = %{epoch}:%{version}-%{release} |
891c08b7 | 254 | Requires: pam >= 0.77.3 |
ce1cc056 | 255 | |
256 | %description pam_auth | |
257 | This program authenticates users against a PAM configured | |
258 | authentication service "squid". This allows you to authenticate Squid | |
259 | users to any authentication source for which you have a PAM module. | |
260 | ||
1cf03309 JR |
261 | %description pam_auth -l pl.UTF-8 |
262 | Program ten pozwala na uwierzytelnianie użytkowników squida w dowolnym | |
263 | źródle posiadającym moduł PAM. | |
8acaa3f5 | 264 | |
ce1cc056 | 265 | %package smb_auth |
8acaa3f5 | 266 | Summary: SMB authentication helper for Squid |
42b7bd48 | 267 | Summary(pl.UTF-8): Obsługa uwierzytelniania SMB dla squida |
ce1cc056 | 268 | Group: Networking/Admin |
b770c784 | 269 | Requires: %{name} = %{epoch}:%{version}-%{release} |
ce1cc056 | 270 | |
271 | %description smb_auth | |
272 | This is a proxy authentication module. With smb_auth you can | |
273 | authenticate proxy users against an SMB server like Windows NT or | |
274 | Samba. | |
275 | ||
1cf03309 JR |
276 | %description smb_auth -l pl.UTF-8 |
277 | To jest moduł uwierzytelniania proxy. Przy pomocy smb_auth można | |
278 | uwierzytelniać użytkowników proxy na serwerach SMB, jak Windows NT czy | |
632c8533 | 279 | Samba. |
8acaa3f5 | 280 | |
7140e072 PG |
281 | %package msnt_auth |
282 | Summary: MSNT domain authentication helper for Squid | |
42b7bd48 | 283 | Summary(pl.UTF-8): Obsługa uwierzytelniania w domenie MSNT dla squida |
7140e072 | 284 | Group: Networking/Admin |
b770c784 | 285 | Requires: %{name} = %{epoch}:%{version}-%{release} |
7140e072 PG |
286 | |
287 | %description msnt_auth | |
5f1d3951 | 288 | This is an authentication module for the Squid proxy server to |
7140e072 PG |
289 | authenticate users on an NT domain. |
290 | ||
1cf03309 JR |
291 | %description msnt_auth -l pl.UTF-8 |
292 | Jest to moduł uwierzytelniania proxy, który pozwala na | |
293 | uwierzytelnianie użytkowników proxy w domenie NT. | |
7140e072 | 294 | |
c054e824 JR |
295 | %package nis_auth |
296 | Summary: NIS authentication helper for Squid | |
297 | Summary(pl.UTF-8): Obsługa uwierzytelniania NIS dla squida | |
7140e072 | 298 | Group: Networking/Admin |
b770c784 JR |
299 | Requires: %{name} = %{epoch}:%{version}-%{release} |
300 | Obsoletes: squid-yp_auth < %{epoch}:%{version}-%{release} | |
301 | Provides: squid-yp_auth = %{epoch}:%{version}-%{release} | |
7140e072 | 302 | |
c054e824 | 303 | %description nis_auth |
7140e072 | 304 | This is an authentication module for the Squid proxy server to |
c054e824 | 305 | authenticate users on NIS. |
7140e072 | 306 | |
c054e824 | 307 | %description nis_auth -l pl.UTF-8 |
1cf03309 | 308 | Jest to moduł uwierzytelniania proxy, który pozwala na |
c054e824 | 309 | uwierzytelnianie użytkowników proxy poprzez NIS. |
7140e072 | 310 | |
84c99453 JR |
311 | %package ncsa_auth |
312 | Summary: NCSA httpd style authentication helper for Squid | |
42b7bd48 | 313 | Summary(pl.UTF-8): Obsługa uwierzytelniania NCSA httpd dla squida |
84c99453 | 314 | Group: Networking/Admin |
b770c784 | 315 | Requires: %{name} = %{epoch}:%{version}-%{release} |
84c99453 JR |
316 | |
317 | %description ncsa_auth | |
318 | This module uses a NCSA httpd style password file for authentication. | |
319 | ||
1cf03309 JR |
320 | %description ncsa_auth -l pl.UTF-8 |
321 | Moduł uwierzytelniania proxy używający pliku haseł jak w NCSA httpd. | |
84c99453 JR |
322 | |
323 | %package sasl_auth | |
324 | Summary: SASL authentication helper for Squid | |
42b7bd48 | 325 | Summary(pl.UTF-8): Obsługa uwierzytelniania SASL dla squida |
84c99453 | 326 | Group: Networking/Admin |
b770c784 | 327 | Requires: %{name} = %{epoch}:%{version}-%{release} |
84c99453 JR |
328 | |
329 | %description sasl_auth | |
330 | This is an authentication module for the Squid proxy server to | |
331 | authenticate users via SASL. | |
332 | ||
1cf03309 JR |
333 | %description sasl_auth -l pl.UTF-8 |
334 | Jest to moduł uwierzytelniania proxy, który pozwala na | |
335 | uwierzytelnianie użytkowników proxy poprzez SASL. | |
84c99453 | 336 | |
84c99453 JR |
337 | %package getpwname_auth |
338 | Summary: getpwname authentication helper for Squid | |
42b7bd48 | 339 | Summary(pl.UTF-8): Obsługa uwierzytelniania getpwname dla squida |
84c99453 | 340 | Group: Networking/Admin |
b770c784 | 341 | Requires: %{name} = %{epoch}:%{version}-%{release} |
84c99453 JR |
342 | |
343 | %description getpwname_auth | |
344 | This is an authentication module for the Squid proxy server to | |
345 | authenticate users using getpwname. | |
346 | ||
1cf03309 JR |
347 | %description getpwname_auth -l pl.UTF-8 |
348 | Jest to moduł uwierzytelniania proxy, który pozwala na | |
349 | uwierzytelnianie użytkowników proxy poprzez getpwname. | |
84c99453 JR |
350 | |
351 | %package passwd_auth | |
352 | Summary: passwd authentication helper for Squid | |
42b7bd48 | 353 | Summary(pl.UTF-8): Obsługa uwierzytelniania passwd dla squida |
84c99453 | 354 | Group: Networking/Admin |
b770c784 | 355 | Requires: %{name} = %{epoch}:%{version}-%{release} |
84c99453 JR |
356 | |
357 | %description passwd_auth | |
358 | This is an authentication module for the Squid proxy server to | |
359 | authenticate users with separate passwd file. | |
360 | ||
1cf03309 JR |
361 | %description passwd_auth -l pl.UTF-8 |
362 | Jest to moduł uwierzytelniania proxy, który pozwala na | |
363 | uwierzytelnianie użytkowników proxy poprzez oddzielny plik passwd. | |
84c99453 JR |
364 | |
365 | %package ntlm_auth | |
366 | Summary: NTLM authentication helper for Squid | |
42b7bd48 | 367 | Summary(pl.UTF-8): Obsługa uwierzytelniania NTLM dla squida |
84c99453 | 368 | Group: Networking/Admin |
b770c784 | 369 | Requires: %{name} = %{epoch}:%{version}-%{release} |
84c99453 JR |
370 | |
371 | %description ntlm_auth | |
372 | This is an authentication module for the Squid proxy server to | |
373 | authenticate users on NTLM. | |
374 | ||
1cf03309 JR |
375 | %description ntlm_auth -l pl.UTF-8 |
376 | Jest to moduł uwierzytelniania proxy, który pozwala na | |
377 | uwierzytelnianie użytkowników proxy poprzez NTLM. | |
84c99453 | 378 | |
50e75865 JR |
379 | %package radius_auth |
380 | Summary: RADIUS authentication helper for Squid | |
381 | Summary(pl.UTF-8): Obsługa uwierzytelniania RADIUS dla squida | |
382 | Group: Networking/Admin | |
b770c784 | 383 | Requires: %{name} = %{epoch}:%{version}-%{release} |
50e75865 JR |
384 | |
385 | %description radius_auth | |
8fe7d590 CM |
386 | This helper allows Squid to connect to a RADIUS server to validate the |
387 | user name and password of Basic HTTP authentication. | |
50e75865 JR |
388 | |
389 | %description radius_auth -l pl.UTF-8 | |
390 | Program ten pozwala na uwierzytelnianie użytkowników squida przez | |
391 | serwer RADIUS. | |
392 | ||
c054e824 JR |
393 | %package db_auth |
394 | Summary: Database authentication helper for Squid | |
395 | Summary(pl.UTF-8): Obsługa uwierzytelniania przez bazę danych dla squida | |
396 | Group: Networking/Admin | |
b770c784 | 397 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c054e824 JR |
398 | |
399 | %description db_auth | |
400 | This is an authentication module for the Squid proxy server to | |
401 | authenticate users againsta a database. | |
402 | ||
403 | %description db_auth -l pl.UTF-8 | |
404 | Jest to moduł uwierzytelniania proxy, który pozwala na | |
405 | uwierzytelnianie użytkowników proxy poprzez bazę danych. | |
406 | ||
407 | %package pop3_auth | |
408 | Summary: POP3 authentication helper for Squid | |
409 | Summary(pl.UTF-8): Obsługa uwierzytelniania POP3 dla squida | |
410 | Group: Networking/Admin | |
b770c784 | 411 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c054e824 JR |
412 | |
413 | %description pop3_auth | |
414 | This is an authentication module for the Squid proxy server to | |
415 | authenticate users on POP3. | |
416 | ||
417 | %description pop3_auth -l pl.UTF-8 | |
418 | Jest to moduł uwierzytelniania proxy, który pozwala na | |
419 | uwierzytelnianie użytkowników proxy poprzez POP3. | |
420 | ||
421 | %package negotiate_wrapper_auth | |
422 | Summary: Kerberos authentication helper for Squid | |
423 | Summary(pl.UTF-8): Obsługa uwierzytelniania Kerberos dla squida | |
424 | Group: Networking/Admin | |
b770c784 JR |
425 | Requires: %{name} = %{epoch}:%{version}-%{release} |
426 | Requires: %{name}-ntlm_auth = %{epoch}:%{version}-%{release} | |
427 | Requires: %{name}-kerberos_auth = %{epoch}:%{version}-%{release} | |
c054e824 JR |
428 | |
429 | %description negotiate_wrapper_auth | |
430 | This is an authentication module for the Squid proxy server to | |
431 | authenticate users on Kerberos. | |
432 | ||
433 | %description negotiate_wrapper_auth -l pl.UTF-8 | |
434 | Jest to moduł uwierzytelniania proxy, który pozwala na | |
435 | uwierzytelnianie użytkowników proxy poprzez Kerberosa. | |
436 | ||
437 | %package digest_edirectory_auth | |
438 | Summary: eDirectory authentication helper for Squid | |
439 | Summary(pl.UTF-8): Obsługa uwierzytelniania eDirectory dla squida | |
440 | Group: Networking/Admin | |
b770c784 | 441 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c054e824 JR |
442 | |
443 | %description digest_edirectory_auth | |
444 | This is an authentication module for the Squid proxy server to | |
445 | authenticate users on eDirectory. | |
446 | ||
447 | %description digest_edirectory_auth -l pl.UTF-8 | |
448 | Jest to moduł uwierzytelniania proxy, który pozwala na | |
449 | uwierzytelnianie użytkowników proxy poprzez eDirectory. | |
450 | ||
39607b78 | 451 | %package digest_ldap_auth |
452 | Summary: LDAP authentication helper for Squid | |
42b7bd48 | 453 | Summary(pl.UTF-8): Obsługa uwierzytelniania LDAP dla squida |
39607b78 | 454 | Group: Networking/Admin |
b770c784 | 455 | Requires: %{name} = %{epoch}:%{version}-%{release} |
39607b78 | 456 | |
457 | %description digest_ldap_auth | |
458 | This is an authentication module for the Squid proxy server to | |
459 | authenticate users on LDAP. | |
460 | ||
1cf03309 JR |
461 | %description digest_ldap_auth -l pl.UTF-8 |
462 | Jest to moduł uwierzytelniania proxy, który pozwala na | |
463 | uwierzytelnianie użytkowników proxy poprzez LDAP. | |
39607b78 | 464 | |
84c99453 JR |
465 | %package ip_acl |
466 | Summary: IP external ACL helper for Squid | |
42b7bd48 | 467 | Summary(pl.UTF-8): Wsparcie kontroli dostępu przez IP dla squida |
84c99453 | 468 | Group: Networking/Admin |
f0a5f35f | 469 | Requires: %{name} = %{epoch}:%{version}-%{release} |
84c99453 JR |
470 | |
471 | %description ip_acl | |
f0a5f35f | 472 | This is an external ACL module for the Squid proxy server to limit |
acf3cdb9 | 473 | access for users based on IP address. |
84c99453 | 474 | |
1cf03309 JR |
475 | %description ip_acl -l pl.UTF-8 |
476 | Jest to moduł kontroli dostępu (ACL) do proxy, który pozwala na | |
477 | ograniczenie dostępu użytkowników proxy na podstawie ich adresu IP. | |
84c99453 JR |
478 | |
479 | %package ldap_acl | |
480 | Summary: LDAP group external ACL helper for Squid | |
42b7bd48 | 481 | Summary(pl.UTF-8): Wsparcie kontroli dostępu przez grupy LDAP dla squida |
84c99453 | 482 | Group: Networking/Admin |
f0a5f35f | 483 | Requires: %{name} = %{epoch}:%{version}-%{release} |
84c99453 JR |
484 | |
485 | %description ldap_acl | |
f0a5f35f | 486 | This is an external ACL module for the Squid proxy server to limit |
acf3cdb9 | 487 | access for users based on LDAP group membership. |
84c99453 | 488 | |
1cf03309 JR |
489 | %description ldap_acl -l pl.UTF-8 |
490 | Jest to moduł kontroli dostępu (ACL) do proxy, który pozwala na | |
491 | ograniczenie dostępu użytkowników proxy na podstawie ich | |
492 | przynależności do grup LDAP. | |
84c99453 JR |
493 | |
494 | %package unix_acl | |
495 | Summary: UNIX group external ACL helper for Squid | |
42b7bd48 | 496 | Summary(pl.UTF-8): Wsparcie kontroli dostępu przez grupy UNIX dla squida |
84c99453 | 497 | Group: Networking/Admin |
f0a5f35f | 498 | Requires: %{name} = %{epoch}:%{version}-%{release} |
84c99453 JR |
499 | |
500 | %description unix_acl | |
f0a5f35f | 501 | This is an external ACL module for the Squid proxy server to limit |
acf3cdb9 | 502 | access for users based on UNIX group membership. |
84c99453 | 503 | |
1cf03309 JR |
504 | %description unix_acl -l pl.UTF-8 |
505 | Jest to moduł kontroli dostępu (ACL) do proxy, który pozwala na | |
506 | ograniczenie dostępu użytkowników proxy na podstawie ich | |
507 | przynależności do grup UNIX. | |
84c99453 JR |
508 | |
509 | %package wbinfo_acl | |
510 | Summary: NT domain group external ACL helper for Squid | |
42b7bd48 | 511 | Summary(pl.UTF-8): Wsparcie kontroli dostępu przez grupy w domenie NT dla squida |
84c99453 | 512 | Group: Networking/Admin |
f0a5f35f | 513 | Requires: %{name} = %{epoch}:%{version}-%{release} |
84c99453 JR |
514 | |
515 | %description wbinfo_acl | |
f0a5f35f | 516 | This is an external ACL module for the Squid proxy server to limit |
acf3cdb9 | 517 | access for users based on NT domain group membership using wbinfo. |
84c99453 | 518 | |
1cf03309 JR |
519 | %description wbinfo_acl -l pl.UTF-8 |
520 | Jest to moduł kontroli dostępu (ACL) do proxy, który pozwala na | |
521 | ograniczenie dostępu użytkowników proxy na podstawie ich | |
522 | przynależności do grup w domenie NT przy użyciu wbinfo. | |
84c99453 | 523 | |
39607b78 | 524 | %package session_acl |
bbc421a1 TP |
525 | Summary: Squid session tracking external ACL group helper |
526 | Summary(pl.UTF-8): Wsparcie kontroli dostępu przez śledzenie sesji | |
84c99453 | 527 | Group: Networking/Admin |
f0a5f35f | 528 | Requires: %{name} = %{epoch}:%{version}-%{release} |
84c99453 | 529 | |
39607b78 | 530 | %description session_acl |
68f70685 ER |
531 | This helper maintains a concept of sessions by monitoring requests and |
532 | timing out sessions if no requests have been seen for the idle timeout | |
39607b78 | 533 | timer. |
84c99453 | 534 | |
bbc421a1 | 535 | %description session_acl -l pl.UTF-8 |
8fe7d590 CM |
536 | Moduł oparty na koncepcji sesji, śledzący zapytania i wygaszający |
537 | sesje jeśli w określonym czasie nie widziano w ich obrębie kolejnych | |
538 | zapytań. | |
bbc421a1 | 539 | |
c054e824 JR |
540 | %package edirectory_userip_acl |
541 | Summary: Squid eDirectory IP Lookup Helper | |
542 | Summary(pl.UTF-8): Wsparcie kontroli dostępu przez eDirectory | |
543 | Group: Networking/Admin | |
544 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
545 | ||
546 | %description edirectory_userip_acl | |
547 | This is an external ACL module for the Squid proxy server to limit | |
548 | access for users based on IP address lookup in eDirectory. | |
549 | ||
550 | %description edirectory_userip_acl -l pl.UTF-8 | |
551 | Jest to moduł kontroli dostępu (ACL) do proxy, który pozwala na | |
552 | ograniczenie dostępu użytkowników proxy na podstawie ich adresu IP | |
553 | popranego z eDirectory. | |
554 | ||
555 | %package kerberos_ldap_group_acl | |
556 | Summary: Squid LDAP external acl group helper for Kerberos or NTLM credentials | |
557 | Summary(pl.UTF-8): Wsparcie kontroli dostępu przez grupy LDAP/Kerberos/NTLM dla squida | |
558 | Group: Networking/Admin | |
559 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
560 | ||
561 | %description kerberos_ldap_group_acl | |
562 | This is an external ACL module for the Squid proxy server to limit | |
563 | access for users based on LDAP Kerberos or NTLM credentials. | |
564 | ||
565 | %description kerberos_ldap_group_acl -l pl.UTF-8 | |
566 | Jest to moduł kontroli dostępu (ACL) do proxy, który pozwala na | |
567 | ograniczenie dostępu użytkowników proxy na podstawie ich | |
568 | uprawnień Kerberosowych lub NTLM-owych w LDAP. | |
569 | ||
4c0ef65a | 570 | %package scripts |
c8e93bac | 571 | Summary: Perl scripts for Squid |
42b7bd48 | 572 | Summary(pl.UTF-8): Skrypty perlowe dla Squida |
4c0ef65a ER |
573 | Group: Networking/Admin |
574 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
575 | ||
576 | %description scripts | |
c8e93bac JB |
577 | This package contains Perl scripts and contributed programs for Squid. |
578 | ||
1cf03309 | 579 | %description scripts -l pl.UTF-8 |
c8e93bac | 580 | Ten pakiet zawiera skrypty perlowe i dodatkowe programy dla Squida. |
4c0ef65a | 581 | |
e1baf3c8 | 582 | %prep |
8fe7d590 | 583 | %setup -q -a3 |
d30eaf72 | 584 | %patch0 -p1 |
2655eecf | 585 | %patch1 -p1 |
1b310cfb | 586 | %patch2 -p1 |
d30eaf72 | 587 | %{?with_combined_log:%patch4 -p1} |
7b66d9b5 | 588 | %ifarch ppc |
d30eaf72 | 589 | %patch5 -p1 |
7b66d9b5 | 590 | %endif |
d30eaf72 | 591 | %patch6 -p1 |
07a3710e JR |
592 | %patch7 -p1 |
593 | %patch8 -p1 | |
dae9f88a | 594 | |
83f3c393 JR |
595 | %{__sed} -i -e '1s#!.*bin/perl#!%{__perl}#' {contrib,scripts}/*.pl |
596 | ||
e1baf3c8 | 597 | %build |
dc28faf5 | 598 | %{__libtoolize} |
3de753ac | 599 | %{__aclocal} |
da6a399a | 600 | %{__autoconf} |
e5759917 | 601 | %{__autoheader} |
3de753ac | 602 | %{__automake} |
7480ed4d | 603 | %configure \ |
c054e824 JR |
604 | --disable-strict-error-checking \ |
605 | --with-default-user=squid \ | |
50e75865 | 606 | --with-logdir=/var/log/squid \ |
c054e824 | 607 | --with-swapdir=/var/cache/squid \ |
50e75865 | 608 | --with-pidfile=/var/run/squid.pid \ |
194fe678 | 609 | --datadir=%{_datadir}/squid \ |
03ee6af7 | 610 | --enable-arp-acl \ |
c054e824 JR |
611 | --enable-auth \ |
612 | --enable-basic-auth-helpers \ | |
613 | --enable-ntlm-auth-helpers \ | |
614 | --enable-negotiate-auth-helpers \ | |
615 | --enable-digest-auth-helpers \ | |
616 | --enable-external-acl-helpers \ | |
617 | --enable-url-rewrite-helpers \ | |
50e75865 | 618 | --enable-ntlm-fail-open \ |
078f5547 AM |
619 | --enable-cache-digests \ |
620 | --enable-coss-aio-ops \ | |
621 | --enable-delay-pools \ | |
078f5547 AM |
622 | --enable-err-language=English \ |
623 | --enable-esi \ | |
078f5547 AM |
624 | --enable-follow-x-forwarded-for \ |
625 | --enable-forward-log \ | |
626 | --enable-forw-via-db \ | |
627 | --enable-htcp \ | |
c054e824 JR |
628 | --enable-wccp \ |
629 | --enable-wccpv2 \ | |
078f5547 | 630 | --enable-icap-client \ |
823e4b71 | 631 | --enable-ecap \ |
078f5547 AM |
632 | --enable-icmp \ |
633 | --enable-kill-parent-hack \ | |
634 | --enable-large-cache-files \ | |
635 | --enable-linux-netfilter \ | |
be7848a3 | 636 | --disable-linux-tproxy \ |
078f5547 | 637 | --enable-multicast-miss \ |
078f5547 AM |
638 | --enable-referer-log \ |
639 | --enable-removal-policies="heap,lru" \ | |
c054e824 | 640 | --enable-storeio="aufs,diskd,rock,ufs" \ |
078f5547 AM |
641 | --enable-snmp \ |
642 | --enable-ssl \ | |
50e75865 | 643 | --enable-ipv6 \ |
078f5547 | 644 | --enable-useragent-log \ |
194fe678 | 645 | --enable-x-accelerator-vary \ |
68c5bbf6 PG |
646 | --localstatedir=/var \ |
647 | --sysconfdir=%{_sysconfdir} \ | |
e5759917 | 648 | --with-auth-on-acceleration \ |
4dcb690c | 649 | --with-large-files \ |
078f5547 | 650 | --with-maxfd=32768 \ |
59113687 | 651 | --with-pthreads \ |
652 | --enable-zph-qos | |
e1baf3c8 | 653 | |
8acaa3f5 | 654 | %{__make} |
e1baf3c8 | 655 | |
656 | %install | |
657 | rm -rf $RPM_BUILD_ROOT | |
102df24e | 658 | install -d $RPM_BUILD_ROOT{%{_cgidir},%{_webapps}/%{_webapp}} \ |
3c0645bd | 659 | $RPM_BUILD_ROOT/etc/{pam.d,rc.d/init.d,security,sysconfig,logrotate.d} \ |
24c96395 | 660 | $RPM_BUILD_ROOT{%{_sbindir},%{_bindir},%{_libexecdir}/contrib} \ |
f0a5f35f | 661 | $RPM_BUILD_ROOT%{_mandir}/man8 \ |
29ca562c | 662 | $RPM_BUILD_ROOT%{_datadir}/squid \ |
c054e824 JR |
663 | $RPM_BUILD_ROOT/var/{cache,log{,/archive}}/squid \ |
664 | $RPM_BUILD_ROOT%{systemdtmpfilesdir} | |
e1baf3c8 | 665 | |
77f75ffe | 666 | %{__make} install \ |
3de753ac | 667 | DESTDIR=$RPM_BUILD_ROOT |
e1baf3c8 | 668 | |
c054e824 | 669 | %{__cp} -a contrib/*.pl $RPM_BUILD_ROOT%{_libexecdir}/contrib |
2fe495a6 | 670 | install scripts/*.pl $RPM_BUILD_ROOT%{_libexecdir} |
29ca562c | 671 | |
8fe7d590 | 672 | install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/squid |
3c0645bd | 673 | touch $RPM_BUILD_ROOT/etc/security/blacklist.squid |
ce1cc056 | 674 | |
c054e824 JR |
675 | install %{SOURCE8} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/squid.conf |
676 | ||
677 | %{__mv} -f $RPM_BUILD_ROOT%{_libdir}/squid/cachemgr.cgi $RPM_BUILD_ROOT%{_cgidir} | |
678 | %{__cp} -a %{SOURCE7} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf | |
679 | %{__cp} -a %{SOURCE7} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf | |
680 | %{__rm} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/cachemgr.conf.default | |
e1baf3c8 | 681 | |
590e6457 | 682 | cd $RPM_BUILD_ROOT/etc/squid |
8fe7d590 | 683 | %{__patch} -p0 < %{SOURCE4} |
c054e824 | 684 | %{__rm} *.default squid.conf.documented |
590e6457 | 685 | cd - |
686 | ||
8fe7d590 CM |
687 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/squid |
688 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/squid | |
689 | install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/squid | |
e1baf3c8 | 690 | |
29ca562c | 691 | touch $RPM_BUILD_ROOT/var/log/squid/{access,cache,store}.log |
bbd3a6ea | 692 | |
c054e824 | 693 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/squid/errors/{COPYRIGHT,TRANSLATORS} |
e1baf3c8 | 694 | |
1c1894b4 | 695 | # cp, to have re-entrant install |
c054e824 JR |
696 | %{__rm} -rf docs |
697 | %{__cp} -a doc docs | |
68c5bbf6 | 698 | # We don't want Makefiles as docs... |
c054e824 | 699 | %{__rm} docs/Makefile* |
f0a5f35f | 700 | |
bbc421a1 TP |
701 | :> $RPM_BUILD_ROOT/var/cache/squid/netdb_state |
702 | :> $RPM_BUILD_ROOT/var/cache/squid/swap.state | |
703 | :> $RPM_BUILD_ROOT/var/cache/squid/swap.state.clean | |
704 | :> $RPM_BUILD_ROOT/var/cache/squid/swap.state.last-clean | |
1c1894b4 | 705 | |
fde47eed | 706 | %clean |
7140e072 | 707 | rm -rf $RPM_BUILD_ROOT |
fde47eed | 708 | |
3e5c79df | 709 | %pre |
9cc7d20f ER |
710 | %groupadd -g 91 squid |
711 | %useradd -o -u 91 -s /bin/false -g squid -c "SQUID http caching daemon" -d /var/cache/squid squid | |
712 | %addusertogroup stats squid | |
713 | ||
349b995c | 714 | [ -L %{_datadir}/squid/errors ] && rm -f %{_datadir}/squid/errors || : |
3e5c79df | 715 | |
e1baf3c8 | 716 | %post |
1e0573f8 | 717 | if ! grep -q "^visible_hostname" /etc/squid/squid.conf; then |
b47ca9e4 ER |
718 | hostname=`/bin/hostname -f 2>/dev/null` || hostname='localhost' |
719 | echo visible_hostname $hostname >> /etc/squid/squid.conf | |
1e0573f8 | 720 | fi |
721 | ||
2210ba0e | 722 | /sbin/chkconfig --add squid |
c98ab205 | 723 | if [ "$1" = "1" ]; then |
9cac9077 | 724 | /sbin/service squid init >&2 |
c98ab205 | 725 | fi |
2210ba0e | 726 | %service squid restart |
29ca562c | 727 | |
728 | %preun | |
688434c4 | 729 | if [ "$1" = "0" ]; then |
c98ab205 | 730 | /sbin/chkconfig --del squid |
2210ba0e | 731 | %service squid stop |
1c1894b4 ER |
732 | |
733 | # nuke squid cache if uninstalling | |
734 | rm -rf /var/cache/squid/?? | |
e1baf3c8 | 735 | fi |
736 | ||
b3a4b715 JB |
737 | %postun |
738 | if [ "$1" = "0" ]; then | |
93090cc0 | 739 | %userremove squid |
740 | %groupremove squid | |
b3a4b715 | 741 | fi |
5f1d3951 | 742 | |
9cac9077 ER |
743 | %triggerpostun -- squid < 7:2.5.STABLE7-5 |
744 | %addusertogroup stats squid | |
745 | ||
102df24e ER |
746 | %triggerin cachemgr -- apache1 < 1.3.37-3, apache1-base |
747 | %webapp_register apache %{_webapp} | |
748 | ||
749 | %triggerun cachemgr -- apache1 < 1.3.37-3, apache1-base | |
750 | %webapp_unregister apache %{_webapp} | |
751 | ||
752 | %triggerin cachemgr -- apache < 2.2.0, apache-base | |
753 | %webapp_register httpd %{_webapp} | |
754 | ||
755 | %triggerun cachemgr -- apache < 2.2.0, apache-base | |
756 | %webapp_unregister httpd %{_webapp} | |
757 | ||
758 | %triggerpostun -- cachemgr < 7:3.0.STABLE10-0.2 | |
759 | if [ -f %{_sysconfdir}/cachemgr.conf.rpmsave ]; then | |
760 | cp -f %{_webapps}/%{_webapp}/cachemgr.conf{,.rpmsave} | |
761 | mv -f %{_sysconfdir}/cachemgr.conf.rpmsave %{_webapps}/%{_webapp}/cachemgr.conf | |
762 | fi | |
763 | ||
e1baf3c8 | 764 | %files |
765 | %defattr(644,root,root,755) | |
50e75865 | 766 | %doc CONTRIBUTORS COPYRIGHT CREDITS README ChangeLog QUICKSTART |
8fe7d590 | 767 | %doc RELEASENOTES.html SPONSORS docs/* src/mib.txt book-full.html |
50e75865 JR |
768 | %doc src/squid.conf.default src/squid.conf.documented src/mime.conf.default |
769 | %doc errors/TRANSLATORS | |
c054e824 | 770 | %attr(755,root,root) %{_bindir}/purge |
194fe678 | 771 | %attr(755,root,root) %{_bindir}/squidclient |
c054e824 JR |
772 | |
773 | %dir %{_libexecdir} | |
078f5547 | 774 | %attr(755,root,root) %{_libexecdir}/diskd |
dad16a56 | 775 | # YES, it has to be suid root, it sends ICMP packets. |
194fe678 AM |
776 | %attr(4754,root,squid) %{_libexecdir}/pinger |
777 | %attr(755,root,root) %{_libexecdir}/unlinkd | |
c054e824 JR |
778 | %attr(755,root,root) %{_libexecdir}/ntlm_fake_auth |
779 | %attr(755,root,root) %{_libexecdir}/basic_fake_auth | |
780 | %attr(755,root,root) %{_libexecdir}/url_fake_rewrite | |
781 | %attr(755,root,root) %{_libexecdir}/url_fake_rewrite.sh | |
782 | %attr(755,root,root) %{_libexecdir}/log_file_daemon | |
783 | %attr(755,root,root) %{_sbindir}/squid | |
bbd3a6ea | 784 | |
e0a16a3e | 785 | %attr(754,root,root) /etc/rc.d/init.d/squid |
8d2e1c07 | 786 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/squid |
6b2e091c | 787 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/squid |
c8855654 ER |
788 | |
789 | %dir %{_sysconfdir} | |
dad16a56 | 790 | %attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/squid.conf |
3e5c79df | 791 | %attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mime.conf |
50e75865 | 792 | %attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/errorpage.css |
29ca562c | 793 | |
7134c92f | 794 | %dir %{_datadir}/squid |
56db77a9 | 795 | %dir %{_datadir}/squid/errors |
29ca562c | 796 | %{_datadir}/squid/icons |
797 | %{_datadir}/squid/mib.txt | |
2631dd7f | 798 | %{_datadir}/squid/errors/templates |
50e75865 JR |
799 | %lang(af) %{_datadir}/squid/errors/af |
800 | %lang(ar) %{_datadir}/squid/errors/ar | |
801 | %lang(ar) %{_datadir}/squid/errors/ar-* | |
802 | %lang(az) %{_datadir}/squid/errors/az | |
803 | %lang(az) %{_datadir}/squid/errors/az-* | |
804 | %lang(bg) %{_datadir}/squid/errors/bg | |
805 | %lang(bg) %{_datadir}/squid/errors/bg-* | |
806 | %lang(ca) %{_datadir}/squid/errors/ca | |
807 | %lang(cs) %{_datadir}/squid/errors/cs | |
808 | %lang(cs) %{_datadir}/squid/errors/cs-* | |
809 | %lang(da) %{_datadir}/squid/errors/da | |
810 | %lang(da) %{_datadir}/squid/errors/da-* | |
811 | %lang(de) %{_datadir}/squid/errors/de | |
812 | %lang(de) %{_datadir}/squid/errors/de-* | |
813 | %lang(el) %{_datadir}/squid/errors/el | |
814 | %lang(el) %{_datadir}/squid/errors/el-* | |
815 | %{_datadir}/squid/errors/en | |
816 | %{_datadir}/squid/errors/en-* | |
817 | %lang(es) %{_datadir}/squid/errors/es | |
818 | %lang(es) %{_datadir}/squid/errors/es-* | |
819 | %lang(et) %{_datadir}/squid/errors/et | |
820 | %lang(et) %{_datadir}/squid/errors/et-* | |
821 | %lang(fa) %{_datadir}/squid/errors/fa | |
822 | %lang(fa) %{_datadir}/squid/errors/fa-* | |
823 | %lang(fi) %{_datadir}/squid/errors/fi | |
824 | %lang(fi) %{_datadir}/squid/errors/fi-* | |
825 | %lang(fr) %{_datadir}/squid/errors/fr | |
826 | %lang(fr) %{_datadir}/squid/errors/fr-* | |
827 | %lang(he) %{_datadir}/squid/errors/he | |
828 | %lang(he) %{_datadir}/squid/errors/he-* | |
829 | %lang(hu) %{_datadir}/squid/errors/hu | |
830 | %lang(hu) %{_datadir}/squid/errors/hu-* | |
831 | %lang(hy) %{_datadir}/squid/errors/hy | |
832 | %lang(hy) %{_datadir}/squid/errors/hy-* | |
833 | %lang(id) %{_datadir}/squid/errors/id | |
834 | %lang(id) %{_datadir}/squid/errors/id-* | |
835 | %lang(it) %{_datadir}/squid/errors/it | |
836 | %lang(it) %{_datadir}/squid/errors/it-* | |
837 | %lang(ja) %{_datadir}/squid/errors/ja | |
838 | %lang(ja) %{_datadir}/squid/errors/ja-* | |
839 | %lang(ko) %{_datadir}/squid/errors/ko | |
840 | %lang(ko) %{_datadir}/squid/errors/ko-* | |
841 | %lang(lt) %{_datadir}/squid/errors/lt | |
842 | %lang(lt) %{_datadir}/squid/errors/lt-* | |
843 | %lang(lv) %{_datadir}/squid/errors/lv | |
844 | %lang(lv) %{_datadir}/squid/errors/lv-* | |
845 | %lang(ms) %{_datadir}/squid/errors/ms | |
846 | %lang(ms) %{_datadir}/squid/errors/ms-* | |
847 | %lang(nl) %{_datadir}/squid/errors/nl | |
848 | %lang(nl) %{_datadir}/squid/errors/nl-* | |
b9802509 | 849 | %lang(oc) %{_datadir}/squid/errors/oc |
50e75865 JR |
850 | %lang(pl) %{_datadir}/squid/errors/pl |
851 | %lang(pl) %{_datadir}/squid/errors/pl-* | |
852 | %lang(pt) %{_datadir}/squid/errors/pt | |
853 | %lang(pt) %{_datadir}/squid/errors/pt-pt | |
854 | %lang(pt_BR) %{_datadir}/squid/errors/pt-br | |
855 | %lang(ro) %{_datadir}/squid/errors/ro | |
856 | %lang(ro) %{_datadir}/squid/errors/ro-* | |
857 | %lang(ru) %{_datadir}/squid/errors/ru | |
858 | %lang(ru) %{_datadir}/squid/errors/ru-* | |
859 | %lang(sk) %{_datadir}/squid/errors/sk | |
860 | %lang(sk) %{_datadir}/squid/errors/sk-* | |
af701fc9 ŁK |
861 | %lang(sk) %{_datadir}/squid/errors/sl |
862 | %lang(sk) %{_datadir}/squid/errors/sl-* | |
50e75865 JR |
863 | %lang(sr) %{_datadir}/squid/errors/sr |
864 | %lang(sr) %{_datadir}/squid/errors/sr-* | |
865 | %lang(sv) %{_datadir}/squid/errors/sv | |
866 | %lang(sv) %{_datadir}/squid/errors/sv-* | |
867 | %lang(th) %{_datadir}/squid/errors/th | |
868 | %lang(th) %{_datadir}/squid/errors/th-* | |
869 | %lang(tr) %{_datadir}/squid/errors/tr | |
870 | %lang(tr) %{_datadir}/squid/errors/tr-* | |
871 | %lang(uk) %{_datadir}/squid/errors/uk | |
872 | %lang(uk) %{_datadir}/squid/errors/uk-* | |
873 | %lang(uz) %{_datadir}/squid/errors/uz | |
8270b031 JR |
874 | %lang(vi) %{_datadir}/squid/errors/vi |
875 | %lang(vi) %{_datadir}/squid/errors/vi-* | |
50e75865 JR |
876 | %lang(zh_CN) %{_datadir}/squid/errors/zh-cn |
877 | %lang(zh_CN) %{_datadir}/squid/errors/zh-sg | |
878 | %lang(zh_CN) %{_datadir}/squid/errors/zh-tw | |
879 | %lang(zh_TW) %{_datadir}/squid/errors/zh-hk | |
880 | %lang(zh_TW) %{_datadir}/squid/errors/zh-mo | |
881 | ||
c054e824 JR |
882 | %{systemdtmpfilesdir}/squid.conf |
883 | %attr(770,root,squid) %dir /var/run/squid | |
29ca562c | 884 | |
e62e100a | 885 | %attr(770,root,squid) %dir /var/log/archive/squid |
3e5c79df JK |
886 | %attr(770,root,squid) %dir /var/log/squid |
887 | %attr(660,root,squid) %ghost /var/log/squid/* | |
e1baf3c8 | 888 | |
3e5c79df | 889 | %attr(770,root,squid) %dir /var/cache/squid |
1c1894b4 ER |
890 | %ghost /var/cache/squid/netdb_state |
891 | %ghost /var/cache/squid/swap.state | |
892 | %ghost /var/cache/squid/swap.state.clean | |
893 | %ghost /var/cache/squid/swap.state.last-clean | |
50e75865 | 894 | %{_mandir}/man1/squidclient.1* |
68c5bbf6 | 895 | %{_mandir}/man8/squid.8* |
29ca562c | 896 | |
897 | %files cachemgr | |
36fddb2a | 898 | %defattr(644,root,root,755) |
102df24e ER |
899 | %dir %attr(750,root,http) %{_webapps}/%{_webapp} |
900 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/apache.conf | |
901 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/httpd.conf | |
902 | %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/cachemgr.conf | |
9d6286c1 | 903 | %dir %{_cgidir} |
102df24e | 904 | %attr(755,root,root) %{_cgidir}/cachemgr.cgi |
2011b5a0 | 905 | %{_mandir}/man8/cachemgr.cgi.8* |
ce1cc056 | 906 | |
907 | %files ldap_auth | |
908 | %defattr(644,root,root,755) | |
84c99453 | 909 | %doc helpers/basic_auth/LDAP/README |
c054e824 JR |
910 | %attr(755,root,root) %{_libexecdir}/basic_ldap_auth |
911 | %{_mandir}/man8/basic_ldap_auth.* | |
ce1cc056 | 912 | |
913 | %files pam_auth | |
914 | %defattr(644,root,root,755) | |
3c0645bd | 915 | %config(noreplace) /etc/pam.d/squid |
916 | %config(noreplace) /etc/security/blacklist.squid | |
c054e824 JR |
917 | %attr(755,root,root) %{_libexecdir}/basic_pam_auth |
918 | %{_mandir}/man8/basic_pam_auth.8* | |
ce1cc056 | 919 | |
920 | %files smb_auth | |
921 | %defattr(644,root,root,755) | |
c054e824 JR |
922 | %doc helpers/basic_auth/SMB/ChangeLog |
923 | %attr(755,root,root) %{_libexecdir}/basic_smb_auth* | |
7140e072 PG |
924 | |
925 | %files msnt_auth | |
926 | %defattr(644,root,root,755) | |
84c99453 | 927 | %doc helpers/basic_auth/MSNT/README* |
c054e824 JR |
928 | %doc helpers/basic_auth/MSNT-multi-domain/README* |
929 | %attr(755,root,root) %{_libexecdir}/basic_msnt_auth | |
930 | %attr(755,root,root) %{_libexecdir}/basic_msnt_multi_domain_auth | |
b2aa8620 | 931 | %attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/msntauth.conf |
7140e072 | 932 | |
c054e824 | 933 | %files nis_auth |
7140e072 | 934 | %defattr(644,root,root,755) |
c054e824 | 935 | %attr(755,root,root) %{_libexecdir}/basic_nis_auth |
84c99453 JR |
936 | |
937 | %files ncsa_auth | |
938 | %defattr(644,root,root,755) | |
c054e824 JR |
939 | %attr(755,root,root) %{_libexecdir}/basic_ncsa_auth |
940 | %{_mandir}/man8/basic_ncsa_auth.8* | |
84c99453 JR |
941 | |
942 | %files sasl_auth | |
943 | %defattr(644,root,root,755) | |
c054e824 JR |
944 | %doc helpers/basic_auth/SASL/basic_sasl_auth.{conf,pam} |
945 | %attr(755,root,root) %{_libexecdir}/basic_sasl_auth | |
946 | %{_mandir}/man8/basic_sasl_auth.8* | |
84c99453 | 947 | |
84c99453 JR |
948 | %files getpwname_auth |
949 | %defattr(644,root,root,755) | |
c054e824 JR |
950 | %attr(755,root,root) %{_libexecdir}/basic_getpwnam_auth |
951 | %{_mandir}/man8/basic_getpwnam_auth.8* | |
84c99453 JR |
952 | |
953 | %files passwd_auth | |
954 | %defattr(644,root,root,755) | |
c054e824 JR |
955 | %attr(755,root,root) %{_libexecdir}/digest_file_auth |
956 | %{_mandir}/man8/digest_file_auth.8* | |
84c99453 | 957 | |
c054e824 | 958 | %files kerberos_auth |
50e75865 | 959 | %defattr(644,root,root,755) |
c054e824 JR |
960 | %doc helpers/negotiate_auth/kerberos/README |
961 | %attr(755,root,root) %{_libexecdir}/negotiate_kerberos_auth | |
962 | %attr(755,root,root) %{_libexecdir}/negotiate_kerberos_auth_test | |
963 | %{_mandir}/man8/negotiate_kerberos_auth.8* | |
50e75865 | 964 | |
84c99453 JR |
965 | %files ntlm_auth |
966 | %defattr(644,root,root,755) | |
50e75865 JR |
967 | %attr(755,root,root) %{_libexecdir}/ntlm_smb_lm_auth |
968 | ||
969 | %files radius_auth | |
970 | %defattr(644,root,root,755) | |
c054e824 JR |
971 | %doc helpers/basic_auth/RADIUS/README |
972 | %attr(755,root,root) %{_libexecdir}/basic_radius_auth | |
973 | %{_mandir}/man8/basic_radius_auth.8* | |
84c99453 | 974 | |
39607b78 | 975 | %files digest_ldap_auth |
976 | %defattr(644,root,root,755) | |
977 | %attr(755,root,root) %{_libexecdir}/digest_ldap_auth | |
978 | ||
c054e824 JR |
979 | %files db_auth |
980 | %defattr(644,root,root,755) | |
981 | %{_libexecdir}/basic_db_auth | |
982 | %{_mandir}/man8/basic_db_auth.8* | |
983 | ||
984 | %files pop3_auth | |
985 | %defattr(644,root,root,755) | |
986 | %{_libexecdir}/basic_pop3_auth | |
987 | ||
988 | %files digest_edirectory_auth | |
989 | %defattr(644,root,root,755) | |
990 | %{_libexecdir}/digest_edirectory_auth | |
991 | ||
992 | %files negotiate_wrapper_auth | |
993 | %defattr(644,root,root,755) | |
994 | %{_libexecdir}/negotiate_wrapper_auth | |
995 | ||
84c99453 JR |
996 | %files ip_acl |
997 | %defattr(644,root,root,755) | |
c054e824 JR |
998 | %doc helpers/external_acl/file_userip/example* |
999 | %attr(755,root,root) %{_libexecdir}/ext_file_userip_acl | |
1000 | %{_mandir}/man8/ext_file_userip_acl.* | |
84c99453 JR |
1001 | |
1002 | %files ldap_acl | |
1003 | %defattr(644,root,root,755) | |
c054e824 JR |
1004 | %attr(755,root,root) %{_libexecdir}/ext_ldap_group_acl |
1005 | %{_mandir}/man8/ext_ldap_group_acl.* | |
84c99453 JR |
1006 | |
1007 | %files unix_acl | |
1008 | %defattr(644,root,root,755) | |
c054e824 JR |
1009 | %attr(755,root,root) %{_libexecdir}/ext_unix_group_acl |
1010 | %{_mandir}/man8/ext_unix_group_acl.* | |
84c99453 JR |
1011 | |
1012 | %files wbinfo_acl | |
1013 | %defattr(644,root,root,755) | |
c054e824 JR |
1014 | %attr(755,root,root) %{_libexecdir}/ext_wbinfo_group_acl |
1015 | %{_mandir}/man8/ext_wbinfo_group_acl.8* | |
84c99453 | 1016 | |
39607b78 | 1017 | %files session_acl |
84c99453 | 1018 | %defattr(644,root,root,755) |
c054e824 JR |
1019 | %attr(755,root,root) %{_libexecdir}/ext_session_acl |
1020 | %{_mandir}/man8/ext_session_acl.8* | |
1021 | ||
1022 | %files edirectory_userip_acl | |
1023 | %defattr(644,root,root,755) | |
1024 | %{_libexecdir}/ext_edirectory_userip_acl | |
1025 | %{_mandir}/man8/ext_edirectory_userip_acl.8* | |
1026 | ||
1027 | %files kerberos_ldap_group_acl | |
1028 | %defattr(644,root,root,755) | |
1029 | %{_libexecdir}/ext_kerberos_ldap_group_acl | |
4c0ef65a ER |
1030 | |
1031 | %files scripts | |
1032 | %defattr(644,root,root,755) | |
c054e824 | 1033 | %attr(755,root,root) %{_libexecdir}/contrib |
39c865af ŁK |
1034 | %attr(755,root,root) %{_libexecdir}/AnnounceCache.pl |
1035 | %attr(755,root,root) %{_libexecdir}/access-log-matrix.pl | |
1036 | %attr(755,root,root) %{_libexecdir}/cache-compare.pl | |
1037 | %attr(755,root,root) %{_libexecdir}/cachetrace.pl | |
c054e824 JR |
1038 | %attr(755,root,root) %{_libexecdir}/calc-must-ids.pl |
1039 | %attr(755,root,root) %{_libexecdir}/cert_tool | |
39c865af | 1040 | %attr(755,root,root) %{_libexecdir}/check_cache.pl |
39c865af | 1041 | %attr(755,root,root) %{_libexecdir}/fileno-to-pathname.pl |
c054e824 | 1042 | %attr(755,root,root) %{_libexecdir}/find-alive.pl |
39c865af | 1043 | %attr(755,root,root) %{_libexecdir}/flag_truncs.pl |
c054e824 | 1044 | %attr(755,root,root) %{_libexecdir}/helper-mux.pl |
39c865af | 1045 | %attr(755,root,root) %{_libexecdir}/icpserver.pl |
c054e824 | 1046 | %attr(755,root,root) %{_libexecdir}/icp-test.pl |
39c865af | 1047 | %attr(755,root,root) %{_libexecdir}/tcp-banger.pl |
c054e824 JR |
1048 | %attr(755,root,root) %{_libexecdir}/trace-job.pl |
1049 | %attr(755,root,root) %{_libexecdir}/trace-master.pl | |
39c865af ŁK |
1050 | %attr(755,root,root) %{_libexecdir}/udp-banger.pl |
1051 | %attr(755,root,root) %{_libexecdir}/upgrade-1.0-store.pl |