[packages/monkey] - use individually reserved uid, user/group Provides
qboosh
qboosh at pld-linux.org
Sun Jul 12 13:58:49 CEST 2026
commit 75bf29916fa0db719299ec829f2d2b4ff914f260
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jul 12 13:56:54 2026 +0200
- use individually reserved uid, user/group Provides
monkey.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/monkey.spec b/monkey.spec
index 4fc2c58..31feeac 100644
--- a/monkey.spec
+++ b/monkey.spec
@@ -21,6 +21,8 @@ Requires(pre): /usr/bin/getgid
Requires(pre): /usr/sbin/groupadd
Requires(pre): /usr/sbin/useradd
Requires: systemd-units >= 38
+Provides: group(http)
+Provides: user(monkey)
Provides: webserver
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -82,7 +84,7 @@ rm -rf $RPM_BUILD_ROOT
%pre
%groupadd -r -g 51 http
-%useradd -r -u 214 -d %{_webdir} -s /bin/false -c "Monkey HTTP Server" -g http monkey
+%useradd -r -u 237 -d %{_webdir} -s /bin/false -c "Monkey HTTP Server" -g http monkey
%post
/sbin/chkconfig --add monkey
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/monkey.git/commitdiff/ffae06b787fde5f4a96e8bacf9164f7648740f09
More information about the pld-cvs-commit
mailing list