1 Summary: INN, the InterNet News System (news server)
2 Summary(de): das InterNet News System (News-Server)
3 Summary(fr): INN, le système InterNet News (serveur de news)
4 Summary(pl): INN, serwer nowinek
5 Summary(tr): INN, InterNet Haber Sistemi (haber sunucu)
9 Copyright: distributable
10 Group: Networking/Daemons
11 Group(pl): Sieciowe/Serwery
12 Source: ftp://ftp.isc.org/isc/inn/%{name}-%{version}.tar.gz
13 Source1: inn-default-active
14 Source2: inn-default-distributions
15 Source3: inn-default-newsgroups
16 Source4: inn-cron-expire
17 Source5: inn-cron-rnews
20 Url: http://www.isc.org/inn.html
22 Buildroot: /tmp/%{name}-%{version}-root
23 Prereq: /sbin/chkconfig
26 INN is a news server, which can be set up to handle USENET news, as well
27 as private "newsfeeds". There is a *LOT* of information about setting
28 up INN in /usr/doc -- read it.
31 INN jest serwerem news, który mo¿na skonfigurowaæ do obs³ugi USENET-u,
32 jak równie¿ do obs³ugi ,,prywatnych'' grup w sieciach intranetowych.
33 Ca³e mnóstwo po¿ytecznych informacji o konfigurowaniu INN-a znajdziesz
34 w katalogu /usr/doc/inn-*.
38 Summary(de): INN-Library
39 Summary(fr): Bibliothèque INN
40 Summary(pl): INN-biblioteka i pliki nag³ówkowe dla inn-a
41 Summary(tr): INN kitaplýðý
42 Group: Development/Libraries
43 Group(pl): Programowanie/Biblioteki
46 This library is needed by several programs that interface to INN, such as
49 %description -l de devel
50 Diese Library wird von mehreren Programmen benötigt, die mit INN
51 kommunizieren, etwa newsgate oder tin.
53 %description -l fr devel
54 Cette bibliothèque est nécessaire à plusieurs programmes qui s'interfacent
55 avec INN, comme newsgate ou tin.
57 %description -l pl devel
58 Biblioteka niezbêdna do dzia³ania kilku programów wspó³pracuj±cych z INN-em, takich jak newsgate czy tin.
60 %description -l tr devel
61 INN ile arayüz gerektiren programlar için (newsgate, tin gibi) gereken bir
66 Summary: Inews program (used for posting by inn and trn)
67 Summary(de): Inews-Programm (für die Zustellung mit inn und trn)
68 Summary(fr): Programme inews (utilisé par inn et trn pour poster)
69 Summary(pl): Inews - program do wysy³ania artyku³ów (u¿ywany przez inn i trn)
70 Summary(tr): Haber biçimlendirme programý
71 Group: Networking/News
72 Group(pl): Sieciowe/News
75 The inews program is used by some news readers to post news.
76 It does some consistency checking and header reformatting,
77 and forwards the article on to the news server specified in
80 %description -l de -n inews
81 Das Programm 'inews' wird von manchen Newsreadern zum Senden
82 von Nachrichten verwendet. Es führt eine Konsistenzprüfung und Header-Neuf
83 ormatierung aus und leitet die Nachricht an den in 'inn.conf'
84 angegebenen News-Server weiter.
86 %description -l fr -n inews
87 Le programme inews est utilisé par certains lecteurs de news pour
88 poster les articles. Il effectue des vérifications et un reformatage
89 des en-têtes et fait suivre l'article au serveur de news spécifié dans inn.conf.
91 %description -l pl -n inews
92 Inews jest u¿ywany przez niektóre czytniki news do wysy³ania
93 artyku³ów. Sprawdza budowê artyku³u, przepisuje nag³ówek i wysy³a
94 do serwera news wyszczególnionego w inn.conf.
96 %description -l tr -n inews
97 inews programý bazý haber okuyucular tarafýndan haber yollamak amacýyla
98 kullanýlýr. Program bazý güvenlik denetimleri ve baþlýk biçimlendirmesi
99 yaparak ve inn.conf dosyasýnda belirtilen haber sunucuya makaleyi yollar.
108 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
110 --prefix=/usr/lib/news \
112 --with-news-user=news \
113 --with-news-group=news \
114 --with-news-master=news \
115 --with-db-dir=/var/lib/news \
116 --with-etc-dir=/etc/news \
117 --with-log-dir=/var/log/news \
118 --with-run-dir=/var/run/news \
119 --with-spool-dir=/var/spool/news \
120 --with-lib-dir=/usr/lib/news/lib \
121 --with-tmp-path=/var/spool/news/in.coming/tmp \
123 --with-sendmail=/usr/lib/sendmail \
124 --enable-tagged-hash \
125 --enable-merge-to-groups \
126 --enable-pgp-verify \
131 rm -fr $RPM_BUILD_ROOT
132 install -d $RPM_BUILD_ROOT/{etc/{news,rc.d/init.d,news},etc/cron.{daily,hourly}}
133 install -d $RPM_BUILD_ROOT/{usr/{lib/{news/{bin,lib}},bin,sbin,include,man/{man{1,3,5,8}}}}
134 install -d $RPM_BUILD_ROOT/{var/{lib/news/backoff,spool/news/{in.coming/{bad,tmp},cycbuffs,innfeed,archive,out.going,over.view,uni.over}}}
135 install -d $RPM_BUILD_ROOT/{var/{lock/news,log/news/OLD,run/news}}
137 make DESTDIR="$RPM_BUILD_ROOT" install
138 install %{SOURCE1} $RPM_BUILD_ROOT/var/lib/news/active
139 install %{SOURCE2} $RPM_BUILD_ROOT/var/lib/news/distributions
140 install %{SOURCE3} $RPM_BUILD_ROOT/var/lib/news/newsgroups
141 install %{SOURCE4} $RPM_BUILD_ROOT/etc/cron.daily/inn-cron-expire
142 install %{SOURCE5} $RPM_BUILD_ROOT/etc/cron.daily/inn-cron-rnews
143 install %{SOURCE6} $RPM_BUILD_ROOT/etc/rc.d/init.d/news
144 install samples/nntpsend $RPM_BUILD_ROOT/etc/cron.hourly/inn-cron-nntpsend
146 install samples/default $RPM_BUILD_ROOT/etc/news
147 install samples/docheckgroups $RPM_BUILD_ROOT/etc/news
148 install samples/innreport_inn.pm $RPM_BUILD_ROOT/etc/news
149 install samples/innshellvars $RPM_BUILD_ROOT/etc/news
150 install samples/innshellvars.pl $RPM_BUILD_ROOT/etc/news
151 install samples/innshellvars.tcl $RPM_BUILD_ROOT/etc/news
152 install samples/send-ihave $RPM_BUILD_ROOT/etc/news
153 install samples/send-nntp $RPM_BUILD_ROOT/etc/news
154 install samples/send-uucp $RPM_BUILD_ROOT/etc/news
155 install /dev/null $RPM_BUILD_ROOT/etc/news/.news.daily
156 install $RPM_BUILD_ROOT/usr/lib/news/bin/rc.news $RPM_BUILD_ROOT/etc/rc.d/rc.news
158 ln -sf /usr/lib/news/bin/ctlinnd $RPM_BUILD_ROOT/usr/sbin/ctlinnd
159 ln -sf ../lib/news/bin/rnews $RPM_BUILD_ROOT/usr/bin/rnews
160 ln -sf ../lib/news/bin/inews $RPM_BUILD_ROOT/usr/bin/inews
161 ln -sf /etc/news/innshellvars $RPM_BUILD_ROOT/usr/lib/news/lib/innshellvars
162 ln -sf /etc/news/innshellvars.pl $RPM_BUILD_ROOT/usr/lib/news/lib/innshellvars.pl
163 ln -sf /etc/news/innshellvars.tcl $RPM_BUILD_ROOT/usr/lib/news/lib/innshellvars.tcl
165 install /dev/null $RPM_BUILD_ROOT/var/lib/news/subscriptions
166 install /dev/null $RPM_BUILD_ROOT/var/lib/news/active.times
168 install /dev/null $RPM_BUILD_ROOT/var/log/news/news.notice
169 install /dev/null $RPM_BUILD_ROOT/var/log/news/news.crit
170 install /dev/null $RPM_BUILD_ROOT/var/log/news/news.err
172 install lib/libinn.a $RPM_BUILD_ROOT/usr/lib
173 install storage/libstorage.a $RPM_BUILD_ROOT/usr/lib
174 install include/configdata.h $RPM_BUILD_ROOT/usr/include
175 install include/dbz.h $RPM_BUILD_ROOT/usr/include
176 install include/libinn.h $RPM_BUILD_ROOT/usr/include
177 install include/storage.h $RPM_BUILD_ROOT/usr/include
178 install include/clibrary.h $RPM_BUILD_ROOT/usr/include
179 install storage/interface.h $RPM_BUILD_ROOT/usr/include
180 install storage/methods.h $RPM_BUILD_ROOT/usr/include
181 install storage/overview.h $RPM_BUILD_ROOT/usr/include
183 gzip -9nf $RPM_BUILD_ROOT/usr/man/man{1,3,5,8}/* \
184 CONTRIBUTORS HISTORY README README.perl_hook README.tcl_hook
187 rm -rf $RPM_BUILD_ROOT
190 if [ -f /var/lib/news/history ]; then
192 /usr/lib/news/bin/makehistory -i -r
193 for i in dir hash index pag; do
194 [ -f history.n.$i ] && mv history.n.$i history.$i
196 chown news.news history.*
201 /usr/lib/news/bin/makehistory -i
202 for i in dir hash index pag; do
203 [ -f history.n.$i ] && mv history.n.$i history.$i
205 chown news.news history history.*
206 chmod 644 history history.*
208 [ -f /var/lib/news/active.times ] || {
209 touch /var/lib/news/active.times
210 chown news.news /var/lib/news/active.times
212 chown -R news.news /var/log/news*
213 if [ -f /etc/syslog.conf ]; then
214 if ! grep -q INN /etc/syslog.conf; then
215 sed 's/mail.none;/mail.none;news.none;/' < /etc/syslog.conf > /etc/syslog.conf.inn
216 mv /etc/syslog.conf.inn /etc/syslog.conf
226 echo 'news.=crit /var/log/news/news.crit' >> /etc/syslog.conf
227 echo 'news.=err /var/log/news/news.err' >> /etc/syslog.conf
228 echo 'news.notice /var/log/news/news.notice' >> /etc/syslog.conf
230 if [ -f /var/run/syslog.pid ]; then
231 kill -HUP `cat /var/run/syslog.pid` 2> /dev/null ||:
234 # syslog.conf does not exist
236 echo "mail.none /var/log/messages" \
237 > /etc/syslog.conf.inn
239 >> /etc/syslog.conf.inn
241 >> /etc/syslog.conf.inn
242 echo "news.=crit /var/log/news/news.crit" >> /etc/syslog.conf.inn
243 echo "news.=err /var/log/news/news.err" >> /etc/syslog.conf.inn
244 echo "news.notice /var/log/news/news.notice" >> /etc/syslog.conf.inn
246 if [ `cat /etc/news/inn.conf | grep '^server:' | wc -l` -lt 1 ]; then
247 echo "server: `hostname -f`" >> /etc/news/inn.conf
250 if [ `cat /etc/ld.so.conf | grep '^/usr/lib/news/lib' | wc -l` -lt 0 ]; then
251 echo '/usr/lib/news/lib' >> /etc/ld.so.conf
253 /sbin/chkconfig --add news
258 if [ -f /var/lock/subsys/news ]; then
259 /etc/rc.d/init.d/news stop
260 /etc/rc.d/init.d/inn stop
262 /sbin/chkconfig --del news
266 %defattr(644,root,root,755)
267 %doc {CONTRIBUTORS,HISTORY,README,README.perl_hook,README.tcl_hook}.gz
269 %attr(775,news,news) %dir /etc/news
270 %attr(755,news,news) %dir /usr/lib/news
271 %attr(755,news,news) %dir /usr/lib/news/bin
272 %attr(755,news,news) %dir /usr/lib/news/bin/auth
273 %attr(750,news,news) %dir /usr/lib/news/bin/control
274 %attr(750,news,news) %dir /usr/lib/news/bin/filter
275 %attr(750,news,news) %dir /usr/lib/news/bin/rnews.libexec
276 %attr(755,news,news) %dir /usr/lib/news/lib
277 %attr(755,news,news) %dir /var/lib/news
278 %attr(775,news,news) %dir /var/lib/news/backoff
279 %attr(750,news,news) %dir /var/log/news
280 %attr(775,news,news) %dir /var/log/news/OLD
281 %attr(775,news,news) %dir /var/run/news
282 %attr(750,news,news) %dir /var/spool/news
283 %attr(775,news,news) %dir /var/spool/news/cycbuffs
284 %attr(775,news,news) %dir /var/spool/news/innfeed
285 %attr(775,news,news) %dir /var/spool/news/in.coming
286 %attr(775,news,news) %dir /var/spool/news/in.coming/bad
287 %attr(775,news,news) %dir /var/spool/news/in.coming/tmp
288 %attr(775,news,news) %dir /var/spool/news/out.going
289 %attr(775,news,news) %dir /var/spool/news/archive
290 %attr(775,news,news) %dir /var/spool/news/over.view
291 %attr(775,news,news) %dir /var/spool/news/uni.over
293 %attr(750,root,root) %config %verify(not size mtime md5) /etc/cron.daily/*
294 %attr(750,root,root) %config %verify(not size mtime md5) /etc/cron.hourly/*
296 %attr(754,news,news) %config /etc/rc.d/rc.news
297 %attr(754,root,root) %config /etc/rc.d/init.d/news
299 %attr(644,news,news) %config %verify(not size mtime md5) /etc/news/.news.daily
300 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/actsync.cfg
301 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/actsync.ign
302 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/control.ctl
303 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/cycbuff.conf
304 %attr(550,news,news) %config %verify(not size mtime md5) /etc/news/default
305 %attr(644,news,news) %config %verify(not size mtime md5) /etc/news/distrib.pats
306 %attr(550,news,news) %config %verify(not size mtime md5) /etc/news/docheckgroups
307 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/expire.ctl
308 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/incoming.conf
309 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/inn.conf
310 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/innfeed.conf
311 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/innreport.conf
312 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/innreport_inn.pm
313 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/innshellvars
314 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/innshellvars.pl
315 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/innshellvars.tcl
316 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/innwatch.ctl
317 %attr(644,news,news) %config %verify(not size mtime md5) /etc/news/moderators
318 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/motd.news
319 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/news2mail.cf
320 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/newsfeeds
321 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/nnrp.access
322 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/nnrpd.track
323 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/nntpsend.ctl
324 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/overview.ctl
325 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/overview.fmt
326 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/passwd.nntp
327 %attr(550,news,news) %config %verify(not size mtime md5) /etc/news/send-ihave
328 %attr(550,news,news) %config %verify(not size mtime md5) /etc/news/send-nntp
329 %attr(550,news,news) %config %verify(not size mtime md5) /etc/news/send-uucp
330 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/storage.conf
332 %attr(711,root,root) /usr/bin/rnews
333 %attr(755,root,root) /usr/bin/inews
334 %attr(711,root,root) /usr/sbin/ctlinnd
335 %attr(555,news,news) /usr/lib/news/bin/actived
336 %attr(555,news,news) /usr/lib/news/bin/actmerge
337 %attr(555,news,news) /usr/lib/news/bin/actsync
338 %attr(555,news,news) /usr/lib/news/bin/actsyncd
339 %attr(555,news,news) /usr/lib/news/bin/archive
340 %attr(555,news,news) /usr/lib/news/bin/batcher
341 %attr(550,news,news) /usr/lib/news/bin/buffchan
342 %attr(550,news,news) /usr/lib/news/bin/cnfsstat
343 %attr(550,news,news) /usr/lib/news/bin/control/*
344 %attr(550,news,news) /usr/lib/news/bin/controlbatch
345 %attr(550,news,news) /usr/lib/news/bin/controlchan
346 %attr(555,news,news) /usr/lib/news/bin/convdate
347 %attr(550,news,news) /usr/lib/news/bin/crosspost
348 %attr(550,news,news) /usr/lib/news/bin/ctlinnd
349 %attr(555,news,news) /usr/lib/news/bin/cvtbatch
350 %attr(550,news,news) /usr/lib/news/bin/expire
351 %attr(550,news,news) /usr/lib/news/bin/expireindex
352 %attr(550,news,news) /usr/lib/news/bin/expireover
353 %attr(555,news,news) /usr/lib/news/bin/expirerm
354 %attr(550,news,news) /usr/lib/news/bin/fastrm
355 %attr(555,news,news) /usr/lib/news/bin/filechan
356 %attr(640,news,news) /usr/lib/news/bin/filter/*
357 %attr(550,news,news) /usr/lib/news/bin/getlist
358 %attr(555,news,news) /usr/lib/news/bin/grephistory
359 %attr(2511,news,news) /usr/lib/news/bin/inews
360 %attr(550,news,news) /usr/lib/news/bin/inncheck
361 %attr(550,news,news) /usr/lib/news/bin/innconfval
362 %attr(550,news,news) /usr/lib/news/bin/innd
363 %attr(550,news,news) /usr/lib/news/bin/inndf
364 %attr(4510,root,news) /usr/lib/news/bin/inndstart
365 %attr(550,news,news) %config /usr/lib/news/bin/innfeed
366 %attr(550,news,news) /usr/lib/news/bin/innfeed-convcfg
367 %attr(550,news,news) /usr/lib/news/bin/innmail
368 %attr(550,news,news) %config /usr/lib/news/bin/innreport
369 %attr(550,news,news) /usr/lib/news/bin/innstat
370 %attr(550,news,news) /usr/lib/news/bin/innwatch
371 %attr(550,news,news) /usr/lib/news/bin/innxbatch
372 %attr(550,news,news) /usr/lib/news/bin/innxmit
373 %attr(550,news,news) /usr/lib/news/bin/mailpost
374 %attr(550,news,news) /usr/lib/news/bin/makeactive
375 %attr(550,news,news) /usr/lib/news/bin/makehistory
376 %attr(550,news,news) /usr/lib/news/bin/mod-active
377 %attr(550,news,news) %config /usr/lib/news/bin/news.daily
378 %attr(550,news,news) /usr/lib/news/bin/news2mail
379 %attr(550,news,news) /usr/lib/news/bin/newsrequeue
380 %attr(550,news,news) %config /usr/lib/news/bin/nnrpd
381 %attr(550,news,news) /usr/lib/news/bin/nntpget
382 %attr(550,news,news) /usr/lib/news/bin/nntpsend
383 %attr(550,news,news) /usr/lib/news/bin/overchan
384 %attr(550,news,news) %config /usr/lib/news/bin/parsecontrol
385 %attr(550,news,news) %config /usr/lib/news/bin/pgpverify
386 %attr(550,news,news) /usr/lib/news/bin/procbatch
387 %attr(555,news,news) /usr/lib/news/bin/prunehistory
388 %attr(555,news,news) /usr/lib/news/bin/pullnews
389 %attr(550,news,news) %config /usr/lib/news/bin/rc.news
390 %attr(4550,news,uucp) %config /usr/lib/news/bin/rnews
391 %attr(555,news,news) /usr/lib/news/bin/rnews.libexec/*
392 %attr(550,news,news) /usr/lib/news/bin/scanlogs
393 %attr(550,news,news) /usr/lib/news/bin/scanspool
394 %attr(550,news,news) /usr/lib/news/bin/send-*
395 %attr(555,news,news) /usr/lib/news/bin/sendxbatches
396 %attr(555,news,news) /usr/lib/news/bin/shlock
397 %attr(555,news,news) /usr/lib/news/bin/shrinkfile
398 %attr(550,news,news) /usr/lib/news/bin/simpleftp
399 %attr(550,news,news) /usr/lib/news/bin/sm
400 %attr(4510,root,news) %config /usr/lib/news/bin/startinnfeed
401 %attr(550,news,news) /usr/lib/news/bin/tally.control
402 %attr(550,news,news) /usr/lib/news/bin/writelog
404 %config(missingok) /usr/lib/news/lib/innreport_inn.pm
405 %config(missingok) /usr/lib/news/lib/innshellvars
406 %config(missingok) /usr/lib/news/lib/innshellvars.pl
407 %config(missingok) /usr/lib/news/lib/innshellvars.tcl
409 /usr/man/man1/convdate.1.gz
410 /usr/man/man1/getlist.1.gz
411 /usr/man/man1/grephistory.1.gz
412 /usr/man/man1/innconfval.1.gz
413 /usr/man/man1/innfeed.1.gz
414 /usr/man/man1/installit.1.gz
415 /usr/man/man1/nntpget.1.gz
416 /usr/man/man1/rnews.1.gz
417 /usr/man/man1/shlock.1.gz
418 /usr/man/man1/shrinkfile.1.gz
419 /usr/man/man1/startinnfeed.1.gz
420 /usr/man/man1/subst.1.gz
423 %attr(664,news,news) %config(noreplace) %verify(not size mtime md5) /var/lib/news/active
424 %attr(644,news,news) %config(noreplace) %verify(not size mtime md5) /var/lib/news/distributions
425 %attr(644,news,news) %config(noreplace) %verify(not size mtime md5) /var/lib/news/newsgroups
426 %attr(644,news,news) %config(noreplace) %verify(not size mtime md5) /var/lib/news/subscriptions
427 %attr(664,news,news) %config(noreplace) %verify(not size mtime md5) /var/lib/news/active.times
428 %attr(664,news,news) %config(noreplace) %verify(not size mtime md5) /var/log/news/news.notice
429 %attr(660,news,news) %config(noreplace) %verify(not size mtime md5) /var/log/news/news.crit
430 %attr(660,news,news) %config(noreplace) %verify(not size mtime md5) /var/log/news/news.err
433 %defattr(644,root,root,755)
440 %attr(4555,news,news) %config /usr/lib/news/bin/inews
441 %attr(644,root,root) /usr/man/man1/inews.1.gz
444 * Fri Jan 29 1999 Maciej Paliwoda <maciejp@uci.agh.edu.p>
446 - special thanks for Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
447 & Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
448 - new version 2.2 (stable)
449 - build for Linux PLD
450 - default storage CNFS