]> git.pld-linux.org Git - packages/inn.git/blob - inn.spec
- s/Distibutable/distributable/ in License
[packages/inn.git] / inn.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        INN, the InterNet News System (news server)
3 Summary(de):    das InterNet News System (News-Server)
4 Summary(es):    INN, InterNet News System (servidor news)
5 Summary(fr):    INN, le système InterNet News (serveur de news)
6 Summary(pl):    INN, serwer nowinek 
7 Summary(pt_BR): INN, InterNet News System (servidor news)
8 Summary(tr):    INN, InterNet Haber Sistemi (haber sunucu)
9 Name:           inn
10 Version:        2.3.2
11 Release:        6
12 License:        distributable
13 Group:          Networking/Daemons
14 Group(de):      Netzwerkwesen/Server
15 Group(pl):      Sieciowe/Serwery
16 Source0:        ftp://ftp.isc.org/isc/inn/%{name}-%{version}.tar.gz
17 Source1:        %{name}-default-active
18 Source2:        %{name}-default-distributions
19 Source3:        %{name}-default-newsgroups
20 Source4:        %{name}-etc-%{name}.conf
21 Source5:        %{name}-etc-newsfeeds
22 Source6:        %{name}.crontab
23 Source7:        %{name}.init
24 Source8:        %{name}-cnfsstat.cron
25 Source9:        %{name}.logrotate
26 Source10:       %{name}-etc-readers.conf
27 #Patch0:        ftp://ftp.north.ad.jp/pub/IPv6/INN/tmp/%{name}-2.3.0-v6-20001011.diff.gz
28 Patch0:         %{name}-ipv6.patch
29 Patch1:         %{name}-PLD.patch
30 Patch2:         %{name}-install.patch
31 Patch3:         %{name}-db3.patch
32 Patch4:         %{name}-setreuid.patch
33 Patch5:         %{name}-sec.patch
34 Patch6:         %{name}-frsize.patch
35 Patch7:         %{name}-ac25x.patch
36 URL:            http://www.isc.org/inn.html
37 BuildRequires:  autoconf
38 BuildRequires:  libtool
39 BuildRequires:  flex
40 BuildRequires:  bison
41 BuildRequires:  db3-devel
42 BuildRequires:  openssl-devel >= 0.9.6a
43 BuildRequires:  perl-devel >= 5.6.1
44 Requires:       cleanfeed >= 0.95.7b-4
45 Requires:       rc-scripts >= 0.2.0
46 Requires:       /etc/cron.d
47 Requires:       psmisc >= 20.1
48 Requires:       util-linux
49 Prereq:         /sbin/chkconfig
50 Prereq:         /sbin/ldconfig
51 Prereq:         rc-scripts
52 Prereq:         sed
53 Prereq:         fileutils
54 Prereq:         %{name}-libs = %{version}
55 Provides:       nntpserver
56 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
57
58 %define         _sysconfdir     /etc/news
59
60 # /usr/bin/pullnews doesn't provide perl(Net::NNTP) - perl-libnet does.
61 %define         _noautoprov     "perl(Net::NNTP)"
62 # it's necessary only for sample nnrpd_auth.pl hook
63 %define         _noautoreq      "perl(CDB_File)"
64
65 %description
66 INN is a news server, which can be set up to handle USENET news, as
67 well as private "newsfeeds". There is a *LOT* of information about
68 setting up INN in /usr/share/doc -- read it.
69
70 If you want innreport to generate graphs you need perl-GD package.
71
72 %description -l es
73 INN es un servidor de news, que puede ser configurado para manipular
74 USENET news bien como newsfeeds privadas. Existe un *Montón* de
75 información sobre la configuración del INN en /usr/doc -- léela.
76
77 %description -l pl
78 INN jest serwerem news, który mo¿na skonfigurowaæ do obs³ugi USENET-u,
79 jak równie¿ do obs³ugi ,,prywatnych'' grup w sieciach intranetowych.
80 Ca³e mnóstwo po¿ytecznych informacji o konfigurowaniu INN-a znajdziesz
81 w katalogu /usr/share/doc/inn-*.
82
83 Je¶li chcesz ¿eby innreport generowa³ wykresy musisz zainstalowaæ
84 pakiet perl-GD.
85
86 %description -l pt_BR
87 INN é um servidor de news, que pode ser configurado para manipular
88 USENET news bem como newsfeeds privadas. Existe um *MONTE* de
89 informações sobre a configuração do INN em /usr/doc -- leia.
90
91 %package libs
92 Summary:        INN libraries
93 Summary(de):    INN-Library
94 Summary(fr):    Bibliothèque INN
95 Summary(pl):    Biblioteki do INN-a
96 Group:          Development/Libraries
97 Group(de):      Entwicklung/Libraries
98 Group(es):      Desarrollo/Bibliotecas
99 Group(fr):      Development/Librairies
100 Group(pl):      Programowanie/Biblioteki
101 Group(pt_BR):   Desenvolvimento/Bibliotecas
102 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
103 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
104
105 %description libs
106 This library is needed by several programs that interface to INN, such
107 as newsgate or tin.
108
109 %description -l de libs
110 Diese Library wird von mehreren Programmen benötigt, die mit INN
111 kommunizieren, etwa newsgate oder tin.
112
113 %description -l fr libs
114 Cette bibliothèque est nécessaire à plusieurs programmes qui
115 s'interfacent avec INN, comme newsgate ou tin.
116
117 %description -l pl libs
118 Biblioteka niezbêdna do dzia³ania kilku programów wspó³pracuj±cych z
119 INN-em, takich jak newsgate czy tin.
120
121 %description -l tr libs
122 INN ile arayüz gerektiren programlar için (newsgate, tin gibi) gereken
123 bir kitaplýktýr.
124
125 %package devel
126 Summary:        INN header files and development documentations
127 Summary(de):    INN-Library
128 Summary(es):    Biblioteca INN
129 Summary(fr):    Bibliothèque INN
130 Summary(pl):    Pliki nag³ówkowe i dokumentacja programisty do inn-a
131 Summary(pt_BR): Biblioteca INN
132 Summary(tr):    INN kitaplýðý
133 Group:          Development/Libraries
134 Group(de):      Entwicklung/Libraries
135 Group(es):      Desarrollo/Bibliotecas
136 Group(fr):      Development/Librairies
137 Group(pl):      Programowanie/Biblioteki
138 Group(pt_BR):   Desenvolvimento/Bibliotecas
139 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
140 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
141 Requires:       %{name}-libs = %{version}
142 Requires:       db3-devel
143
144 %description devel
145 Header files and developer documentations for INN libraries.
146
147 %description -l de devel
148 Diese Library wird von mehreren Programmen benötigt, die mit INN
149 kommunizieren, etwa newsgate oder tin.
150
151 %description -l es devel
152 Esta biblioteca es requerida por varios programas que tienen interface
153 con INN, como el newsgate o tin.
154
155 %description -l fr devel
156 Cette bibliothèque est nécessaire à plusieurs programmes qui
157 s'interfacent avec INN, comme newsgate ou tin.
158
159 %description -l pl devel
160 Pliki nag³ówkowe i dokumentacja programisty do bibliotek INN-a.
161
162 %description -l pt_BR devel
163 Esta biblioteca é requerida por vários programas que tem interface com
164 o INN, como o newsgate ou tin.
165
166 %description -l tr devel
167 INN ile arayüz gerektiren programlar için (newsgate, tin gibi) gereken
168 bir kitaplýktýr.
169
170 %package static
171 Summary:        Static INN libraries
172 Summary(es):    Static libraries for inn development
173 Summary(pl):    Biblioteki statyczne do INN
174 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com inn
175 Group:          Development/Libraries
176 Group(de):      Entwicklung/Libraries
177 Group(es):      Desarrollo/Bibliotecas
178 Group(fr):      Development/Librairies
179 Group(pl):      Programowanie/Biblioteki
180 Group(pt_BR):   Desenvolvimento/Bibliotecas
181 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
182 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
183 Requires:       %{name}-devel = %{version}
184
185 %description static
186 Static INN libraries.
187
188 %description -l es static
189 Static libraries for inn development
190
191 %description -l pl static
192 Biblioteki statyczne do INN.
193
194 %description -l pt_BR static
195 INN é um servidor de news, que pode ser configurado para manipular
196 USENET news bem como newsfeeds privadas. Existe um *MONTE* de
197 informações sobre a configuração do INN em /usr/doc -- leia.
198
199 Bibliotecas estáticas para desenvolvimento com inn
200
201 %package -n inews
202 Summary:        Inews program (used for posting by inn and trn)
203 Summary(de):    Inews-Programm (für die Zustellung mit inn und trn) 
204 Summary(es):    Programa Inews (usado para franqueo por inn y trn)
205 Summary(fr):    Programme inews (utilisé par inn et trn pour poster)
206 Summary(pl):    Inews - program do wysy³ania artyku³ów (u¿ywany przez inn i trn)
207 Summary(pt_BR): Programa Inews (usado para postagem pelo inn e trn)
208 Summary(tr):    Haber biçimlendirme programý
209 Group:          Networking/News
210 Group(de):      Netzwerkwesen/News
211 Group(pl):      Sieciowe/News
212
213 %description -n inews
214 The inews program is used by some news readers to post news. It does
215 some consistency checking and header reformatting, and forwards the
216 article on to the news server specified in inn.conf.
217
218 %description -l de -n inews
219 Das Programm 'inews' wird von manchen Newsreadern zum Senden von
220 Nachrichten verwendet. Es führt eine Konsistenzprüfung und Header-Neuf
221 ormatierung aus und leitet die Nachricht an den in 'inn.conf'
222 angegebenen News-Server weiter.
223
224 %description -l es -n inews
225 El programa inews se usa por algunos lectores de news para postar
226 mensajes. Hace alguna consistencia chequeando y reformateando headers,
227 y enviando el artículo para el servidor de news especificado en el
228 inn.conf.
229
230 %description -l fr -n inews
231 Le programme inews est utilisé par certains lecteurs de news pour
232 poster les articles. Il effectue des vérifications et un reformatage
233 des en-têtes et fait suivre l'article au serveur de news spécifié dans
234 inn.conf.
235
236 %description -l pl -n inews
237 Inews jest u¿ywany przez niektóre czytniki news do wysy³ania
238 artyku³ów. Sprawdza budowê artyku³u, przepisuje nag³ówek i wysy³a do
239 serwera news wyszczególnionego w inn.conf.
240
241 %description -l pt_BR -n inews
242 O programa inews é usado por alguns leitores de news para postar
243 mensagens. Ele faz alguma consistência checando e reformatando
244 headers, e enviando o artigo para o servidor de news especificado no
245 inn.conf.
246
247 %description -l tr -n inews
248 inews programý bazý haber okuyucular tarafýndan haber yollamak
249 amacýyla kullanýlýr. Program bazý güvenlik denetimleri ve baþlýk
250 biçimlendirmesi yaparak ve inn.conf dosyasýnda belirtilen haber
251 sunucuya makaleyi yollar.
252
253 %prep
254 %setup -q
255 %patch0 -p1
256 %patch1 -p1
257 %patch2 -p1
258 %patch3 -p1
259 %patch4 -p1
260 %patch5 -p1
261 %patch6 -p1
262 %patch7 -p1
263
264 %build
265 touch innfeed/*.[ly]
266
267 rm -f config.cache
268 autoconf
269 libtoolize --copy --force
270 %configure \
271         --with-news-user=news \
272         --with-news-group=news \
273         --with-news-master=news \
274         --with-db-dir=/var/lib/news \
275         --with-etc-dir=%{_sysconfdir} \
276         --with-log-dir=/var/log/news \
277         --with-run-dir=/var/run/news \
278         --with-spool-dir=/var/spool/news \
279         --with-lib-dir=%{_datadir}/news \
280         --with-tmp-path=/var/spool/news/incoming/tmp \
281         --with-perl \
282         --with-sendmail=%{_libdir}/sendmail \
283         --with-openssl=%{_prefix} \
284         --with-berkeleydb=%{_prefix} \
285         %{?_with_largefiles:--with-largefiles} \
286         %{!?_with_largefiles:--enable-tagged-hash} \
287         --enable-merge-to-groups \
288         --enable-pgp-verify \
289         --enable-shared \
290         --enable-static \
291         --enable-libtool \
292         --enable-ipv6 \
293         --enable-dual-socket
294
295 %{__make} all PATHFILTER=%{_datadir}/news/filter \
296         PATHCONTROL=%{_datadir}/news/control
297
298 %install 
299 rm -rf $RPM_BUILD_ROOT
300 install -d $RPM_BUILD_ROOT/etc/{news,rc.d/init.d,cron.d,logrotate.d} \
301         $RPM_BUILD_ROOT{%{_libdir}/news/{rnews,auth/generic},%{_includedir}/inn} \
302         $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/news/{control,filter,auth}} \
303         $RPM_BUILD_ROOT%{_mandir}/man{1,3,5,8} \
304         $RPM_BUILD_ROOT/var/{run/news,lib/news/backoff,log/{news,archiv/news}} \
305         $RPM_BUILD_ROOT/var/spool/news/{articles,overview,incoming/{tmp,bad},outgoing,archive,uniover,innfeed,cycbuffs}
306
307 %{__make} install \
308         DESTDIR="$RPM_BUILD_ROOT" \
309         PATHFILTER=%{_datadir}/news/filter \
310         PATHCONTROL=%{_datadir}/news/control \
311         PATHRNEWS=%{_libdir}/news/rnews \
312         PATHAUTHPASSWD=%{_libdir}/news/auth/passwd \
313         PATHAUTHRESOLV=%{_libdir}/news/auth/resolv
314
315 install samples/readers.conf $RPM_BUILD_ROOT%{_sysconfdir}/readers.conf
316
317 install %{SOURCE1} $RPM_BUILD_ROOT/var/lib/news/active
318 install %{SOURCE2} $RPM_BUILD_ROOT/var/lib/news/distributions
319 install %{SOURCE3} $RPM_BUILD_ROOT/var/lib/news/newsgroups
320 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/inn.conf
321 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/newsfeeds
322 install %{SOURCE6} $RPM_BUILD_ROOT/etc/cron.d/inn
323 install %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/inn
324 install %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}/cnfsstat.cron
325 install %{SOURCE9} $RPM_BUILD_ROOT/etc/logrotate.d/inn
326 install %{SOURCE10} $RPM_BUILD_ROOT/%{_sysconfdir}/readers.conf
327
328 rm -f $RPM_BUILD_ROOT/var/lib/news/history
329
330 umask 002
331 touch $RPM_BUILD_ROOT/var/lib/news/subscriptions
332 touch $RPM_BUILD_ROOT/var/lib/news/history
333 touch $RPM_BUILD_ROOT/var/lib/news/.news.daily
334 touch $RPM_BUILD_ROOT/var/lib/news/active.times
335 touch $RPM_BUILD_ROOT/var/log/news/news.notice
336 touch $RPM_BUILD_ROOT/var/log/news/news.crit
337 touch $RPM_BUILD_ROOT/var/log/news/news.err
338
339 touch $RPM_BUILD_ROOT%{_includedir}/inn/configdata.h    
340 install include/{clibrary,dbz,libinn,nntp,ov,qio,ppport,rwlock,storage}.h \
341         $RPM_BUILD_ROOT%{_includedir}/inn
342
343 mv -f $RPM_BUILD_ROOT%{_datadir}/news/*.{a,la,so*} $RPM_BUILD_ROOT%{_libdir}
344
345 LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_datadir} $RPM_BUILD_ROOT%{_bindir}/makehistory \
346         -a $RPM_BUILD_ROOT/var/lib/news/active \
347         -i -r -f $RPM_BUILD_ROOT/var/lib/news/history || :
348
349 #Fix perms in sample directory to avoid bogus dependencies
350 find samples -name "*.in" -exec chmod a-x {} \;
351
352 gzip -9nf CONTRIBUTORS INSTALL HISTORY README* ChangeLog LICENSE NEWS
353
354 %clean
355 rm -rf $RPM_BUILD_ROOT
356
357 %post
358 if [ -f /var/lib/news/history ]; then
359         cd /var/lib/news
360         %{_bindir}/makedbz -s `wc -l <history` -f history
361         for i in dir hash index pag; do
362                 [ -f history.n.$i ] && mv history.n.$i history.$i
363         done
364         chown news.news history.*
365         chmod 644 history.*
366 else
367         cd /var/lib/news
368         cp /dev/null history
369         %{_bindir}/makehistory
370         %{_bindir}/makedbz -s `wc -l <history` -f history
371         for i in dir hash index pag; do
372                 [ -f history.n.$i ] && mv history.n.$i history.$i
373         done
374         chown news.news history history.*
375         chmod 644 history history.*
376 fi
377 [ -f /var/lib/news/active.times ] || {
378         touch /var/lib/news/active.times
379         chown news.news /var/lib/news/active.times
380 }
381
382 [ -f /var/log/news/news.notice ] || {
383         touch /var/log/news/news.notice
384         chown news.news /var/log/news/news.notice
385         chmod 664 /var/log/news/news.notice
386 }
387
388 [ -f /var/log/news/news.crit ] || {
389         touch /var/log/news/news.crit
390         chown news.news /var/log/news/news.crit
391         chmod 660 /var/log/news/news.crit
392 }
393
394 [ -f /var/log/news/news.err ] || {
395         touch /var/log/news/news.err
396         chown news.news /var/log/news/news.err
397         chmod 660 /var/log/news/news.err
398 }
399
400 [ -f /var/lib/news/.news.daily ] || {
401         touch /var/lib/news/.news.daily
402         chown news.news /var/lib/news/.news.daily
403         chmod 664 /var/lib/news/.news.daily
404 }
405
406 if [ -f /etc/syslog.conf ]; then
407   if ! grep -q INN /etc/syslog.conf; then
408     sed 's/mail.none;/mail.none;news.none;/' < /etc/syslog.conf > /etc/syslog.conf.inn
409     mv -f /etc/syslog.conf.inn /etc/syslog.conf
410     echo ''                                                                             >> /etc/syslog.conf
411     echo '#'                                                                            >> /etc/syslog.conf
412     echo '# INN'                                                                        >> /etc/syslog.conf
413     echo '#'                                                                            >> /etc/syslog.conf
414     echo 'news.=crit                                        /var/log/news/news.crit'    >> /etc/syslog.conf
415     echo 'news.=err                                         /var/log/news/news.err'     >> /etc/syslog.conf
416     echo 'news.notice                                       /var/log/news/news.notice'  >> /etc/syslog.conf
417     fi
418   if [ -f /var/run/syslog.pid ]; then
419     kill -HUP `cat /var/run/syslog.pid` 2> /dev/null ||:
420   fi
421 else
422     # syslog.conf does not exist
423     echo "mail.none /var/log/messages"                                                  > /etc/syslog.conf.inn
424     echo ""                                                                             >> /etc/syslog.conf.inn
425     echo "# INN"                                                                        >> /etc/syslog.conf.inn
426     echo "news.=crit                                      /var/log/news/news.crit"      >> /etc/syslog.conf.inn
427     echo "news.=err                                       /var/log/news/news.err"       >> /etc/syslog.conf.inn
428     echo "news.notice                                     /var/log/news/news.notice"    >> /etc/syslog.conf.inn
429 fi
430
431 /sbin/chkconfig --add inn
432 if [ -f /var/lock/subsys/inn ]; then
433         /etc/rc.d/init.d/inn restart >&2
434 else
435         echo "Run \"/etc/rc.d/init.d/inn start\" to start inn news server." >&2
436 fi
437
438 %preun
439 if [ "$1" = "0" ]; then
440         if [ -f /var/lock/subsys/news ]; then
441                 /etc/rc.d/init.d/inn stop
442         fi
443         /sbin/chkconfig --del inn
444 fi
445
446 %post libs -p /sbin/ldconfig 
447 %postun libs -p /sbin/ldconfig 
448
449 %files
450 %defattr(644,root,root,755)
451 %doc {CONTRIBUTORS,INSTALL,HISTORY,README*,ChangeLog,LICENSE,NEWS}.gz
452
453 # DB
454 %attr(770,root,news) %dir /var/lib/news
455 %attr(770,root,news) %dir /var/lib/news/backoff
456 %attr(664,root,news) %config(noreplace) %verify(not size mtime md5) /var/lib/news/active
457 %attr(664,root,news) %config(noreplace) %verify(not size mtime md5) /var/lib/news/distributions
458 %attr(664,root,news) %config(noreplace) %verify(not size mtime md5) /var/lib/news/newsgroups
459 %attr(664,root,news) %config(noreplace) %verify(not size mtime md5) /var/lib/news/subscriptions
460 %attr(664,root,news) %config(noreplace) %verify(not size mtime md5) /var/lib/news/active.times
461 %attr(664,news,news) %ghost /var/lib/news/.news.daily
462 %attr(664,news,news) %ghost /var/lib/news/history
463
464 # LOGS
465 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/inn
466 %attr(770,root,news) %dir /var/log/news
467 %attr(770,root,news) %dir /var/log/archiv/news
468 %attr(770,news,news) %dir /var/run/news
469 %attr(664,news,news) %ghost /var/log/news/news.notice
470 %attr(660,news,news) %ghost /var/log/news/news.crit
471 %attr(660,news,news) %ghost /var/log/news/news.err
472
473 # SPOOL
474 %attr(771,root,news) %dir /var/spool/news
475 %attr(770,root,news) %dir /var/spool/news/archive
476 %attr(770,root,news) %dir /var/spool/news/articles
477 %attr(770,root,news) %dir /var/spool/news/cycbuffs
478 %attr(770,root,news) %dir /var/spool/news/incoming
479 %attr(770,root,news) %dir /var/spool/news/incoming/bad
480 %attr(770,root,news) %dir /var/spool/news/incoming/tmp
481 %attr(770,root,news) %dir /var/spool/news/innfeed
482 %attr(770,root,news) %dir /var/spool/news/outgoing
483 %attr(770,root,news) %dir /var/spool/news/overview
484 %attr(770,root,news) %dir /var/spool/news/uniover
485
486 # CRON PARTS
487 %attr(640,root,root) %config %verify(not size mtime md5) /etc/cron.d/inn
488
489 # RC-SCRIPT
490 %attr(754,root,root) /etc/rc.d/init.d/inn
491
492 # CONFIGS (INN is a one big config ;-)
493 %attr(755,root,news) %dir %{_sysconfdir}
494 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/actsync.cfg
495 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/actsync.ign
496 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/buffindexed.conf
497 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/control.ctl
498 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/cycbuff.conf
499 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/distrib.pats
500 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/expire.ctl
501 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/incoming.conf
502 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/inn.conf
503 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/innfeed.conf
504 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/innreport.conf
505 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/innwatch.ctl
506 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/moderators
507 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/motd.news
508 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/news2mail.cf
509 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/newsfeeds
510 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/nnrpd.track
511 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/nntpsend.ctl
512 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ovdb.conf
513 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/overview.fmt
514 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/passwd.nntp
515 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/radius.conf
516 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/readers.conf
517 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sasl.conf
518 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/storage.conf
519
520 %attr(755,root,news) %dir %{_datadir}/news
521 %attr(755,root,root) %dir %{_datadir}/news/control
522 %attr(755,root,root) %dir %{_datadir}/news/filter
523
524 %attr(755,root,root) %{_datadir}/news/docheckgroups
525 %config %verify(not size mtime md5) %{_datadir}/news/innreport_inn.pm
526 %config %verify(not size mtime md5) %{_datadir}/news/innshellvars
527 %config %verify(not size mtime md5) %{_datadir}/news/innshellvars.pl
528 %config %verify(not size mtime md5) %{_datadir}/news/innshellvars.tcl
529
530 %config %verify(not size mtime md5) %{_datadir}/news/filter/INN.py
531 %config %verify(not size mtime md5) %{_datadir}/news/filter/filter_nnrpd.pl
532 %config %verify(not size mtime md5) %{_datadir}/news/filter/filter.tcl
533 %config %verify(not size mtime md5) %{_datadir}/news/filter/nnrpd_auth.pl
534 %config %verify(not size mtime md5) %{_datadir}/news/filter/nnrpd_auth.py
535 %config %verify(not size mtime md5) %{_datadir}/news/filter/startup_innd.pl
536 %config %verify(not size mtime md5) %{_datadir}/news/filter/startup.tcl
537
538 %attr(755,root,root) %{_datadir}/news/control/checkgroups
539 %attr(755,root,root) %{_datadir}/news/control/checkgroups.pl
540 %attr(755,root,root) %{_datadir}/news/control/default
541 %attr(755,root,root) %{_datadir}/news/control/ihave
542 %attr(755,root,root) %{_datadir}/news/control/ihave.pl
543 %attr(755,root,root) %{_datadir}/news/control/newgroup
544 %attr(755,root,root) %{_datadir}/news/control/newgroup.pl
545 %attr(755,root,root) %{_datadir}/news/control/rmgroup
546 %attr(755,root,root) %{_datadir}/news/control/rmgroup.pl
547 %attr(755,root,root) %{_datadir}/news/control/sendme
548 %attr(755,root,root) %{_datadir}/news/control/sendme.pl
549 %attr(755,root,root) %{_datadir}/news/control/sendsys
550 %attr(755,root,root) %{_datadir}/news/control/sendsys.pl
551 %attr(755,root,root) %{_datadir}/news/control/senduuname
552 %attr(755,root,root) %{_datadir}/news/control/senduuname.pl
553 %attr(755,root,root) %{_datadir}/news/control/version
554 %attr(755,root,root) %{_datadir}/news/control/version.pl
555
556 %attr(755,root,news) %dir %{_libdir}/news
557 %attr(755,root,root) %dir %{_libdir}/news/auth
558 %attr(755,root,root) %dir %{_libdir}/news/auth/generic
559 %attr(755,root,root) %dir %{_libdir}/news/auth/passwd
560 %attr(755,root,root) %dir %{_libdir}/news/auth/resolv
561 %attr(755,root,root) %dir %{_libdir}/news/rnews
562
563 %attr(755,root,root) %{_libdir}/news/auth/passwd/*
564 %attr(755,root,root) %{_libdir}/news/auth/resolv/*
565 %attr(755,root,root) %{_libdir}/news/rnews/*
566
567 # SUID
568 %attr(4754,root,news) %{_bindir}/inndstart
569 %attr(4754,root,news) %{_bindir}/startinnfeed
570 %attr(4754,root,uucp) %{_bindir}/rnews
571
572 # BINARIES
573 %attr(755,root,root) %{_bindir}/actmerge
574 %attr(755,root,root) %{_bindir}/actsync
575 %attr(755,root,root) %{_bindir}/actsyncd
576 %attr(755,root,root) %{_bindir}/archive
577 %attr(755,root,root) %{_bindir}/batcher
578 %attr(755,root,root) %{_bindir}/buffchan
579 %attr(755,root,root) %{_bindir}/cnfsheadconf
580 %attr(755,root,root) %{_bindir}/cnfsstat
581 %attr(755,root,root) %{_bindir}/cnfsstat.cron
582 %attr(755,root,root) %{_bindir}/controlbatch
583 %attr(755,root,root) %{_bindir}/controlchan
584 %attr(755,root,root) %{_bindir}/convdate
585 %attr(755,root,root) %{_bindir}/ctlinnd
586 %attr(755,root,root) %{_bindir}/cvtbatch
587 %attr(755,root,root) %{_bindir}/dbprocs
588 %attr(755,root,root) %{_bindir}/expire
589 %attr(755,root,root) %{_bindir}/expireover
590 %attr(755,root,root) %{_bindir}/expirerm
591 %attr(755,root,root) %{_bindir}/fastrm
592 %attr(755,root,root) %{_bindir}/filechan
593 %attr(755,root,root) %{_bindir}/getlist
594 %attr(755,root,root) %{_bindir}/grephistory
595 %attr(755,root,root) %{_bindir}/inncheck
596 %attr(755,root,root) %{_bindir}/innconfval
597 %attr(755,root,root) %{_bindir}/innd
598 %attr(755,root,root) %{_bindir}/inndf
599 %attr(755,root,root) %{_bindir}/innfeed
600 %attr(755,root,root) %{_bindir}/innmail
601 %attr(755,root,root) %{_bindir}/innreport
602 %attr(755,root,root) %{_bindir}/innstat
603 %attr(755,root,root) %{_bindir}/innwatch
604 %attr(755,root,root) %{_bindir}/innxbatch
605 %attr(755,root,root) %{_bindir}/innxmit
606 %attr(755,root,root) %{_bindir}/mailpost
607 %attr(755,root,root) %{_bindir}/makedbz
608 %attr(755,root,root) %{_bindir}/makehistory
609 %attr(755,root,root) %{_bindir}/mod-active
610 %attr(755,root,root) %{_bindir}/news.daily
611 %attr(755,root,root) %{_bindir}/news2mail
612 %attr(755,root,root) %{_bindir}/newsrequeue
613 %attr(755,root,root) %{_bindir}/nnrpd
614 %attr(755,root,root) %{_bindir}/nntpget
615 %attr(755,root,root) %{_bindir}/nntpsend
616 %attr(755,root,root) %{_bindir}/ovdb_*
617 %attr(755,root,root) %{_bindir}/overchan
618 %attr(755,root,root) %{_bindir}/parsecontrol
619 %attr(755,root,root) %{_bindir}/pgpverify
620 %attr(755,root,root) %{_bindir}/procbatch
621 %attr(755,root,root) %{_bindir}/prunehistory
622 %attr(755,root,root) %{_bindir}/pullnews
623 %attr(755,root,root) %{_bindir}/scanlogs
624 %attr(755,root,root) %{_bindir}/scanspool
625 %attr(755,root,root) %{_bindir}/sendbatch
626 %attr(755,root,root) %{_bindir}/send-ihave
627 %attr(755,root,root) %{_bindir}/send-nntp
628 %attr(755,root,root) %{_bindir}/send-uucp
629 %attr(755,root,root) %{_bindir}/sendxbatches
630 %attr(755,root,root) %{_bindir}/shlock
631 %attr(755,root,root) %{_bindir}/shrinkfile
632 %attr(755,root,root) %{_bindir}/signcontrol
633 %attr(755,root,root) %{_bindir}/simpleftp
634 %attr(755,root,root) %{_bindir}/sm
635 %attr(755,root,root) %{_bindir}/tally.control
636 %attr(755,root,root) %{_bindir}/writelog
637
638 # MAN
639 %{_mandir}/man1/ckpasswd.1*
640 %{_mandir}/man1/convdate.1*
641 %{_mandir}/man1/getlist.1*
642 %{_mandir}/man1/grephistory.1*
643 %{_mandir}/man1/innconfval.1*
644 %{_mandir}/man1/innfeed.1*
645 %{_mandir}/man1/nntpget.1*
646 %{_mandir}/man1/rnews.1*
647 %{_mandir}/man1/shlock.1*
648 %{_mandir}/man1/shrinkfile.1*
649 %{_mandir}/man1/simpleftp.1*
650 %{_mandir}/man1/startinnfeed.1*
651 %{_mandir}/man[58]/**
652
653 %files libs
654 %defattr(644,root,root,755)
655 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
656
657 %files devel
658 %defattr(644,root,root,755)
659 %{_includedir}/inn
660 %{_libdir}/lib*.la
661 %{_libdir}/lib*.so
662 %{_mandir}/man3/*
663
664 %files static
665 %defattr(644,root,root,755)
666 %{_libdir}/lib*.a
667
668 %files -n inews
669 %defattr(644,root,root,755)
670 %attr(755,root,news) %{_bindir}/inews
671 %{_mandir}/man1/inews.1*
This page took 0.084883 seconds and 4 git commands to generate.