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: Add news user. fixes bug #437462
Date: Wed, 26 Aug 2026 08:05:53 GMT	[thread overview]
Message-ID: <178773155392.1.4116848472835538927.rpms-inn-9c01eb3366ad@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/inn
Branch : epel10
Commit : 9c01eb3366ad6fa06ef280aa274c1fe800eb4304
Author : Ondrej Vasik <ovasik@fedoraproject.org>
Date   : 2008-06-17T12:16:14+00:00
Stats  : +11/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/inn/c/9c01eb3366ad6fa06ef280aa274c1fe800eb4304?branch=epel10

Log:
Add news user. fixes bug #437462

---
diff --git a/inn.spec b/inn.spec
index 4f17185..4369edb 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: 2%{?dist}
+Release: 3%{?dist}
 #see LICENSE file for details
 License: GPL+ and BSD and MIT and Public Domain
 Group: System Environment/Daemons
@@ -24,6 +24,7 @@ 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)
+Requires(pre): shadow-utils
 Prereq: chkconfig, grep, coreutils, sed
 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires: bash >= 2.0, inews
@@ -72,6 +73,13 @@ specified in the inn.conf file.
 Install inews if you need a program for posting Usenet articles to
 local news servers.
 
+%pre
+getent group news >/dev/null || groupadd -r news
+getent passwd news >/dev/null || \
+useradd -r -g news -d /etc/news -s /sbin/nologin \
+-c "News server user" news
+exit 0
+
 %prep
 %setup  -q  -a 10
 %patch  -p1 -b .rh
@@ -325,6 +333,8 @@ exit 0
 %{_mandir}/man1/inews*
 
 %changelog
+* Tue Jun 17 2008 Ondrej Vasik <ovasik@redhat.com> - 2.4.4-3
+- Add news user. fixes bug #437462
 * Mon May 19 2008 Ondrej Vasik <ovasik@redhat.com> - 2.4.4-2
 - add sparc arches to the list for -fPIC(Dennis Gilmore)
 

                 reply	other threads:[~2026-08-26  8:05 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=178773155392.1.4116848472835538927.rpms-inn-9c01eb3366ad@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