public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/inn] epel10: Add news user. fixes bug #437462
@ 2026-08-26 8:05 Ondrej Vasik
0 siblings, 0 replies; only message in thread
From: Ondrej Vasik @ 2026-08-26 8:05 UTC (permalink / raw)
To: git-commits
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)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-26 8:05 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:05 [rpms/inn] epel10: Add news user. fixes bug #437462 Ondrej Vasik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox