]> git.pld-linux.org Git - packages/inn.git/blame - inn.spec
- rebuild with perl 5.18.0
[packages/inn.git] / inn.spec
CommitLineData
9e1f55ef
JB
1#
2# Conditional build:
3%bcond_with largefiles # enable largefiles (disables tagged hash)
4#
5ea55358 5%include /usr/lib/rpm/macros.perl
62d4f04e 6Summary: INN, the InterNet News System (news server)
900e3991
ER
7Summary(de.UTF-8): das InterNet News System (News-Server)
8Summary(es.UTF-8): INN, InterNet News System (servidor news)
9Summary(fr.UTF-8): INN, le système InterNet News (serveur de news)
10Summary(pl.UTF-8): INN, serwer nowinek
11Summary(pt_BR.UTF-8): INN, InterNet News System (servidor news)
12Summary(tr.UTF-8): INN, InterNet Haber Sistemi (haber sunucu)
e762d39b 13Name: inn
0152bd41 14Version: 2.4.6
4066daa5 15Release: 8
2f46b8d0 16License: distributable
62d4f04e 17Group: Networking/Daemons
e2024cb9 18Source0: ftp://ftp.isc.org/isc/inn/%{name}-%{version}.tar.gz
0152bd41 19# Source0-md5: 50741ff1b9c230af9109aafc7e98b1a2
bac70e06 20Source1: %{name}-default-active
21Source2: %{name}-default-distributions
22Source3: %{name}-default-newsgroups
d62f835a
AA
23Source4: %{name}.crontab
24Source5: %{name}.init
25Source6: %{name}-cnfsstat.cron
26Source7: %{name}.logrotate
27Source8: getlist.1.pl
28Source9: %{name}d.8.pl
3acdca37 29Source10: %{name}.tmpfiles
45c9b47c
JB
30Patch0: %{name}-PLD.patch
31Patch1: %{name}-install.patch
32Patch2: %{name}-db.patch
33Patch3: %{name}-ac25x.patch
34Patch4: %{name}-ac253.patch
1a925eab
JK
35Patch5: %{name}-setgid.patch
36Patch6: %{name}-db4.patch
00fbffab
JB
37Patch7: %{name}-config.patch
38Patch8: %{name}-libdir.patch
39Patch9: %{name}-asneeded.patch
720fc8b0 40Patch10: %{name}-nnrpd_no_trace.patch
5a4b775e 41URL: https://www.isc.org/software/inn/
a5f0bd96 42BuildRequires: autoconf
1f19b0ad 43BuildRequires: automake
5ea55358 44BuildRequires: bison
70fbead5 45BuildRequires: db-devel
3dc5b213 46BuildRequires: flex
988e20fb 47BuildRequires: heimdal-devel
a2235043 48BuildRequires: libtool >= 1:1.4.2-9
5c9fcecc 49BuildRequires: openssl-devel >= 0.9.7d
567aad03 50BuildRequires: perl-devel >= 1:5.8.0
47956f80 51BuildRequires: rpm-perlprov
5c8ecc5f 52BuildRequires: rpmbuild(macros) >= 1.268
cba9f618 53Requires(post): /bin/kill
2217a330 54Requires(post): /usr/bin/getent
ed7425b9 55Requires(post): /usr/sbin/usermod
cba9f618 56Requires(post): fileutils
ed7425b9 57Requires(post): sed >= 4.0
2217a330 58Requires(post): textutils
ed7425b9
ER
59Requires(post,preun): /sbin/chkconfig
60Requires: %{name}-libs = %{version}-%{release}
1824cb2f 61Requires: /etc/cron.d
032bb863 62Requires: awk
63Requires: cleanfeed >= 0.95.7b-4
e394e0ff 64Requires: procps
032bb863 65Requires: psmisc >= 20.1
45c23cff 66Requires: rc-scripts >= 0.4.1.23
e394e0ff 67Requires: textutils
032bb863 68Requires: util-linux
72d625a1 69Provides: nntpserver
8d78fca9
JB
70Obsoletes: leafnode
71Obsoletes: leafnode+
9f0e9d44 72Conflicts: logrotate < 3.7-4
6d6d162e 73BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62d4f04e 74
8a30a1a2 75%define _sysconfdir /etc/news
45c9b47c 76%define _includedir %{_prefix}/include/inn
8a30a1a2 77
491e5253 78# /usr/bin/pullnews doesn't provide perl(Net::NNTP) - perl-libnet does.
aaf25e8b 79%define _noautoprov 'perl(Net::NNTP)'
491e5253 80# it's necessary only for sample nnrpd_auth.pl hook
aaf25e8b 81%define _noautoreq 'perl(CDB_File)'
491e5253 82
62d4f04e 83%description
e762d39b 84INN is a news server, which can be set up to handle USENET news, as
85well as private "newsfeeds". There is a *LOT* of information about
5c8ecc5f 86setting up INN in %{_docdir}/%{name}-%{version} -- read it.
62d4f04e 87
689f93fc
JR
88If you want innreport to generate graphs you need perl-GD package.
89
766f00fd 90%description -l es.UTF-8
b3dfec9f 91INN es un servidor de news, que puede ser configurado para manipular
766f00fd 92USENET news bien como newsfeeds privadas. Existe un *Montón* de
47956f80 93información sobre la configuración del INN en
94%{_docdir}/%{name}-%{version} -- léela.
b3dfec9f 95
766f00fd
JR
96%description -l pl.UTF-8
97INN jest serwerem news, który można skonfigurować do obsługi USENET-u,
98jak również do obsługi ,,prywatnych'' grup w sieciach intranetowych.
99Całe mnóstwo pożytecznych informacji o konfigurowaniu INN-a znajdziesz
5c8ecc5f 100w katalogu %{_docdir}/%{name}-%{version}.
62d4f04e 101
766f00fd 102Jeśli chcesz żeby innreport generował wykresy musisz zainstalować
689f93fc
JR
103pakiet perl-GD.
104
766f00fd
JR
105%description -l pt_BR.UTF-8
106INN é um servidor de news, que pode ser configurado para manipular
b3dfec9f 107USENET news bem como newsfeeds privadas. Existe um *MONTE* de
47956f80 108informações sobre a configuração do INN em
109%{_docdir}/%{name}-%{version} -- leia.
b3dfec9f 110
b8fd1c81
JR
111%package libs
112Summary: INN libraries
900e3991
ER
113Summary(de.UTF-8): INN-Library
114Summary(fr.UTF-8): Bibliothèque INN
115Summary(pl.UTF-8): Biblioteki do INN-a
0d5e12bf 116Group: Libraries
b8fd1c81
JR
117
118%description libs
119This library is needed by several programs that interface to INN, such
120as newsgate or tin.
121
766f00fd
JR
122%description libs -l de.UTF-8
123Diese Library wird von mehreren Programmen benötigt, die mit INN
b8fd1c81
JR
124kommunizieren, etwa newsgate oder tin.
125
766f00fd
JR
126%description libs -l fr.UTF-8
127Cette bibliothèque est nécessaire à plusieurs programmes qui
b8fd1c81
JR
128s'interfacent avec INN, comme newsgate ou tin.
129
766f00fd
JR
130%description libs -l pl.UTF-8
131Biblioteka niezbędna do działania kilku programów współpracujących z
b8fd1c81
JR
132INN-em, takich jak newsgate czy tin.
133
766f00fd
JR
134%description libs -l tr.UTF-8
135INN ile arayüz gerektiren programlar için (newsgate, tin gibi) gereken
136bir kitaplıktır.
b8fd1c81 137
62d4f04e 138%package devel
8ee5b158 139Summary: INN header files and development documentations
900e3991
ER
140Summary(de.UTF-8): INN-Library
141Summary(es.UTF-8): Biblioteca INN
142Summary(fr.UTF-8): Bibliothèque INN
143Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja programisty do inn-a
144Summary(pt_BR.UTF-8): Biblioteca INN
145Summary(tr.UTF-8): INN kitaplığı
1f021260 146Group: Development/Libraries
0b6509ff 147Requires: %{name}-libs = %{version}-%{release}
70fbead5 148Requires: db-devel
f7754046 149
62d4f04e 150%description devel
3630905a 151Header files and developer documentations for INN libraries.
62d4f04e 152
766f00fd
JR
153%description devel -l de.UTF-8
154Diese Library wird von mehreren Programmen benötigt, die mit INN
62d4f04e 155kommunizieren, etwa newsgate oder tin.
156
766f00fd 157%description devel -l es.UTF-8
b3dfec9f 158Esta biblioteca es requerida por varios programas que tienen interface
159con INN, como el newsgate o tin.
160
766f00fd
JR
161%description devel -l fr.UTF-8
162Cette bibliothèque est nécessaire à plusieurs programmes qui
e762d39b 163s'interfacent avec INN, comme newsgate ou tin.
62d4f04e 164
766f00fd
JR
165%description devel -l pl.UTF-8
166Pliki nagłówkowe i dokumentacja programisty do bibliotek INN-a.
62d4f04e 167
766f00fd
JR
168%description devel -l pt_BR.UTF-8
169Esta biblioteca é requerida por vários programas que tem interface com
b3dfec9f 170o INN, como o newsgate ou tin.
171
766f00fd
JR
172%description devel -l tr.UTF-8
173INN ile arayüz gerektiren programlar için (newsgate, tin gibi) gereken
174bir kitaplıktır.
62d4f04e 175
8ee5b158 176%package static
177Summary: Static INN libraries
900e3991
ER
178Summary(es.UTF-8): Static libraries for inn development
179Summary(pl.UTF-8): Biblioteki statyczne do INN
180Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com inn
8ee5b158 181Group: Development/Libraries
0b6509ff 182Requires: %{name}-devel = %{version}-%{release}
8ee5b158 183
184%description static
185Static INN libraries.
186
766f00fd 187%description static -l es.UTF-8
b3dfec9f 188Static libraries for inn development
189
766f00fd 190%description static -l pl.UTF-8
8ee5b158 191Biblioteki statyczne do INN.
62d4f04e 192
766f00fd 193%description static -l pt_BR.UTF-8
766f00fd 194Bibliotecas estáticas para desenvolvimento com inn
b3dfec9f 195
62d4f04e 196%package -n inews
1f021260 197Summary: Inews program (used for posting by inn and trn)
900e3991
ER
198Summary(de.UTF-8): Inews-Programm (für die Zustellung mit inn und trn)
199Summary(es.UTF-8): Programa Inews (usado para franqueo por inn y trn)
200Summary(fr.UTF-8): Programme inews (utilisé par inn et trn pour poster)
201Summary(pl.UTF-8): Inews - program do wysyłania artykułów (używany przez inn i trn)
202Summary(pt_BR.UTF-8): Programa Inews (usado para postagem pelo inn e trn)
203Summary(tr.UTF-8): Haber biçimlendirme programı
1f021260 204Group: Networking/News
0b6509ff 205Requires: %{name}-libs = %{version}-%{release}
62d4f04e 206
207%description -n inews
e762d39b 208The inews program is used by some news readers to post news. It does
209some consistency checking and header reformatting, and forwards the
210article on to the news server specified in inn.conf.
62d4f04e 211
766f00fd 212%description -n inews -l de.UTF-8
e762d39b 213Das Programm 'inews' wird von manchen Newsreadern zum Senden von
766f00fd 214Nachrichten verwendet. Es führt eine Konsistenzprüfung und Header-Neuf
e762d39b 215ormatierung aus und leitet die Nachricht an den in 'inn.conf'
216angegebenen News-Server weiter.
62d4f04e 217
766f00fd 218%description -n inews -l es.UTF-8
b3dfec9f 219El programa inews se usa por algunos lectores de news para postar
220mensajes. Hace alguna consistencia chequeando y reformateando headers,
766f00fd 221y enviando el artículo para el servidor de news especificado en el
b3dfec9f 222inn.conf.
223
766f00fd
JR
224%description -n inews -l fr.UTF-8
225Le programme inews est utilisé par certains lecteurs de news pour
226poster les articles. Il effectue des vérifications et un reformatage
227des en-têtes et fait suivre l'article au serveur de news spécifié dans
e762d39b 228inn.conf.
62d4f04e 229
766f00fd
JR
230%description -n inews -l pl.UTF-8
231Inews jest używany przez niektóre czytniki news do wysyłania
232artykułów. Sprawdza budowę artykułu, przepisuje nagłówek i wysyła do
233serwera news wyszczególnionego w inn.conf.
62d4f04e 234
766f00fd
JR
235%description -n inews -l pt_BR.UTF-8
236O programa inews é usado por alguns leitores de news para postar
237mensagens. Ele faz alguma consistência checando e reformatando
b3dfec9f 238headers, e enviando o artigo para o servidor de news especificado no
239inn.conf.
240
766f00fd
JR
241%description -n inews -l tr.UTF-8
242inews programı bazı haber okuyucular tarafından haber yollamak
243amacıyla kullanılır. Program bazı güvenlik denetimleri ve başlık
244biçimlendirmesi yaparak ve inn.conf dosyasında belirtilen haber
e762d39b 245sunucuya makaleyi yollar.
62d4f04e 246
247%prep
1824cb2f 248%setup -q
22cdc3ec 249%patch0 -p1
1824cb2f 250%patch1 -p1
43b69da4 251%patch2 -p1
a7951795 252%patch3 -p1
c886271f 253%patch4 -p1
1a925eab
JK
254%patch5 -p1
255%patch6
5fe706d7
JK
256%patch7 -p1
257%patch8 -p1
04fde985 258%patch9 -p1
720fc8b0 259%patch10 -p1
ffaa5404 260
62d4f04e 261touch innfeed/*.[ly]
262
8fa20058 263%build
4a2f14c0 264%{__libtoolize}
00fbffab 265cp -f /usr/share/automake/config.* support
3dc5b213
JB
266%{__aclocal}
267%{__autoconf}
713a2e4c 268%{__autoheader} -I include
8a30a1a2 269%configure \
713a2e4c 270 CPPFLAGS="-D_GNU_SOURCE" \
aeef40a9
JB
271 --with-news-user=news \
272 --with-news-group=news \
273 --with-news-master=news \
d62f835a 274 --with-control-dir=%{_datadir}/news/control \
aeef40a9
JB
275 --with-db-dir=/var/lib/news \
276 --with-etc-dir=%{_sysconfdir} \
d62f835a 277 --with-filter-dir=%{_datadir}/news/filter \
aeef40a9
JB
278 --with-log-dir=/var/log/news \
279 --with-run-dir=/var/run/news \
280 --with-spool-dir=/var/spool/news \
281 --with-lib-dir=%{_datadir}/news \
d62f835a 282 --with-tmp-dir=/var/spool/news/incoming/tmp \
aeef40a9 283 --with-perl \
d62f835a 284 --with-sendmail=/usr/lib/sendmail \
b1d87e42
JR
285 --with-openssl=%{_prefix} \
286 --with-berkeleydb=%{_prefix} \
9e1f55ef
JB
287 %{?with_largefiles:--enable-largefiles} \
288 %{!?with_largefiles:--enable-tagged-hash} \
8a30a1a2 289 --enable-shared \
43b69da4 290 --enable-static \
22cdc3ec 291 --enable-libtool \
40c56abe 292 --enable-ipv6
4f74b1e3 293
8fa20058
JB
294%{__make} all \
295 PATHFILTER=%{_datadir}/news/filter \
b1d87e42 296 PATHCONTROL=%{_datadir}/news/control
62d4f04e 297
5da4f037 298%install
e762d39b 299rm -rf $RPM_BUILD_ROOT
7aaadf48 300install -d $RPM_BUILD_ROOT/etc/{news/pgp,rc.d/init.d,cron.d,logrotate.d} \
45c9b47c 301 $RPM_BUILD_ROOT{%{_libdir}/news/{rnews,auth/generic},%{_includedir}} \
b1d87e42 302 $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/news/{control,filter,auth}} \
8428426c 303 $RPM_BUILD_ROOT%{_mandir}/{man{1,3,5,8},pl/man{1,8}} \
df051d6a 304 $RPM_BUILD_ROOT/var/{run/news,lib/news/backoff,log/{news,archive/news}} \
aeef40a9 305 $RPM_BUILD_ROOT/var/spool/news/{articles,overview,incoming/{tmp,bad},outgoing,archive,uniover,innfeed,cycbuffs} \
3acdca37
JR
306 $RPM_BUILD_ROOT/home/services/news \
307 $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
1824cb2f 308
65158df2 309%{__make} install \
04fde985 310 DESTDIR=$RPM_BUILD_ROOT \
8a30a1a2 311 PATHFILTER=%{_datadir}/news/filter \
1824cb2f 312 PATHCONTROL=%{_datadir}/news/control \
b1d87e42
JR
313 PATHRNEWS=%{_libdir}/news/rnews \
314 PATHAUTHPASSWD=%{_libdir}/news/auth/passwd \
315 PATHAUTHRESOLV=%{_libdir}/news/auth/resolv
316
317install samples/readers.conf $RPM_BUILD_ROOT%{_sysconfdir}/readers.conf
1824cb2f 318
fb162469
JR
319install %{SOURCE1} $RPM_BUILD_ROOT/var/lib/news/active
320install %{SOURCE2} $RPM_BUILD_ROOT/var/lib/news/distributions
321install %{SOURCE3} $RPM_BUILD_ROOT/var/lib/news/newsgroups
d62f835a
AA
322install %{SOURCE4} $RPM_BUILD_ROOT/etc/cron.d/inn
323install %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/inn
324install %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/cnfsstat.cron
325install %{SOURCE7} $RPM_BUILD_ROOT/etc/logrotate.d/inn
326install %{SOURCE8} $RPM_BUILD_ROOT%{_mandir}/pl/man1/getlist.1
327install %{SOURCE9} $RPM_BUILD_ROOT%{_mandir}/pl/man8/innd.8
3acdca37 328install %{SOURCE10} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
43b69da4 329
fb162469 330rm -f $RPM_BUILD_ROOT/var/lib/news/history
4f74b1e3 331
332umask 002
519ae65b 333:> $RPM_BUILD_ROOT%{_sysconfdir}/subscriptions
fb162469
JR
334touch $RPM_BUILD_ROOT/var/lib/news/.news.daily
335touch $RPM_BUILD_ROOT/var/lib/news/active.times
519ae65b 336touch $RPM_BUILD_ROOT/var/lib/news/history
4f74b1e3 337
45c9b47c 338LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_bindir}/makehistory \
fb162469
JR
339 -a $RPM_BUILD_ROOT/var/lib/news/active \
340 -i -r -f $RPM_BUILD_ROOT/var/lib/news/history || :
bac70e06 341
5c8ecc5f 342# Fix perms in sample directory to avoid bogus dependencies
4f74b1e3 343find samples -name "*.in" -exec chmod a-x {} \;
344
71d10459 345# remove files in conflict with cleanfeed
ed7425b9 346rm -f $RPM_BUILD_ROOT%{_datadir}/news/filter/filter_innd.*
71d10459 347
8341cf3e 348# remove unpackaged files
8341cf3e
AA
349rm -rf $RPM_BUILD_ROOT%{_prefix}/doc
350rm -f $RPM_BUILD_ROOT%{_bindir}/rc.news
351
62d4f04e 352%clean
353rm -rf $RPM_BUILD_ROOT
354
355%post
5c8ecc5f 356if [ "`getent passwd news | cut -d: -f6`" = "/var/spool/news" ]; then
aeef40a9
JB
357 /usr/sbin/usermod -d /home/services/news news
358fi
f6dd3bef 359
cba9f618 360umask 022
e7713629
PG
361
362%{_bindir}/innupgrade %{_sysconfdir}
363
f6dd3bef
TP
364cd /var/lib/news
365if [ ! -f /var/lib/news/history ]; then
713a2e4c 366 # makehistory fails on uninitialized spool(?) - create empty history in such case
f6dd3bef
TP
367 %{_bindir}/makehistory || { echo "Creating empty history"; :> history; }
368 chown news:news history
519ae65b 369 chmod 664 history
5a4b775e
PG
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.*
62d4f04e 376fi
5c8ecc5f 377
5c8ecc5f 378if [ ! -f /var/lib/news/.news.daily ]; then
f6dd3bef 379 :> /var/lib/news/.news.daily
5c8ecc5f
ER
380 chown news:news /var/lib/news/.news.daily
381 chmod 664 /var/lib/news/.news.daily
382fi
383
822b13cf 384/sbin/chkconfig --add inn
5c8ecc5f 385%service inn restart "inn news server"
62d4f04e 386
387%preun
822b13cf 388if [ "$1" = "0" ]; then
5c8ecc5f 389 %service inn stop
822b13cf 390 /sbin/chkconfig --del inn
391fi
62d4f04e 392
45c9b47c
JB
393%triggerpostun -- inn < 2.4.0
394cp -af %{_sysconfdir}/inn.conf{,.rpmorig}
395sed -e 's/^\(listenonipv6\)/#\1/;s/^bindipv6address/bindaddress6/;s/^sourceipv6address/sourceaddress6/' \
396 %{_sysconfdir}/inn.conf.rpmorig > %{_sysconfdir}/inn.conf
397
aeef40a9
JB
398%post libs -p /sbin/ldconfig
399%postun libs -p /sbin/ldconfig
43b69da4 400
62d4f04e 401%files
a1468b80 402%defattr(644,root,root,755)
45c9b47c 403%doc CONTRIBUTORS ChangeLog INSTALL LICENSE NEWS README TODO doc/[Icehs]*
18b96901 404%attr(700,news,news) %dir /home/services/news
a1468b80 405
1824cb2f 406# DB
8a9401bf
JK
407%attr(770,root,news) %dir /var/lib/news
408%attr(770,root,news) %dir /var/lib/news/backoff
ed7425b9 409%attr(664,root,news) %config(noreplace) %verify(not md5 mtime size) /var/lib/news/active
519ae65b 410%attr(664,root,news) %config(noreplace) %verify(not md5 mtime size) /var/lib/news/active.times
ed7425b9
ER
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
fb162469 413%attr(664,news,news) %ghost /var/lib/news/.news.daily
b1d87e42 414%attr(664,news,news) %ghost /var/lib/news/history
1824cb2f 415
416# LOGS
3acdca37 417/usr/lib/tmpfiles.d/%{name}.conf
ed7425b9 418%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/inn
0ed888d2 419%attr(770,news,news) %dir /var/run/news
1824cb2f 420
421# SPOOL
44489064 422%attr(771,root,news) %dir /var/spool/news
b1d87e42
JR
423%attr(770,root,news) %dir /var/spool/news/archive
424%attr(770,root,news) %dir /var/spool/news/articles
8a9401bf 425%attr(770,root,news) %dir /var/spool/news/cycbuffs
8a9401bf
JK
426%attr(770,root,news) %dir /var/spool/news/incoming
427%attr(770,root,news) %dir /var/spool/news/incoming/bad
428%attr(770,root,news) %dir /var/spool/news/incoming/tmp
b1d87e42 429%attr(770,root,news) %dir /var/spool/news/innfeed
8a9401bf 430%attr(770,root,news) %dir /var/spool/news/outgoing
8a9401bf
JK
431%attr(770,root,news) %dir /var/spool/news/overview
432%attr(770,root,news) %dir /var/spool/news/uniover
1824cb2f 433
434# CRON PARTS
ed7425b9 435%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/inn
1824cb2f 436
437# RC-SCRIPT
bac70e06 438%attr(754,root,root) /etc/rc.d/init.d/inn
1824cb2f 439
440# CONFIGS (INN is a one big config ;-)
8a9401bf 441%attr(755,root,news) %dir %{_sysconfdir}
ed7425b9
ER
442%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/actsync.cfg
443%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/actsync.ign
444%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/buffindexed.conf
445%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/control.ctl
446%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cycbuff.conf
447%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/distrib.pats
448%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/expire.ctl
449%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/incoming.conf
450%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/inn.conf
451%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/innfeed.conf
452%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/innreport.conf
453%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/innwatch.ctl
454%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/moderators
455%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/motd.news
456%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/news2mail.cf
457%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/newsfeeds
458%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nnrpd.track
459%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nntpsend.ctl
460%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ovdb.conf
461%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/overview.fmt
462%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/passwd.nntp
463%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/radius.conf
464%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/readers.conf
465%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sasl.conf
466%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/storage.conf
467%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/subscriptions
7aaadf48 468%attr(755,root,news) %dir %{_sysconfdir}/pgp
1526c35e 469
0a8e57f3 470%attr(755,root,news) %dir %{_datadir}/news
47956f80 471%dir %{_datadir}/news/control
472%dir %{_datadir}/news/filter
8a30a1a2 473
ed7425b9
ER
474%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/innreport_inn.pm
475%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/innshellvars
476%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/innshellvars.pl
477%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/innshellvars.tcl
478
479%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/INN.py
480%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/filter_nnrpd.pl
481%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/filter.tcl
482%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/nnrpd_auth.pl
483%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/nnrpd_auth.py
484%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/startup_innd.pl
485%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/startup.tcl
8a30a1a2 486
bac70e06 487%attr(755,root,root) %{_datadir}/news/control/checkgroups.pl
bac70e06 488%attr(755,root,root) %{_datadir}/news/control/ihave.pl
bac70e06 489%attr(755,root,root) %{_datadir}/news/control/newgroup.pl
bac70e06 490%attr(755,root,root) %{_datadir}/news/control/rmgroup.pl
bac70e06 491%attr(755,root,root) %{_datadir}/news/control/sendme.pl
bac70e06 492%attr(755,root,root) %{_datadir}/news/control/sendsys.pl
bac70e06 493%attr(755,root,root) %{_datadir}/news/control/senduuname.pl
bac70e06 494%attr(755,root,root) %{_datadir}/news/control/version.pl
1824cb2f 495
b1d87e42 496%attr(755,root,news) %dir %{_libdir}/news
47956f80 497%dir %{_libdir}/news/auth
498%dir %{_libdir}/news/auth/generic
499%dir %{_libdir}/news/auth/passwd
500%dir %{_libdir}/news/auth/resolv
501%dir %{_libdir}/news/rnews
b1d87e42
JR
502
503%attr(755,root,root) %{_libdir}/news/auth/passwd/*
504%attr(755,root,root) %{_libdir}/news/auth/resolv/*
505%attr(755,root,root) %{_libdir}/news/rnews/*
506
1824cb2f 507# SUID
9bbe2777 508%attr(4754,root,news) %{_bindir}/inndstart
bac70e06 509%attr(4754,root,news) %{_bindir}/startinnfeed
36e95576 510%attr(4754,root,news) %{_bindir}/rnews
1824cb2f 511
1824cb2f 512# BINARIES
7e183975 513%attr(755,root,root) %{_bindir}/actmerge
514%attr(755,root,root) %{_bindir}/actsync
515%attr(755,root,root) %{_bindir}/actsyncd
516%attr(755,root,root) %{_bindir}/archive
517%attr(755,root,root) %{_bindir}/batcher
518%attr(755,root,root) %{_bindir}/buffchan
b1d87e42 519%attr(755,root,root) %{_bindir}/cnfsheadconf
7e183975 520%attr(755,root,root) %{_bindir}/cnfsstat
4445c2d2 521%attr(755,root,root) %{_bindir}/cnfsstat.cron
7e183975 522%attr(755,root,root) %{_bindir}/controlbatch
523%attr(755,root,root) %{_bindir}/controlchan
524%attr(755,root,root) %{_bindir}/convdate
7e183975 525%attr(755,root,root) %{_bindir}/ctlinnd
526%attr(755,root,root) %{_bindir}/cvtbatch
45c9b47c 527%attr(755,root,root) %{_bindir}/docheckgroups
7e183975 528%attr(755,root,root) %{_bindir}/expire
7e183975 529%attr(755,root,root) %{_bindir}/expireover
530%attr(755,root,root) %{_bindir}/expirerm
531%attr(755,root,root) %{_bindir}/fastrm
532%attr(755,root,root) %{_bindir}/filechan
7e183975 533%attr(755,root,root) %{_bindir}/getlist
3dc5b213 534%attr(755,root,root) %{_bindir}/gpgverify
7e183975 535%attr(755,root,root) %{_bindir}/grephistory
45c9b47c 536%attr(755,root,root) %{_bindir}/imapfeed
7e183975 537%attr(755,root,root) %{_bindir}/inncheck
538%attr(755,root,root) %{_bindir}/innconfval
539%attr(755,root,root) %{_bindir}/innd
540%attr(755,root,root) %{_bindir}/inndf
1824cb2f 541%attr(755,root,root) %{_bindir}/innfeed
7e183975 542%attr(755,root,root) %{_bindir}/innmail
1824cb2f 543%attr(755,root,root) %{_bindir}/innreport
7e183975 544%attr(755,root,root) %{_bindir}/innstat
45c9b47c 545%attr(755,root,root) %{_bindir}/innupgrade
7e183975 546%attr(755,root,root) %{_bindir}/innwatch
547%attr(755,root,root) %{_bindir}/innxbatch
548%attr(755,root,root) %{_bindir}/innxmit
549%attr(755,root,root) %{_bindir}/mailpost
b1d87e42 550%attr(755,root,root) %{_bindir}/makedbz
7e183975 551%attr(755,root,root) %{_bindir}/makehistory
552%attr(755,root,root) %{_bindir}/mod-active
1824cb2f 553%attr(755,root,root) %{_bindir}/news.daily
b1d87e42 554%attr(755,root,root) %{_bindir}/news2mail
45c9b47c 555%attr(755,root,root) %{_bindir}/ninpaths
1824cb2f 556%attr(755,root,root) %{_bindir}/nnrpd
7e183975 557%attr(755,root,root) %{_bindir}/nntpget
558%attr(755,root,root) %{_bindir}/nntpsend
b1d87e42 559%attr(755,root,root) %{_bindir}/ovdb_*
7e183975 560%attr(755,root,root) %{_bindir}/overchan
6de37b8a 561%attr(755,root,root) %{_bindir}/perl-nocem
1824cb2f 562%attr(755,root,root) %{_bindir}/pgpverify
7e183975 563%attr(755,root,root) %{_bindir}/procbatch
564%attr(755,root,root) %{_bindir}/prunehistory
565%attr(755,root,root) %{_bindir}/pullnews
7e183975 566%attr(755,root,root) %{_bindir}/scanlogs
567%attr(755,root,root) %{_bindir}/scanspool
1824cb2f 568%attr(755,root,root) %{_bindir}/send-ihave
569%attr(755,root,root) %{_bindir}/send-nntp
570%attr(755,root,root) %{_bindir}/send-uucp
45c9b47c 571%attr(755,root,root) %{_bindir}/sendinpaths
7e183975 572%attr(755,root,root) %{_bindir}/sendxbatches
573%attr(755,root,root) %{_bindir}/shlock
574%attr(755,root,root) %{_bindir}/shrinkfile
b1d87e42 575%attr(755,root,root) %{_bindir}/signcontrol
7e183975 576%attr(755,root,root) %{_bindir}/simpleftp
577%attr(755,root,root) %{_bindir}/sm
7e183975 578%attr(755,root,root) %{_bindir}/tally.control
45c9b47c 579%attr(755,root,root) %{_bindir}/tdx-util
7e183975 580%attr(755,root,root) %{_bindir}/writelog
62d4f04e 581
1824cb2f 582# MAN
8ee5b158 583%{_mandir}/man1/convdate.1*
3dc5b213 584%{_mandir}/man1/fastrm.1*
8ee5b158 585%{_mandir}/man1/getlist.1*
586%{_mandir}/man1/grephistory.1*
587%{_mandir}/man1/innconfval.1*
588%{_mandir}/man1/innfeed.1*
3dc5b213 589%{_mandir}/man1/innmail.1*
8ee5b158 590%{_mandir}/man1/nntpget.1*
45c9b47c 591%{_mandir}/man1/pgpverify.1*
04fde985 592%{_mandir}/man1/pullnews.1*
8ee5b158 593%{_mandir}/man1/rnews.1*
594%{_mandir}/man1/shlock.1*
595%{_mandir}/man1/shrinkfile.1*
b1d87e42 596%{_mandir}/man1/simpleftp.1*
45c9b47c 597%{_mandir}/man1/sm.1*
8ee5b158 598%{_mandir}/man1/startinnfeed.1*
8428426c 599%{_mandir}/man[58]/*
600%lang(pl) %{_mandir}/pl/man1/getlist.1*
601%lang(pl) %{_mandir}/pl/man8/innd.8*
bac70e06 602
b8fd1c81 603%files libs
5b590a3d 604%defattr(644,root,root,755)
713a2e4c
JB
605%attr(755,root,root) %{_libdir}/libinn.so.*.*.*
606%attr(755,root,root) %ghost %{_libdir}/libinn.so.2
607%attr(755,root,root) %{_libdir}/libinnhist.so.*.*.*
608%attr(755,root,root) %ghost %{_libdir}/libinnhist.so.2
609%attr(755,root,root) %{_libdir}/libstorage.so.*.*.*
610%attr(755,root,root) %ghost %{_libdir}/libstorage.so.2
b8fd1c81 611
62d4f04e 612%files devel
a1468b80 613%defattr(644,root,root,755)
713a2e4c
JB
614%attr(755,root,root) %{_libdir}/libinn.so
615%attr(755,root,root) %{_libdir}/libinnhist.so
616%attr(755,root,root) %{_libdir}/libstorage.so
617%{_libdir}/libinn.la
618%{_libdir}/libinnhist.la
619%{_libdir}/libstorage.la
45c9b47c 620%{_includedir}
8a30a1a2 621%{_mandir}/man3/*
62d4f04e 622
8ee5b158 623%files static
e762d39b 624%defattr(644,root,root,755)
713a2e4c
JB
625%{_libdir}/libinn.a
626%{_libdir}/libinnhist.a
627%{_libdir}/libstorage.a
8ee5b158 628
62d4f04e 629%files -n inews
f7754046 630%defattr(644,root,root,755)
366a13e8 631%attr(755,root,news) %{_bindir}/inews
8ee5b158 632%{_mandir}/man1/inews.1*
This page took 0.21516 seconds and 4 git commands to generate.