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