info: inn.spec - devel

Marcin Korzonek mkorz w lo13.univ.szczecin.pl
Nie, 30 Sie 1998, 20:25:45 CEST


Hej,
Podsyłam speca do inn-a 1.5.1 (jedyna wersja ze wsparciem dla IPv6) i
proszę o krytyczne uwagi. Cieszyłbym się, gdyby ktoś z ekspertów
przyjrzał się prawom dostępu do plików, bo nie jestem do końca pewien,
czy nie są zbyt restrykcyjne. Testowy serwer wydaje się działać (tzn.
przyjmuje i udostępnia artykuły -- feedu nie mogę przetestować). Wkrótce
stanie AFAIK pierwszy w Polsce serwer newsów na IPv6 i wtedy pozostałe
byki wyjdą na jaw...
Reszta pakietu (patche, konfigi itp.) wędruje do Wojtka.

########################################################
Summary: INN, the InterNet News System (news server) with IPv6 support
Summary(de): INN, das InterNet News System (News-Server)
Summary(fr): INN, le systčme InterNet News (serveur de news)
Summary(pl): Serwer news ze wsparciem dla IPv6
Summary(tr): InterNet Haber Sistemi (haber sunucu)
Name: inn
Version: 1.5.1
Release: 2d
Copyright: GPL
Group: Networking/Daemons
Source0: ftp://ftp.inner.net/pub/ipv6/inn-1.5.1+ipv6-1.tar.gz
Source1: inn-default-active
Source2: inn-default-distributions
Source3: inn-default-newsgroups
Source4: inn-cron-expire
Source5: inn-cron-rnews
Source6: inn-etc-nnrp.access
Source7: inn-cron-nntpsend
Source8: news.init
Source9: ftp://ftp.exit109.com/users/jeremy/cleanfeed-latest.tar.gz
Source10: ftp://ftp.inner.net/pub/ipv6/innfeed-0.10.1+ipv6-1.tar.gz
Source11: ftp://ftp.isc.org/pub/pgpcontrol/pgpverify-1.9
Patch0: inn-glibc-2.1.patch
Patch1:	include-glibc-2.1.patch
Patch2:	inn-makefile.patch
Buildroot: /var/tmp/%{name}-%{version}-root
Prereq: /sbin/chkconfig

%description
INN is a news server, which can be set up to handle USENET news, as well
as private "newsfeeds".  There is a *LOT* of information about setting
up INN in /usr/doc -- read it. 

%description -l pl
INN jest serwerem news, który można skonfigurować do obsługi USENET-u,
jak również do obsługi ,,prywatnych'' grup w sieciach intranetowych.
Całe mnóstwo pożytecznych informacji o konfigurowaniu INN-a znajdziesz 
w katalogu /usr/doc/inn-*.

%package devel
Summary: INN Library
Summary(de): INN-Library 
Summary(fr): Bibliothčque INN
Summary(pl): Biblioteka INN-a
Summary(tr): INN kitaplýđý
Group: Networking/News

%description devel
This library is needed by several programs that interface to INN, such as
newsgate or tin.

%description -l de devel
Diese Library wird von mehreren Programmen benötigt, die mit INN 
kommunizieren, etwa newsgate oder tin. 

%description -l fr devel
Cette bibliothčque est nécessaire ŕ plusieurs programmes qui s'interfacent
avec INN, comme newsgate ou tin.

%description -l pl devel
Biblioteka niezbędna do działania kilku programów współpracujących z INN-em,
takich jak newsgate czy tin.

%description -l tr devel
INN ile arayüz gerektiren programlar için (newsgate, tin gibi) gereken bir
kitaplýktýr.

%package -n inews
Summary: Inews program (used for posting by inn and trn-ipv6)
Summary(de): Inews-Programm (für die Zustellung mit inn und trn) 
Summary(fr): Programme inews (utilisé par inn et trn pour poster)
Summary(pl): Inews - program do wysyłania artykułów (używany przez inn i trn).
Summary(tr): Haber biçimlendirme programý
Group: Networking/News

%description -n inews
The inews program is used by some news readers to post news.
It does some consistency checking and header reformatting,
and forwards the article on to the news server specified in
inn.conf.

%description -l de -n inews
Das Programm 'inews' wird von manchen Newsreadern zum Senden
von Nachrichten verwendet. Es führt eine Konsistenzprüfung und Header-Neuformatierung aus und leitet die Nachricht an den in 'inn.conf' angegebenen News-Server weiter.

%description -l fr -n inews
Le programme inews est utilisé par certains lecteurs de news pour
poster les articles. Il effectue des vérifications et un reformatage
des en-tętes et fait suivre l'article au serveur de news spécifié
dans inn.conf.

%description -l pl -n inews
inews jest używany przez niektóre czytniki news do wysyłania
artykułów. Sprawdza budowę artykułu, przepisuje nagłówek i wysyła
do serwera news wyszczególnionego w inn.conf.

%description -l tr -n inews
inews programý bazý haber okuyucular tarafýndan haber yollamak amacýyla
kullanýlýr.  Program bazý güvenlik denetimleri ve baţlýk biçimlendirmesi
yaparak ve inn.conf dosyasýnda belirtilen haber sunucuya makaleyi yollar.

%prep
%setup -q
%setup -q -T -D -a 9
%setup -q -T -D -a 10
%patch0 -p1
#%patch1 -p0
%patch2 -p1

cp $RPM_SOURCE_DIR/inn-1.5.1-config ./config/config.data
cp $RPM_SOURCE_DIR/pgpverify-1.9 ./samples/pgpverify

%build
make CONFIG_DIR=/usr/lib/ 
nroff Install.ms.1 > Install.txt

cd innfeed-0.10.1; make CONFIG_DIR=/usr/lib/ clean; make CONFIG_DIR=/usr/lib/ 

%install
rm -fr $RPM_BUILD_ROOT
rm -f README.insync.insync
mkdir -p $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/usr/sbin
mkdir -p $RPM_BUILD_ROOT/usr/include
mkdir -p $RPM_BUILD_ROOT/usr/lib/news
mkdir -p $RPM_BUILD_ROOT/usr/lib/news/auth.dir
mkdir -p $RPM_BUILD_ROOT/usr/man/{man1,man5,man3,man8}
mkdir -p $RPM_BUILD_ROOT/usr/lib/news/bin
mkdir -p $RPM_BUILD_ROOT/usr/lib/news/bin/control
mkdir -p $RPM_BUILD_ROOT/usr/lib/news/bin/rnews
mkdir -p $RPM_BUILD_ROOT/var/spool/news/in.coming/{bad,tmp}
mkdir -p $RPM_BUILD_ROOT/var/spool/news/{innfeed,out.going,news.archive,over.view} 
mkdir -p $RPM_BUILD_ROOT/var/lib/news/innd
mkdir -p $RPM_BUILD_ROOT/var/lock/news
mkdir -p $RPM_BUILD_ROOT/var/log/news/OLD
mkdir -p $RPM_BUILD_ROOT/var/run/news
mkdir -p $RPM_BUILD_ROOT/etc/news
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d

chmod -R 775 $RPM_BUILD_ROOT/usr/lib/news $RPM_BUILD_ROOT/var/spool/news \
        $RPM_BUILD_ROOT/var/log/news $RPM_BUILD_ROOT/var/run/news \
        $RPM_BUILD_ROOT/etc/news


install -m 0644 innfeed-0.10.1/innfeed.1 $RPM_BUILD_ROOT/usr/man/man1/
install -m 0644 innfeed-0.10.1/innfeed.conf.5 $RPM_BUILD_ROOT/usr/man/man5/
install -m 0444 innfeed-0.10.1/innfeed.conf $RPM_BUILD_ROOT/etc/news/

install -m 0550 site/rc.news $RPM_BUILD_ROOT/etc/rc.d/

# This not work..;(
# Unfortunately, make install requires root permission, so I disabled
# it, and installed by hand... [MK]
# make DESTDIR="$RPM_BUILD_ROOT" install

install libinn.a $RPM_BUILD_ROOT/usr/lib
install include/libinn.h $RPM_BUILD_ROOT/usr/include
install include/inndcomm.h $RPM_BUILD_ROOT/usr/include
install dbz/dbz.h $RPM_BUILD_ROOT/usr/include

install $RPM_SOURCE_DIR/news.init $RPM_BUILD_ROOT/etc/rc.d/init.d/innd
install samples/nntpsend.ctl $RPM_BUILD_ROOT/etc/news
install frontends/ctlinnd $RPM_BUILD_ROOT/usr/lib/news/bin/ctlinnd
ln -sf $RPM_BUILD_ROOT/usr/lib/news/bin/ctlinnd $RPM_BUILD_ROOT/usr/sbin/ctlinnd

#/var/lib/news

install  site/send-ihave $RPM_BUILD_ROOT/var/lib/news/
install  site/send-uucp $RPM_BUILD_ROOT/var/lib/news/
install  site/send-nntp $RPM_BUILD_ROOT/var/lib/news/
install  site/sendbatch $RPM_BUILD_ROOT/usr/lib/news/bin/

# /usr/sbin
install  innd/inndstart $RPM_BUILD_ROOT/usr/sbin
install  innd/innd $RPM_BUILD_ROOT/usr/sbin
install  nnrpd/nnrpd $RPM_BUILD_ROOT/usr/sbin/nnrpd

#stuff in /usr/lib/news/bin

install  backends/actmerge $RPM_BUILD_ROOT/usr/lib/news/bin
install  backends/actsync $RPM_BUILD_ROOT/usr/lib/news/bin
install  backends/actsyncd $RPM_BUILD_ROOT/usr/lib/news/bin
install  backends/archive $RPM_BUILD_ROOT/usr/lib/news/bin
install  backends/batcher $RPM_BUILD_ROOT/usr/lib/news/bin
install  backends/buffchan $RPM_BUILD_ROOT/usr/lib/news/bin
install  expire/convdate $RPM_BUILD_ROOT/usr/lib/news/bin/
install  backends/crosspost $RPM_BUILD_ROOT/usr/lib/news/bin
install  backends/cvtbatch $RPM_BUILD_ROOT/usr/lib/news/bin
install  expire/expire $RPM_BUILD_ROOT/usr/lib/news/bin
install  expire/expireover $RPM_BUILD_ROOT/usr/lib/news/bin
install  site/expirerm $RPM_BUILD_ROOT/usr/lib/news/bin/
install  expire/fastrm $RPM_BUILD_ROOT/usr/lib/news/bin
install  backends/filechan $RPM_BUILD_ROOT/usr/lib/news/bin
install  frontends/getlist $RPM_BUILD_ROOT/usr/lib/news/bin
install  expire/grephistory $RPM_BUILD_ROOT/usr/lib/news/bin
install  site/inncheck $RPM_BUILD_ROOT/usr/lib/news/bin/
install  frontends/innconfval $RPM_BUILD_ROOT/usr/lib/news/bin
install  innfeed-0.10.1/innfeed $RPM_BUILD_ROOT/usr/lib/news/bin/
install  backends/innxbatch $RPM_BUILD_ROOT/usr/lib/news/bin
install  backends/innxmit $RPM_BUILD_ROOT/usr/lib/news/bin
install  site/innstat $RPM_BUILD_ROOT/usr/lib/news/bin/
install  site/innwatch $RPM_BUILD_ROOT/usr/lib/news/bin/
install  expire/makeactive $RPM_BUILD_ROOT/usr/lib/news/bin
install  expire/makehistory $RPM_BUILD_ROOT/usr/lib/news/bin
install  site/news.daily $RPM_BUILD_ROOT/usr/lib/news/bin/
install  expire/newsrequeue $RPM_BUILD_ROOT/usr/lib/news/bin
install  backends/nntpget $RPM_BUILD_ROOT/usr/lib/news/bin
install  site/nntpsend $RPM_BUILD_ROOT/usr/lib/news/bin
install  backends/overchan $RPM_BUILD_ROOT/usr/lib/news/bin
install  site/pgpverify $RPM_BUILD_ROOT/usr/lib/news/bin
install  innfeed-0.10.1/procbatch $RPM_BUILD_ROOT/usr/lib/news/bin/
install  expire/prunehistory $RPM_BUILD_ROOT/usr/lib/news/bin
install  site/scanlogs $RPM_BUILD_ROOT/usr/lib/news/bin/
install  site/scanspool $RPM_BUILD_ROOT/usr/lib/news/bin/
install  innfeed-0.10.1/startinnfeed $RPM_BUILD_ROOT/usr/lib/news/bin/
install  site/sendbatch $RPM_BUILD_ROOT/usr/lib/news/bin/
install  backends/sendxbatches $RPM_BUILD_ROOT/usr/lib/news/bin/
install  backends/shlock $RPM_BUILD_ROOT/usr/lib/news/bin/
install  backends/shrinkfile $RPM_BUILD_ROOT/usr/lib/news/bin/
install  innfeed-0.10.1/startinnfeed $RPM_BUILD_ROOT/usr/lib/news/bin/
install  site/tally.control $RPM_BUILD_ROOT/usr/lib/news/bin/
install  site/tally.unwanted $RPM_BUILD_ROOT/usr/lib/news/bin/
install  site/writelog $RPM_BUILD_ROOT/usr/lib/news/bin/

#/usr/lib/news/bin/rnews
install  frontends/encode $RPM_BUILD_ROOT/usr/lib/news/bin/rnews
install  frontends/decode $RPM_BUILD_ROOT/usr/lib/news/bin/rnews

#/usr/lib/news
install  frontends/rnews $RPM_BUILD_ROOT/usr/lib/news
install  frontends/inews $RPM_BUILD_ROOT/usr/lib/news
install  site/innshellvars $RPM_BUILD_ROOT/usr/lib/news
install  site/innshellvars.csh $RPM_BUILD_ROOT/usr/lib/news
install  site/innshellvars.pl $RPM_BUILD_ROOT/usr/lib/news
install  site/innshellvars.tcl $RPM_BUILD_ROOT/usr/lib/news
install  site/parsecontrol $RPM_BUILD_ROOT/usr/lib/news

#stuff in /usr/lib/news/bin/control
install  site/checkgroups $RPM_BUILD_ROOT/usr/lib/news/bin/control/
install  site/docheckgroups $RPM_BUILD_ROOT/usr/lib/news/bin/control/
install  site/default $RPM_BUILD_ROOT/usr/lib/news/bin/control/
install  site/ihave  $RPM_BUILD_ROOT/usr/lib/news/bin/control/
install  site/newgroup $RPM_BUILD_ROOT/usr/lib/news/bin/control/
install  site/rmgroup $RPM_BUILD_ROOT/usr/lib/news/bin/control/
install  site/sample.control $RPM_BUILD_ROOT/usr/lib/news/bin/control/
install  site/sendme $RPM_BUILD_ROOT/usr/lib/news/bin/control/
install  site/sendsys $RPM_BUILD_ROOT/usr/lib/news/bin/control/
install  site/senduuname $RPM_BUILD_ROOT/usr/lib/news/bin/control/
install  site/startup.tcl $RPM_BUILD_ROOT/usr/lib/news/bin/control/
install  site/startup_innd.pl $RPM_BUILD_ROOT/usr/lib/news/bin/control/
install  site/version $RPM_BUILD_ROOT/usr/lib/news/bin/control/
install  site/default $RPM_BUILD_ROOT/usr/lib/news/bin/control/
install  site/filter.tcl $RPM_BUILD_ROOT/usr/lib/news/bin/control/
install  site/filter_innd.pl $RPM_BUILD_ROOT/usr/lib/news/bin/control/
install  site/filter_nnrpd.pl $RPM_BUILD_ROOT/usr/lib/news/bin/control/

cp /dev/null $RPM_BUILD_ROOT/var/lib/news/subscriptions
chmod 644 $RPM_BUILD_ROOT/var/lib/news/subscriptions

install  $RPM_SOURCE_DIR/inn-default-active  $RPM_BUILD_ROOT/var/lib/news/active
install  $RPM_SOURCE_DIR/inn-default-distributions  $RPM_BUILD_ROOT/var/lib/news/distributions
install  $RPM_SOURCE_DIR/inn-default-newsgroups $RPM_BUILD_ROOT/var/lib/news/newsgroups

mkdir -p $RPM_BUILD_ROOT/etc/cron.hourly $RPM_BUILD_ROOT/etc/cron.daily
install  $RPM_SOURCE_DIR/inn-cron-expire  $RPM_BUILD_ROOT/etc/cron.daily/inn-cron-expire
install  $RPM_SOURCE_DIR/inn-cron-rnews $RPM_BUILD_ROOT/etc/cron.daily/inn-cron-rnews
install  $RPM_SOURCE_DIR/inn-cron-nntpsend $RPM_BUILD_ROOT/etc/cron.hourly/inn-cron-nntpsend
install  $RPM_SOURCE_DIR/inn-etc-nnrp.access  $RPM_BUILD_ROOT/etc/news/nnrp.access

#etc
install site/actsync.cfg $RPM_BUILD_ROOT/etc/news
install site/actsync.ign $RPM_BUILD_ROOT/etc/news
install site/control.ctl $RPM_BUILD_ROOT/etc/news
install site/distrib.pats $RPM_BUILD_ROOT/etc/news
install site/expire.ctl $RPM_BUILD_ROOT/etc/news
install site/hosts.nntp $RPM_BUILD_ROOT/etc/news
install site/hosts.nntp.nolimit $RPM_BUILD_ROOT/etc/news
install site/inn.conf $RPM_BUILD_ROOT/etc/news
install site/innwatch.ctl $RPM_BUILD_ROOT/etc/news
install site/moderators $RPM_BUILD_ROOT/etc/news
install site/newsfeeds $RPM_BUILD_ROOT/etc/news
install site/nnrp.access $RPM_BUILD_ROOT/etc/news
install site/nntpsend.ctl $RPM_BUILD_ROOT/etc/news
install site/overview.fmt $RPM_BUILD_ROOT/etc/news
install site/passwd.nntp $RPM_BUILD_ROOT/etc/news


#man
install doc/*.1	$RPM_BUILD_ROOT/usr/man/man1
install doc/*.3  $RPM_BUILD_ROOT/usr/man/man3
install doc/*.5	$RPM_BUILD_ROOT/usr/man/man5
install doc/*.8	$RPM_BUILD_ROOT/usr/man/man8

install site/innlog.pl $RPM_BUILD_ROOT/var/lib/news


cd $RPM_BUILD_ROOT/var/lib/news
rm -f history
touch history
rm -f .news.daily
touch .news.daily
$RPM_BUILD_ROOT/usr/lib/news/bin/makehistory -a $RPM_BUILD_ROOT/var/lib/news/active -i -r -f $RPM_BUILD_ROOT/var/lib/news/history

cd $RPM_BUILD_ROOT/usr/bin
ln -sf ../lib/news/rnews rnews
ln -sf ../lib/news/inews inews 
cd $RPM_BUILD_ROOT/usr/sbin
ln -sf ../lib/news/bin/ctlinnd ctlinnd

umask 002
touch $RPM_BUILD_ROOT/var/log/news/news.notice
touch $RPM_BUILD_ROOT/var/log/news/news.crit
touch $RPM_BUILD_ROOT/var/log/news/news.err
touch $RPM_BUILD_ROOT/var/lib/news/active.times


# Fail silently on all these 'strips'
strip $RPM_BUILD_ROOT/usr/sbin/* ||:
strip $RPM_BUILD_ROOT/usr/bin/* ||:
strip $RPM_BUILD_ROOT/usr/lib/news/bin/* ||:
strip $RPM_BUILD_ROOT/usr/lib/news/* ||:
strip $RPM_BUILD_ROOT/usr/lib/news/rnews ||:

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/chkconfig --add innd

umask 002
touch /var/log/news/news.notice
touch /var/log/news/news.crit
touch /var/log/news/news.err
[ -f /var/lib/news/active.times ] || {
    touch /var/lib/news/active.times
    chown news.news /var/lib/news/active.times
}
chown -R news.news /var/log/news*
if [ -f /etc/syslog.conf ]; then
  if ! grep -q INN /etc/syslog.conf; then
    sed 's/mail.none;/mail.none;news.none;/' < /etc/syslog.conf > /etc/syslog.conf.inn
    mv /etc/syslog.conf.inn /etc/syslog.conf

    echo '' \
       >> /etc/syslog.conf
    echo '#' \
       >> /etc/syslog.conf
    echo '# INN' \
       >> /etc/syslog.conf
    echo '#' \
       >> /etc/syslog.conf
    echo 'news.=crit                                        /var/log/news/news.crit'   >> /etc/syslog.conf
    echo 'news.=err                                         /var/log/news/news.err'    >> /etc/syslog.conf
    echo 'news.notice                                       /var/log/news/news.notice' >> /etc/syslog.conf
    fi
  if [ -f /var/run/syslog.pid ]; then
    kill -HUP `cat /var/run/syslog.pid` 2> /dev/null ||:
  fi
else
  # syslog.conf does not exist

  echo "mail.none /var/log/messages" \
     >  /etc/syslog.conf.inn
  echo "" \
     >> /etc/syslog.conf.inn
  echo "# INN" \
     >> /etc/syslog.conf.inn
  echo "news.=crit                                      /var/log/news/news.crit"     >> /etc/syslog.conf.inn
  echo "news.=err                                       /var/log/news/news.err"      >> /etc/syslog.conf.inn
  echo "news.notice                                     /var/log/news/news.notice"   >> /etc/syslog.conf.inn
fi
if [ `cat /etc/news/inn.conf | grep '^server:' | wc -l` -lt 1 ]; then
  echo "server: `hostname -f`" >> /etc/news/inn.conf
fi

%postun
if [ $1 = 0 ]; then
    /sbin/chkconfig --del innd
fi

%files
%attr(0700,news,news) /usr/sbin/innd
%attr(4710,root,news) /usr/sbin/inndstart
%attr(0700,news,news) /usr/sbin/nnrpd
%attr(0700,news,news) /usr/sbin/ctlinnd

%attr(711, news, news) /usr/bin/rnews

%attr(775, news, news, 775) %dir /usr/lib/news/
%attr(700, news, news, 700) /usr/lib/news/bin
%attr(711, news, news) /usr/lib/news/rnews
%attr(770, news, news) %config /usr/lib/news/parsecontrol
%attr(770, news, news) %config /usr/lib/news/innshellvars
%attr(770, news, news) %config /usr/lib/news/innshellvars.csh
%attr(770, news, news) %config /usr/lib/news/innshellvars.pl
%attr(770, news, news) %config /usr/lib/news/innshellvars.tcl

%attr(770, news, news) %dir /etc/news

%attr(660, news, news) %config(noreplace) /etc/cron.daily/inn-cron-expire
%attr(660, news, news) %config(noreplace) /etc/cron.daily/inn-cron-rnews
%attr(660, news, news) %config(noreplace) /etc/cron.hourly/inn-cron-nntpsend
%attr(660, news, news) %config(noreplace) %verify (not size md5 mtime) /etc/news/control.ctl
%attr(660, news, news) %config(noreplace) %verify (not size md5 mtime) /etc/news/distrib.pats
%attr(660, news, news) %config(noreplace) %verify (not size md5 mtime) /etc/news/nnrp.access
%attr(660, news, news) %config(noreplace) %verify (not size md5 mtime) /etc/news/expire.ctl
%attr(660, news, news) %config(noreplace) %verify (not size md5 mtime) /etc/news/hosts.nntp
%attr(660, news, news) %config(noreplace) %verify (not size md5 mtime) /etc/news/hosts.nntp.nolimit
%attr(660, news, news) %config(noreplace) %verify (not size md5 mtime) /etc/news/inn.conf
%attr(660, news, news) %config(noreplace) %verify (not size md5 mtime) /etc/news/innfeed.conf
%attr(660, news, news) %config(noreplace) %verify (not size md5 mtime) /etc/news/innwatch.ctl
%attr(660, news, news) %config(noreplace) %verify (not size md5 mtime) /etc/news/moderators
%attr(660, news, news) %config(noreplace) %verify (not size md5 mtime) /etc/news/passwd.nntp
%attr(660, news, news) %config(noreplace) %verify (not size md5 mtime) /etc/news/newsfeeds
%attr(660, news, news) %config(noreplace) %verify (not size md5 mtime) /etc/news/overview.fmt
%attr(660, news, news) %config(noreplace) %verify (not size md5 mtime) /etc/news/actsync.cfg
%attr(660, news, news) %config(noreplace) %verify (not size md5 mtime) /etc/news/actsync.ign
%attr(660, news, news) %config(noreplace) %verify (not size md5 mtime) /etc/news/nntpsend.ctl
%attr(770, news, news) %config /etc/rc.d/rc.news
%attr(770, news, news) %config /etc/rc.d/init.d/innd


%attr(771,news,news) %dir /var/lib/news

%attr(660, news, news) %config(noreplace) /var/lib/news/.news.daily
%attr(660, news, news) %config(noreplace) %verify (not size md5 mtime) /var/lib/news/history
%attr(660, news, news) %config(noreplace) %verify (not size md5 mtime) /var/lib/news/history.dir
%attr(660, news, news) %config(noreplace) %verify (not size md5 mtime) /var/lib/news/history.pag
%attr(664, news, news) %config(noreplace) %verify (not size md5 mtime) /var/lib/news/active
%attr(660, news, news) %config(noreplace) %verify (not size md5 mtime) /var/lib/news/distributions
%attr(664, news, news) %config(noreplace) %verify (not size md5 mtime) /var/lib/news/newsgroups
%attr(660, news, news) %config(noreplace) %verify (not size md5 mtime) /var/lib/news/subscriptions
%attr(660, news, news) %config(noreplace) /var/lib/news/innlog.pl
%attr(660, news, news) %config(noreplace) /var/lib/news/send-ihave
%attr(660, news, news) %config(noreplace) /var/lib/news/send-nntp
%attr(660, news, news) %config(noreplace) /var/lib/news/send-uucp

%attr(770, news, news) %dir /var/lib/news/innd

%attr(770, news, news) %dir /var/run/news
%attr(770, news, news) %dir /var/lock/news

%attr(770, news, news) %dir /var/spool/news
%attr(770, news, news) %dir /var/spool/news/innfeed
%attr(770, news, news) %dir /var/spool/news/in.coming
%attr(770, news, news) %dir /var/spool/news/in.coming/bad
%attr(770, news, news) %dir /var/spool/news/in.coming/tmp
%attr(770, news, news) %dir /var/spool/news/out.going
%attr(770, news, news) %dir /var/spool/news/news.archive
%attr(770, news, news) %dir /var/spool/news/over.view

%attr(770, news, news) %dir /var/log/news
%attr(770, news, news) %dir /var/log/news/OLD

%doc FAQ samples
%doc README* CHANGES CONTRIBUTORS HISTORY

%attr(644, root, root) /usr/man/man1/convdate.1
%attr(644, root, root) /usr/man/man1/getlist.1
%attr(644, root, root) /usr/man/man1/grephistory.1
%attr(644, root, root) /usr/man/man1/innconfval.1
%attr(644, root, root) /usr/man/man1/installit.1
%attr(644, root, root) /usr/man/man1/nntpget.1
%attr(644, root, root) /usr/man/man1/rnews.1
%attr(644, root, root) /usr/man/man1/shlock.1
%attr(644, root, root) /usr/man/man1/shrinkfile.1
%attr(644, root, root) /usr/man/man1/subst.1
%attr(644, root, root) /usr/man/man5/*
%attr(644, root, root) /usr/man/man8/*

%ghost /var/log/news/news.notice
%ghost /var/log/news/news.crit
%ghost /var/log/news/news.err
%ghost /var/lib/news/active.times

%files devel
%attr(644, root, root) /usr/lib/libinn.a
%attr(644, root, root) /usr/include/libinn.h
%attr(644, root, root) /usr/include/dbz.h
%attr(644, root, root) /usr/include/inndcomm.h
%attr(644, root, root) /usr/man/man3/*

%files -n inews
%attr(711, news, news) /usr/lib/news/inews
%attr(711, news, news) /usr/bin/inews
%attr(644, root, root) /usr/man/man1/inews.1

%changelog

* Sat Aug 29 1998 Marcin Korzonek <mkorz w shadow.eu.org>
- allow building from non root account
- translation modified for pl
- fixed files permission

* Mon Jul 06 1998 Wojtek Slusarczyk <wojtek w shadow.eu.org>
- build against glibc-2.1
- changed to inn-1.5.1+ipv6-1 

* Tue May 05 1998 Prospector System <bugs w redhat.com>

- translations modified for de, fr, tr

* Sat May 02 1998 Cristian Gafton <gafton w redhat.com>
- enhanced initscript

* Fri May 01 1998 Cristian Gafton <gafton w redhat.com>
- fixed innfeed patched to be perl-version independent

* Wed Apr 15 1998 Bryan C. Andregg <bandregg w redhat.com>
- fixed sfnet.* entries in control.ctl

* Mon Apr 13 1998 Bryan C. Andregg <bandregg w redhat.com>
- moved cleanfeed to its own package

* Thu Apr 09 1998 Bryan C. Andregg <bandregg w redhat.com>
- added insync patches
- added cleanfeed
- added innfeed

* Thu Apr 09 1998 Cristian Gafton <gafton w redhat.com>
- abuse buildroot to simplify the file list
- built against Manhattan

* Tue Mar 24 1998 Bryan C. Andregg <bandregg w redhat.com>
- updated to inn 1.7.2
- Added REMEMBER_TRASH and Poison patch

* Sun Oct 19 1997 Erik Troan <ewt w redhat.com>
- updated to inn 1.7
- added chkconfig support to the initscripts
- orginally released as release 2, leving release 1 if a 4.2.x upgrade
  is ever necessary 
- don't start it in any runlevel (by default)
- added inndcomm.h

* Thu Oct 09 1997 Erik Troan <ewt w redhat.com>
- built against glibc

* Tue Aug 05 1997 Elliot Lee <sopwith w redhat.com>
- Applied the 1.5.1sec and 1.5.1sec2 patches
- Applied 3 more unoff patches.
- Removed insanity in /etc/cron.hourly/inn-cron-nntpsend, it now
  just runs nntpsend as news.

* Wed Apr 02 1997 Erik Troan <ewt w redhat.com>
- Patch from CERT for sh exploit.
- Changed /usr/ucb/compress reference to /usr/bin/compress

* Mon Mar 17 1997 Erik Troan <ewt w redhat.com>
- Removed inews.1 from main inn package (it's still in the inews packaeg)
- Fixed references to /usr/spoo in sendbatch
- added "-s -" to crosspost line in newsfeeds
- /var/lib/news/active.time is now created as news.news
- /etc/news/nnrp.access and /etc/news/nntpsend.ctl are mode 0440 
- included a better rc script which does a better job of shutting down news
- updated /etc/rc.d/rc.news output look like the rest of our initscripts
- hacked sendbatch df stuff to work on machines w/o a separate /var/spool/news

* Tue Mar 11 1997 Erik Troan <ewt w redhat.com>
- added chmod to make sure rnews is 755
- /etc/news/nnrp.access and /etc/news/nntpsend.ctl are news.news not root.news
  or root.root
- install an empty /var/lib/news/.news.daily as a config file
- added dbz/dbz.h as /usr/include/dbz.h
- added /usr/bin/inews link to /usr/lib/news/inews
- changed INEWS_PATH to DONT -- I'm not sure this is right though
- turned off MMAP_SYNC
- added a ton of man pages which were missing from the filelist
- increased CLIENT_TIMEOUT to (30 * 60)
- added a postinstall to create /var/lib/news/active.times if it doesn't
  already exist
- patched rc.news to start inn w/ -L flag
- pulled news.init into a separate source file rather then creating it through
  a patch
- added /etc/rc.d/rc5.d/S95news to the file list
- remove pid files from /var/lock/news/* on shutdown
- use /var/lock/subsys/news rather then /var/lock/subsys/inn or things
  don't shutdown properly

* Mon Mar 10 1997 Christian 'Dr. Disk' Hechelmann <drdisk w ds9.au.s.shuttle.de>
- changed devel package description to include tin.
- the devel package missed libinn.h
- moved libinn.3 man-page to the devel package
- moved changelog up
- in %post some echo statements were messed up. if we put the redirection
  staements in a different line than the echo command we really should use
  a backslash to thell the shell :-)
- in %install a chmod line referenced the same directory twice.
- changed inn-1.5.1-redhat.patch: The patch for news.daily had a side effect.
  as EXPIREOVERFLAGS was set to '-a', expireover would break if there were
  articles to be removed, as '-a' can't be used if '-z' is specified...
  Now there is a separate 'eval expireover -a' after the first eval. Dirty
  but works.

* Wed Feb 26 1997 Erik Troan <ewt w redhat.com>
- Added a /usr/bin/rnews symlink to /usr/lib/news/rnews as other programs like
  to use it.

* Tue Feb 25 1997 Elliot Lee <sopwith w cuc.edu>
- Fixed rnews path in /etc/cron.daily/inn-cron-rnews
- Added overview! and crosspost lines to /etc/news/newsfeeds
- Fixed nntpsend.ctl path in /usr/lib/news/bin/nntpsend, and set a saner
  nntpsend.ctl config file.
- Added automated inn.conf 'server: ' line creation in %post
- Added misc. patches from ftp.isc.org/isc/inn/unoff-patches/1.5
- Removed -lelf from config.data LIBS
- Made RPM_OPT_FLAGS work.
- Bug in rpm meant that putting %post after %files made it not run. Moved
  %post up.
- Added /etc/cron.hourly/inn-cron-nntpsend to send news every hour.
- Fixed most of the misc permissions/ownership stuff that inncheck
  complained about.

* Wed Feb 19 1997 Erik Troan <ewt w redhat.com>
- Incorporated changes from <drdisk w tilx01.ti.fht-esslingen.de> which fixed
  some paths and restored the cron jobs which disappeared in the 1.5.1
  switch. He also made the whole thing use a buildroot and added some files
  which were missing from the file list.

########################################################


Pozdrawiam
-- 
   Marcin Korzonek
   mkorz w shadow.eu.org



Więcej informacji o liście dyskusyjnej pld-devel-pl