diff options
author | jlam <jlam@pkgsrc.org> | 2002-10-20 18:01:47 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-10-20 18:01:47 +0000 |
commit | 980f9a327153a1ca6216430f4e30109158c12701 (patch) | |
tree | 90ded7f63aa7f0401df935e79dc87e092837f980 /mk | |
parent | 0d75c1efb1e4658dd9ded4cb2bcf6f34f43a0463 (diff) | |
download | pkgsrc-980f9a327153a1ca6216430f4e30109158c12701.tar.gz |
SETUID_ROOT_PERMS is a convenience definition to note an executable is
meant to be setuid-root, and should be used as follows:
SPECIAL_PERMS+= /path/to/suidroot ${SETUID_ROOT_PERMS}
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.install.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/bsd.pkg.install.mk b/mk/bsd.pkg.install.mk index 66b75ececf3..e9b31f02b77 100644 --- a/mk/bsd.pkg.install.mk +++ b/mk/bsd.pkg.install.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.install.mk,v 1.35 2002/10/20 09:10:42 jlam Exp $ +# $NetBSD: bsd.pkg.install.mk,v 1.36 2002/10/20 18:01:47 jlam Exp $ # # This Makefile fragment is included by package Makefiles to use the common # INSTALL/DEINSTALL scripts. To use this Makefile fragment, simply: @@ -111,7 +111,13 @@ USE_USERGROUP= YES # directories listed in the PLIST. This may be used to make certain files # set-uid or to change the ownership or a directory. # +# SETUID_ROOT_PERMS is a convenience definition to note an executable is +# meant to be setuid-root, and should be used as follows: +# +# SPECIAL_PERMS+= /path/to/suidroot ${SETUID_ROOT_PERMS} +# SPECIAL_PERMS?= # empty +SETUID_ROOT_PERMS?= ${ROOT_USER} ${ROOT_GROUP} 4711 FILES_SUBST+= SPECIAL_PERMS=${SPECIAL_PERMS:Q} # CONF_FILES are pairs of example and true config files, used much like |