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