diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2021-01-24 01:42:31 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2021-01-24 01:42:52 +0300 |
commit | 4faa8ec397e7d1bbd9ed75ffdc9151cfb5ef2d1b (patch) | |
tree | 8e751ba99fae6917d51cde0df599e6d484245ad8 /sys-process | |
parent | x11-themes/gtk-engines: Stabilize 2.20.2-r100 sparc, #766528 (diff) | |
download | gentoo-4faa8ec397e7d1bbd9ed75ffdc9151cfb5ef2d1b.tar.gz gentoo-4faa8ec397e7d1bbd9ed75ffdc9151cfb5ef2d1b.tar.bz2 gentoo-4faa8ec397e7d1bbd9ed75ffdc9151cfb5ef2d1b.zip |
sys-process/at: install pam files conditionally
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/at/at-3.1.23-r1.ebuild (renamed from sys-process/at/at-3.1.23.ebuild) | 7 | ||||
-rw-r--r-- | sys-process/at/at-3.2.1-r1.ebuild (renamed from sys-process/at/at-3.2.1.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 index 29858f5195ad..c93aefcc3cec 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 index e24c9589dfec..98907c6f7582 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" |