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