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