summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHank Leininger <hlein@korelogic.com>2020-02-18 13:52:33 -0700
committerUlrich Müller <ulm@gentoo.org>2020-02-19 21:15:31 +0100
commit9116a6f22295b4a39441330fcc482ff306695edb (patch)
tree5ccede0f95c269667a20b3ca5fa7f5421da0761f /acct-user/scponly
parentacct-group/scponly: added group for scponly (diff)
downloadgentoo-9116a6f22295b4a39441330fcc482ff306695edb.tar.gz
gentoo-9116a6f22295b4a39441330fcc482ff306695edb.tar.bz2
gentoo-9116a6f22295b4a39441330fcc482ff306695edb.zip
acct-user/scponly: added user for scponly.
Signed-off-by: Hank Leininger <hlein@korelogic.com> Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'acct-user/scponly')
-rw-r--r--acct-user/scponly/metadata.xml12
-rw-r--r--acct-user/scponly/scponly-0.ebuild15
2 files changed, 27 insertions, 0 deletions
diff --git a/acct-user/scponly/metadata.xml b/acct-user/scponly/metadata.xml
new file mode 100644
index 000000000000..16853472f6b4
--- /dev/null
+++ b/acct-user/scponly/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hlein@korelogic.com</email>
+ <name>Hank Leininger</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/acct-user/scponly/scponly-0.ebuild b/acct-user/scponly/scponly-0.ebuild
new file mode 100644
index 000000000000..86b78a5ccf6f
--- /dev/null
+++ b/acct-user/scponly/scponly-0.ebuild
@@ -0,0 +1,15 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="user for chrooted scponly"
+ACCT_USER_ID=239
+ACCT_USER_GROUPS=( scponly )
+# Not a typo. scponly uses the trailing // to identify the chroot dir.
+ACCT_USER_HOME=/var/chroot/scponly//
+ACCT_USER_HOME_OWNER=root:root
+
+acct-user_add_deps