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