summaryrefslogtreecommitdiff
path: root/sys-process/fcron/fcron-3.3.0_beta-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-29 18:03:51 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-29 18:03:51 +0000
commitd7ed2b01311f15ba54fe8ea872aab7d59ab2b193 (patch)
tree1814dd2b5bbf2e7639fdafbeef48d228cfaf5e9b /sys-process/fcron/fcron-3.3.0_beta-r1.ebuild
parentabaa75b10f899ada8dd05b23cc03205064394bc6 (diff)
gentoo resync : 29.01.2021
Diffstat (limited to 'sys-process/fcron/fcron-3.3.0_beta-r1.ebuild')
-rw-r--r--sys-process/fcron/fcron-3.3.0_beta-r1.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-process/fcron/fcron-3.3.0_beta-r1.ebuild b/sys-process/fcron/fcron-3.3.0_beta-r1.ebuild
index ca2a152f4031..0e7915a8d603 100644
--- a/sys-process/fcron/fcron-3.3.0_beta-r1.ebuild
+++ b/sys-process/fcron/fcron-3.3.0_beta-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -153,7 +153,7 @@ src_install() {
fperms 0750 /etc/fcron
fperms 0640 /etc/fcron/fcron.{allow,deny,conf}
- pamd_mimic system-services fcron auth account session
+ use pam && pamd_mimic system-services fcron auth account session
cat > "${T}"/fcrontab.pam <<- EOF
# Don't ask for the user's password; fcrontab will only allow to
# change user if running as root.
@@ -165,7 +165,7 @@ src_install() {
account include system-auth
session include system-auth
EOF
- newpamd "${T}"/fcrontab.pam fcrontab
+ use pam && newpamd "${T}"/fcrontab.pam fcrontab
newinitd "${FILESDIR}"/fcron.init-r5 fcron
systemd_newunit "${S}/script/fcron.init.systemd" fcron.service