SPECS: adapter.awk - no globs for sgids too - ExcludeArch after Ex...
qboosh
qboosh at pld-linux.org
Tue Dec 27 07:58:37 CET 2005
Author: qboosh Date: Tue Dec 27 06:58:37 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- no globs for sgids too
- ExcludeArch after ExclusiveArch if both are present
---- Files affected:
SPECS:
adapter.awk (1.256 -> 1.257)
---- Diffs:
================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.256 SPECS/adapter.awk:1.257
--- SPECS/adapter.awk:1.256 Tue Dec 27 02:09:17 2005
+++ SPECS/adapter.awk Tue Dec 27 07:58:32 2005
@@ -125,7 +125,7 @@
gsub(/^Conflicts/, "X3Conflicts", s);
gsub(/^BuildArch/, "X4BuildArch", s);
gsub(/^ExclusiveArch/, "X6ExclusiveArch", s);
- gsub(/^ExcludeArch/, "X6ExcludeArch", s);
+ gsub(/^ExcludeArch/, "X7ExcludeArch", s);
gsub(/^BuildRoot/, "X9BuildRoot", s);
# printf("%s -> %s\n", a""b, s);
@@ -1088,9 +1088,9 @@
$0 = $0 " # FIXME nobody user/group can't own files! -adapter.awk"
}
- # suid programs with globs are evil
- if (/%attr\(4...,.*\*/ && !/FIXME/) {
- $0 = $0 " # FIXME no globs for suid files"
+ # s[gu]id programs with globs are evil
+ if (/%attr\([246]...,.*\*/ && !/FIXME/) {
+ $0 = $0 " # FIXME no globs for suid/sgid files"
}
# replace back
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.256&r2=1.257&f=u
More information about the pld-cvs-commit
mailing list