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