| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: check-perms.mk,v 1.19 2015/02/16 10:42:00 jperkin Exp $ | | 1 | # $NetBSD: check-perms.mk,v 1.20 2019/10/01 21:48:30 rillig Exp $ |
2 | # | | 2 | # |
3 | # This file checks that after installation of a package, all files and | | 3 | # This file checks that after installation of a package, all files and |
4 | # directories of that package have sensible permissions set. | | 4 | # directories of that package have sensible permissions set. |
5 | # | | 5 | # |
6 | # User-settable variables: | | 6 | # User-settable variables: |
7 | # | | 7 | # |
8 | # CHECK_PERMS | | 8 | # CHECK_PERMS |
9 | # Specifies whether the permissions check should be run at all. | | 9 | # Specifies whether the permissions check should be run at all. |
10 | # | | 10 | # |
11 | # Possible values: yes, no. | | 11 | # Possible values: yes, no. |
12 | # | | 12 | # |
13 | # Default value: yes for PKG_DEVELOPER, no otherwise. | | 13 | # Default value: yes for PKG_DEVELOPER, no otherwise. |
14 | # | | 14 | # |
| @@ -19,27 +19,27 @@ | | | @@ -19,27 +19,27 @@ |
19 | # from the check. Note that a * in a pattern also matches a slash | | 19 | # from the check. Note that a * in a pattern also matches a slash |
20 | # in a pathname. | | 20 | # in a pathname. |
21 | # | | 21 | # |
22 | # Default value: empty. | | 22 | # Default value: empty. |
23 | # | | 23 | # |
24 | # CHECK_PERMS_AUTOFIX | | 24 | # CHECK_PERMS_AUTOFIX |
25 | # If set to yes, any unusual permissions are fixed automatically. | | 25 | # If set to yes, any unusual permissions are fixed automatically. |
26 | # | | 26 | # |
27 | # Possible values: yes, no. | | 27 | # Possible values: yes, no. |
28 | # | | 28 | # |
29 | | | 29 | |
30 | _VARGROUPS+= check-perms | | 30 | _VARGROUPS+= check-perms |
31 | _USER_VARS.check-perms= CHECK_PERMS | | 31 | _USER_VARS.check-perms= CHECK_PERMS |
32 | _PKG_VARS.check-perms= CHECK_PERMS_SKIP CHECK_PERMS_AUTOSKIP | | 32 | _PKG_VARS.check-perms= CHECK_PERMS_SKIP CHECK_PERMS_AUTOFIX |
33 | | | 33 | |
34 | .if ${PKG_DEVELOPER:Uno} != "no" | | 34 | .if ${PKG_DEVELOPER:Uno} != "no" |
35 | CHECK_PERMS?= yes | | 35 | CHECK_PERMS?= yes |
36 | .else | | 36 | .else |
37 | CHECK_PERMS?= no | | 37 | CHECK_PERMS?= no |
38 | .endif | | 38 | .endif |
39 | | | 39 | |
40 | CHECK_PERMS_SKIP?= # none | | 40 | CHECK_PERMS_SKIP?= # none |
41 | CHECK_PERMS_AUTOFIX?= no | | 41 | CHECK_PERMS_AUTOFIX?= no |
42 | | | 42 | |
43 | # The checkperms command does not yet support Interix with the -c flag. | | 43 | # The checkperms command does not yet support Interix with the -c flag. |
44 | # See PR 34968. | | 44 | # See PR 34968. |
45 | .if !empty(MACHINE_PLATFORM:MInterix-*-*) | | 45 | .if !empty(MACHINE_PLATFORM:MInterix-*-*) |