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