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