public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/inn] epel10.3: fix innxmit processes getting killed prematurely (#1274857)
@ 2026-08-26  8:54 Dominik 'Rathann' Mierzejewski
  0 siblings, 0 replies; only message in thread
From: Dominik 'Rathann' Mierzejewski @ 2026-08-26  8:54 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/inn
Branch : epel10.3
Commit : eb53280b48a9ef372abf11c019831e1ebf2b62dc
Author : Dominik 'Rathann' Mierzejewski <rpm@greysector.net>
Date   : 2016-01-22T00:43:03+01:00
Stats  : +25/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/inn/c/eb53280b48a9ef372abf11c019831e1ebf2b62dc?branch=epel10.3

Log:
fix innxmit processes getting killed prematurely (#1274857)

---
diff --git a/inn-2.6.0-nofork.patch b/inn-2.6.0-nofork.patch
new file mode 100644
index 0000000..7bad9f1
--- /dev/null
+++ b/inn-2.6.0-nofork.patch
@@ -0,0 +1,21 @@
+diff -up inn-2.6.0/backends/nntpsend.in.nofork inn-2.6.0/backends/nntpsend.in
+--- inn-2.6.0/backends/nntpsend.in.nofork	2016-01-21 23:33:47.000000000 +0100
++++ inn-2.6.0/backends/nntpsend.in	2016-01-21 23:45:16.777708462 +0100
+@@ -201,7 +201,7 @@ echo "${PROGNAME}: [${PARENTPID}] start"
+ export BATCH PROGNAME PARENTPID INNFLAGS
+ 
+ ##  Loop over all sites.
+-cat ${INPUT} | while read SITE HOST SIZE_ARG FLAGS; do
++while read SITE HOST SIZE_ARG FLAGS; do
+     ## Parse the input parameters.
+     if [ -z "${SITE}" -o -z "${HOST}" ] ; then
+ 	echo "Ignoring bad line: ${SITE} ${HOST} ${SIZE_ARG} ${FLAGS}" 1>&2
+@@ -445,7 +445,7 @@ cat ${INPUT} | while read SITE HOST SIZE
+ 	fi
+ 	rm -f ${LOCK}
+     ' &
+-done
++done < ${INPUT}
+ 
+ ##  Release the nntpsend lock and clean up before we wait on child processes.
+ if [ -z "${NOLOCK}" ]; then

diff --git a/inn.spec b/inn.spec
index 9055a37..be69857 100644
--- a/inn.spec
+++ b/inn.spec
@@ -25,6 +25,8 @@ Patch10: inn-2.6.0-doc.patch
 Patch14: inn-redhat_build.patch
 patch17: inn-2.5.2-pconf.patch
 Patch19: inn-2.5.4-docrun.patch
+# https://inn.eyrie.org/trac/changeset/9955
+Patch20: inn-2.6.0-nofork.patch
 BuildRequires: python db4-devel byacc krb5-devel pam-devel e2fsprogs-devel perl
 BuildRequires: perl(ExtUtils::Embed) flex systemd-units
 BuildRequires: cyrus-sasl-devel
@@ -106,6 +108,7 @@ exit 0
 
 %patch17 -p1 -b .pfix
 # %patch19 -p1 -b .docrun
+%patch20 -p1 -b .nofork
 
 perl -pi -e 's/su news/su -m news/' ./INSTALL
 perl -pi -e 's/LOCK_READ/LLOCK_READ/' `find . -type f`
@@ -552,6 +555,7 @@ fi
 - fix typos in systemd service descriptions (#1278241)
 - point INN FAQ "source" to its upstream URL
 - enable SSL (#1282236) and SASL support
+- fix innxmit processes getting killed prematurely (#1274857)
 
 * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-0.rc1.1.2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-26  8:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-26  8:54 [rpms/inn] epel10.3: fix innxmit processes getting killed prematurely (#1274857) Dominik 'Rathann' Mierzejewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox