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