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