]> git.pld-linux.org Git - packages/squid.git/blob - squid.spec
- more work
[packages/squid.git] / squid.spec
1 Summary:        SQUID Internet Object Cache
2 Summary(es):    proxy/cache para www/ftp/gopher
3 Summary(pl):    Uniwersalny proxy-cache server
4 Summary(pt_BR): Cache Squid de objetos Internet
5 Summary(ru):    Squid - ËÜÛ ÏÂßÅËÔÏ× Internet
6 Summary(uk):    Squid - ËÅÛ ÏÂ'¤ËԦנInternet
7 Summary(zh_CN): SQUID ¸ßËÙ»º³å´úÀí·þÎñÆ÷
8 Name:           squid
9 Version:        2.5.STABLE1
10 Release:        1
11 Epoch:          6
12 License:        GPL v2
13 Group:          Networking/Daemons
14 Source0:        http://www.squid-cache.org/Versions/v2/2.5/%{name}-%{version}.tar.bz2
15 Source1:        %{name}-1.1.19-faq.tar.gz
16 Source2:        %{name}.init
17 Source3:        %{name}.sysconfig
18 Source4:        http://cache.is.co.za/%{name}-docs.tar.gz
19 Source5:        %{name}.conf.patch
20 Source6:        %{name}.logrotate
21 Source7:        %{name}.pamd
22 # Bug fixes from Squid home page:
23 Patch0:         http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-ldap_group-compile.patch
24 Patch1:         http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-flags_open.patch
25 Patch2:         http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-ldap_group.patch
26 Patch3:         http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-spaces.patch
27 Patch4:         http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-dnsserver.patch
28 Patch5:         http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-auth-proxy.patch
29 Patch6:         http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-cachemgr.patch
30 Patch7:         http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-uninstall.patch
31 Patch8:         http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-ext_acl_exit.patch
32 Patch9:         http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-request_entity.patch
33 Patch10:        http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-ext_acl_comma.patch
34 Patch11:        http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-acl_leak.patch
35 Patch12:        http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-aufs.patch
36 Patch13:        http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-memstat.patch
37 Patch14:        http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-wccp.patch
38 Patch15:        http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-strwordtok.patch
39 Patch16:        http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-pthreads.patch
40 Patch17:        http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-addlang.patch
41 Patch18:        http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-ldap_auth.patch
42 Patch19:        http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-referer_log.patch
43 Patch20:        http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-load_icons.patch
44 Patch21:        http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-cache_dir_docs.patch
45 Patch22:        http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-max_user_ip.patch
46 Patch23:        http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-proxy_auth.patch
47 Patch24:        http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-disable-http-violations.patch
48 Patch25:        http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-disable-ident-lookups.patch
49 # Other patches:
50 Patch100:       %{name}-perl.patch
51 Patch110:       %{name}-linux.patch
52 Patch120:       %{name}-fhs.patch
53 Patch130:       %{name}-location.patch
54 Patch140:       %{name}-domainmatch.patch
55 Patch150:       %{name}-libnsl_fixes.patch
56 Patch160:       %{name}-more_FD.patch
57 Patch170:       %{name}-ac_fix.patch
58 Patch180:       %{name}-contrib.patch
59 BuildRequires:  autoconf
60 BuildRequires:  openldap-devel
61 BuildRequires:  openssl-devel
62 BuildRequires:  pam-devel
63 BuildRequires:  perl
64 PreReq:         rc-scripts >= 0.2.0
65 Requires(pre):  /bin/id
66 Requires(pre):  /usr/bin/getgid
67 Requires(pre):  /usr/sbin/groupadd
68 Requires(pre):  /usr/sbin/useradd
69 Requires(post,preun):   /sbin/chkconfig
70 Requires(post): fileutils
71 Requires(post): findutils
72 Requires(postun):       /usr/sbin/groupdel
73 Requires(postun):       /usr/sbin/userdel
74 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
75
76 %define         _libexecdir     %{_libdir}/%{name}
77 %define         _sysconfdir     /etc/%{name}
78
79 %description
80 Squid is a high-performance proxy caching server for web clients,
81 supporting FTP, gopher, and HTTP data objects. Unlike traditional
82 caching software, Squid handles all requests in a single,
83 non-blocking, I/O-driven process. Squid keeps meta data and especially
84 hot objects cached in RAM, caches DNS lookups, supports non-blocking
85 DNS lookups, and implements negative caching of failed requests. If
86 you are tight on memory, check out the NOVM version of this package.
87 Squid supports SSL, extensive access controls, and full request
88 logging. By using the lightweight Internet Cache Protocol, Squid
89 caches can be arranged in a hierarchy or mesh for additional bandwidth
90 savings. Squid consists of a main server program squid, a Domain Name
91 System lookup program dnsserver, a program for retrieving FTP data
92 ftpget, and some management and client tools. When squid starts up, it
93 spawns a configurable number of dnsserver processes, each of which can
94 perform a single, blocking Domain Name System (DNS) lookup. This
95 reduces the amount of time the cache waits for DNS lookups. Squid is
96 derived from the ARPA-funded Harvest project.
97
98 %description -l es
99 Squid es un servidor proxy con caché de alto desempeño para clientes
100 web, soportando FTP, gopher y HTTP. Diferentemente de softwares
101 tradicionales de caché squid manipula todas las requisiciones en un
102 único proceso sin bloqueos, direccionado a E/S. Mantienen metadatos y
103 objetos frecuentemente pedidos en uno caché en memoria RAM. Hace caché
104 de resoluciones DNS, soporta resoluciones DNS sin bloqueo y implementa
105 un caché negativo de requisiciones que fallen. Si tiene poca memoria
106 da un vistazo en la versión NOVM de este paquete. También soporta SSL,
107 controles extensivos de acceso y registro (log) completo de las
108 requisiciones. Usando el ligero Protocolo de Caches Internet (ICP)
109 puede ser usado en una jerarquía de servidores para mayor ahorro de la
110 banda de comunicación. Está compuesto del programa squid (servidor
111 principal), del programa dnsserver (para resolución DNS), del programa
112 ftpget (para transmisiones ftp) y otras herramientas clientes y para
113 administración. Cuando squid se inicia, dispara un número configurable
114 de procesos dnsserver, cada uno pudiendo ejecutar solamente una
115 resolución DNS con poder de bloquear. Esto reduce el tiempo que el
116 caché espera por resoluciones DNS. Fue derivado del proyecto Harvest,
117 financiado por la ARPA.
118
119 %description -l pl
120 Squid jest wysoce wydajnym serwerem proxy-cache dla przegl±darek WWW,
121 klientów FTP i gopher. Squid przechowuje najczê¶ciej pobierane dane w
122 pamiêci RAM i zapamiêtuje odwo³ania do DNS. Squid oferuje wsparcie dla
123 SSL, rozbudowan± kontrolê dostêpu oraz pe³ne rejestrowanie pobieranych
124 danych. Dziêki u¿yciu protoko³u ICP (Internet Cache Protocol), serwer
125 squid mo¿na ³±czyæ w hierarchiê, zwiêkszaj±c ich efektywno¶æ. Pakiet
126 squid obejmuje: g³ówny program serwera squid, program dostarczaj±cy
127 informacji z DNS dnsserver, program odbieraj±cy dane FTP ftpget, oraz
128 pomocnicze programy do zarz±dzania. Squid wywodzi siê ze
129 sponsorowanego przez ARPA projektu Harvest.
130
131 %description -l pt_BR
132 O Squid é um servidor proxy com cache de alta performance para
133 clientes web, suportando FTP, gopher e HTTP. Diferentemente de
134 softwares tradicionais de cache o squid manipula todas as requisições
135 em um único processo sem bloqueios, direcionado a E/S.
136
137 Mantém meta dados e objetos freqüentemente pedidos num cache em
138 memória RAM. Faz cache de resoluções DNS, suporta resoluções DNS sem
139 bloqueio e implementa um cache negativo de requisições que falharem.
140 Se você tem pouca memória dê uma olhada na versão NOVM deste pacote.
141
142 Também suporta SSL, controles extensivos de acesso e registro (log)
143 completo das requisições. Usando o leve Protocolo de Caches Internet
144 (ICP) ele pode ser usado em uma hierarquia de servidores para maior
145 economia de banda de comunicação.
146
147 Ele consiste do programa squid (servidor principal), do programa
148 dnsserver (para resolução DNS), do programa ftpget (para transmissões
149 ftp) e outras ferramentas clientes e para gerenciamento. Quando o
150 squid é inicializado ele dispara um número configurável de processos
151 dnsserver, cada um podendo executar somente uma resolução DNS
152 bloqueante. Isto reduz o tempo que o cache espera por resoluções DNS.
153
154 Foi derivado do projeto Harvest, financiado pela ARPA.
155
156 %description -l ru
157 Squid - ÜÔÏ ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÊ ËÜÛÉÒÕÀÝÉÊ ÐÒÏËÓÉ-ÓÅÒ×ÅÒ ÄÌÑ
158 ËÌÉÅÎÔÏ× web, ÐÏÄÄÅÒÖÉ×ÁÀÝÉÊ ÏÂßÅËÔÙ ÄÁÎÎÙÈ ÔÉÐÁ FTP, gopher É HTTP. ÷
159 ÏÔÌÉÞÉÅ ÏÔ ÔÒÁÄÉÃÉÏÎÎÙÈ ËÜÛÉÒÕÀÝÉÈ ÐÒÏÇÒÁÍÍ, Squid ÏÂÒÁÂÁÔÙ×ÁÅÔ ×ÓÅ
160 ÚÁÐÒÏÓÙ ÐÒÉ ÐÏÍÏÝÉ ÏÄÎÏÇÏ ÎÅÂÌÏËÉÒÕÀÝÅÇÏÓÑ, ÕÐÒÁ×ÌÑÅÍÏÇÏ
161 ××ÏÄÏÍ-×Ù×ÏÄÏÍ ÐÒÏÃÅÓÓÁ.
162
163 üÔÏÔ ÐÁËÅÔ ÉÍÅÅÔ ×ÓÔÒÏÅÎÎÕÀ ÐÏÄÄÅÒÖËÕ ÂÁÚÙ ÄÁÎÎÙÈ ÓÅÔÅ×ÙÈ ICMP-ÐÒÏÂ
164 (Netdb).
165
166 %description -l uk
167 Squid - ÃÅ ËÅÛÕÀÞÉÊ ÐÒÏËÓ¦-ÓÅÒ×ÅÒ ÄÌÑ web-Ë̦¤ÎÔ¦×, ÝϠЦÄÔÒÉÍÕ¤
168 ÏÂ'¤ËÔÉ ÄÁÎÉÈ ÔÉÐÕ FTP, gopher ÔÁ HTTP. îÁ ×¦ÄͦÎՠצĠÔÒÁÄÉæÊÎÉÈ
169 ËÅÛÕÀÞÉÈ ÐÒÏÇÒÁÍ, Squid ÏÂÒÏÂÌѤ ×Ó¦ ÚÁÐÉÔÉ ÚÁ ÄÏÐÏÍÏÇÏÀ ÏÄÎÏÇÏ
170 ÎÅÂÌÏËÕÀÞÏÇÏ, ËÅÒÏ×ÁÎÏÇÏ ××ÏÄÏÍ-×É×ÏÄÏÍ ÐÒÏÃÅÓÕ.
171
172 ãÅÊ ÐÁËÅÔ ÍÁ¤ ×ÂÕÄÏ×ÁÎՠЦÄÔÒÉÍËÕ ÂÁÚÉ ÄÁÎÉÈ ÍÅÒÅÖÅ×ÉÈ ICMP-ÐÒÏÂ
173 (Netdb).
174
175 %package cachemgr
176 Summary:        CGI script for Squid management
177 Summary(pl):    Skrypt CGI do zarz±dzania Squidem przez WWW
178 Group:          Networking/Admin
179 Requires:       %{name} = %{version}
180 Requires:       httpd
181
182 %description cachemgr
183 Cachemgr.cgi is a CGI script that allows administrator to chceck
184 various informations about Squid via WWW.
185
186 %description cachemgr -l pl
187 Cachemgr.cgi jest skryptem CGI, który pozwala administratorowi
188 zapoznaæ siê z informacjami o pracy Squida poprzez WWW.
189
190 %package ldap_auth
191 Summary:        LDAP authentication helper for Squid
192 Summary(pl):    Wsparcie autentykacji LDAP dla squida
193 Group:          Networking/Admin
194 Requires:       %{name}
195
196 %description ldap_auth
197 This Squid helper allows authentication against LDAP directories using
198 the "simple authentication" (plain-text).
199
200 %description ldap_auth -l pl
201 Pakiet ten pozwala na autentykacjê LDAP za pomoc± prostej autentykacji
202 (otwartym tekstem).
203
204 %package pam_auth
205 Summary:        PAM authentication helper for Squid
206 Summary(pl):    Wsparcie autentykacji PAM dla squida
207 Group:          Networking/Admin
208 Requires:       %{name}
209
210 %description pam_auth
211 This program authenticates users against a PAM configured
212 authentication service "squid". This allows you to authenticate Squid
213 users to any authentication source for which you have a PAM module.
214
215 %description pam_auth -l pl
216 Program ten pozwala na autentykacjê u¿ytkowników squida w dowolnym
217 ¼ródle posiadaj±cym modu³ PAM.
218
219 %package smb_auth
220 Summary:        SMB authentication helper for Squid
221 Summary(pl):    Wsparcie autentykacji SMB dla squida
222 Group:          Networking/Admin
223 Requires:       %{name}
224
225 %description smb_auth
226 This is a proxy authentication module. With smb_auth you can
227 authenticate proxy users against an SMB server like Windows NT or
228 Samba.
229
230 %description smb_auth -l pl
231 To jest modu³ autentykacji proxy. Z smb_auth mo¿esz autentyfikowaæ
232 u¿ytkowników proxy na serwerach SMB, jak Windows NT czy Samba.
233
234 %package msnt_auth
235 Summary:        MSNT domain authentication helper for Squid
236 Summary(pl):    Wsparcie autentykacji domen MSNT dla squida
237 Group:          Networking/Admin
238 Requires:       %{name}
239
240 %description msnt_auth
241 This is an authentication module for the Squid proxy server to 
242 authenticate users on an NT domain.
243
244 %description msnt_auth -l pl
245 Jest to modu³ autentykacji proxy, który pozwala na autentyfikowanie
246 u¿ytkowników proxy w domenie NT.
247
248 %package yp_auth
249 Summary:        YP authentication helper for Squid
250 Summary(pl):    Wsparcie autentykacji YP dla squida
251 Group:          Networking/Admin
252 Requires:       %{name}
253
254 %description yp_auth
255 This is an authentication module for the Squid proxy server to
256 authenticate users on YP.
257
258 %description yp_auth -l pl
259 Jest to modu³ autentykacji proxy, który pozwala na autentyfikowanie
260 u¿ytkowników proxy poprzez YP.
261
262 %prep
263 %setup -q -a 1 -a 4
264
265 # Bug fixes from Squid home page:
266 %patch0 -p1
267 %patch1 -p1
268 %patch2 -p1
269 %patch3 -p1
270 %patch4 -p1
271 %patch5 -p1
272 %patch6 -p1
273 %patch7 -p1
274 %patch8 -p1
275 %patch9 -p1
276 %patch10 -p1
277 %patch11 -p1
278 %patch12 -p1
279 %patch13 -p1
280 %patch14 -p1
281 %patch15 -p1
282 %patch16 -p1
283 %patch17 -p1
284 %patch18 -p1
285 %patch19 -p1
286 %patch20 -p1
287 %patch21 -p1
288 %patch23 -p1
289 %patch24 -p1
290 %patch25 -p1
291 %patch22 -p1
292
293 # Other patches:
294 # fixme
295 #%patch100 -p1
296 # applied?
297 #%patch110 -p1
298 %patch120 -p1
299 # fixme
300 #%patch130 -p1
301 %patch140 -p1
302 # fixme?
303 #%patch150 -p1
304 #fixme
305 #%patch160 -p1
306 %patch170 -p1
307 %patch180 -p1
308
309 %build
310 %{__aclocal}
311 %{__autoconf}
312 %{__automake}
313 %configure \
314         --localstatedir=/var \
315         --sysconfdir=%{_sysconfdir} \
316         --datadir=%{_datadir}/squid \
317         --enable-icmp \
318         --enable-useragent-log \
319         --enable-snmp \
320         --enable-arp-acl \
321         --enable-err-language=English \
322         --enable-htcp \
323         --enable-carp \
324         --enable-ssl \
325         --enable-forw-via-db \
326         --enable-cache-digests \
327         --enable-storeio="aufs,coss,diskd,null,ufs" \
328         --enable-removal-policies="lru heap" \
329         --disable-ipf-transparent \
330         --enable-delay-pools \
331         --with-pthreads \
332         --enable-auth=yes \
333         --enable-basic-auth-helpers=yes \
334         --enable-ntlm-auth-helpers=yes \
335         --enable-digest-auth-helpers=yes \
336         --enable-external-acl-helpers=yes \
337         --enable-x-accelerator-vary \
338         --enable-linux-netfilter
339
340 mv -f squid/* doc
341 %{__make}
342
343 perl -pi -e 's#/usr/.*bin/perl#/usr/bin/perl#g' contrib/*
344
345 %install
346 rm -rf $RPM_BUILD_ROOT
347 install -d \
348         $RPM_BUILD_ROOT/home/services/httpd/cgi-bin \
349         $RPM_BUILD_ROOT/etc/{pam.d,rc.d/init.d,security,sysconfig,logrotate.d} \
350         $RPM_BUILD_ROOT{%{_sbindir},%{_bindir},%{_libexecdir}/{contrib,auth_modules}} \
351         $RPM_BUILD_ROOT%{_mandir}/{man1,man8} \
352         $RPM_BUILD_ROOT%{_datadir}/squid \
353         $RPM_BUILD_ROOT/var/{cache,log{,/archiv}}/squid
354
355 %{__make} install \
356         DESTDIR=$RPM_BUILD_ROOT
357
358 mv -f contrib/*.pl $RPM_BUILD_ROOT%{_libexecdir}/contrib
359
360 install %{SOURCE7}                              $RPM_BUILD_ROOT/etc/pam.d/squid
361 touch $RPM_BUILD_ROOT/etc/security/blacklist.squid
362
363 mv -f $RPM_BUILD_ROOT%{_libdir}/squid/cachemgr.cgi $RPM_BUILD_ROOT/home/services/httpd/cgi-bin
364
365 cd errors
366 for LNG in *; do
367         if [ -d $LNG ]; then
368                 mv -f $LNG $RPM_BUILD_ROOT%{_datadir}/squid/errors.$LNG
369         fi
370 done
371 cd ..
372
373 cd $RPM_BUILD_ROOT/etc/squid
374 cp -f squid.conf{,.default}
375 patch -p0 < %{SOURCE5}
376 cd -
377
378 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/squid
379 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/squid
380 install %{SOURCE6} $RPM_BUILD_ROOT/etc/logrotate.d/squid
381
382 install scripts/*.pl $RPM_BUILD_ROOT%{_libexecdir}
383
384 touch $RPM_BUILD_ROOT/var/log/squid/{access,cache,store}.log
385
386 # These two files start squid. They are replaced by /etc/rc.d/init.d script.
387 rm -f $RPM_BUILD_ROOT%{_bindir}/R*
388
389 %clean
390 rm -rf $RPM_BUILD_ROOT
391
392 %pre
393 if [ -n "`getgid squid`" ]; then
394         if [ "`getgid squid`" != "91" ]; then
395                 echo "Error: group squid doesn't have gid=91. Correct this before installing squid." 1>&2
396                 exit 1
397         fi
398 else
399         /usr/sbin/groupadd -g 91 -r -f squid 1>&2 || :
400 fi
401 if [ -n "`id -u squid 2>/dev/null`" ]; then
402         if [ "`id -u squid`" != "91" ]; then
403                 echo "Error: user squid doesn't have uid=91. Correct this before installing squid." 1>&2
404                 exit 1
405         fi
406 else
407         /usr/sbin/useradd -M -o -r -u 91 -s /bin/false \
408                 -g squid -c "SQUID http caching daemon" -d /var/cache/squid squid 1>&2 || :
409 fi
410
411 %post
412 try_link() {
413 # If there is already link, don't do anything.
414 if [ ! -e %{_datadir}/squid/errors ]; then
415
416     # Try to create link to Polish, and then any directory but English.
417     if [ -d %{_datadir}/squid/errors.Polish ]; then
418         ln -sf %{_datadir}/squid/errors{.Polish,}
419         return
420     else
421         find %{_datadir}/squid/errors/ -type d -name 'errors.*'| while read NAME; do
422             if [ $NAME != "English" ]; then
423                 ln -sf $NAME %{_datadir}/squid/errors
424                 return
425             fi
426         done
427     fi
428
429     # Create symlink to English if everything else fails.
430     ln -sf %{_datadir}/squid/errors{.English,}
431 fi
432 }
433
434 try_link
435 if [ "$1" = "1" ]; then
436         /sbin/chkconfig --add squid
437         echo "Run \"/etc/rc.d/init.d/squid start\" to start squid." >&2
438 else
439         if [ -f /var/lock/subsys/squid ]; then
440                 /etc/rc.d/init.d/squid restart >&2
441         fi
442 fi
443
444 %preun
445 if [ "$1" = "0" ]; then
446         if [ -f /var/lock/subsys/squid ]; then
447                 /etc/rc.d/init.d/squid stop >&2
448         fi
449         /sbin/chkconfig --del squid
450         rm -f %{_datadir}/squid/errors
451 fi
452
453 %postun
454 if [ "$1" = "0" ]; then
455         /usr/sbin/userdel squid
456         /usr/sbin/groupdel squid
457 fi
458                                 
459 %files
460 %defattr(644,root,root,755)
461 %doc faq CONTRIBUTORS COPYRIGHT CREDITS README ChangeLog QUICKSTART TODO
462 %doc doc/*
463 %attr(755,root,root) %{_bindir}/squidclient
464 %attr(755,root,root) %{_libexecdir}/diskd
465 # YES, it has to be suid root, it sends ICMP packets.
466 %attr(4754,root,squid) %{_libexecdir}/pinger
467 %attr(755,root,root) %{_libexecdir}/unlinkd
468 %attr(755,root,root) %{_sbindir}/*
469
470 %attr(755,root,root) %dir %{_sysconfdir}
471
472 %attr(754,root,root) /etc/rc.d/init.d/squid
473 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/squid
474 %attr(640,root,squid) %config(noreplace) /etc/sysconfig/squid
475 %attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/squid.conf
476 %attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mime.conf
477 %attr(640,root,root) %{_sysconfdir}/mime.conf.default
478 %attr(640,root,root) %{_sysconfdir}/squid.conf.default
479
480 %dir %{_datadir}/squid
481 %{_datadir}/squid/icons
482 %{_datadir}/squid/mib.txt
483 %lang(bg) %{_datadir}/squid/errors.Bulgarian
484 %lang(cs) %{_datadir}/squid/errors.Czech
485 %lang(da) %{_datadir}/squid/errors.Danish
486 %lang(nl) %{_datadir}/squid/errors.Dutch
487 %{_datadir}/squid/errors.English
488 %lang(et) %{_datadir}/squid/errors.Estonian
489 %lang(fi) %{_datadir}/squid/errors.Finnish
490 %lang(fr) %{_datadir}/squid/errors.French
491 %lang(de) %{_datadir}/squid/errors.German
492 %lang(hu) %{_datadir}/squid/errors.Hungarian
493 %lang(it) %{_datadir}/squid/errors.Italian
494 %lang(ja) %{_datadir}/squid/errors.Japanese
495 %lang(ko) %{_datadir}/squid/errors.Korean
496 %lang(pl) %{_datadir}/squid/errors.Polish
497 %lang(pt) %{_datadir}/squid/errors.Portuguese
498 %lang(ro) %{_datadir}/squid/errors.Romanian
499 %lang(ru) %{_datadir}/squid/errors.Russian-1251
500 %lang(ru) %{_datadir}/squid/errors.Russian-koi8-r
501 %lang(zh) %{_datadir}/squid/errors.Simplify_Chinese
502 %lang(sk) %{_datadir}/squid/errors.Slovak
503 %lang(es) %{_datadir}/squid/errors.Spanish
504 %lang(sv) %{_datadir}/squid/errors.Swedish
505 %lang(zh) %{_datadir}/squid/errors.Traditional_Chinese
506 %lang(tr) %{_datadir}/squid/errors.Turkish
507
508 %attr(755,root,root) %dir %{_libexecdir}
509 %attr(755,root,root) %{_libexecdir}/*.pl
510 %attr(755,root,root) %{_libexecdir}/contrib
511 %attr(755,root,root) %dir %{_libexecdir}/auth_modules
512
513 %attr(770,root,squid) %dir /var/log/archiv/squid
514 %attr(770,root,squid) %dir /var/log/squid
515 %attr(660,root,squid) %ghost /var/log/squid/*
516
517 %attr(770,root,squid) %dir /var/cache/squid
518
519 %files cachemgr
520 %defattr(644,root,root,755)
521 %attr(755,root,root) /home/services/httpd/cgi-bin/*
522
523 %files ldap_auth
524 %defattr(644,root,root,755)
525 %doc auth_modules/LDAP/README
526 %attr(755,root,root) %{_libexecdir}/auth_modules/%{name}_ldap_auth
527 %attr(644,root,root) %{_mandir}/man8/%{name}_ldap_auth.*
528
529 %files pam_auth
530 %defattr(644,root,root,755)
531 %doc auth_modules/PAM/pam_auth.c
532 %config(noreplace) /etc/pam.d/squid
533 %config(noreplace) /etc/security/blacklist.squid
534 %attr(755,root,root) %{_libexecdir}/auth_modules/pam_auth
535
536 %files smb_auth
537 %defattr(644,root,root,755)
538 %doc auth_modules/SMB/{README,Changelog,smb_auth.sh}
539 %doc auth_modules/multi-domain-NTLM/*
540 %attr(755,root,root) %{_libexecdir}/auth_modules/smb_auth
541
542 %files msnt_auth
543 %defattr(644,root,root,755)
544 %doc auth_modules/MSNT/README*
545 %attr(755,root,root) %{_libexecdir}/auth_modules/msnt_auth
546
547 %files yp_auth
548 %defattr(644,root,root,755)
549 %attr(755,root,root) %{_libexecdir}/auth_modules/yp_auth
This page took 0.117356 seconds and 4 git commands to generate.