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