commit: 4faa8ec397e7d1bbd9ed75ffdc9151cfb5ef2d1b
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 23 22:42:31 2021 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Jan 23 22:42:52 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4faa8ec3
sys-process/at: install pam files conditionally
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
sys-process/at/{at-3.1.23.ebuild => at-3.1.23-r1.ebuild} | 7 +++++--
sys-process/at/{at-3.2.1.ebuild => at-3.2.1-r1.ebuild} | 7 +++++--
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/sys-process/at/at-3.1.23.ebuild
b/sys-process/at/at-3.1.23-r1.ebuild
similarity index 95%
rename from sys-process/at/at-3.1.23.ebuild
rename to sys-process/at/at-3.1.23-r1.ebuild
index 29858f5195a..c93aefcc3ce 100644
--- a/sys-process/at/at-3.1.23.ebuild
+++ b/sys-process/at/at-3.1.23-r1.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
@@ -64,7 +64,10 @@ src_install() {
newinitd "${FILESDIR}"/atd.rc8 atd
newconfd "${FILESDIR}"/atd.confd atd
- newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd
+
+ if use pam; then
+ newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd
+ fi
# Preserve existing .SEQ files (bug #386625)
local seq_file="${EROOT}/var/spool/at/atjobs/.SEQ"
diff --git a/sys-process/at/at-3.2.1.ebuild b/sys-process/at/at-3.2.1-r1.ebuild
similarity index 95%
rename from sys-process/at/at-3.2.1.ebuild
rename to sys-process/at/at-3.2.1-r1.ebuild
index e24c9589dfe..98907c6f758 100644
--- a/sys-process/at/at-3.2.1.ebuild
+++ b/sys-process/at/at-3.2.1-r1.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
@@ -67,7 +67,10 @@ src_install() {
newinitd "${FILESDIR}"/atd.rc8 atd
newconfd "${FILESDIR}"/atd.confd atd
- newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd
+
+ if use pam; then
+ newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd
+ fi
# Preserve existing .SEQ files (bug #386625)
local seq_file="${EROOT}/var/spool/at/atjobs/.SEQ"