From adf1d0090a5c13df033fcfcb1eabfae84b511132 Mon Sep 17 00:00:00 2001 From: Ondrej Vasik Date: May 19 2008 14:11:07 +0000 Subject: new upstream release 2.4.4 - required because of Perl-5.10,#446487 --- diff --git a/.cvsignore b/.cvsignore index 105b84b..ce62a7b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,5 +1,2 @@ -inn-2.3.5.tar.gz inn-faq.tar.gz -inn-2.4.1.tar.gz -inn-2.4.2.tar.gz -inn-2.4.3.tar.gz +inn-2.4.4.tar.gz diff --git a/inn-2.4.2-makedbz.patch b/inn-2.4.2-makedbz.patch index bd87587..0eb7f15 100644 --- a/inn-2.4.2-makedbz.patch +++ b/inn-2.4.2-makedbz.patch @@ -1,10 +1,17 @@ ---- inn-2.4.2/site/Makefile.old 2005-01-11 12:47:54.000000000 +0100 -+++ inn-2.4.2/site/Makefile 2005-01-11 13:04:57.141172048 +0100 -@@ -135,7 +135,7 @@ +diff -urNp inn-2.4.4-orig/site/Makefile inn-2.4.4/site/Makefile +--- inn-2.4.4-orig/site/Makefile 2008-05-15 10:59:16.000000000 +0200 ++++ inn-2.4.4/site/Makefile 2008-05-15 11:06:54.000000000 +0200 +@@ -135,10 +135,10 @@ $D$(PATH_ACTIVE_TIMES): chmod $(FILEMODE) $@ $D$(PATH_HISTORY): touch $@ +- chown $(NEWSUSER) $@ +- chgrp $(NEWSGROUP) $@ +- chmod $(FILEMODE) $@ - $(PATHBIN)/makedbz -i -o ++# chown $(NEWSUSER) $@ ++# chgrp $(NEWSGROUP) $@ ++# chmod $(FILEMODE) $@ +# $(PATHBIN)/makedbz -i -o ## Remove files that are unchanged from the release version. diff --git a/inn-2.4.3-nologinshell.patch b/inn-2.4.3-nologinshell.patch index f42b7a4..6bb859c 100644 --- a/inn-2.4.3-nologinshell.patch +++ b/inn-2.4.3-nologinshell.patch @@ -5,23 +5,23 @@ diff -urNp inn-2.4.3-orig/doc/man/rc.news.8 inn-2.4.3/doc/man/rc.news.8 To start \s-1INN\s0 and leave certain error messages going to the terminal: .PP .Vb 1 --\& su - news -c ~news/bin/rc.news -+\& su -m news -c /etc/rc.news +-\& su \- news \-c ~news/bin/rc.news ++\& su \-m news \-c /etc/rc.news .Ve .PP To run \s-1INN\s0 at startup time from appropriate system boot scripts: .PP .Vb 1 --\& su - news -c ~news/bin/rc.news >/dev/console -+\& su -m news -c /etc/rc.news >/dev/console +-\& su \- news \-c ~news/bin/rc.news >/dev/console ++\& su \-m news \-c /etc/rc.news >/dev/console .Ve .PP To stop \s-1INN\s0 (throttling first): .PP .Vb 2 \& ~news/bin/ctlinnd throttle reason --\& su - news -c '~news/bin/rc.news stop' -+\& su -m news -c '/etc/rc.news stop' +-\& su \- news \-c '~news/bin/rc.news stop' ++\& su \-m news \-c '/etc/rc.news stop' .Ve .SH "BUGS" .IX Header "BUGS" diff --git a/inn.spec b/inn.spec index f197f64..e8f7159 100644 --- a/inn.spec +++ b/inn.spec @@ -1,7 +1,7 @@ Summary: The InterNetNews (INN) system, an Usenet news server Name: inn -Version: 2.4.3 -Release: 15%{?dist} +Version: 2.4.4 +Release: 1%{?dist} #see LICENSE file for details License: GPL+ and BSD and MIT and Public Domain Group: System Environment/Daemons @@ -21,6 +21,7 @@ Patch6: inn-2.4.1.posix.patch Patch7: inn-2.4.3.warn.patch Patch8: inn-2.4.2-makedbz.patch Patch9: inn-2.4.3.rcreaderaddrinuse.patch +Patch10: inn-2.4.3-nologinshell.patch BuildRequires: perl-devel python db4-devel byacc krb5-devel pam-devel e2fsprogs-devel BuildRequires: perl(ExtUtils::Embed) Prereq: chkconfig, grep, coreutils, sed @@ -81,6 +82,7 @@ local news servers. %patch7 -p1 -b .warn %patch8 -p1 -b .makedbz %patch9 -p1 -b .addrinuse +%patch10 -p1 -b .nologin perl -pi -e 's/LOCK_READ/LLOCK_READ/' `find . -type f` perl -pi -e 's/LOCK_WRITE/LLOCK_WRITE/' `find . -type f` @@ -323,6 +325,10 @@ exit 0 %{_mandir}/man1/inews* %changelog +* Thu May 15 2008 Ondrej Vasik - 2.4.4-1 +- new upstream release 2.4.4 + (required becaused of Perl-5.10 in F9, #446487) + * Thu Apr 24 2008 Dennis Gilmore - 2.4.3-15 - add sparc arches to the list for -fPIC diff --git a/sources b/sources index 79ad9f3..ffb8359 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ b5e6321446594749eea087c6710eefa5 inn-faq.tar.gz -6caa10909a7bf55fb91535685990aec9 inn-2.4.3.tar.gz +02d9dcf0802b16356d02c0dafbcf98f9 inn-2.4.4.tar.gz