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