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