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