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