From d5151604b68562cef13a9bd1c2690b7fd536bd02 Mon Sep 17 00:00:00 2001 From: Mikle Kolyada Date: Fri, 22 Jan 2021 18:07:43 +0300 Subject: [PATCH] x11-misc/xlockmore: install pam files conditionally Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Mikle Kolyada --- .../{xlockmore-5.50.ebuild => xlockmore-5.50-r1.ebuild} | 5 ++--- .../{xlockmore-5.65.ebuild => xlockmore-5.65-r1.ebuild} | 5 ++--- ...-5.66_alpha12.ebuild => xlockmore-5.66_alpha10-r1.ebuild} | 5 ++--- ...-5.66_alpha10.ebuild => xlockmore-5.66_alpha11-r1.ebuild} | 5 ++--- ...-5.66_alpha11.ebuild => xlockmore-5.66_alpha12-r1.ebuild} | 5 ++--- 5 files changed, 10 insertions(+), 15 deletions(-) rename x11-misc/xlockmore/{xlockmore-5.50.ebuild => xlockmore-5.50-r1.ebuild} (96%) rename x11-misc/xlockmore/{xlockmore-5.65.ebuild => xlockmore-5.65-r1.ebuild} (97%) rename x11-misc/xlockmore/{xlockmore-5.66_alpha12.ebuild => xlockmore-5.66_alpha10-r1.ebuild} (97%) rename x11-misc/xlockmore/{xlockmore-5.66_alpha10.ebuild => xlockmore-5.66_alpha11-r1.ebuild} (97%) rename x11-misc/xlockmore/{xlockmore-5.66_alpha11.ebuild => xlockmore-5.66_alpha12-r1.ebuild} (97%) diff --git a/x11-misc/xlockmore/xlockmore-5.50.ebuild b/x11-misc/xlockmore/xlockmore-5.50-r1.ebuild similarity index 96% rename from x11-misc/xlockmore/xlockmore-5.50.ebuild rename to x11-misc/xlockmore/xlockmore-5.50-r1.ebuild index b332b3f1d081d..71363f18b99bb 100644 --- a/x11-misc/xlockmore/xlockmore-5.50.ebuild +++ b/x11-misc/xlockmore/xlockmore-5.50-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=6 @@ -96,9 +96,8 @@ src_install() { local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} ) default - pamd_mimic_system xlock auth - if use pam; then + pamd_mimic_system xlock auth fperms 755 /usr/bin/xlock else fperms 4755 /usr/bin/xlock diff --git a/x11-misc/xlockmore/xlockmore-5.65.ebuild b/x11-misc/xlockmore/xlockmore-5.65-r1.ebuild similarity index 97% rename from x11-misc/xlockmore/xlockmore-5.65.ebuild rename to x11-misc/xlockmore/xlockmore-5.65-r1.ebuild index 26cf0a2b0721d..bec091ad9f0fe 100644 --- a/x11-misc/xlockmore/xlockmore-5.65.ebuild +++ b/x11-misc/xlockmore/xlockmore-5.65-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 @@ -98,9 +98,8 @@ src_install() { local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} ) default - pamd_mimic_system xlock auth - if use pam; then + pamd_mimic_system xlock auth fperms 755 /usr/bin/xlock else fperms 4755 /usr/bin/xlock diff --git a/x11-misc/xlockmore/xlockmore-5.66_alpha12.ebuild b/x11-misc/xlockmore/xlockmore-5.66_alpha10-r1.ebuild similarity index 97% rename from x11-misc/xlockmore/xlockmore-5.66_alpha12.ebuild rename to x11-misc/xlockmore/xlockmore-5.66_alpha10-r1.ebuild index 2bb52c63b8ed0..581e292289a9b 100644 --- a/x11-misc/xlockmore/xlockmore-5.66_alpha12.ebuild +++ b/x11-misc/xlockmore/xlockmore-5.66_alpha10-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 @@ -105,9 +105,8 @@ src_install() { local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} ) default - pamd_mimic_system xlock auth - if use pam; then + pamd_mimic_system xlock auth fperms 755 /usr/bin/xlock else fperms 4755 /usr/bin/xlock diff --git a/x11-misc/xlockmore/xlockmore-5.66_alpha10.ebuild b/x11-misc/xlockmore/xlockmore-5.66_alpha11-r1.ebuild similarity index 97% rename from x11-misc/xlockmore/xlockmore-5.66_alpha10.ebuild rename to x11-misc/xlockmore/xlockmore-5.66_alpha11-r1.ebuild index 2bb52c63b8ed0..581e292289a9b 100644 --- a/x11-misc/xlockmore/xlockmore-5.66_alpha10.ebuild +++ b/x11-misc/xlockmore/xlockmore-5.66_alpha11-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 @@ -105,9 +105,8 @@ src_install() { local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} ) default - pamd_mimic_system xlock auth - if use pam; then + pamd_mimic_system xlock auth fperms 755 /usr/bin/xlock else fperms 4755 /usr/bin/xlock diff --git a/x11-misc/xlockmore/xlockmore-5.66_alpha11.ebuild b/x11-misc/xlockmore/xlockmore-5.66_alpha12-r1.ebuild similarity index 97% rename from x11-misc/xlockmore/xlockmore-5.66_alpha11.ebuild rename to x11-misc/xlockmore/xlockmore-5.66_alpha12-r1.ebuild index 2bb52c63b8ed0..581e292289a9b 100644 --- a/x11-misc/xlockmore/xlockmore-5.66_alpha11.ebuild +++ b/x11-misc/xlockmore/xlockmore-5.66_alpha12-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 @@ -105,9 +105,8 @@ src_install() { local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} ) default - pamd_mimic_system xlock auth - if use pam; then + pamd_mimic_system xlock auth fperms 755 /usr/bin/xlock else fperms 4755 /usr/bin/xlock