]> git.pld-linux.org Git - packages/inn.git/blob - inn.spec
- updated to 2.4.2, updated PLD,db,install patches
[packages/inn.git] / inn.spec
1 #
2 # Conditional build:
3 %bcond_with     largefiles      # enable largefiles (disables tagged hash)
4 #
5 %include        /usr/lib/rpm/macros.perl
6 Summary:        INN, the InterNet News System (news server)
7 Summary(de):    das InterNet News System (News-Server)
8 Summary(es):    INN, InterNet News System (servidor news)
9 Summary(fr):    INN, le système InterNet News (serveur de news)
10 Summary(pl):    INN, serwer nowinek
11 Summary(pt_BR): INN, InterNet News System (servidor news)
12 Summary(tr):    INN, InterNet Haber Sistemi (haber sunucu)
13 Name:           inn
14 Version:        2.4.2
15 Release:        1
16 License:        distributable
17 Group:          Networking/Daemons
18 Source0:        ftp://ftp.isc.org/isc/inn/%{name}-%{version}.tar.gz
19 # Source0-md5:  4942a275c70e0256dad6f1857be6d62e
20 Source1:        %{name}-default-active
21 Source2:        %{name}-default-distributions
22 Source3:        %{name}-default-newsgroups
23 Source4:        %{name}.crontab
24 Source5:        %{name}.init
25 Source6:        %{name}-cnfsstat.cron
26 Source7:        %{name}.logrotate
27 Source8:        getlist.1.pl
28 Source9:        %{name}d.8.pl
29 Patch0:         %{name}-PLD.patch
30 Patch1:         %{name}-install.patch
31 Patch2:         %{name}-db.patch
32 Patch3:         %{name}-ac25x.patch
33 Patch4:         %{name}-ac253.patch
34 Patch5:         %{name}-setgid.patch
35 Patch6:         %{name}-db4.patch
36 Patch7:         %{name}-lib_install_modes.patch
37 Patch8:         %{name}-config.patch
38 URL:            http://www.isc.org/sw/inn/
39 BuildRequires:  autoconf
40 BuildRequires:  automake
41 BuildRequires:  bison
42 BuildRequires:  db-devel
43 BuildRequires:  flex
44 BuildRequires:  libtool >= 1:1.4.2-9
45 BuildRequires:  openssl-devel >= 0.9.7d
46 BuildRequires:  perl-devel >= 1:5.8.0
47 PreReq:         %{name}-libs = %{version}-%{release}
48 PreReq:         rc-scripts
49 Requires(post): /bin/kill
50 Requires(post): /usr/bin/getent
51 Requires(post,preun):   /sbin/chkconfig
52 Requires(post): sed >= 4.0
53 Requires(post): fileutils
54 Requires(post): textutils
55 Requires(post): /usr/sbin/usermod
56 Requires:       /etc/cron.d
57 Requires:       awk
58 Requires:       cleanfeed >= 0.95.7b-4
59 Requires:       perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
60 Requires:       procps
61 Requires:       psmisc >= 20.1
62 Requires:       rc-scripts >= 0.2.0
63 Requires:       textutils
64 Requires:       util-linux
65 Provides:       nntpserver
66 Obsoletes:      leafnode
67 Obsoletes:      leafnode+
68 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
69
70 %define         _sysconfdir     /etc/news
71 %define         _includedir     %{_prefix}/include/inn
72
73 # /usr/bin/pullnews doesn't provide perl(Net::NNTP) - perl-libnet does.
74 %define         _noautoprov     'perl(Net::NNTP)'
75 # it's necessary only for sample nnrpd_auth.pl hook
76 %define         _noautoreq      'perl(CDB_File)'
77
78 %description
79 INN is a news server, which can be set up to handle USENET news, as
80 well as private "newsfeeds". There is a *LOT* of information about
81 setting up INN in /usr/share/doc -- read it.
82
83 If you want innreport to generate graphs you need perl-GD package.
84
85 %description -l es
86 INN es un servidor de news, que puede ser configurado para manipular
87 USENET news bien como newsfeeds privadas. Existe un *Montón* de
88 información sobre la configuración del INN en /usr/doc -- léela.
89
90 %description -l pl
91 INN jest serwerem news, który mo¿na skonfigurowaæ do obs³ugi USENET-u,
92 jak równie¿ do obs³ugi ,,prywatnych'' grup w sieciach intranetowych.
93 Ca³e mnóstwo po¿ytecznych informacji o konfigurowaniu INN-a znajdziesz
94 w katalogu /usr/share/doc/inn-*.
95
96 Je¶li chcesz ¿eby innreport generowa³ wykresy musisz zainstalowaæ
97 pakiet perl-GD.
98
99 %description -l pt_BR
100 INN é um servidor de news, que pode ser configurado para manipular
101 USENET news bem como newsfeeds privadas. Existe um *MONTE* de
102 informações sobre a configuração do INN em /usr/doc -- leia.
103
104 %package libs
105 Summary:        INN libraries
106 Summary(de):    INN-Library
107 Summary(fr):    Bibliothèque INN
108 Summary(pl):    Biblioteki do INN-a
109 Group:          Development/Libraries
110
111 %description libs
112 This library is needed by several programs that interface to INN, such
113 as newsgate or tin.
114
115 %description libs -l de
116 Diese Library wird von mehreren Programmen benötigt, die mit INN
117 kommunizieren, etwa newsgate oder tin.
118
119 %description libs -l fr
120 Cette bibliothèque est nécessaire à plusieurs programmes qui
121 s'interfacent avec INN, comme newsgate ou tin.
122
123 %description libs -l pl
124 Biblioteka niezbêdna do dzia³ania kilku programów wspó³pracuj±cych z
125 INN-em, takich jak newsgate czy tin.
126
127 %description libs -l tr
128 INN ile arayüz gerektiren programlar için (newsgate, tin gibi) gereken
129 bir kitaplýktýr.
130
131 %package devel
132 Summary:        INN header files and development documentations
133 Summary(de):    INN-Library
134 Summary(es):    Biblioteca INN
135 Summary(fr):    Bibliothèque INN
136 Summary(pl):    Pliki nag³ówkowe i dokumentacja programisty do inn-a
137 Summary(pt_BR): Biblioteca INN
138 Summary(tr):    INN kitaplýðý
139 Group:          Development/Libraries
140 Requires:       %{name}-libs = %{version}-%{release}
141 Requires:       db-devel
142
143 %description devel
144 Header files and developer documentations for INN libraries.
145
146 %description devel -l de
147 Diese Library wird von mehreren Programmen benötigt, die mit INN
148 kommunizieren, etwa newsgate oder tin.
149
150 %description devel -l es
151 Esta biblioteca es requerida por varios programas que tienen interface
152 con INN, como el newsgate o tin.
153
154 %description devel -l fr
155 Cette bibliothèque est nécessaire à plusieurs programmes qui
156 s'interfacent avec INN, comme newsgate ou tin.
157
158 %description devel -l pl
159 Pliki nag³ówkowe i dokumentacja programisty do bibliotek INN-a.
160
161 %description devel -l pt_BR
162 Esta biblioteca é requerida por vários programas que tem interface com
163 o INN, como o newsgate ou tin.
164
165 %description devel -l tr
166 INN ile arayüz gerektiren programlar için (newsgate, tin gibi) gereken
167 bir kitaplýktýr.
168
169 %package static
170 Summary:        Static INN libraries
171 Summary(es):    Static libraries for inn development
172 Summary(pl):    Biblioteki statyczne do INN
173 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com inn
174 Group:          Development/Libraries
175 Requires:       %{name}-devel = %{version}-%{release}
176
177 %description static
178 Static INN libraries.
179
180 %description static -l es
181 Static libraries for inn development
182
183 %description static -l pl
184 Biblioteki statyczne do INN.
185
186 %description static -l pt_BR
187 INN é um servidor de news, que pode ser configurado para manipular
188 USENET news bem como newsfeeds privadas. Existe um *MONTE* de
189 informações sobre a configuração do INN em /usr/doc -- leia.
190
191 Bibliotecas estáticas para desenvolvimento com inn
192
193 %package -n inews
194 Summary:        Inews program (used for posting by inn and trn)
195 Summary(de):    Inews-Programm (für die Zustellung mit inn und trn)
196 Summary(es):    Programa Inews (usado para franqueo por inn y trn)
197 Summary(fr):    Programme inews (utilisé par inn et trn pour poster)
198 Summary(pl):    Inews - program do wysy³ania artyku³ów (u¿ywany przez inn i trn)
199 Summary(pt_BR): Programa Inews (usado para postagem pelo inn e trn)
200 Summary(tr):    Haber biçimlendirme programý
201 Group:          Networking/News
202 Requires:       %{name}-libs = %{version}-%{release}
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
256 touch innfeed/*.[ly]
257
258 %build
259 %{__libtoolize}
260 %{__aclocal}
261 %{__autoconf}
262 %configure \
263         CFLAGS="%{rpmcflags} -D_GNU_SOURCE" \
264         --with-news-user=news \
265         --with-news-group=news \
266         --with-news-master=news \
267         --with-control-dir=%{_datadir}/news/control \
268         --with-db-dir=/var/lib/news \
269         --with-etc-dir=%{_sysconfdir} \
270         --with-filter-dir=%{_datadir}/news/filter \
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-dir=/var/spool/news/incoming/tmp \
276         --with-perl \
277         --with-sendmail=/usr/lib/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/etc/cron.d/inn
318 install %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/inn
319 install %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/cnfsstat.cron
320 install %{SOURCE7} $RPM_BUILD_ROOT/etc/logrotate.d/inn
321 install %{SOURCE8} $RPM_BUILD_ROOT%{_mandir}/pl/man1/getlist.1
322 install %{SOURCE9} $RPM_BUILD_ROOT%{_mandir}/pl/man8/innd.8
323
324 rm -f $RPM_BUILD_ROOT/var/lib/news/history
325
326 umask 002
327 > $RPM_BUILD_ROOT%{_sysconfdir}/subscriptions
328 touch $RPM_BUILD_ROOT/var/lib/news/history
329 touch $RPM_BUILD_ROOT/var/lib/news/.news.daily
330 touch $RPM_BUILD_ROOT/var/lib/news/active.times
331 touch $RPM_BUILD_ROOT/var/log/news/news.notice
332 touch $RPM_BUILD_ROOT/var/log/news/news.crit
333 touch $RPM_BUILD_ROOT/var/log/news/news.err
334
335 # obsolete?
336 #touch $RPM_BUILD_ROOT%{_includedir}/inn/configdata.h
337
338 mv -f $RPM_BUILD_ROOT%{_datadir}/news/*.{a,la,so*} $RPM_BUILD_ROOT%{_libdir}
339
340 LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_bindir}/makehistory \
341         -a $RPM_BUILD_ROOT/var/lib/news/active \
342         -i -r -f $RPM_BUILD_ROOT/var/lib/news/history || :
343
344 #Fix perms in sample directory to avoid bogus dependencies
345 find samples -name "*.in" -exec chmod a-x {} \;
346
347 # remove files in conflict with cleanfeed
348 rm -f $RPM_BUILD_ROOT%{_datadir}/news/filter/filter_innd.* 
349
350 # remove unpackaged files
351 rm -rf $RPM_BUILD_ROOT%{_prefix}/doc
352 rm -f $RPM_BUILD_ROOT%{_bindir}/rc.news
353
354 %clean
355 rm -rf $RPM_BUILD_ROOT
356
357 %post
358 if [ "`getent passwd http | cut -d: -f6`" = "/var/spool/news" ]; then
359         /usr/sbin/usermod -d /home/services/news news
360 fi
361 umask 022
362 if [ -f /var/lib/news/history ]; then
363         cd /var/lib/news
364         %{_bindir}/makedbz -s `wc -l <history` -f history
365         for i in dir hash index pag; do
366                 [ -f history.n.$i ] && mv history.n.$i history.$i
367         done
368         chown news:news history.*
369         chmod 644 history.*
370 else
371         cd /var/lib/news
372         %{_bindir}/makehistory
373         %{_bindir}/makedbz -s `wc -l <history` -f history
374         for i in dir hash index pag; do
375                 [ -f history.n.$i ] && mv history.n.$i history.$i
376         done
377         chown news:news history history.*
378         chmod 644 history history.*
379 fi
380 [ -f /var/lib/news/active.times ] || {
381         touch /var/lib/news/active.times
382         chown news:news /var/lib/news/active.times
383 }
384
385 [ -f /var/log/news/news.notice ] || {
386         touch /var/log/news/news.notice
387         chown news:news /var/log/news/news.notice
388         chmod 664 /var/log/news/news.notice
389 }
390
391 [ -f /var/log/news/news.crit ] || {
392         touch /var/log/news/news.crit
393         chown news:news /var/log/news/news.crit
394         chmod 660 /var/log/news/news.crit
395 }
396
397 [ -f /var/log/news/news.err ] || {
398         touch /var/log/news/news.err
399         chown news:news /var/log/news/news.err
400         chmod 660 /var/log/news/news.err
401 }
402
403 [ -f /var/lib/news/.news.daily ] || {
404         touch /var/lib/news/.news.daily
405         chown news:news /var/lib/news/.news.daily
406         chmod 664 /var/lib/news/.news.daily
407 }
408
409 umask 027
410 if [ -f /etc/syslog.conf ]; then
411   if ! grep -q INN /etc/syslog.conf; then
412     sed -i 's/mail.none;/mail.none;news.none;/' /etc/syslog.conf
413     echo ''                                                                             >> /etc/syslog.conf
414     echo '#'                                                                            >> /etc/syslog.conf
415     echo '# INN'                                                                        >> /etc/syslog.conf
416     echo '#'                                                                            >> /etc/syslog.conf
417     echo 'news.=crit                                        /var/log/news/news.crit'    >> /etc/syslog.conf
418     echo 'news.=err                                         /var/log/news/news.err'     >> /etc/syslog.conf
419     echo 'news.notice                                       /var/log/news/news.notice'  >> /etc/syslog.conf
420     fi
421   if [ -f /var/run/syslog.pid ]; then
422     kill -HUP `cat /var/run/syslog.pid` 2> /dev/null ||:
423   fi
424 else
425     # syslog.conf does not exist
426     echo "mail.none /var/log/messages"                                                  > /etc/syslog.conf.inn
427     echo ""                                                                             >> /etc/syslog.conf.inn
428     echo "# INN"                                                                        >> /etc/syslog.conf.inn
429     echo "news.=crit                                      /var/log/news/news.crit"      >> /etc/syslog.conf.inn
430     echo "news.=err                                       /var/log/news/news.err"       >> /etc/syslog.conf.inn
431     echo "news.notice                                     /var/log/news/news.notice"    >> /etc/syslog.conf.inn
432 fi
433
434 /sbin/chkconfig --add inn
435 if [ -f /var/lock/subsys/inn ]; then
436         /etc/rc.d/init.d/inn restart >&2
437 else
438         echo "Run \"/etc/rc.d/init.d/inn start\" to start inn news server." >&2
439 fi
440
441 %preun
442 if [ "$1" = "0" ]; then
443         if [ -f /var/lock/subsys/news ]; then
444                 /etc/rc.d/init.d/inn stop
445         fi
446         /sbin/chkconfig --del inn
447 fi
448
449 %triggerpostun -- inn < 2.4.0
450 cp -af %{_sysconfdir}/inn.conf{,.rpmorig}
451 sed -e 's/^\(listenonipv6\)/#\1/;s/^bindipv6address/bindaddress6/;s/^sourceipv6address/sourceaddress6/' \
452         %{_sysconfdir}/inn.conf.rpmorig > %{_sysconfdir}/inn.conf
453
454 %post   libs -p /sbin/ldconfig
455 %postun libs -p /sbin/ldconfig
456
457 %files
458 %defattr(644,root,root,755)
459 %doc CONTRIBUTORS ChangeLog INSTALL LICENSE NEWS README TODO doc/[Icehs]*
460
461 # DB
462 %attr(770,root,news) %dir /var/lib/news
463 %attr(770,root,news) %dir /var/lib/news/backoff
464 %attr(664,root,news) %config(noreplace) %verify(not size mtime md5) /var/lib/news/active
465 %attr(664,root,news) %config(noreplace) %verify(not size mtime md5) /var/lib/news/distributions
466 %attr(664,root,news) %config(noreplace) %verify(not size mtime md5) /var/lib/news/newsgroups
467 %attr(664,root,news) %config(noreplace) %verify(not size mtime md5) /var/lib/news/active.times
468 %attr(664,news,news) %ghost /var/lib/news/.news.daily
469 %attr(664,news,news) %ghost /var/lib/news/history
470
471 # LOGS
472 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/inn
473 %attr(770,root,news) %dir /var/log/news
474 %attr(770,root,news) %dir /var/log/archiv/news
475 %attr(770,news,news) %dir /var/run/news
476 %attr(664,news,news) %ghost /var/log/news/news.notice
477 %attr(660,news,news) %ghost /var/log/news/news.crit
478 %attr(660,news,news) %ghost /var/log/news/news.err
479
480 # SPOOL
481 %attr(771,root,news) %dir /var/spool/news
482 %attr(770,root,news) %dir /var/spool/news/archive
483 %attr(770,root,news) %dir /var/spool/news/articles
484 %attr(770,root,news) %dir /var/spool/news/cycbuffs
485 %attr(770,root,news) %dir /var/spool/news/incoming
486 %attr(770,root,news) %dir /var/spool/news/incoming/bad
487 %attr(770,root,news) %dir /var/spool/news/incoming/tmp
488 %attr(770,root,news) %dir /var/spool/news/innfeed
489 %attr(770,root,news) %dir /var/spool/news/outgoing
490 %attr(770,root,news) %dir /var/spool/news/overview
491 %attr(770,root,news) %dir /var/spool/news/uniover
492
493 # CRON PARTS
494 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/cron.d/inn
495
496 # RC-SCRIPT
497 %attr(754,root,root) /etc/rc.d/init.d/inn
498
499 # CONFIGS (INN is a one big config ;-)
500 %attr(755,root,news) %dir %{_sysconfdir}
501 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/actsync.cfg
502 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/actsync.ign
503 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/buffindexed.conf
504 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/control.ctl
505 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/cycbuff.conf
506 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/distrib.pats
507 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/expire.ctl
508 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/incoming.conf
509 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/inn.conf
510 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/innfeed.conf
511 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/innreport.conf
512 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/innwatch.ctl
513 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/moderators
514 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/motd.news
515 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/news2mail.cf
516 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/newsfeeds
517 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/nnrpd.track
518 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/nntpsend.ctl
519 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ovdb.conf
520 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/overview.fmt
521 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/passwd.nntp
522 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/radius.conf
523 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/readers.conf
524 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sasl.conf
525 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/storage.conf
526 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/subscriptions
527
528 %attr(755,root,news) %dir %{_datadir}/news
529 %attr(755,root,root) %dir %{_datadir}/news/control
530 %attr(755,root,root) %dir %{_datadir}/news/filter
531
532 %config(noreplace) %verify(not size mtime md5) %{_datadir}/news/innreport_inn.pm
533 %config(noreplace) %verify(not size mtime md5) %{_datadir}/news/innshellvars
534 %config(noreplace) %verify(not size mtime md5) %{_datadir}/news/innshellvars.pl
535 %config(noreplace) %verify(not size mtime md5) %{_datadir}/news/innshellvars.tcl
536
537 %config(noreplace) %verify(not size mtime md5) %{_datadir}/news/filter/INN.py
538 %config(noreplace) %verify(not size mtime md5) %{_datadir}/news/filter/filter_nnrpd.pl
539 %config(noreplace) %verify(not size mtime md5) %{_datadir}/news/filter/filter.tcl
540 %config(noreplace) %verify(not size mtime md5) %{_datadir}/news/filter/nnrpd_auth.pl
541 %config(noreplace) %verify(not size mtime md5) %{_datadir}/news/filter/nnrpd_auth.py
542 %config(noreplace) %verify(not size mtime md5) %{_datadir}/news/filter/startup_innd.pl
543 %config(noreplace) %verify(not size mtime md5) %{_datadir}/news/filter/startup.tcl
544
545 %attr(755,root,root) %{_datadir}/news/control/checkgroups.pl
546 %attr(755,root,root) %{_datadir}/news/control/ihave.pl
547 %attr(755,root,root) %{_datadir}/news/control/newgroup.pl
548 %attr(755,root,root) %{_datadir}/news/control/rmgroup.pl
549 %attr(755,root,root) %{_datadir}/news/control/sendme.pl
550 %attr(755,root,root) %{_datadir}/news/control/sendsys.pl
551 %attr(755,root,root) %{_datadir}/news/control/senduuname.pl
552 %attr(755,root,root) %{_datadir}/news/control/version.pl
553
554 %attr(755,root,news) %dir %{_libdir}/news
555 %attr(755,root,root) %dir %{_libdir}/news/auth
556 %attr(755,root,root) %dir %{_libdir}/news/auth/generic
557 %attr(755,root,root) %dir %{_libdir}/news/auth/passwd
558 %attr(755,root,root) %dir %{_libdir}/news/auth/resolv
559 %attr(755,root,root) %dir %{_libdir}/news/rnews
560
561 %attr(755,root,root) %{_libdir}/news/auth/passwd/*
562 %attr(755,root,root) %{_libdir}/news/auth/resolv/*
563 %attr(755,root,root) %{_libdir}/news/rnews/*
564
565 # SUID
566 %attr(4754,root,news) %{_bindir}/inndstart
567 %attr(4754,root,news) %{_bindir}/startinnfeed
568 %attr(4754,root,news) %{_bindir}/rnews
569
570 # BINARIES
571 %attr(755,root,root) %{_bindir}/actmerge
572 %attr(755,root,root) %{_bindir}/actsync
573 %attr(755,root,root) %{_bindir}/actsyncd
574 %attr(755,root,root) %{_bindir}/archive
575 %attr(755,root,root) %{_bindir}/batcher
576 %attr(755,root,root) %{_bindir}/buffchan
577 %attr(755,root,root) %{_bindir}/cnfsheadconf
578 %attr(755,root,root) %{_bindir}/cnfsstat
579 %attr(755,root,root) %{_bindir}/cnfsstat.cron
580 %attr(755,root,root) %{_bindir}/controlbatch
581 %attr(755,root,root) %{_bindir}/controlchan
582 %attr(755,root,root) %{_bindir}/convdate
583 %attr(755,root,root) %{_bindir}/ctlinnd
584 %attr(755,root,root) %{_bindir}/cvtbatch
585 %attr(755,root,root) %{_bindir}/docheckgroups
586 %attr(755,root,root) %{_bindir}/expire
587 %attr(755,root,root) %{_bindir}/expireover
588 %attr(755,root,root) %{_bindir}/expirerm
589 %attr(755,root,root) %{_bindir}/fastrm
590 %attr(755,root,root) %{_bindir}/filechan
591 %attr(755,root,root) %{_bindir}/getlist
592 %attr(755,root,root) %{_bindir}/gpgverify
593 %attr(755,root,root) %{_bindir}/grephistory
594 %attr(755,root,root) %{_bindir}/imapfeed
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}/innupgrade
604 %attr(755,root,root) %{_bindir}/innwatch
605 %attr(755,root,root) %{_bindir}/innxbatch
606 %attr(755,root,root) %{_bindir}/innxmit
607 %attr(755,root,root) %{_bindir}/mailpost
608 %attr(755,root,root) %{_bindir}/makedbz
609 %attr(755,root,root) %{_bindir}/makehistory
610 %attr(755,root,root) %{_bindir}/mod-active
611 %attr(755,root,root) %{_bindir}/news.daily
612 %attr(755,root,root) %{_bindir}/news2mail
613 %attr(755,root,root) %{_bindir}/ninpaths
614 %attr(755,root,root) %{_bindir}/nnrpd
615 %attr(755,root,root) %{_bindir}/nntpget
616 %attr(755,root,root) %{_bindir}/nntpsend
617 %attr(755,root,root) %{_bindir}/ovdb_*
618 %attr(755,root,root) %{_bindir}/overchan
619 %attr(755,root,root) %{_bindir}/perl-nocem
620 %attr(755,root,root) %{_bindir}/pgpverify
621 %attr(755,root,root) %{_bindir}/procbatch
622 %attr(755,root,root) %{_bindir}/prunehistory
623 %attr(755,root,root) %{_bindir}/pullnews
624 %attr(755,root,root) %{_bindir}/scanlogs
625 %attr(755,root,root) %{_bindir}/scanspool
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}/sendinpaths
630 %attr(755,root,root) %{_bindir}/sendxbatches
631 %attr(755,root,root) %{_bindir}/shlock
632 %attr(755,root,root) %{_bindir}/shrinkfile
633 %attr(755,root,root) %{_bindir}/signcontrol
634 %attr(755,root,root) %{_bindir}/simpleftp
635 %attr(755,root,root) %{_bindir}/sm
636 %attr(755,root,root) %{_bindir}/tally.control
637 %attr(755,root,root) %{_bindir}/tdx-util
638 %attr(755,root,root) %{_bindir}/writelog
639
640 # MAN
641 %{_mandir}/man1/convdate.1*
642 %{_mandir}/man1/fastrm.1*
643 %{_mandir}/man1/getlist.1*
644 %{_mandir}/man1/grephistory.1*
645 %{_mandir}/man1/innconfval.1*
646 %{_mandir}/man1/innfeed.1*
647 %{_mandir}/man1/innmail.1*
648 %{_mandir}/man1/nntpget.1*
649 %{_mandir}/man1/pgpverify.1*
650 %{_mandir}/man1/rnews.1*
651 %{_mandir}/man1/shlock.1*
652 %{_mandir}/man1/shrinkfile.1*
653 %{_mandir}/man1/simpleftp.1*
654 %{_mandir}/man1/sm.1*
655 %{_mandir}/man1/startinnfeed.1*
656 %{_mandir}/man[58]/*
657 %lang(pl) %{_mandir}/pl/man1/getlist.1*
658 %lang(pl) %{_mandir}/pl/man8/innd.8*
659
660 %files libs
661 %defattr(644,root,root,755)
662 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
663
664 %files devel
665 %defattr(644,root,root,755)
666 %{_includedir}
667 %{_libdir}/lib*.la
668 %{_libdir}/lib*.so
669 %{_mandir}/man3/*
670
671 %files static
672 %defattr(644,root,root,755)
673 %{_libdir}/lib*.a
674
675 %files -n inews
676 %defattr(644,root,root,755)
677 %attr(755,root,news) %{_bindir}/inews
678 %{_mandir}/man1/inews.1*
This page took 0.157648 seconds and 4 git commands to generate.