commit 16bb06474ba6b34c39b910c5f5fba131e0232492
Author: Jakub Bogusz <[email protected]>
Date:   Tue Dec 27 06:58:32 2005 +0000

    - no globs for sgids too
    - ExcludeArch after ExclusiveArch if both are present
    
    Changed files:
        adapter.awk -> 1.257

 adapter.awk | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index d52c5ef..1358db9 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -125,7 +125,7 @@ function b_makekey(a, b,    s) {
     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 @@ function use_files_macros(        i, n, t, a)
                $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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to