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