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