[packages/adapter: 210/631] - completed arekm's nobody request
glen
glen at pld-linux.org
Mon Sep 12 19:52:04 CEST 2016
commit 61cb9711cc01d69de286c1ff0bf14d788f932930
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Wed Oct 12 20:14:03 2005 +0000
- completed arekm's nobody request
Changed files:
adapter.awk -> 1.201
adapter.awk | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index b5c9e02..246755a 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -938,6 +938,11 @@ function use_files_macros( i, n, t, a)
gsub("^%{_sbindir}", "%attr(755,root,root) %{_sbindir}")
gsub("^%{_bindir}", "%attr(755,root,root) %{_bindir}")
+ # uid/gid nobody is not valid in %files
+ if (/%attr([^)]*nobody[^)]*)/ && !/FIXME/) {
+ $0 = $0 " # FIXME nobody user/group can't own files! -adapter.awk"
+ }
+
# replace back
gsub("%{_sysconfdir}/cron\.d", "/etc/cron.d")
gsub("%{_sysconfdir}/crontab\.d", "/etc/cron.d")
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list