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