summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant>2002-08-31 10:08:59 +0000
committergrant <grant>2002-08-31 10:08:59 +0000
commitf089d4c29e5be89ec81b775cccd1886d61530ff5 (patch)
tree57d2240c9efd5a2b57f82b3aa549a526a0a90d56 /mk
parentf9d37a6c072432cd82f19f99bd2a4275621e160e (diff)
downloadpkgsrc-f089d4c29e5be89ec81b775cccd1886d61530ff5.tar.gz
Add variables for openssh privilege separation to bsd.pkg.defaults.mk:
OPENSSH_USER OPENSSH_UID OPENSSH_GROUP OPENSSH_GID OPENSSH_CHROOT Use these to automatically create user/group if they do not already exist. Assists platforms which do not have an 'sshd' user by default, while adding flexibility for NetBSD systems. Checked by Stoned Elipot <seb@netbsd.org>.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.defaults.mk28
1 files changed, 27 insertions, 1 deletions
diff --git a/mk/bsd.pkg.defaults.mk b/mk/bsd.pkg.defaults.mk
index 1f131d4ff77..cf30e70e334 100644
--- a/mk/bsd.pkg.defaults.mk
+++ b/mk/bsd.pkg.defaults.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.defaults.mk,v 1.83 2002/08/26 06:42:10 grant Exp $
+# $NetBSD: bsd.pkg.defaults.mk,v 1.84 2002/08/31 10:08:59 grant Exp $
#
# A file providing defaults for pkgsrc and the packages collection.
@@ -1057,6 +1057,32 @@ NMH_PAGER?= more
# Possible: not defined, YES
# Default: not defined
+OPENSSH_CHROOT?= /var/chroot/sshd
+# The chroot directory for OpenSSH with privilege separation. This directory
+# will be created and MUST be only readable by root.
+# Possible: any directory
+# Default: /var/chroot/sshd
+
+OPENSSH_USER?= sshd
+# The unprivileged user for OpenSSH with privilege separation.
+# Possible: any user name
+# Default: sshd
+
+OPENSSH_UID?= 16
+# The unprivileged UID for OpenSSH with privilege separation.
+# Possible: any uid
+# Default: 16
+
+OPENSSH_GROUP?= sshd
+# The group of the OPENSSH_USER for OpenSSH with privilege separation.
+# Possible: any group name
+# Default: sshd
+
+OPENSSH_GID?= 16
+# The GID of the OPENSSH_USER for OpenSSH with privilege separation.
+# Possible: any gid
+# Default: sshd
+
PALMOS_DEFAULT_SDK?= 3.5
# Version of PalmOS SDK to use as default.
# Possible: 1, 2, 3.1, 3.5