%define version 2.4.2 %define release 2mdk %define perl_version %(rpm -q --qf '%%{epoch}:%%{VERSION}' perl) Summary: The InterNetNews (INN) system, a Usenet news server Name: inn Version: %{version} Release: %{release} License: GPL Group: System/Servers Url: http://www.isc.org/products/INN/ Source0: ftp://ftp.isc.org/isc/inn/inn-%{version}.tar.bz2 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: innd.init Source10: inn-faq.tar.bz2 Patch0: inn-2.4.0-rh.patch.bz2 Patch1: inn-2.4.0-com_err.patch.bz2 Patch2: inn-2.4.2-fix-make-install.patch.bz2 Patch3: inn-2.4.2-lib64.patch.bz2 # We require _explicitly_ db1-devel. Or you can change this to gdbm2 # if you wish. # This means: you install _either_ db1-devel OR libgdb2m-devel # to build this, but not both, by default we use db1, swap them around # if you want tou se gdbm2 to stop rpm from bitching. # you'll also need to remove the db1 hack before make if youw ant to build # with gdbm. BuildRequires: autoconf2.1 bison db1-devel flex openssl-devel perl-devel BuildConflicts: libgdbm-devel Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Prereq: /sbin/chkconfig grep coreutils sed rpm-helper Requires: cleanfeed, perl = %{perl_version} Conflicts: echelog %define _requires_exceptions perl(bigint.pl)\\|perl(ftp.pl) %description INN (InterNetNews) is a complete system for serving Usenet news and/or private newsfeeds. INN includes innd, an NNTP (NetNews Transport Protocol) server, and nnrpd, a newsreader that is spawned for each client. Both innd and nnrpd vary slightly from the NNTP protocol, but not in ways that are easily noticed. Install the inn package if you need a complete system for serving and reading Usenet news. You may also need to install inn-devel, if you are going to use a separate program which interfaces to INN, like newsgate or tin. %package devel Summary: The INN (InterNetNews) library Group: System/Libraries Requires: inn = %{version} %description devel The inn-devel package contains the INN (InterNetNews) library, which several programs that interface with INN need in order to work (for example, newsgate and tin). If you are installing a program which must interface with the INN news system, you should install inn-devel. %package -n inews Summary: Sends Usenet articles to a local news server for distribution Group: System/Servers Conflicts: noffle %description -n inews The inews program is used by some news programs (for example, inn and trn) to post Usenet news articles to local news servers. Inews reads an article from a file or standard input, adds headers, performs some consistency checks and then sends the article to the local news server specified in the inn.conf file. Install inews if you need a program for posting Usenet articles to local news servers. %prep %setup -q -a 10 %patch0 -p1 -b .redhat %patch1 -p1 -b .com_err %patch2 -p1 -b .make_install %patch3 -p1 -b .lib64 autoconf find -type f | xargs perl -pi -e '@meuh = qw(LOCK_READ LOCK_WRITE LOCK_UNLOCK); foreach $a (@meuh) { s/\b$a\b/INN_$a/g }' %build %serverbuild export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -DUSE_VENDOR_CF_PATH=1" rm -f config.cache # configure and define magic means that libndbm (from db2-devel) # shall be used and take precedence over db1. libtoolize --copy --force ./configure --prefix=/usr \ --libdir=%{_libdir} \ --with-lib-dir=%{_libdir}/%{name} \ --with-filter-dir=%{_libdir}/news/bin/filter \ --with-control-dir=%{_libdir}/news/bin/control \ --sysconfdir=/etc/news \ --mandir=%{_mandir} \ --libexecdir=%{_libdir}/%{name} \ --with-log-dir=/var/log/news --with-spool-dir=/var/spool/news\ --with-db-dir=/var/lib/news --with-run-dir=/var/run/news \ --with-etc-dir=/etc/news --with-tmp-path=/var/spool/news/tmp \ --with-perl --enable-shared --enable-static \ --enable-tagged-hash --enable-merge-to-groups \ --with-news-user=news --with-news-group=news \ --with-news-master=news --enable-pgp-verify \ --with-openssl \ --with-sendmail=/usr/sbin/sendmail # we are building with db1. Make _sure_ that we are doinkg that. perl -pi -e 's/^DBMLIB.*=.*$/DBMLIB = -ldb1/' Makefile.global %make %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT perl -pi -e 's/^OWNER.*/OWNER = /; s/^ROWNER.*/ROWNER = /' Makefile.global make install DESTDIR=$RPM_BUILD_ROOT # -- Install man pages needed by suck et al. mkdir -p $RPM_BUILD_ROOT/usr/include/inn for f in clibrary.h config.h dbz.h libinn.h storage.h do install -c -m 0644 ./include/$f $RPM_BUILD_ROOT/usr/include/inn done mkdir -p $RPM_BUILD_ROOT/etc mv $RPM_BUILD_ROOT/usr/bin/rc.news $RPM_BUILD_ROOT/etc chmod 755 $RPM_BUILD_ROOT/etc/rc.news touch $RPM_BUILD_ROOT/var/lib/news/subscriptions chmod 644 $RPM_BUILD_ROOT/var/lib/news/subscriptions install -m 644 %{SOURCE1} \ $RPM_BUILD_ROOT/var/lib/news/active install -m 644 %{SOURCE2} \ $RPM_BUILD_ROOT/var/lib/news/distributions install -m 644 %{SOURCE3} \ $RPM_BUILD_ROOT/var/lib/news/newsgroups mkdir -p $RPM_BUILD_ROOT/etc/cron.hourly $RPM_BUILD_ROOT/etc/cron.daily install -m755 %{SOURCE4} \ $RPM_BUILD_ROOT/etc/cron.daily/inn-cron-expire install -m755 %{SOURCE5} \ $RPM_BUILD_ROOT/etc/cron.hourly/inn-cron-rnews install -m755 %{SOURCE7} \ $RPM_BUILD_ROOT/etc/cron.hourly/inn-cron-nntpsend install -m440 %{SOURCE6} \ $RPM_BUILD_ROOT/etc/news/nnrp.access mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d/ install -m 755 %{SOURCE8} \ $RPM_BUILD_ROOT/etc/rc.d/init.d/innd rm -f $RPM_BUILD_ROOT/var/lib/news/history touch $RPM_BUILD_ROOT/var/lib/news/history touch $RPM_BUILD_ROOT/var/lib/news/.news.daily LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT/usr/bin/makehistory \ -a $RPM_BUILD_ROOT/var/lib/news/active \ -r -f $RPM_BUILD_ROOT/var/lib/news/history || : chmod 644 $RPM_BUILD_ROOT/var/lib/news/* chmod 644 $RPM_BUILD_ROOT/var/lib/news/.news.daily mkdir -p $RPM_BUILD_ROOT/var/spool/news/tmp # we get this from cleanfeed # (sb) true - but it's not being found by innd - fix this rm -f $RPM_BUILD_ROOT/%{_libdir}/news/bin/filter/filter_innd.pl pushd $RPM_BUILD_ROOT/%{_libdir}/news/bin/filter ln -sf ../control/filter_innd.pl . popd # fix location of real library files mv $RPM_BUILD_ROOT%{_libdir}/{inn/lib{inn,storage}.a,/} #Fix perms in sample directory to avoid bogus dependencies find samples -name "*.in" -exec chmod a-x {} \; # (sb) doc install conflicts with rpm %%doc, even when config is setup # correctly. Just rm these files and let %%doc take care of it rm -fr $RPM_BUILD_ROOT/%{_usr}/doc # (sb) a portion of the header files are in /usr/include, while the rest # are in /usr/include/inn - paths.h conflicts with glibc-devel # right now inn-devel isn't used for anything, nor do the other header # files seem to be looking for them a directory up - move them mv $RPM_BUILD_ROOT/%{_includedir}/*.h $RPM_BUILD_ROOT/%{_includedir}/inn #Build filelist echo "%defattr(-,news,news)" > files.list find $RPM_BUILD_ROOT -type f -or -type l | \ sed -e "s|$RPM_BUILD_ROOT||g" | \ sed 's|^%{_initrddir}/innd|%config(noreplace) %attr(755,root,root) &|' | \ sed 's|^/etc/news/inn.conf|%attr(640,uucp,news) %config(noreplace) %verify(not size mtime md5) &|' | \ sed 's|^/etc/news|%attr(640,root,news) %config(noreplace) %verify(not size mtime md5) &|' | \ sed 's|^/etc/rc.news|%attr(755,root,news) %config(noreplace) %verify(not size mtime md5) &|' | \ sed 's|^/etc/init.d|%attr(755,root,root) %config(noreplace) %verify(not size mtime md5) &|' | \ sed 's|^/etc/cron.hourly/inn-cron-rnews|%config(noreplace) %attr(755,root,root) &|' | \ sed 's|^/var/lib/news/|%attr(640,news,news) %config(noreplace) &|' | \ sed 's|.*innshellvar|%config(noreplace) &|' | \ sed 's|/var/log/news|%ghost &|' | \ sed 's|/usr/bin/inndstart|%attr(4750,root,news) &|' | \ sed 's|/usr/bin/startinnfeed$|%attr(4550,root,news) &|' | \ sed 's|/usr/bin/rnews$|%attr(6550,uucp,news) /usr/bin/rnews|' | sed '/%attr(4550,uucp,news)/a\ %defattr(755,root,root)' > files.list (echo "%defattr(755,root,root)" ; grep -v inews files.list | \ egrep -v "\.(h|so|a|la)$" | \ grep -v "/man/") > files.main echo "%defattr(755,root,root)" > files.devel egrep "\.(h|so|a|la)$" files.list >> files.devel echo "%attr(-,root,root)" >> file.main find $RPM_BUILD_ROOT%{_mandir}/man[158] -type f | \ sed -e "s|$RPM_BUILD_ROOT||g" | \ sed -e "s|\.[158]|&.bz2|g" | \ grep -v inews >> files.main # (sb) file mode now prevents strip from working? chmod u+w $RPM_BUILD_ROOT/%{_bindir}/* chmod u+w $RPM_BUILD_ROOT/%{_bindir}/auth/resolv/* chmod u+w $RPM_BUILD_ROOT/%{_bindir}/auth/passwd/* chmod u+w $RPM_BUILD_ROOT/%{_bindir}/rnews.libexec/* %clean rm -rf $RPM_BUILD_ROOT rm -f files.list files.main files.devel files.inews %post %_post_service 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 [ `cat /etc/news/inn.conf | grep '^server:' | wc -l` -lt 1 ]; then echo "server: `hostname -f`" >> /etc/news/inn.conf fi if [ -f /var/lib/news/history ]; then cd /var/lib/news %{_bindir}/makedbz -s `wc -l <history` -f history for i in dir hash index pag; do [ -f history.n.$i ] && mv history.n.$i history.$i done chown news:news history.* chmod 644 history.* else cd /var/lib/news cp /dev/null history %{_bindir}/makehistory %{_bindir}/makedbz -s `wc -l <history` -f history for i in dir hash index pag; do [ -f history.n.$i ] && mv history.n.$i history.$i done chown news:news history history.* chmod 644 history history.* fi %triggerin -- sysklogd if [ -f /etc/syslog.conf ]; then if grep -q "# News logging" /etc/syslog.conf; then perl -pi -e "s!mail.none;authpriv.none!mail.none;news.none;authpriv.none!; \ s!/var/log/news/info!/var/log/news/news.notice!; \ s!/var/log/news/errors!/var/log/news/news.err!; \ s!/var/log/news/warnings!/var/log/news/news.crit!; \ s!^news.err!news.=err!; \ s!^news.=warn!news.=crit!; " /etc/syslog.conf else cat <<EOF >> /etc/syslog.conf # News logging news.=debug;news.=info;news.=notice -/var/log/news/news.notice news.=crit -/var/log/news/news.crit news.err -/var/log/news/news.err EOF fi if [ -f /var/run/syslog.pid ]; then kill -HUP `cat /var/run/syslog.pid` 2> /dev/null ||: fi fi %preun %_preun_service innd if [ $1 = 0 ]; then if [ -f /var/lib/news/history.dir ]; then rm -f /var/lib/news/history.* fi fi %postun if [ "$1" -ge "1" ]; then service innd restart > /dev/null 2>&1 fi %files -f files.main %defattr(-,news,news) %dir %{_libdir}/%{name} %dir %{_libdir}/news %dir %{_libdir}/news/bin %dir %{_libdir}/news/bin/control %dir %{_libdir}/news/bin/filter %dir %{_bindir}/rnews.libexec %dir %{_bindir}/auth %dir %{_bindir}/auth/resolv %dir %{_bindir}/auth/passwd %dir %{_sysconfdir}/news %dir /var/spool/news %dir /var/spool/news/articles %dir /var/spool/news/overview %dir /var/spool/news/archive %attr(775,news,news) %dir /var/spool/news/incoming %dir /var/spool/news/incoming/bad %dir /var/spool/news/outgoing %dir /var/spool/news/innfeed %attr(770,news,news) %dir /var/spool/news/tmp %attr(770,news,news) %dir /var/log/news %dir /var/log/news/OLD %attr(770,news,news) %dir /var/lib/news %attr(770,news,news) %dir /var/run/news %attr(-,root,root) %doc HACKING LICENSE MANIFEST TODO %attr(-,root,root) %doc README* ChangeLog CONTRIBUTORS INSTALL NEWS %attr(-,root,root) %doc faq %attr(-,root,root) %doc doc/hook* doc/config* doc/compliance-nntp %attr(-,root,root) %doc doc/sample-control doc/GPL doc/history %files devel -f files.devel %defattr(-,root,root) %{_mandir}/man3/* %dir %{_includedir}/%{name} %files -n inews %defattr(-,root,root) %attr(755,root,root) /usr/bin/inews %{_mandir}/man1/inews* %changelog * Wed Apr 6 2005 Stew Benedict <sbenedict@mandrakesoft.com> 2.4.2-2mdk - Fix uucp issue (Bugzilla #15037) * Fri Jan 29 2005 Stew Benedict <sbenedict@mandrakesoft.com> 2.4.2-1mdk - 2.4.2, redo patch2,3 * Thu Dec 30 2004 Stefan van der Eijk <stefan@mandrake.org> 2.4.1-7mdk - BuildRequires: byacc --> bison * Tue Dec 21 2004 Stew Benedict <sbenedict@mandrakesoft.com> 2.4.1-6mdk - rebuild for new perl * Wed Jul 07 2004 Stew Benedict <sbenedict@mandrakesoft.com> 2.4.1-5mdk - rebuild for new perl, relax binary perms so strip works * Tue Jun 08 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 2.4.1-4mdk - fix buildrequires * Tue Apr 06 2004 Michael Scherer <misc@mandrake.org> 2.4.1-3mdk - rebuild for new perl * Wed Jan 21 2004 Pixel <pixel@mandrakesoft.com> 2.4.1-2mdk - rebuild for new perl * Thu Jan 8 2004 Stew Benedict <sbenedict@mandrakesoft.com> 2.4.1-1mdk - 2.4.1, rework patch 2,3 * Tue Dec 30 2003 Stew Benedict <sbenedict@mandrakesoft.com> 2.4.0-2mdk - distriblint [DIRM], paths.h conflict with glibc-devel * Mon Dec 15 2003 Stew Benedict <sbenedict@mandrakesoft.com> 2.4.0-1mdk - 2.4.0, new patch1, rework patch0,4, chown news.news -> chown news:news - relocate filter,control files to %{_libdir}/news (rpmlint) - link to cleanfeed filter_innd.pl so it can actually be used * Wed Dec 10 2003 Stew Benedict <sbenedict@mandrakesoft.com> 2.3.5-7mdk - rebuild for new perl (2.4 is available, I know - next pass :)) * Tue Aug 05 2003 Stew Benedict <sbenedict@mandrakesoft.com> 2.3.5-6mdk - distriblint - inews man page in both packages * Wed Jul 30 2003 Pixel <pixel@mandrakesoft.com> 2.3.5-5mdk - when requiring the perl used for building, include the epoch * Thu Jul 17 2003 Stew Benedict <sbenedict@mandrakesoft.com> 2.3.5-4mdk - rebuild/requires - exceptions for bigint.pl, ftp.pl * Fri Jun 06 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 2.3.5-3mdk - use double %%'s in changelog * Mon Apr 23 2003 Stew Benedict <sbenedict@mandrakesoft.com> 2.3.5-2mdk - distriblint * Wed Apr 16 2003 Stew Benedict <sbenedict@mandrakesoft.com> 2.3.5-1mdk - 2.3.5 * Thu Mar 27 2003 Stew Benedict <sbenedict@mandrakesoft.com> 2.3.4-3mdk - fix cron job behavior if innd is disabled via chkconfig [Bug 3554] - (changes to Sources 4,5,7), change ownership of inn.conf to uucp.news * Mon Jan 6 2003 Stew Benedict <sbenedict@mandrakesoft.com> 2.3.4-2mdk - changes requires from perl-base to perl [Bug 2125] * Mon Jan 6 2003 Stew Benedict <sbenedict@mandrakesoft.com> 2.3.4-1mdk - 2.3.4 * Fri Dec 27 2002 Stew Benedict <sbenedict@mandrakesoft.com> 2.3.3-6mdk - rebuild for new glibc/rpm * Thu Dec 12 2002 Stew Benedict <sbenedict@mandrakesoft.com> 2.3.3-5mdk - fix init script, some rpmlint cleanage, %%postun * Thu Dec 12 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 2.3.3-4mdk - Patch3: Make it lib64 aware * Thu Nov 07 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.3.3-3mdk - requires s/(sh-|text|file)utils/coreutils/ * Mon Sep 13 2002 Amaury Amblard-Ladurantie <amaury@mandrakesoft.com> 2.3.3-2mdk - added URL - changed innd.init initscript * Mon Sep 9 2002 Amaury Amblard-Ladurantie <amaury@mandrakesoft.com> 2.3.3-1mdk - rebuild for threaded perl - new version * Thu Jul 11 2002 Pixel <pixel@mandrakesoft.com> 2.3.2-7mdk - rebuild for perl 5.8.0 * Tue Jun 18 2002 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.3.2-6mdk - Link explicitly with db1. This fixes build on the Alpha, and is a big sanity fix for x86 as well. Looking in the source they only support ndbm.h or db1/ndbm.h which are found in libgdbm2-devel and db1-devel respectively. - BuildRequires: db1-devel. - BuildConflicts: libgdbm-devel. * Sun Sep 09 2001 Stefan van der Eijk <stefan@eijk.nu> 2.3.2-5mdk - BuildRequires: byacc * Sat Aug 4 2001 Pixel <pixel@mandrakesoft.com> 2.3.2-4mdk - add require the perl-base used for building (the libperl.so auto-require is not enough) * Mon Jul 23 2001 Stefan van der Eijk <stefan@eijk.nu> 2.3.2-3mdk - BuildRequires: openssl-devel perl-devel - Copyright --> License * Fri Jun 15 2001 Philippe Libat <philippe@mandrakesoft.com> 2.3.2-2mdk - fix syslog.conf * Wed Jun 13 2001 Philippe Libat <philippe@mandrakesoft.com> 2.3.2-1mdk - New version - Documentation * Fri Mar 30 2001 Philippe Libat <philippe@mandrakesoft.com> 2.2.3-3mdk - fix typo in post * Fri Mar 30 2001 Philippe Libat <philippe@mandrakesoft.com> 2.2.3-2mdk - use post_service and preun_service macros - use serverbuild macro * Wed Jan 10 2001 Vincent Danen <vdanen@mandrakesoft.com> 2.2.3-1mdk - 2.2.3 (many security and bug fixes) - move tmpdir to /var/spool/news/tmp from /tmp for increased security - patch to use mkstemp instead of mktemp - --with-tmp-dir is incorrect configure option, change to --with-tmp-path - remove obsolete patches * Fri Sep 22 2000 Philippe Libat <philippe@mandrakesoft.com> 2.2.2-8mdk - change /etc/rc.news in innd.init - set correct permission file * Mon Jul 31 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.2.2-7mdk - Big BM cleanup merge fixes tweaking. (aka: make world). * Wed Jun 14 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.2.2-6mdk - Set verifycancels to false. * Tue May 02 2000 Yoann Vandoorselaere <yoann@mandrakesoft.com> 2.2.2-5mdk - Removed appending of news logging, cause it is now added to the default syslog.conf file. - Patch for inn to build with latest perl. * Sun Apr 09 2000 John Buswell <johnb@mandrakesoft.com> 2.2.2-4mdk - fixed filelist - fixed permissions - removed subdirs in /bin * Thu Mar 30 2000 John Buswell <johnb@mandrakesoft.com> 2.2.2-3mdk - Fixed groups - spec-helper * Wed Dec 15 1999 John Buswell <johnb@mandrakesoft.com> - Fixed sendmail path in configure * Tue Dec 14 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - 2.2.2 (y2k fix). * Fri Nov 19 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Require Perl. - Remove %%defattr(-,root,root). * Thu Nov 4 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Build release. * Tue Sep 28 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Include all headers (#81 again). * Tue Sep 14 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - 2.2.1 - Harald Schreiber Release ;-\. * Tue Jul 06 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Build for new environement (Rel: 12mdk). * Mon May 24 1999 Bernhard Rosenkränzer <bero@mandrakesoft.com> - chown news.news /var/lib/news/.* * Sat May 22 1999 Bernhard Rosenkraenzer <bero@mandrakesoft.com> - add security patch from RH update -9 - update cleanfeed 0.95.5a->0.95.7b - rename cleanfeed-latest to cleanfeed-0.95.7b, so we see when/if it's required to update - pgpverify 1.12 * Tue May 11 1999 Bernhard Rosenkraenzer <bero@mandrakesoft.com> - Mandrake adaptions - handle RPM_OPT_FLAGS * Tue Mar 30 1999 Preston Brown <pbrown@redhat.com> - fixed paths in cron jobs, check to see that innd is enabled * Fri Mar 26 1999 Preston Brown <pbrown@redhat.com> - path to makehistory corrected. * Mon Mar 22 1999 Preston Brown <pbrown@redhat.com> - fixed permissions on rnews for uucp * Fri Mar 19 1999 Preston Brown <pbrown@redhat.com> - make sure init scripts get packaged up, fix other minor bugs - major fixups to innd.conf for denial of service attacks, sanity, etc. - make sure history gets rebuilt in an upgrade (added to post section) - many thanks go out to mmchen@minn.net for these suggestions. * Fri Feb 19 1999 Cristian Gafton <gafton@redhat.com> - prereq all the stuff we need in the postinstall scripts * Sat Feb 6 1999 Bill Nottingham <notting@redhat.com> - strip -x bits from docs/samples (bogus dependencies) * Thu Sep 03 1998 Cristian Gafton <gafton@redhat.com> - updated to version 2.1 * Fri Aug 21 1998 Jeff Johnson <jbj@redhat.com> - innd.init chkconfig entry was incorrect (problem #855) * Tue Jun 30 1998 Jeff Johnson <jbj@redhat.com> - susbsys name must be identical to script name (problem #700) * Mon Jun 29 1998 Bryan C. Andregg <bandregg@redhat.com> - fixed startinnfeed paths * Tue May 05 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr * Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - enhanced initscript * Fri May 01 1998 Cristian Gafton <gafton@redhat.com> - fixed innfeed patched to be perl-version independent * Wed Apr 15 1998 Bryan C. Andregg <bandregg@redhat.com> - fixed sfnet.* entries in control.ctl * Mon Apr 13 1998 Bryan C. Andregg <bandregg@redhat.com> - moved cleanfeed to its own package * Thu Apr 09 1998 Bryan C. Andregg <bandregg@redhat.com> - added insync patches - added cleanfeed - added innfeed * Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - abuse buildroot to simplify the file list - built against Manhattan * Tue Mar 24 1998 Bryan C. Andregg <bandregg@redhat.com> - updated to inn 1.7.2 - Added REMEMBER_TRASH and Poison patch * Sun Oct 19 1997 Erik Troan <ewt@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@redhat.com> - built against glibc * Tue Aug 05 1997 Elliot Lee <sopwith@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@redhat.com> - Patch from CERT for sh exploit. - Changed /usr/ucb/compress reference to /usr/bin/compress * Mon Mar 17 1997 Erik Troan <ewt@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@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@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@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@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@redhat.com> - Incorporated changes from <drdisk@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.