From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
Date: Fri, 22 Jan 2021 21:19:54 +0000 (UTC) [thread overview]
Message-ID: <1611350388.21a41a187a3eb57511fde8278f0153d91047cdb8.sam@gentoo> (raw)
commit: 21a41a187a3eb57511fde8278f0153d91047cdb8
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 22 21:19:48 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 22 21:19:48 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21a41a18
sys-process/fcron: install pam files conditionally
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-process/fcron/fcron-3.2.1-r1.ebuild | 6 +++---
sys-process/fcron/fcron-3.2.1-r3.ebuild | 6 +++---
sys-process/fcron/fcron-3.3.0_beta-r1.ebuild | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/sys-process/fcron/fcron-3.2.1-r1.ebuild b/sys-process/fcron/fcron-3.2.1-r1.ebuild
index 7e07ebb433d..e1c90a0def3 100644
--- a/sys-process/fcron/fcron-3.2.1-r1.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-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"
@@ -147,7 +147,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.
@@ -159,7 +159,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.4 fcron
systemd_newunit "${S}/script/fcron.init.systemd" fcron.service
diff --git a/sys-process/fcron/fcron-3.2.1-r3.ebuild b/sys-process/fcron/fcron-3.2.1-r3.ebuild
index e4ae261689b..a564610b6fc 100644
--- a/sys-process/fcron/fcron-3.2.1-r3.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r3.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="6"
@@ -148,7 +148,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.
@@ -160,7 +160,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
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 ca2a152f403..0e7915a8d60 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
next reply other threads:[~2021-01-22 21:19 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-22 21:19 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-15 15:52 [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/ Ulrich Müller
2025-02-10 8:50 Sam James
2024-08-30 14:23 Arthur Zamarin
2024-05-13 5:27 Joonas Niilola
2024-05-13 5:27 Joonas Niilola
2024-05-12 22:41 Sam James
2024-05-12 22:41 Sam James
2024-05-12 22:41 Sam James
2024-05-12 22:41 Sam James
2024-03-09 10:46 Florian Schmaus
2023-03-11 23:35 David Seifert
2023-02-27 9:04 Joonas Niilola
2023-02-26 19:25 Sam James
2023-02-24 10:01 Sam James
2023-02-24 9:29 Sam James
2023-02-24 9:29 Sam James
2023-02-24 9:29 Sam James
2023-02-24 9:29 Sam James
2023-02-23 7:04 Joonas Niilola
2022-08-28 6:30 WANG Xuerui
2022-05-14 11:48 Anthony G. Basile
2022-02-13 0:56 Conrad Kostecki
2022-01-19 18:32 Anthony G. Basile
2021-12-30 20:40 Arthur Zamarin
2021-12-28 5:57 Sam James
2021-12-27 14:13 Agostino Sarubbo
2021-12-26 18:57 Arthur Zamarin
2021-12-26 18:54 Arthur Zamarin
2021-12-26 18:49 Arthur Zamarin
2021-12-02 8:29 Andreas Sturmlechner
2021-11-16 6:13 Sam James
2021-10-20 10:33 Sam James
2021-10-20 7:30 Sam James
2021-10-19 20:26 Anthony G. Basile
2021-08-05 2:49 Yixun Lan
2021-07-21 2:22 Yixun Lan
2021-06-25 19:32 Sam James
2021-02-24 21:03 Sam James
2020-12-22 16:29 Thomas Deutschmann
2020-10-28 16:44 Sam James
2019-10-12 18:17 Mikle Kolyada
2017-12-20 17:41 Anthony G. Basile
2017-11-26 23:26 David Seifert
2017-06-09 10:54 Thomas Deutschmann
2017-03-08 5:30 Jeroen Roovers
2017-02-18 18:59 Markus Meier
2017-01-11 11:34 Aaron Bauman
2016-11-17 22:00 Thomas Deutschmann
2016-08-07 9:30 Pacho Ramos
2016-06-25 15:57 Ulrich Müller
2016-05-19 17:48 Mike Frysinger
2016-01-02 3:16 Anthony G. Basile
2016-01-02 3:05 Anthony G. Basile
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1611350388.21a41a187a3eb57511fde8278f0153d91047cdb8.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox