summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2021-02-01 17:00:41 +0300
committerMikle Kolyada <zlogene@gentoo.org>2021-02-01 17:01:44 +0300
commita8bf7fb6a4852136104e43ede5c6f74fa5ebb74a (patch)
tree3378202aac215edd92f564b9597d8a238ee14d8a /sys-auth/pambase
parentmedia-libs/libbdplus: Drop 0.1.2 (r0) (diff)
downloadgentoo-a8bf7fb6a4852136104e43ede5c6f74fa5ebb74a.tar.gz
gentoo-a8bf7fb6a4852136104e43ede5c6f74fa5ebb74a.tar.bz2
gentoo-a8bf7fb6a4852136104e43ede5c6f74fa5ebb74a.zip
sys-auth/pambase: Add systemd-homed support
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'sys-auth/pambase')
-rw-r--r--sys-auth/pambase/metadata.xml4
-rw-r--r--sys-auth/pambase/pambase-999999999.ebuild8
2 files changed, 10 insertions, 2 deletions
diff --git a/sys-auth/pambase/metadata.xml b/sys-auth/pambase/metadata.xml
index 6b0d63269f7e..d9afbc2959ea 100644
--- a/sys-auth/pambase/metadata.xml
+++ b/sys-auth/pambase/metadata.xml
@@ -17,6 +17,10 @@
Use pam_systemd module to register user sessions in the systemd
control group hierarchy.
</flag>
+ <flag name="homed">
+ Use pam_systemd_home module to manage home directories with
+ the systemd-homed service
+ </flag>
<flag name="debug">
Enable debug information logging on syslog(3) for all the
modules supporting this in the system authentication and system
diff --git a/sys-auth/pambase/pambase-999999999.ebuild b/sys-auth/pambase/pambase-999999999.ebuild
index 085421e24509..e3fe00b01f59 100644
--- a/sys-auth/pambase/pambase-999999999.ebuild
+++ b/sys-auth/pambase/pambase-999999999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -21,7 +21,7 @@ fi
LICENSE="MIT"
SLOT="0"
-IUSE="caps debug elogind gnome-keyring minimal mktemp +nullok pam_krb5 pam_ssh +passwdqc pwhistory pwquality securetty selinux +sha512 systemd"
+IUSE="caps debug elogind gnome-keyring homed minimal mktemp +nullok pam_krb5 pam_ssh +passwdqc pwhistory pwquality securetty selinux +sha512 systemd"
RESTRICT="binchecks"
@@ -29,6 +29,8 @@ REQUIRED_USE="
?? ( elogind systemd )
?? ( passwdqc pwquality )
pwhistory? ( || ( passwdqc pwquality ) )
+ homed? ( !pam_krb5 )
+ pam_krb5? ( !homed )
"
MIN_PAM_REQ=1.4.0
@@ -48,6 +50,7 @@ RDEPEND="
pwquality? ( dev-libs/libpwquality[pam] )
selinux? ( sys-libs/pam[selinux] )
sha512? ( >=sys-libs/pam-${MIN_PAM_REQ} )
+ homed? ( sys-apps/systemd[homed] )
systemd? ( sys-apps/systemd[pam] )
"
@@ -65,6 +68,7 @@ src_configure() {
$(usex debug '--debug' '') \
$(usex elogind '--elogind' '') \
$(usex gnome-keyring '--gnome-keyring' '') \
+ $(usex homed '--homed' '') \
$(usex minimal '--minimal' '') \
$(usex mktemp '--mktemp' '') \
$(usex nullok '--nullok' '') \