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