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