]> git.pld-linux.org Git - packages/squid.git/blame - squid.spec
do not use builder's CPU instruction set, leads to SIGILL on older x86_64
[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
ab0c36be 19Version: 4.6
73b7f0e0 20Release: 2
80d0d8a3 21Epoch: 7
c0986f46 22License: GPL v2
36fddb2a 23Group: Networking/Daemons
cdabeaf1 24Source0: http://www.squid-cache.org/Versions/v4/%{name}-%{version}.tar.xz
ab0c36be 25# Source0-md5: e25e7cc37754ad14d8aa368c0c210e54
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/
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
cdabeaf1 629
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 649 --disable-strict-error-checking \
6bbc9448 650 --disable-arch-native \
c054e824 651 --with-default-user=squid \
50e75865 652 --with-logdir=/var/log/squid \
c054e824 653 --with-swapdir=/var/cache/squid \
50e75865 654 --with-pidfile=/var/run/squid.pid \
194fe678 655 --datadir=%{_datadir}/squid \
03ee6af7 656 --enable-arp-acl \
c054e824
JR
657 --enable-auth \
658 --enable-basic-auth-helpers \
659 --enable-ntlm-auth-helpers \
660 --enable-negotiate-auth-helpers \
661 --enable-digest-auth-helpers \
662 --enable-external-acl-helpers \
663 --enable-url-rewrite-helpers \
50e75865 664 --enable-ntlm-fail-open \
078f5547
AM
665 --enable-cache-digests \
666 --enable-coss-aio-ops \
667 --enable-delay-pools \
078f5547
AM
668 --enable-err-language=English \
669 --enable-esi \
078f5547
AM
670 --enable-follow-x-forwarded-for \
671 --enable-forward-log \
672 --enable-forw-via-db \
673 --enable-htcp \
c054e824
JR
674 --enable-wccp \
675 --enable-wccpv2 \
078f5547 676 --enable-icap-client \
823e4b71 677 --enable-ecap \
078f5547
AM
678 --enable-icmp \
679 --enable-kill-parent-hack \
680 --enable-large-cache-files \
681 --enable-linux-netfilter \
be7848a3 682 --disable-linux-tproxy \
078f5547 683 --enable-multicast-miss \
078f5547
AM
684 --enable-referer-log \
685 --enable-removal-policies="heap,lru" \
c054e824 686 --enable-storeio="aufs,diskd,rock,ufs" \
302891c0 687 --enable-storeid-rewrite-helpers="file" \
078f5547
AM
688 --enable-snmp \
689 --enable-ssl \
50e75865 690 --enable-ipv6 \
078f5547 691 --enable-useragent-log \
194fe678 692 --enable-x-accelerator-vary \
68c5bbf6
PG
693 --localstatedir=/var \
694 --sysconfdir=%{_sysconfdir} \
e5759917 695 --with-auth-on-acceleration \
4dcb690c 696 --with-large-files \
078f5547 697 --with-maxfd=32768 \
59113687 698 --with-pthreads \
302891c0
ŁK
699 --with-openssl \
700 --without-nettle \
59113687 701 --enable-zph-qos
e1baf3c8 702
8acaa3f5 703%{__make}
e1baf3c8 704
705%install
706rm -rf $RPM_BUILD_ROOT
102df24e 707install -d $RPM_BUILD_ROOT{%{_cgidir},%{_webapps}/%{_webapp}} \
3c0645bd 708 $RPM_BUILD_ROOT/etc/{pam.d,rc.d/init.d,security,sysconfig,logrotate.d} \
24c96395 709 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir},%{_libexecdir}/contrib} \
f0a5f35f 710 $RPM_BUILD_ROOT%{_mandir}/man8 \
29ca562c 711 $RPM_BUILD_ROOT%{_datadir}/squid \
c054e824 712 $RPM_BUILD_ROOT/var/{cache,log{,/archive}}/squid \
03049ebb
ŁK
713 $RPM_BUILD_ROOT%{systemdtmpfilesdir} \
714 $RPM_BUILD_ROOT%{systemdunitdir}
e1baf3c8 715
77f75ffe 716%{__make} install \
3de753ac 717 DESTDIR=$RPM_BUILD_ROOT
e1baf3c8 718
c054e824 719%{__cp} -a contrib/*.pl $RPM_BUILD_ROOT%{_libexecdir}/contrib
2fe495a6 720install scripts/*.pl $RPM_BUILD_ROOT%{_libexecdir}
29ca562c 721
8fe7d590 722install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/squid
3c0645bd 723touch $RPM_BUILD_ROOT/etc/security/blacklist.squid
ce1cc056 724
c054e824
JR
725install %{SOURCE8} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/squid.conf
726
727%{__mv} -f $RPM_BUILD_ROOT%{_libdir}/squid/cachemgr.cgi $RPM_BUILD_ROOT%{_cgidir}
728%{__cp} -a %{SOURCE7} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf
61cf77cb 729%{__cp} -a %{SOURCE9} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
c054e824 730%{__rm} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/cachemgr.conf.default
e1baf3c8 731
590e6457 732cd $RPM_BUILD_ROOT/etc/squid
8fe7d590 733%{__patch} -p0 < %{SOURCE4}
c054e824 734%{__rm} *.default squid.conf.documented
590e6457 735cd -
736
8fe7d590
CM
737install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/squid
738install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/squid
739install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/squid
e1baf3c8 740
29ca562c 741touch $RPM_BUILD_ROOT/var/log/squid/{access,cache,store}.log
bbd3a6ea 742
c054e824 743%{__rm} $RPM_BUILD_ROOT%{_datadir}/squid/errors/{COPYRIGHT,TRANSLATORS}
e1baf3c8 744
1c1894b4 745# cp, to have re-entrant install
c054e824
JR
746%{__rm} -rf docs
747%{__cp} -a doc docs
68c5bbf6 748# We don't want Makefiles as docs...
c054e824 749%{__rm} docs/Makefile*
f0a5f35f 750
bbc421a1
TP
751:> $RPM_BUILD_ROOT/var/cache/squid/netdb_state
752:> $RPM_BUILD_ROOT/var/cache/squid/swap.state
753:> $RPM_BUILD_ROOT/var/cache/squid/swap.state.clean
754:> $RPM_BUILD_ROOT/var/cache/squid/swap.state.last-clean
1c1894b4 755
03049ebb
ŁK
756%{__sed} -e 's|@@LIBEXECDIR@@|%{_libexecdir}|g' %{SOURCE10} >$RPM_BUILD_ROOT%{systemdunitdir}/squid.service
757cp -p %{SOURCE11} $RPM_BUILD_ROOT%{_libexecdir}/squid-check_cache
758
fde47eed 759%clean
7140e072 760rm -rf $RPM_BUILD_ROOT
fde47eed 761
3e5c79df 762%pre
9cc7d20f
ER
763%groupadd -g 91 squid
764%useradd -o -u 91 -s /bin/false -g squid -c "SQUID http caching daemon" -d /var/cache/squid squid
765%addusertogroup stats squid
766
349b995c 767[ -L %{_datadir}/squid/errors ] && rm -f %{_datadir}/squid/errors || :
3e5c79df 768
e1baf3c8 769%post
1e0573f8 770if ! grep -q "^visible_hostname" /etc/squid/squid.conf; then
b47ca9e4
ER
771 hostname=`/bin/hostname -f 2>/dev/null` || hostname='localhost'
772 echo visible_hostname $hostname >> /etc/squid/squid.conf
1e0573f8 773fi
774
2210ba0e 775/sbin/chkconfig --add squid
c98ab205 776if [ "$1" = "1" ]; then
9cac9077 777 /sbin/service squid init >&2
c98ab205 778fi
2210ba0e 779%service squid restart
03049ebb 780%systemd_post squid.service
29ca562c 781
782%preun
688434c4 783if [ "$1" = "0" ]; then
c98ab205 784 /sbin/chkconfig --del squid
2210ba0e 785 %service squid stop
1c1894b4
ER
786
787 # nuke squid cache if uninstalling
788 rm -rf /var/cache/squid/??
e1baf3c8 789fi
03049ebb 790%systemd_preun squid.service
e1baf3c8 791
b3a4b715
JB
792%postun
793if [ "$1" = "0" ]; then
93090cc0 794 %userremove squid
795 %groupremove squid
b3a4b715 796fi
03049ebb 797%systemd_reload
5f1d3951 798
9cac9077
ER
799%triggerpostun -- squid < 7:2.5.STABLE7-5
800%addusertogroup stats squid
801
03049ebb
ŁK
802%triggerpostun -- squid < 7:3.4.7-2
803%systemd_trigger squid.service
804
102df24e
ER
805%triggerin cachemgr -- apache1 < 1.3.37-3, apache1-base
806%webapp_register apache %{_webapp}
807
808%triggerun cachemgr -- apache1 < 1.3.37-3, apache1-base
809%webapp_unregister apache %{_webapp}
810
61cf77cb 811%triggerin cachemgr -- apache-base
102df24e
ER
812%webapp_register httpd %{_webapp}
813
61cf77cb 814%triggerun cachemgr -- apache-base
102df24e
ER
815%webapp_unregister httpd %{_webapp}
816
817%triggerpostun -- cachemgr < 7:3.0.STABLE10-0.2
818if [ -f %{_sysconfdir}/cachemgr.conf.rpmsave ]; then
819 cp -f %{_webapps}/%{_webapp}/cachemgr.conf{,.rpmsave}
820 mv -f %{_sysconfdir}/cachemgr.conf.rpmsave %{_webapps}/%{_webapp}/cachemgr.conf
821fi
822
e1baf3c8 823%files
824%defattr(644,root,root,755)
0b662fa6 825%doc CONTRIBUTORS CREDITS README ChangeLog QUICKSTART
8fe7d590 826%doc RELEASENOTES.html SPONSORS docs/* src/mib.txt book-full.html
50e75865
JR
827%doc src/squid.conf.default src/squid.conf.documented src/mime.conf.default
828%doc errors/TRANSLATORS
c054e824 829%attr(755,root,root) %{_bindir}/purge
194fe678 830%attr(755,root,root) %{_bindir}/squidclient
c054e824
JR
831
832%dir %{_libexecdir}
078f5547 833%attr(755,root,root) %{_libexecdir}/diskd
dad16a56 834# YES, it has to be suid root, it sends ICMP packets.
194fe678
AM
835%attr(4754,root,squid) %{_libexecdir}/pinger
836%attr(755,root,root) %{_libexecdir}/unlinkd
c054e824
JR
837%attr(755,root,root) %{_libexecdir}/ntlm_fake_auth
838%attr(755,root,root) %{_libexecdir}/basic_fake_auth
0b662fa6 839%attr(755,root,root) %{_libexecdir}/ext_delayer_acl
cdabeaf1 840%attr(755,root,root) %{_libexecdir}/helper-mux
c054e824
JR
841%attr(755,root,root) %{_libexecdir}/url_fake_rewrite
842%attr(755,root,root) %{_libexecdir}/url_fake_rewrite.sh
843%attr(755,root,root) %{_libexecdir}/log_file_daemon
cdabeaf1
AM
844%attr(755,root,root) %{_libexecdir}/security_fake_certverify
845%attr(755,root,root) %{_libexecdir}/security_file_certgen
03049ebb 846%attr(755,root,root) %{_libexecdir}/squid-check_cache
cdabeaf1 847%attr(755,root,root) %{_libexecdir}/url_lfs_rewrite
c054e824 848%attr(755,root,root) %{_sbindir}/squid
bbd3a6ea 849
e0a16a3e 850%attr(754,root,root) /etc/rc.d/init.d/squid
8d2e1c07 851%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/squid
6b2e091c 852%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/squid
c8855654
ER
853
854%dir %{_sysconfdir}
dad16a56 855%attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/squid.conf
3e5c79df 856%attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mime.conf
50e75865 857%attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/errorpage.css
29ca562c 858
7134c92f 859%dir %{_datadir}/squid
56db77a9 860%dir %{_datadir}/squid/errors
29ca562c 861%{_datadir}/squid/icons
862%{_datadir}/squid/mib.txt
2631dd7f 863%{_datadir}/squid/errors/templates
50e75865
JR
864%lang(af) %{_datadir}/squid/errors/af
865%lang(ar) %{_datadir}/squid/errors/ar
866%lang(ar) %{_datadir}/squid/errors/ar-*
867%lang(az) %{_datadir}/squid/errors/az
868%lang(az) %{_datadir}/squid/errors/az-*
869%lang(bg) %{_datadir}/squid/errors/bg
870%lang(bg) %{_datadir}/squid/errors/bg-*
871%lang(ca) %{_datadir}/squid/errors/ca
872%lang(cs) %{_datadir}/squid/errors/cs
873%lang(cs) %{_datadir}/squid/errors/cs-*
874%lang(da) %{_datadir}/squid/errors/da
875%lang(da) %{_datadir}/squid/errors/da-*
876%lang(de) %{_datadir}/squid/errors/de
877%lang(de) %{_datadir}/squid/errors/de-*
878%lang(el) %{_datadir}/squid/errors/el
879%lang(el) %{_datadir}/squid/errors/el-*
880%{_datadir}/squid/errors/en
881%{_datadir}/squid/errors/en-*
882%lang(es) %{_datadir}/squid/errors/es
883%lang(es) %{_datadir}/squid/errors/es-*
884%lang(et) %{_datadir}/squid/errors/et
885%lang(et) %{_datadir}/squid/errors/et-*
886%lang(fa) %{_datadir}/squid/errors/fa
887%lang(fa) %{_datadir}/squid/errors/fa-*
888%lang(fi) %{_datadir}/squid/errors/fi
889%lang(fi) %{_datadir}/squid/errors/fi-*
890%lang(fr) %{_datadir}/squid/errors/fr
891%lang(fr) %{_datadir}/squid/errors/fr-*
892%lang(he) %{_datadir}/squid/errors/he
893%lang(he) %{_datadir}/squid/errors/he-*
894%lang(hu) %{_datadir}/squid/errors/hu
895%lang(hu) %{_datadir}/squid/errors/hu-*
896%lang(hy) %{_datadir}/squid/errors/hy
897%lang(hy) %{_datadir}/squid/errors/hy-*
898%lang(id) %{_datadir}/squid/errors/id
899%lang(id) %{_datadir}/squid/errors/id-*
900%lang(it) %{_datadir}/squid/errors/it
901%lang(it) %{_datadir}/squid/errors/it-*
902%lang(ja) %{_datadir}/squid/errors/ja
903%lang(ja) %{_datadir}/squid/errors/ja-*
0b662fa6
AM
904%lang(ka) %{_datadir}/squid/errors/ka
905%lang(ka) %{_datadir}/squid/errors/ka-*
50e75865
JR
906%lang(ko) %{_datadir}/squid/errors/ko
907%lang(ko) %{_datadir}/squid/errors/ko-*
908%lang(lt) %{_datadir}/squid/errors/lt
909%lang(lt) %{_datadir}/squid/errors/lt-*
910%lang(lv) %{_datadir}/squid/errors/lv
911%lang(lv) %{_datadir}/squid/errors/lv-*
912%lang(ms) %{_datadir}/squid/errors/ms
913%lang(ms) %{_datadir}/squid/errors/ms-*
914%lang(nl) %{_datadir}/squid/errors/nl
915%lang(nl) %{_datadir}/squid/errors/nl-*
b9802509 916%lang(oc) %{_datadir}/squid/errors/oc
50e75865
JR
917%lang(pl) %{_datadir}/squid/errors/pl
918%lang(pl) %{_datadir}/squid/errors/pl-*
919%lang(pt) %{_datadir}/squid/errors/pt
920%lang(pt) %{_datadir}/squid/errors/pt-pt
921%lang(pt_BR) %{_datadir}/squid/errors/pt-br
0b662fa6 922%lang(pt_BZ) %{_datadir}/squid/errors/pt-bz
50e75865
JR
923%lang(ro) %{_datadir}/squid/errors/ro
924%lang(ro) %{_datadir}/squid/errors/ro-*
925%lang(ru) %{_datadir}/squid/errors/ru
926%lang(ru) %{_datadir}/squid/errors/ru-*
927%lang(sk) %{_datadir}/squid/errors/sk
928%lang(sk) %{_datadir}/squid/errors/sk-*
af701fc9
ŁK
929%lang(sk) %{_datadir}/squid/errors/sl
930%lang(sk) %{_datadir}/squid/errors/sl-*
50e75865
JR
931%lang(sr) %{_datadir}/squid/errors/sr
932%lang(sr) %{_datadir}/squid/errors/sr-*
933%lang(sv) %{_datadir}/squid/errors/sv
934%lang(sv) %{_datadir}/squid/errors/sv-*
935%lang(th) %{_datadir}/squid/errors/th
936%lang(th) %{_datadir}/squid/errors/th-*
937%lang(tr) %{_datadir}/squid/errors/tr
938%lang(tr) %{_datadir}/squid/errors/tr-*
939%lang(uk) %{_datadir}/squid/errors/uk
940%lang(uk) %{_datadir}/squid/errors/uk-*
941%lang(uz) %{_datadir}/squid/errors/uz
8270b031
JR
942%lang(vi) %{_datadir}/squid/errors/vi
943%lang(vi) %{_datadir}/squid/errors/vi-*
50e75865 944%lang(zh_CN) %{_datadir}/squid/errors/zh-cn
0b662fa6 945%lang(zh_CN) %{_datadir}/squid/errors/zh-han*
50e75865
JR
946%lang(zh_CN) %{_datadir}/squid/errors/zh-sg
947%lang(zh_CN) %{_datadir}/squid/errors/zh-tw
948%lang(zh_TW) %{_datadir}/squid/errors/zh-hk
949%lang(zh_TW) %{_datadir}/squid/errors/zh-mo
950
03049ebb 951%{systemdunitdir}/squid.service
c054e824
JR
952%{systemdtmpfilesdir}/squid.conf
953%attr(770,root,squid) %dir /var/run/squid
29ca562c 954
e62e100a 955%attr(770,root,squid) %dir /var/log/archive/squid
3e5c79df
JK
956%attr(770,root,squid) %dir /var/log/squid
957%attr(660,root,squid) %ghost /var/log/squid/*
e1baf3c8 958
3e5c79df 959%attr(770,root,squid) %dir /var/cache/squid
1c1894b4
ER
960%ghost /var/cache/squid/netdb_state
961%ghost /var/cache/squid/swap.state
962%ghost /var/cache/squid/swap.state.clean
963%ghost /var/cache/squid/swap.state.last-clean
cdabeaf1 964%{_mandir}/man1/purge.1*
50e75865 965%{_mandir}/man1/squidclient.1*
0b662fa6 966%{_mandir}/man8/ext_delayer_acl.8*
68c5bbf6 967%{_mandir}/man8/squid.8*
cdabeaf1
AM
968%{_mandir}/man8/helper-mux.8*
969%{_mandir}/man8/security_fake_certverify.8*
970%{_mandir}/man8/security_file_certgen.8*
971%{_mandir}/man8/url_lfs_rewrite.8*
29ca562c 972
973%files cachemgr
36fddb2a 974%defattr(644,root,root,755)
102df24e
ER
975%dir %attr(750,root,http) %{_webapps}/%{_webapp}
976%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/apache.conf
977%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/httpd.conf
978%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/cachemgr.conf
9d6286c1 979%dir %{_cgidir}
102df24e 980%attr(755,root,root) %{_cgidir}/cachemgr.cgi
2011b5a0 981%{_mandir}/man8/cachemgr.cgi.8*
ce1cc056 982
983%files ldap_auth
984%defattr(644,root,root,755)
c054e824
JR
985%attr(755,root,root) %{_libexecdir}/basic_ldap_auth
986%{_mandir}/man8/basic_ldap_auth.*
ce1cc056 987
988%files pam_auth
989%defattr(644,root,root,755)
3c0645bd 990%config(noreplace) /etc/pam.d/squid
991%config(noreplace) /etc/security/blacklist.squid
f66ef9c6
ŁK
992# it has to be suid root to access /etc/shadow
993%attr(4755,root,root) %{_libexecdir}/basic_pam_auth
c054e824 994%{_mandir}/man8/basic_pam_auth.8*
ce1cc056 995
996%files smb_auth
997%defattr(644,root,root,755)
cdabeaf1 998%doc src/auth/basic/SMB/ChangeLog
c054e824 999%attr(755,root,root) %{_libexecdir}/basic_smb_auth*
7140e072
PG
1000
1001%files msnt_auth
1002%defattr(644,root,root,755)
cdabeaf1
AM
1003#%attr(755,root,root) %{_libexecdir}/basic_msnt_multi_domain_auth
1004#%{_mandir}/man8/basic_msnt_multi_domain_auth.8*
7140e072 1005
c054e824 1006%files nis_auth
7140e072 1007%defattr(644,root,root,755)
c054e824 1008%attr(755,root,root) %{_libexecdir}/basic_nis_auth
84c99453
JR
1009
1010%files ncsa_auth
1011%defattr(644,root,root,755)
c054e824
JR
1012%attr(755,root,root) %{_libexecdir}/basic_ncsa_auth
1013%{_mandir}/man8/basic_ncsa_auth.8*
84c99453
JR
1014
1015%files sasl_auth
1016%defattr(644,root,root,755)
cdabeaf1 1017%doc src/auth/basic/SASL/basic_sasl_auth.{conf,pam}
c054e824
JR
1018%attr(755,root,root) %{_libexecdir}/basic_sasl_auth
1019%{_mandir}/man8/basic_sasl_auth.8*
84c99453 1020
84c99453
JR
1021%files getpwname_auth
1022%defattr(644,root,root,755)
c054e824
JR
1023%attr(755,root,root) %{_libexecdir}/basic_getpwnam_auth
1024%{_mandir}/man8/basic_getpwnam_auth.8*
84c99453
JR
1025
1026%files passwd_auth
1027%defattr(644,root,root,755)
c054e824
JR
1028%attr(755,root,root) %{_libexecdir}/digest_file_auth
1029%{_mandir}/man8/digest_file_auth.8*
84c99453 1030
c054e824 1031%files kerberos_auth
50e75865 1032%defattr(644,root,root,755)
cdabeaf1 1033%doc src/auth/negotiate/kerberos/README
c054e824
JR
1034%attr(755,root,root) %{_libexecdir}/negotiate_kerberos_auth
1035%attr(755,root,root) %{_libexecdir}/negotiate_kerberos_auth_test
1036%{_mandir}/man8/negotiate_kerberos_auth.8*
50e75865 1037
84c99453
JR
1038%files ntlm_auth
1039%defattr(644,root,root,755)
cdabeaf1 1040#%attr(755,root,root) %{_libexecdir}/ntlm_smb_lm_auth
50e75865
JR
1041
1042%files radius_auth
1043%defattr(644,root,root,755)
cdabeaf1 1044%doc src/auth/basic/RADIUS/README
c054e824
JR
1045%attr(755,root,root) %{_libexecdir}/basic_radius_auth
1046%{_mandir}/man8/basic_radius_auth.8*
84c99453 1047
39607b78 1048%files digest_ldap_auth
1049%defattr(644,root,root,755)
1050%attr(755,root,root) %{_libexecdir}/digest_ldap_auth
1051
c054e824
JR
1052%files db_auth
1053%defattr(644,root,root,755)
f66ef9c6 1054%attr(755,root,root) %{_libexecdir}/basic_db_auth
c054e824
JR
1055%{_mandir}/man8/basic_db_auth.8*
1056
1057%files pop3_auth
1058%defattr(644,root,root,755)
1059%{_libexecdir}/basic_pop3_auth
0b662fa6 1060%{_mandir}/man8/basic_pop3_auth.8*
c054e824
JR
1061
1062%files digest_edirectory_auth
1063%defattr(644,root,root,755)
1064%{_libexecdir}/digest_edirectory_auth
1065
1066%files negotiate_wrapper_auth
1067%defattr(644,root,root,755)
1068%{_libexecdir}/negotiate_wrapper_auth
1069
84c99453
JR
1070%files ip_acl
1071%defattr(644,root,root,755)
cdabeaf1 1072%doc src/acl/external/file_userip/example*
c054e824
JR
1073%attr(755,root,root) %{_libexecdir}/ext_file_userip_acl
1074%{_mandir}/man8/ext_file_userip_acl.*
84c99453
JR
1075
1076%files ldap_acl
1077%defattr(644,root,root,755)
c054e824
JR
1078%attr(755,root,root) %{_libexecdir}/ext_ldap_group_acl
1079%{_mandir}/man8/ext_ldap_group_acl.*
84c99453
JR
1080
1081%files unix_acl
1082%defattr(644,root,root,755)
c054e824
JR
1083%attr(755,root,root) %{_libexecdir}/ext_unix_group_acl
1084%{_mandir}/man8/ext_unix_group_acl.*
84c99453
JR
1085
1086%files wbinfo_acl
1087%defattr(644,root,root,755)
c054e824
JR
1088%attr(755,root,root) %{_libexecdir}/ext_wbinfo_group_acl
1089%{_mandir}/man8/ext_wbinfo_group_acl.8*
84c99453 1090
39607b78 1091%files session_acl
84c99453 1092%defattr(644,root,root,755)
c054e824
JR
1093%attr(755,root,root) %{_libexecdir}/ext_session_acl
1094%{_mandir}/man8/ext_session_acl.8*
1095
1096%files edirectory_userip_acl
1097%defattr(644,root,root,755)
1098%{_libexecdir}/ext_edirectory_userip_acl
1099%{_mandir}/man8/ext_edirectory_userip_acl.8*
1100
1101%files kerberos_ldap_group_acl
1102%defattr(644,root,root,755)
1103%{_libexecdir}/ext_kerberos_ldap_group_acl
4c0ef65a 1104
bd181103
JR
1105%files sql_session_acl
1106%defattr(644,root,root,755)
1107%{_libexecdir}/ext_sql_session_acl
302891c0 1108%{_mandir}/man8/ext_sql_session_acl.8*
bd181103
JR
1109
1110%files time_quota_acl
1111%defattr(644,root,root,755)
1112%{_libexecdir}/ext_time_quota_acl
302891c0 1113%{_mandir}/man8/ext_time_quota_acl.8*
bd181103
JR
1114
1115%files log_db_daemon
1116%defattr(644,root,root,755)
1117%{_libexecdir}/log_db_daemon
302891c0
ŁK
1118%{_mandir}/man8/log_db_daemon.8*
1119
1120%files storeid_file_rewrite
1121%defattr(644,root,root,755)
1122%{_libexecdir}/storeid_file_rewrite
1123%{_mandir}/man8/storeid_file_rewrite.8*
bd181103 1124
4c0ef65a
ER
1125%files scripts
1126%defattr(644,root,root,755)
c054e824 1127%attr(755,root,root) %{_libexecdir}/contrib
39c865af
ŁK
1128%attr(755,root,root) %{_libexecdir}/AnnounceCache.pl
1129%attr(755,root,root) %{_libexecdir}/access-log-matrix.pl
1130%attr(755,root,root) %{_libexecdir}/cache-compare.pl
1131%attr(755,root,root) %{_libexecdir}/cachetrace.pl
c054e824
JR
1132%attr(755,root,root) %{_libexecdir}/calc-must-ids.pl
1133%attr(755,root,root) %{_libexecdir}/cert_tool
39c865af 1134%attr(755,root,root) %{_libexecdir}/check_cache.pl
39c865af 1135%attr(755,root,root) %{_libexecdir}/fileno-to-pathname.pl
c054e824 1136%attr(755,root,root) %{_libexecdir}/find-alive.pl
39c865af 1137%attr(755,root,root) %{_libexecdir}/flag_truncs.pl
39c865af 1138%attr(755,root,root) %{_libexecdir}/icpserver.pl
c054e824 1139%attr(755,root,root) %{_libexecdir}/icp-test.pl
39c865af 1140%attr(755,root,root) %{_libexecdir}/tcp-banger.pl
c054e824
JR
1141%attr(755,root,root) %{_libexecdir}/trace-job.pl
1142%attr(755,root,root) %{_libexecdir}/trace-master.pl
39c865af
ŁK
1143%attr(755,root,root) %{_libexecdir}/udp-banger.pl
1144%attr(755,root,root) %{_libexecdir}/upgrade-1.0-store.pl
This page took 0.486228 seconds and 4 git commands to generate.