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