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/setup] update_services: add pkiuser(17:17) to uidgid file, temporarily create video/audio group in
Date: Mon, 22 Jun 2026 15:55:01 GMT	[thread overview]
Message-ID: <178214370127.1.13531953420423968710.rpms-setup-d6e6cd45400f@fedoraproject.org> (raw)

        A new commit has been pushed.

        Repo   : rpms/setup
        Branch : update_services
        Commit : d6e6cd45400f7ee79be48aab4e86af9538e77620
        Author : Ondrej Vasik <ovasik@fedoraproject.org>
        Date   : 2008-12-18T11:49:16+00:00
        Stats  : +27/-1 in 2 file(s)
        URL    : https://src.fedoraproject.org/rpms/setup/c/d6e6cd45400f7ee79be48aab4e86af9538e77620?branch=update_services

        Log:
        add pkiuser(17:17) to uidgid file, temporarily create video/audio group in
post secrion (#476886)

---
diff --git a/setup-2.7.5.patch b/setup-2.7.5.patch
index 030d6be..6c4c4cc 100644
--- a/setup-2.7.5.patch
+++ b/setup-2.7.5.patch
@@ -36,3 +36,14 @@ diff -urNp setup-2.7.5-orig/profile setup-2.7.5/profile
 -
  unset i
  unset pathmunge
+diff -urNp setup-2.7.5-orig/uidgid setup-2.7.5/uidgid
+--- setup-2.7.5-orig/uidgid	2008-11-27 13:03:16.000000000 +0100
++++ setup-2.7.5/uidgid	2008-12-18 12:41:22.000000000 +0100
+@@ -21,6 +21,7 @@ games		12	(100)	/usr/games		/sbin/nologi
+ gopher		13	30	/usr/lib/gopher-data	/sbin/nologin	setup
+ ftp		14	50	/var/ftp		/sbin/nologin	setup
+ man		-	15	-			-		setup
++pkiuser		17	17	/usr/share/pki	/sbin/nologin	pki-ca,rhpki-ca
+ floppy		-	19	-			-		dev,MAKEDEV
+ games		-	20	-			-		setup
+ slocate		-	21	-			-		slocate

diff --git a/setup.spec b/setup.spec
index 567b6c2..af377da 100644
--- a/setup.spec
+++ b/setup.spec
@@ -1,7 +1,7 @@
 Summary: A set of system configuration and setup files
 Name: setup
 Version: 2.7.5
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: Public Domain
 Group: System Environment/Base
 URL: https://fedorahosted.org/setup/
@@ -10,6 +10,8 @@ Patch1: setup-2.7.5.patch
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch: noarch
 BuildRequires: bash tcsh perl
+Requires(post): grep
+
 Conflicts: initscripts < 4.26, bash <= 2.0.4-21
 
 %description
@@ -50,6 +52,14 @@ rm -f %{buildroot}/etc/setup.spec
 %clean
 rm -rf %{buildroot}
 
+%post
+if [ `grep -c video /etc/group` -eq 0 ] ; then
+  groupadd -g 39 video
+fi
+if [ `grep -c audio /etc/group` -eq 0 ] ; then
+  groupadd -g 63 audio
+fi
+
 %files
 %defattr(-,root,root)
 %doc uidgid
@@ -81,6 +91,11 @@ rm -rf %{buildroot}
 %ghost %verify(not md5 size mtime) %config(noreplace,missingok) /etc/mtab
 
 %changelog
+* Thu Dec 18 2008 Ondrej Vasik <ovasik@redhat.com> 2.7.5-3
+- add pkiuser (17:17) to uidgid
+- temporarily create video/audio group in post section
+  (#476886)
+
 * Wed Dec 10 2008 Ondrej Vasik <ovasik@redhat.com> 2.7.5-2
 - do not export PATH twice(#449286 NOTABUG revert)
 - do not export INPUTRC(to respect just created ~/.inputrc)

                 reply	other threads:[~2026-06-22 15:55 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=178214370127.1.13531953420423968710.rpms-setup-d6e6cd45400f@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