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