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