]>
Commit | Line | Data |
---|---|---|
f78f51ea | 1 | # TODO |
078f5547 | 2 | # - REVIEW patches and configuration |
59113687 | 3 | # - ZPH TOS - |
4 | # For this to work correctly, you will need to patch your linux | |
5 | # kernel with the TOS preserving ZPH patch. | |
6 | # The kernel patch can be downloaded from http://zph.bratcheda.org | |
9f399e60 | 7 | # |
8 | # Conditional build: | |
632c8533 | 9 | %bcond_with combined_log # enables apache-like combined log format |
9f399e60 | 10 | # |
bbd3a6ea | 11 | Summary: SQUID Internet Object Cache |
42b7bd48 ER |
12 | Summary(es.UTF-8): proxy/cache para WWW/FTP/gopher |
13 | Summary(pl.UTF-8): Uniwersalny serwer proxy-cache | |
14 | Summary(pt_BR.UTF-8): Cache Squid de objetos Internet | |
15 | Summary(ru.UTF-8): Squid - кэш объектов Internet | |
16 | Summary(uk.UTF-8): Squid - кеш об'єктів Internet | |
17 | Summary(zh_CN.UTF-8): SQUID 高速缓冲代理服务器 | |
bbd3a6ea | 18 | Name: squid |
c054e824 | 19 | Version: 3.2.3 |
7282d44f | 20 | Release: 2 |
80d0d8a3 | 21 | Epoch: 7 |
c0986f46 | 22 | License: GPL v2 |
36fddb2a | 23 | Group: Networking/Daemons |
c054e824 JR |
24 | Source0: http://www.squid-cache.org/Versions/v3/3.2/%{name}-%{version}.tar.bz2 |
25 | # Source0-md5: b26171dfd397defd9ee113d555691b86 | |
8fe7d590 CM |
26 | Source1: %{name}.init |
27 | Source2: %{name}.sysconfig | |
28 | Source3: http://squid-docs.sourceforge.net/latest/zip-files/book-full-html.zip | |
29 | # Source3-md5: 4f3b6dab1de9cbb847df89d8b417378a | |
30 | Source4: %{name}.conf.patch | |
31 | Source5: %{name}.logrotate | |
32 | Source6: %{name}.pamd | |
33 | Source7: %{name}-cachemgr-apache.conf | |
c054e824 | 34 | Source8: %{name}.tmpfiles |
d30eaf72 JR |
35 | Patch0: %{name}-fhs.patch |
36 | Patch1: %{name}-location.patch | |
37 | Patch2: %{name}-crash-on-ENOSPC.patch | |
d30eaf72 JR |
38 | Patch4: %{name}-2.5.STABLE4-apache-like-combined-log.patch |
39 | Patch5: %{name}-ppc-m32.patch | |
40 | Patch6: %{name}-cachemgr-webapp.patch | |
f0a5f35f | 41 | URL: http://www.squid-cache.org/ |
7488bd27 | 42 | BuildRequires: autoconf |
4b4ba0a1 | 43 | BuildRequires: automake |
eb1f5eda | 44 | BuildRequires: cppunit-devel |
0f1815c6 | 45 | BuildRequires: cyrus-sasl-devel >= 2.1.0 |
427f606c | 46 | BuildRequires: db-devel |
50e75865 JR |
47 | BuildRequires: expat-devel |
48 | BuildRequires: heimdal-devel | |
eb1f5eda | 49 | BuildRequires: libcap-devel >= 1:2.09 |
c054e824 | 50 | BuildRequires: libecap-devel >= 0.2.0 |
f89ac51f | 51 | BuildRequires: libltdl-devel |
c054e824 | 52 | BuildRequires: libnetfilter_conntrack-devel |
1f286e7a | 53 | BuildRequires: libstdc++-devel |
54 | BuildRequires: libtool | |
50e75865 | 55 | BuildRequires: libxml2-devel |
0542d8f7 | 56 | BuildRequires: openldap-devel >= 2.3.0 |
63e75b9c | 57 | BuildRequires: openssl-devel >= 0.9.7d |
29294f93 | 58 | BuildRequires: pam-devel |
7de7a1e8 | 59 | BuildRequires: perl-base |
2210ba0e | 60 | BuildRequires: rpmbuild(macros) >= 1.268 |
349b995c | 61 | BuildRequires: sed >= 4.0 |
115a61f1 | 62 | BuildRequires: unzip |
2a8ec884 | 63 | Requires(post): /bin/hostname |
b3a4b715 JB |
64 | Requires(post): fileutils |
65 | Requires(post): findutils | |
d6013865 | 66 | Requires(post): grep |
2a8ec884 | 67 | Requires(post,preun): /sbin/chkconfig |
b3a4b715 JB |
68 | Requires(postun): /usr/sbin/groupdel |
69 | Requires(postun): /usr/sbin/userdel | |
2a8ec884 ER |
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 | |
8fe7d590 | 74 | Requires(pre,triggerpostun): /bin/id |
bbc421a1 | 75 | Requires(pre,triggerpostun): /usr/sbin/usermod |
2a8ec884 ER |
76 | Requires: rc-scripts >= 0.2.0 |
77 | Requires: setup >= 2.4.6 | |
93090cc0 | 78 | Provides: group(squid) |
c93c3680 | 79 | # epoll enabled by default: |
d765f971 | 80 | Requires: uname(release) >= 2.6 |
be7848a3 JR |
81 | # TPROXYv4 (v2 disabled b/c it breaks v4) |
82 | #Suggests: uname(release) >= 2.6.28.3 | |
93090cc0 | 83 | Provides: user(squid) |
3f820e53 | 84 | Conflicts: logrotate < 3.8.0 |
f01c9d57 | 85 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
e1baf3c8 | 86 | |
102df24e ER |
87 | %define _webapps /etc/webapps |
88 | %define _webapp cachemgr | |
7480ed4d AF |
89 | %define _libexecdir %{_libdir}/%{name} |
90 | %define _sysconfdir /etc/%{name} | |
102df24e | 91 | %define _cgidir %{_prefix}/lib/cgi-bin/%{_webapp} |
7480ed4d | 92 | |
e1baf3c8 | 93 | %description |
36fddb2a | 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 | |
8f00d34a | 103 | caches can be arranged in a hierarchy or mesh for additional bandwidth |
36fddb2a | 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. | |
e1baf3c8 | 111 | |
1cf03309 JR |
112 | %description -l es.UTF-8 |
113 | Squid es un servidor proxy con caché de alto desempeño para clientes | |
4b571a16 | 114 | web, soportando FTP, gopher y HTTP. Diferentemente de softwares |
1cf03309 JR |
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é | |
4b571a16 | 118 | de resoluciones DNS, soporta resoluciones DNS sin bloqueo y implementa |
1cf03309 JR |
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, | |
4b571a16 | 121 | controles extensivos de acceso y registro (log) completo de las |
122 | requisiciones. Usando el ligero Protocolo de Caches Internet (ICP) | |
1cf03309 JR |
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 | |
4b571a16 | 126 | ftpget (para transmisiones ftp) y otras herramientas clientes y para |
1cf03309 | 127 | administración. Cuando squid se inicia, dispara un número configurable |
4b571a16 | 128 | de procesos dnsserver, cada uno pudiendo ejecutar solamente una |
1cf03309 JR |
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, | |
4b571a16 | 131 | financiado por la ARPA. |
132 | ||
1cf03309 JR |
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 | |
36fddb2a | 143 | sponsorowanego przez ARPA projektu Harvest. |
e1baf3c8 | 144 | |
1cf03309 JR |
145 | %description -l pt_BR.UTF-8 |
146 | O Squid é um servidor proxy com cache de alta performance para | |
4b571a16 | 147 | clientes web, suportando FTP, gopher e HTTP. Diferentemente de |
1cf03309 JR |
148 | softwares tradicionais de cache o squid manipula todas as requisições |
149 | em um único processo sem bloqueios, direcionado a E/S. | |
4b571a16 | 150 | |
1cf03309 JR |
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. | |
4b571a16 | 155 | |
1cf03309 JR |
156 | Também suporta SSL, controles extensivos de acesso e registro (log) |
157 | completo das requisições. Usando o leve Protocolo de Caches Internet | |
4b571a16 | 158 | (ICP) ele pode ser usado em uma hierarquia de servidores para maior |
1cf03309 | 159 | economia de banda de comunicação. |
4b571a16 | 160 | |
161 | Ele consiste do programa squid (servidor principal), do programa | |
1cf03309 | 162 | dnsserver (para resolução DNS), do programa ftpget (para transmissões |
4b571a16 | 163 | ftp) e outras ferramentas clientes e para gerenciamento. Quando o |
1cf03309 JR |
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. | |
4b571a16 | 167 | |
168 | Foi derivado do projeto Harvest, financiado pela ARPA. | |
169 | ||
1cf03309 JR |
170 | %description -l ru.UTF-8 |
171 | Squid - это высокопроизводительный кэширующий прокси-сервер для | |
172 | клиентов web, поддерживающий объекты данных типа FTP, gopher и HTTP. В | |
173 | отличие от традиционных кэширующих программ, Squid обрабатывает все | |
174 | запросы при помощи одного неблокирующегося, управляемого | |
175 | вводом-выводом процесса. | |
735979dc | 176 | |
1cf03309 | 177 | Этот пакет имеет встроенную поддержку базы данных сетевых ICMP-проб |
735979dc | 178 | (Netdb). |
179 | ||
1cf03309 JR |
180 | %description -l uk.UTF-8 |
181 | Squid - це кешуючий проксі-сервер для web-клієнтів, що підтримує | |
182 | об'єкти даних типу FTP, gopher та HTTP. На відміну від традиційних | |
183 | кешуючих програм, Squid обробляє всі запити за допомогою одного | |
184 | неблокуючого, керованого вводом-виводом процесу. | |
735979dc | 185 | |
1cf03309 | 186 | Цей пакет має вбудовану підтримку бази даних мережевих ICMP-проб |
735979dc | 187 | (Netdb). |
188 | ||
29ca562c | 189 | %package cachemgr |
190 | Summary: CGI script for Squid management | |
42b7bd48 | 191 | Summary(pl.UTF-8): Skrypt CGI do zarządzania Squidem przez WWW |
102df24e ER |
192 | Group: Applications/WWW |
193 | # does not require squid locally | |
194 | Requires: group(http) | |
195 | Requires: webapps | |
79634bd7 | 196 | Requires: webserver |
102df24e ER |
197 | Requires: webserver(access) |
198 | Requires: webserver(alias) | |
199 | Requires: webserver(cgi) | |
29ca562c | 200 | |
201 | %description cachemgr | |
039b63e2 | 202 | Cachemgr.cgi is a CGI script that allows administrator to check |
36fddb2a | 203 | various informations about Squid via WWW. |
29ca562c | 204 | |
1cf03309 JR |
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. | |
29ca562c | 208 | |
c054e824 | 209 | %package kerberos_auth |
50e75865 JR |
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 | |
b770c784 JR |
213 | Requires: %{name} = %{epoch}:%{version}-%{release} |
214 | Obsoletes: squid-kerb_auth < %{epoch}:%{version}-%{release} | |
215 | Provides: squid-kerb_auth = %{epoch}:%{version}-%{release} | |
50e75865 | 216 | |
c054e824 | 217 | %description kerberos_auth |
50e75865 | 218 | This squid helper is a reference implementation that supports |
8fe7d590 CM |
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. | |
50e75865 | 223 | |
c054e824 | 224 | %description kerberos_auth -l pl.UTF-8 |
8fe7d590 CM |
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. | |
50e75865 | 229 | |
ce1cc056 | 230 | %package ldap_auth |
8acaa3f5 | 231 | Summary: LDAP authentication helper for Squid |
42b7bd48 | 232 | Summary(pl.UTF-8): Obsługa uwierzytelniania LDAP dla squida |
ce1cc056 | 233 | Group: Networking/Admin |
b770c784 | 234 | Requires: %{name} = %{epoch}:%{version}-%{release} |
ce1cc056 | 235 | |
236 | %description ldap_auth | |
237 | This Squid helper allows authentication against LDAP directories using | |
238 | the "simple authentication" (plain-text). | |
239 | ||
1cf03309 JR |
240 | %description ldap_auth -l pl.UTF-8 |
241 | Pakiet ten pozwala na uwierzytelnianie przez LDAP za pomocą prostego | |
632c8533 | 242 | uwierzytelniania (otwartym tekstem). |
8acaa3f5 | 243 | |
ce1cc056 | 244 | %package pam_auth |
8acaa3f5 | 245 | Summary: PAM authentication helper for Squid |
42b7bd48 | 246 | Summary(pl.UTF-8): Obsługa uwierzytelniania PAM dla squida |
ce1cc056 | 247 | Group: Networking/Admin |
b770c784 | 248 | Requires: %{name} = %{epoch}:%{version}-%{release} |
891c08b7 | 249 | Requires: pam >= 0.77.3 |
ce1cc056 | 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 | ||
1cf03309 JR |
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. | |
8acaa3f5 | 259 | |
ce1cc056 | 260 | %package smb_auth |
8acaa3f5 | 261 | Summary: SMB authentication helper for Squid |
42b7bd48 | 262 | Summary(pl.UTF-8): Obsługa uwierzytelniania SMB dla squida |
ce1cc056 | 263 | Group: Networking/Admin |
b770c784 | 264 | Requires: %{name} = %{epoch}:%{version}-%{release} |
ce1cc056 | 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 | ||
1cf03309 JR |
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 | |
632c8533 | 274 | Samba. |
8acaa3f5 | 275 | |
7140e072 PG |
276 | %package msnt_auth |
277 | Summary: MSNT domain authentication helper for Squid | |
42b7bd48 | 278 | Summary(pl.UTF-8): Obsługa uwierzytelniania w domenie MSNT dla squida |
7140e072 | 279 | Group: Networking/Admin |
b770c784 | 280 | Requires: %{name} = %{epoch}:%{version}-%{release} |
7140e072 PG |
281 | |
282 | %description msnt_auth | |
5f1d3951 | 283 | This is an authentication module for the Squid proxy server to |
7140e072 PG |
284 | authenticate users on an NT domain. |
285 | ||
1cf03309 JR |
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. | |
7140e072 | 289 | |
c054e824 JR |
290 | %package nis_auth |
291 | Summary: NIS authentication helper for Squid | |
292 | Summary(pl.UTF-8): Obsługa uwierzytelniania NIS dla squida | |
7140e072 | 293 | Group: Networking/Admin |
b770c784 JR |
294 | Requires: %{name} = %{epoch}:%{version}-%{release} |
295 | Obsoletes: squid-yp_auth < %{epoch}:%{version}-%{release} | |
296 | Provides: squid-yp_auth = %{epoch}:%{version}-%{release} | |
7140e072 | 297 | |
c054e824 | 298 | %description nis_auth |
7140e072 | 299 | This is an authentication module for the Squid proxy server to |
c054e824 | 300 | authenticate users on NIS. |
7140e072 | 301 | |
c054e824 | 302 | %description nis_auth -l pl.UTF-8 |
1cf03309 | 303 | Jest to moduł uwierzytelniania proxy, który pozwala na |
c054e824 | 304 | uwierzytelnianie użytkowników proxy poprzez NIS. |
7140e072 | 305 | |
84c99453 JR |
306 | %package ncsa_auth |
307 | Summary: NCSA httpd style authentication helper for Squid | |
42b7bd48 | 308 | Summary(pl.UTF-8): Obsługa uwierzytelniania NCSA httpd dla squida |
84c99453 | 309 | Group: Networking/Admin |
b770c784 | 310 | Requires: %{name} = %{epoch}:%{version}-%{release} |
84c99453 JR |
311 | |
312 | %description ncsa_auth | |
313 | This module uses a NCSA httpd style password file for authentication. | |
314 | ||
1cf03309 JR |
315 | %description ncsa_auth -l pl.UTF-8 |
316 | Moduł uwierzytelniania proxy używający pliku haseł jak w NCSA httpd. | |
84c99453 JR |
317 | |
318 | %package sasl_auth | |
319 | Summary: SASL authentication helper for Squid | |
42b7bd48 | 320 | Summary(pl.UTF-8): Obsługa uwierzytelniania SASL dla squida |
84c99453 | 321 | Group: Networking/Admin |
b770c784 | 322 | Requires: %{name} = %{epoch}:%{version}-%{release} |
84c99453 JR |
323 | |
324 | %description sasl_auth | |
325 | This is an authentication module for the Squid proxy server to | |
326 | authenticate users via SASL. | |
327 | ||
1cf03309 JR |
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. | |
84c99453 | 331 | |
84c99453 JR |
332 | %package getpwname_auth |
333 | Summary: getpwname authentication helper for Squid | |
42b7bd48 | 334 | Summary(pl.UTF-8): Obsługa uwierzytelniania getpwname dla squida |
84c99453 | 335 | Group: Networking/Admin |
b770c784 | 336 | Requires: %{name} = %{epoch}:%{version}-%{release} |
84c99453 JR |
337 | |
338 | %description getpwname_auth | |
339 | This is an authentication module for the Squid proxy server to | |
340 | authenticate users using getpwname. | |
341 | ||
1cf03309 JR |
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. | |
84c99453 JR |
345 | |
346 | %package passwd_auth | |
347 | Summary: passwd authentication helper for Squid | |
42b7bd48 | 348 | Summary(pl.UTF-8): Obsługa uwierzytelniania passwd dla squida |
84c99453 | 349 | Group: Networking/Admin |
b770c784 | 350 | Requires: %{name} = %{epoch}:%{version}-%{release} |
84c99453 JR |
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 | ||
1cf03309 JR |
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. | |
84c99453 JR |
359 | |
360 | %package ntlm_auth | |
361 | Summary: NTLM authentication helper for Squid | |
42b7bd48 | 362 | Summary(pl.UTF-8): Obsługa uwierzytelniania NTLM dla squida |
84c99453 | 363 | Group: Networking/Admin |
b770c784 | 364 | Requires: %{name} = %{epoch}:%{version}-%{release} |
84c99453 JR |
365 | |
366 | %description ntlm_auth | |
367 | This is an authentication module for the Squid proxy server to | |
368 | authenticate users on NTLM. | |
369 | ||
1cf03309 JR |
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. | |
84c99453 | 373 | |
50e75865 JR |
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 | |
b770c784 | 378 | Requires: %{name} = %{epoch}:%{version}-%{release} |
50e75865 JR |
379 | |
380 | %description radius_auth | |
8fe7d590 CM |
381 | This helper allows Squid to connect to a RADIUS server to validate the |
382 | user name and password of Basic HTTP authentication. | |
50e75865 JR |
383 | |
384 | %description radius_auth -l pl.UTF-8 | |
385 | Program ten pozwala na uwierzytelnianie użytkowników squida przez | |
386 | serwer RADIUS. | |
387 | ||
c054e824 JR |
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 | |
b770c784 | 392 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c054e824 JR |
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 | |
b770c784 | 406 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c054e824 JR |
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 | |
b770c784 JR |
420 | Requires: %{name} = %{epoch}:%{version}-%{release} |
421 | Requires: %{name}-ntlm_auth = %{epoch}:%{version}-%{release} | |
422 | Requires: %{name}-kerberos_auth = %{epoch}:%{version}-%{release} | |
c054e824 JR |
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 | |
b770c784 | 436 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c054e824 JR |
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 | ||
39607b78 | 446 | %package digest_ldap_auth |
447 | Summary: LDAP authentication helper for Squid | |
42b7bd48 | 448 | Summary(pl.UTF-8): Obsługa uwierzytelniania LDAP dla squida |
39607b78 | 449 | Group: Networking/Admin |
b770c784 | 450 | Requires: %{name} = %{epoch}:%{version}-%{release} |
39607b78 | 451 | |
452 | %description digest_ldap_auth | |
453 | This is an authentication module for the Squid proxy server to | |
454 | authenticate users on LDAP. | |
455 | ||
1cf03309 JR |
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. | |
39607b78 | 459 | |
84c99453 JR |
460 | %package ip_acl |
461 | Summary: IP external ACL helper for Squid | |
42b7bd48 | 462 | Summary(pl.UTF-8): Wsparcie kontroli dostępu przez IP dla squida |
84c99453 | 463 | Group: Networking/Admin |
f0a5f35f | 464 | Requires: %{name} = %{epoch}:%{version}-%{release} |
84c99453 JR |
465 | |
466 | %description ip_acl | |
f0a5f35f | 467 | This is an external ACL module for the Squid proxy server to limit |
acf3cdb9 | 468 | access for users based on IP address. |
84c99453 | 469 | |
1cf03309 JR |
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. | |
84c99453 JR |
473 | |
474 | %package ldap_acl | |
475 | Summary: LDAP group external ACL helper for Squid | |
42b7bd48 | 476 | Summary(pl.UTF-8): Wsparcie kontroli dostępu przez grupy LDAP dla squida |
84c99453 | 477 | Group: Networking/Admin |
f0a5f35f | 478 | Requires: %{name} = %{epoch}:%{version}-%{release} |
84c99453 JR |
479 | |
480 | %description ldap_acl | |
f0a5f35f | 481 | This is an external ACL module for the Squid proxy server to limit |
acf3cdb9 | 482 | access for users based on LDAP group membership. |
84c99453 | 483 | |
1cf03309 JR |
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. | |
84c99453 JR |
488 | |
489 | %package unix_acl | |
490 | Summary: UNIX group external ACL helper for Squid | |
42b7bd48 | 491 | Summary(pl.UTF-8): Wsparcie kontroli dostępu przez grupy UNIX dla squida |
84c99453 | 492 | Group: Networking/Admin |
f0a5f35f | 493 | Requires: %{name} = %{epoch}:%{version}-%{release} |
84c99453 JR |
494 | |
495 | %description unix_acl | |
f0a5f35f | 496 | This is an external ACL module for the Squid proxy server to limit |
acf3cdb9 | 497 | access for users based on UNIX group membership. |
84c99453 | 498 | |
1cf03309 JR |
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. | |
84c99453 JR |
503 | |
504 | %package wbinfo_acl | |
505 | Summary: NT domain group external ACL helper for Squid | |
42b7bd48 | 506 | Summary(pl.UTF-8): Wsparcie kontroli dostępu przez grupy w domenie NT dla squida |
84c99453 | 507 | Group: Networking/Admin |
f0a5f35f | 508 | Requires: %{name} = %{epoch}:%{version}-%{release} |
84c99453 JR |
509 | |
510 | %description wbinfo_acl | |
f0a5f35f | 511 | This is an external ACL module for the Squid proxy server to limit |
acf3cdb9 | 512 | access for users based on NT domain group membership using wbinfo. |
84c99453 | 513 | |
1cf03309 JR |
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. | |
84c99453 | 518 | |
39607b78 | 519 | %package session_acl |
bbc421a1 TP |
520 | Summary: Squid session tracking external ACL group helper |
521 | Summary(pl.UTF-8): Wsparcie kontroli dostępu przez śledzenie sesji | |
84c99453 | 522 | Group: Networking/Admin |
f0a5f35f | 523 | Requires: %{name} = %{epoch}:%{version}-%{release} |
84c99453 | 524 | |
39607b78 | 525 | %description session_acl |
68f70685 ER |
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 | |
39607b78 | 528 | timer. |
84c99453 | 529 | |
bbc421a1 | 530 | %description session_acl -l pl.UTF-8 |
8fe7d590 CM |
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ń. | |
bbc421a1 | 534 | |
c054e824 JR |
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 | ||
4c0ef65a | 565 | %package scripts |
c8e93bac | 566 | Summary: Perl scripts for Squid |
42b7bd48 | 567 | Summary(pl.UTF-8): Skrypty perlowe dla Squida |
4c0ef65a ER |
568 | Group: Networking/Admin |
569 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
570 | ||
571 | %description scripts | |
c8e93bac JB |
572 | This package contains Perl scripts and contributed programs for Squid. |
573 | ||
1cf03309 | 574 | %description scripts -l pl.UTF-8 |
c8e93bac | 575 | Ten pakiet zawiera skrypty perlowe i dodatkowe programy dla Squida. |
4c0ef65a | 576 | |
e1baf3c8 | 577 | %prep |
8fe7d590 | 578 | %setup -q -a3 |
d30eaf72 | 579 | %patch0 -p1 |
2655eecf | 580 | %patch1 -p1 |
1b310cfb | 581 | %patch2 -p1 |
d30eaf72 | 582 | %{?with_combined_log:%patch4 -p1} |
7b66d9b5 | 583 | %ifarch ppc |
d30eaf72 | 584 | %patch5 -p1 |
7b66d9b5 | 585 | %endif |
d30eaf72 | 586 | %patch6 -p1 |
dae9f88a | 587 | |
e1baf3c8 | 588 | %build |
dc28faf5 | 589 | %{__libtoolize} |
3de753ac | 590 | %{__aclocal} |
da6a399a | 591 | %{__autoconf} |
e5759917 | 592 | %{__autoheader} |
3de753ac | 593 | %{__automake} |
7480ed4d | 594 | %configure \ |
c054e824 JR |
595 | --disable-strict-error-checking \ |
596 | --with-default-user=squid \ | |
50e75865 | 597 | --with-logdir=/var/log/squid \ |
c054e824 | 598 | --with-swapdir=/var/cache/squid \ |
50e75865 | 599 | --with-pidfile=/var/run/squid.pid \ |
194fe678 | 600 | --datadir=%{_datadir}/squid \ |
03ee6af7 | 601 | --enable-arp-acl \ |
c054e824 JR |
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 \ | |
50e75865 | 609 | --enable-ntlm-fail-open \ |
078f5547 AM |
610 | --enable-cache-digests \ |
611 | --enable-coss-aio-ops \ | |
612 | --enable-delay-pools \ | |
078f5547 AM |
613 | --enable-err-language=English \ |
614 | --enable-esi \ | |
078f5547 AM |
615 | --enable-follow-x-forwarded-for \ |
616 | --enable-forward-log \ | |
617 | --enable-forw-via-db \ | |
618 | --enable-htcp \ | |
c054e824 JR |
619 | --enable-wccp \ |
620 | --enable-wccpv2 \ | |
078f5547 | 621 | --enable-icap-client \ |
823e4b71 | 622 | --enable-ecap \ |
078f5547 AM |
623 | --enable-icmp \ |
624 | --enable-kill-parent-hack \ | |
625 | --enable-large-cache-files \ | |
626 | --enable-linux-netfilter \ | |
be7848a3 | 627 | --disable-linux-tproxy \ |
078f5547 | 628 | --enable-multicast-miss \ |
078f5547 AM |
629 | --enable-referer-log \ |
630 | --enable-removal-policies="heap,lru" \ | |
c054e824 | 631 | --enable-storeio="aufs,diskd,rock,ufs" \ |
078f5547 AM |
632 | --enable-snmp \ |
633 | --enable-ssl \ | |
50e75865 | 634 | --enable-ipv6 \ |
078f5547 | 635 | --enable-useragent-log \ |
194fe678 | 636 | --enable-x-accelerator-vary \ |
68c5bbf6 PG |
637 | --localstatedir=/var \ |
638 | --sysconfdir=%{_sysconfdir} \ | |
e5759917 | 639 | --with-auth-on-acceleration \ |
4dcb690c | 640 | --with-large-files \ |
078f5547 | 641 | --with-maxfd=32768 \ |
59113687 | 642 | --with-pthreads \ |
643 | --enable-zph-qos | |
e1baf3c8 | 644 | |
8acaa3f5 | 645 | %{__make} |
e1baf3c8 | 646 | |
647 | %install | |
648 | rm -rf $RPM_BUILD_ROOT | |
102df24e | 649 | install -d $RPM_BUILD_ROOT{%{_cgidir},%{_webapps}/%{_webapp}} \ |
3c0645bd | 650 | $RPM_BUILD_ROOT/etc/{pam.d,rc.d/init.d,security,sysconfig,logrotate.d} \ |
24c96395 | 651 | $RPM_BUILD_ROOT{%{_sbindir},%{_bindir},%{_libexecdir}/contrib} \ |
f0a5f35f | 652 | $RPM_BUILD_ROOT%{_mandir}/man8 \ |
29ca562c | 653 | $RPM_BUILD_ROOT%{_datadir}/squid \ |
c054e824 JR |
654 | $RPM_BUILD_ROOT/var/{cache,log{,/archive}}/squid \ |
655 | $RPM_BUILD_ROOT%{systemdtmpfilesdir} | |
e1baf3c8 | 656 | |
77f75ffe | 657 | %{__make} install \ |
3de753ac | 658 | DESTDIR=$RPM_BUILD_ROOT |
e1baf3c8 | 659 | |
c054e824 | 660 | %{__cp} -a contrib/*.pl $RPM_BUILD_ROOT%{_libexecdir}/contrib |
2fe495a6 | 661 | install scripts/*.pl $RPM_BUILD_ROOT%{_libexecdir} |
29ca562c | 662 | |
8fe7d590 | 663 | install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/squid |
3c0645bd | 664 | touch $RPM_BUILD_ROOT/etc/security/blacklist.squid |
ce1cc056 | 665 | |
c054e824 JR |
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 | |
e1baf3c8 | 672 | |
590e6457 | 673 | cd $RPM_BUILD_ROOT/etc/squid |
8fe7d590 | 674 | %{__patch} -p0 < %{SOURCE4} |
c054e824 | 675 | %{__rm} *.default squid.conf.documented |
590e6457 | 676 | cd - |
677 | ||
8fe7d590 CM |
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 | |
e1baf3c8 | 681 | |
29ca562c | 682 | touch $RPM_BUILD_ROOT/var/log/squid/{access,cache,store}.log |
bbd3a6ea | 683 | |
c054e824 | 684 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/squid/errors/{COPYRIGHT,TRANSLATORS} |
e1baf3c8 | 685 | |
1c1894b4 | 686 | # cp, to have re-entrant install |
c054e824 JR |
687 | %{__rm} -rf docs |
688 | %{__cp} -a doc docs | |
68c5bbf6 | 689 | # We don't want Makefiles as docs... |
c054e824 | 690 | %{__rm} docs/Makefile* |
f0a5f35f | 691 | |
bbc421a1 TP |
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 | |
1c1894b4 | 696 | |
fde47eed | 697 | %clean |
7140e072 | 698 | rm -rf $RPM_BUILD_ROOT |
fde47eed | 699 | |
3e5c79df | 700 | %pre |
9cc7d20f ER |
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 | ||
349b995c | 705 | [ -L %{_datadir}/squid/errors ] && rm -f %{_datadir}/squid/errors || : |
3e5c79df | 706 | |
e1baf3c8 | 707 | %post |
1e0573f8 | 708 | if ! grep -q "^visible_hostname" /etc/squid/squid.conf; then |
b47ca9e4 ER |
709 | hostname=`/bin/hostname -f 2>/dev/null` || hostname='localhost' |
710 | echo visible_hostname $hostname >> /etc/squid/squid.conf | |
1e0573f8 | 711 | fi |
712 | ||
2210ba0e | 713 | /sbin/chkconfig --add squid |
c98ab205 | 714 | if [ "$1" = "1" ]; then |
9cac9077 | 715 | /sbin/service squid init >&2 |
c98ab205 | 716 | fi |
2210ba0e | 717 | %service squid restart |
29ca562c | 718 | |
719 | %preun | |
688434c4 | 720 | if [ "$1" = "0" ]; then |
c98ab205 | 721 | /sbin/chkconfig --del squid |
2210ba0e | 722 | %service squid stop |
1c1894b4 ER |
723 | |
724 | # nuke squid cache if uninstalling | |
725 | rm -rf /var/cache/squid/?? | |
e1baf3c8 | 726 | fi |
727 | ||
b3a4b715 JB |
728 | %postun |
729 | if [ "$1" = "0" ]; then | |
93090cc0 | 730 | %userremove squid |
731 | %groupremove squid | |
b3a4b715 | 732 | fi |
5f1d3951 | 733 | |
9cac9077 ER |
734 | %triggerpostun -- squid < 7:2.5.STABLE7-5 |
735 | %addusertogroup stats squid | |
736 | ||
102df24e ER |
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 | ||
e1baf3c8 | 755 | %files |
756 | %defattr(644,root,root,755) | |
50e75865 | 757 | %doc CONTRIBUTORS COPYRIGHT CREDITS README ChangeLog QUICKSTART |
8fe7d590 | 758 | %doc RELEASENOTES.html SPONSORS docs/* src/mib.txt book-full.html |
50e75865 JR |
759 | %doc src/squid.conf.default src/squid.conf.documented src/mime.conf.default |
760 | %doc errors/TRANSLATORS | |
c054e824 | 761 | %attr(755,root,root) %{_bindir}/purge |
194fe678 | 762 | %attr(755,root,root) %{_bindir}/squidclient |
c054e824 JR |
763 | |
764 | %dir %{_libexecdir} | |
078f5547 | 765 | %attr(755,root,root) %{_libexecdir}/diskd |
dad16a56 | 766 | # YES, it has to be suid root, it sends ICMP packets. |
194fe678 AM |
767 | %attr(4754,root,squid) %{_libexecdir}/pinger |
768 | %attr(755,root,root) %{_libexecdir}/unlinkd | |
c054e824 JR |
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 | |
bbd3a6ea | 775 | |
e0a16a3e | 776 | %attr(754,root,root) /etc/rc.d/init.d/squid |
8d2e1c07 | 777 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/squid |
6b2e091c | 778 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/squid |
c8855654 ER |
779 | |
780 | %dir %{_sysconfdir} | |
dad16a56 | 781 | %attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/squid.conf |
3e5c79df | 782 | %attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mime.conf |
50e75865 | 783 | %attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/errorpage.css |
29ca562c | 784 | |
7134c92f | 785 | %dir %{_datadir}/squid |
56db77a9 | 786 | %dir %{_datadir}/squid/errors |
29ca562c | 787 | %{_datadir}/squid/icons |
788 | %{_datadir}/squid/mib.txt | |
2631dd7f | 789 | %{_datadir}/squid/errors/templates |
50e75865 JR |
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-* | |
b9802509 | 840 | %lang(oc) %{_datadir}/squid/errors/oc |
50e75865 JR |
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-* | |
af701fc9 ŁK |
852 | %lang(sk) %{_datadir}/squid/errors/sl |
853 | %lang(sk) %{_datadir}/squid/errors/sl-* | |
50e75865 JR |
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 | |
8270b031 JR |
865 | %lang(vi) %{_datadir}/squid/errors/vi |
866 | %lang(vi) %{_datadir}/squid/errors/vi-* | |
50e75865 JR |
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 | ||
c054e824 JR |
873 | %{systemdtmpfilesdir}/squid.conf |
874 | %attr(770,root,squid) %dir /var/run/squid | |
29ca562c | 875 | |
e62e100a | 876 | %attr(770,root,squid) %dir /var/log/archive/squid |
3e5c79df JK |
877 | %attr(770,root,squid) %dir /var/log/squid |
878 | %attr(660,root,squid) %ghost /var/log/squid/* | |
e1baf3c8 | 879 | |
3e5c79df | 880 | %attr(770,root,squid) %dir /var/cache/squid |
1c1894b4 ER |
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 | |
50e75865 | 885 | %{_mandir}/man1/squidclient.1* |
68c5bbf6 | 886 | %{_mandir}/man8/squid.8* |
29ca562c | 887 | |
888 | %files cachemgr | |
36fddb2a | 889 | %defattr(644,root,root,755) |
102df24e ER |
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 | |
9d6286c1 | 894 | %dir %{_cgidir} |
102df24e | 895 | %attr(755,root,root) %{_cgidir}/cachemgr.cgi |
2011b5a0 | 896 | %{_mandir}/man8/cachemgr.cgi.8* |
ce1cc056 | 897 | |
898 | %files ldap_auth | |
899 | %defattr(644,root,root,755) | |
84c99453 | 900 | %doc helpers/basic_auth/LDAP/README |
c054e824 JR |
901 | %attr(755,root,root) %{_libexecdir}/basic_ldap_auth |
902 | %{_mandir}/man8/basic_ldap_auth.* | |
ce1cc056 | 903 | |
904 | %files pam_auth | |
905 | %defattr(644,root,root,755) | |
3c0645bd | 906 | %config(noreplace) /etc/pam.d/squid |
907 | %config(noreplace) /etc/security/blacklist.squid | |
c054e824 JR |
908 | %attr(755,root,root) %{_libexecdir}/basic_pam_auth |
909 | %{_mandir}/man8/basic_pam_auth.8* | |
ce1cc056 | 910 | |
911 | %files smb_auth | |
912 | %defattr(644,root,root,755) | |
c054e824 JR |
913 | %doc helpers/basic_auth/SMB/ChangeLog |
914 | %attr(755,root,root) %{_libexecdir}/basic_smb_auth* | |
7140e072 PG |
915 | |
916 | %files msnt_auth | |
917 | %defattr(644,root,root,755) | |
84c99453 | 918 | %doc helpers/basic_auth/MSNT/README* |
c054e824 JR |
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 | |
b2aa8620 | 922 | %attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/msntauth.conf |
7140e072 | 923 | |
c054e824 | 924 | %files nis_auth |
7140e072 | 925 | %defattr(644,root,root,755) |
c054e824 | 926 | %attr(755,root,root) %{_libexecdir}/basic_nis_auth |
84c99453 JR |
927 | |
928 | %files ncsa_auth | |
929 | %defattr(644,root,root,755) | |
c054e824 JR |
930 | %attr(755,root,root) %{_libexecdir}/basic_ncsa_auth |
931 | %{_mandir}/man8/basic_ncsa_auth.8* | |
84c99453 JR |
932 | |
933 | %files sasl_auth | |
934 | %defattr(644,root,root,755) | |
c054e824 JR |
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* | |
84c99453 | 938 | |
84c99453 JR |
939 | %files getpwname_auth |
940 | %defattr(644,root,root,755) | |
c054e824 JR |
941 | %attr(755,root,root) %{_libexecdir}/basic_getpwnam_auth |
942 | %{_mandir}/man8/basic_getpwnam_auth.8* | |
84c99453 JR |
943 | |
944 | %files passwd_auth | |
945 | %defattr(644,root,root,755) | |
c054e824 JR |
946 | %attr(755,root,root) %{_libexecdir}/digest_file_auth |
947 | %{_mandir}/man8/digest_file_auth.8* | |
84c99453 | 948 | |
c054e824 | 949 | %files kerberos_auth |
50e75865 | 950 | %defattr(644,root,root,755) |
c054e824 JR |
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* | |
50e75865 | 955 | |
84c99453 JR |
956 | %files ntlm_auth |
957 | %defattr(644,root,root,755) | |
50e75865 JR |
958 | %attr(755,root,root) %{_libexecdir}/ntlm_smb_lm_auth |
959 | ||
960 | %files radius_auth | |
961 | %defattr(644,root,root,755) | |
c054e824 JR |
962 | %doc helpers/basic_auth/RADIUS/README |
963 | %attr(755,root,root) %{_libexecdir}/basic_radius_auth | |
964 | %{_mandir}/man8/basic_radius_auth.8* | |
84c99453 | 965 | |
39607b78 | 966 | %files digest_ldap_auth |
967 | %defattr(644,root,root,755) | |
968 | %attr(755,root,root) %{_libexecdir}/digest_ldap_auth | |
969 | ||
c054e824 JR |
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 | ||
84c99453 JR |
987 | %files ip_acl |
988 | %defattr(644,root,root,755) | |
c054e824 JR |
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.* | |
84c99453 JR |
992 | |
993 | %files ldap_acl | |
994 | %defattr(644,root,root,755) | |
c054e824 JR |
995 | %attr(755,root,root) %{_libexecdir}/ext_ldap_group_acl |
996 | %{_mandir}/man8/ext_ldap_group_acl.* | |
84c99453 JR |
997 | |
998 | %files unix_acl | |
999 | %defattr(644,root,root,755) | |
c054e824 JR |
1000 | %attr(755,root,root) %{_libexecdir}/ext_unix_group_acl |
1001 | %{_mandir}/man8/ext_unix_group_acl.* | |
84c99453 JR |
1002 | |
1003 | %files wbinfo_acl | |
1004 | %defattr(644,root,root,755) | |
c054e824 JR |
1005 | %attr(755,root,root) %{_libexecdir}/ext_wbinfo_group_acl |
1006 | %{_mandir}/man8/ext_wbinfo_group_acl.8* | |
84c99453 | 1007 | |
39607b78 | 1008 | %files session_acl |
84c99453 | 1009 | %defattr(644,root,root,755) |
c054e824 JR |
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 | |
4c0ef65a ER |
1021 | |
1022 | %files scripts | |
1023 | %defattr(644,root,root,755) | |
c054e824 | 1024 | %attr(755,root,root) %{_libexecdir}/contrib |
39c865af ŁK |
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 | |
c054e824 JR |
1029 | %attr(755,root,root) %{_libexecdir}/calc-must-ids.pl |
1030 | %attr(755,root,root) %{_libexecdir}/cert_tool | |
39c865af | 1031 | %attr(755,root,root) %{_libexecdir}/check_cache.pl |
39c865af | 1032 | %attr(755,root,root) %{_libexecdir}/fileno-to-pathname.pl |
c054e824 | 1033 | %attr(755,root,root) %{_libexecdir}/find-alive.pl |
39c865af | 1034 | %attr(755,root,root) %{_libexecdir}/flag_truncs.pl |
c054e824 | 1035 | %attr(755,root,root) %{_libexecdir}/helper-mux.pl |
39c865af | 1036 | %attr(755,root,root) %{_libexecdir}/icpserver.pl |
c054e824 | 1037 | %attr(755,root,root) %{_libexecdir}/icp-test.pl |
39c865af | 1038 | %attr(755,root,root) %{_libexecdir}/tcp-banger.pl |
c054e824 JR |
1039 | %attr(755,root,root) %{_libexecdir}/trace-job.pl |
1040 | %attr(755,root,root) %{_libexecdir}/trace-master.pl | |
39c865af ŁK |
1041 | %attr(755,root,root) %{_libexecdir}/udp-banger.pl |
1042 | %attr(755,root,root) %{_libexecdir}/upgrade-1.0-store.pl |