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