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