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