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