public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ondrej Vasik <ovasik@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/inn] epel10.3: add sparc arches to the list for -fPIC(done in F9 branch before), activate
Date: Wed, 26 Aug 2026 08:53:47 GMT [thread overview]
Message-ID: <178773442783.1.12948048901052643439.rpms-inn-4de897f8922f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/inn
Branch : epel10.3
Commit : 4de897f8922f75f0679796f9e965a2d9ca29c5da
Author : Ondrej Vasik <ovasik@fedoraproject.org>
Date : 2008-05-19T14:15:27+00:00
Stats : +13/-8 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/inn/c/4de897f8922f75f0679796f9e965a2d9ca29c5da?branch=epel10.3
Log:
add sparc arches to the list for -fPIC(done in F9 branch before), activate
forgotten nologinshell man pages patch
---
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 7a2c357..4f17185 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.4
-Release: 1%{?dist}
+Release: 2%{?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`
@@ -88,7 +90,7 @@ perl -pi -e 's/LOCK_WRITE/LLOCK_WRITE/' `find . -type f`
%build
export DEFINE_INN_FLAGS="-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -DHAVE_ET_COM_ERR_H"
-%ifarch s390 s390x
+%ifarch s390 s390x sparc sparcv9 sparc64
export CFLAGS="$RPM_OPT_FLAGS $DEFINE_INN_FLAGS -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
%else
export CFLAGS="$RPM_OPT_FLAGS $DEFINE_INN_FLAGS -fpic -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
@@ -323,6 +325,9 @@ exit 0
%{_mandir}/man1/inews*
%changelog
+* Mon May 19 2008 Ondrej Vasik <ovasik@redhat.com> - 2.4.4-2
+- add sparc arches to the list for -fPIC(Dennis Gilmore)
+
* Thu May 15 2008 Ondrej Vasik <ovasik@redhat.com> - 2.4.4-1
- new upstream release 2.4.4
reply other threads:[~2026-08-26 8:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178773442783.1.12948048901052643439.rpms-inn-4de897f8922f@fedoraproject.org \
--to=ovasik@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox