From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1F2F91382C5 for ; Fri, 22 Jan 2021 15:52:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2270AE0822; Fri, 22 Jan 2021 15:52:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 08E85E0822 for ; Fri, 22 Jan 2021 15:52:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A31D6340DBF for ; Fri, 22 Jan 2021 15:52:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B961353 for ; Fri, 22 Jan 2021 15:52:47 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1611330746.5ecd2ae79529fbfc8adf804304511821a19497e6.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/ppp/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dialup/ppp/ppp-2.4.8-r1.ebuild net-dialup/ppp/ppp-2.4.8.ebuild net-dialup/ppp/ppp-2.4.9-r1.ebuild net-dialup/ppp/ppp-2.4.9-r2.ebuild X-VCS-Directories: net-dialup/ppp/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: 5ecd2ae79529fbfc8adf804304511821a19497e6 X-VCS-Branch: master Date: Fri, 22 Jan 2021 15:52:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6677b08d-9d1a-4813-a61a-bc98e29d5bd8 X-Archives-Hash: 5fa1bd591a479deaa93746b41cafd77e commit: 5ecd2ae79529fbfc8adf804304511821a19497e6 Author: Mikle Kolyada gentoo org> AuthorDate: Fri Jan 22 15:52:26 2021 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Fri Jan 22 15:52:26 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ecd2ae7 net-dialup/ppp: install pam files conditionally Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Mikle Kolyada gentoo.org> net-dialup/ppp/{ppp-2.4.8.ebuild => ppp-2.4.8-r1.ebuild} | 6 ++++-- net-dialup/ppp/{ppp-2.4.9-r1.ebuild => ppp-2.4.9-r2.ebuild} | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/net-dialup/ppp/ppp-2.4.8.ebuild b/net-dialup/ppp/ppp-2.4.8-r1.ebuild similarity index 98% rename from net-dialup/ppp/ppp-2.4.8.ebuild rename to net-dialup/ppp/ppp-2.4.8-r1.ebuild index e0bd7d646d7..387ac5a6dbd 100644 --- a/net-dialup/ppp/ppp-2.4.8.ebuild +++ b/net-dialup/ppp/ppp-2.4.8-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 @@ -135,7 +135,9 @@ src_install() { insopts -m0644 doins etc.ppp/options - pamd_mimic_system ppp auth account session + if use pam; then + pamd_mimic_system ppp auth account session + fi local PLUGINS_DIR="/usr/$(get_libdir)/pppd/${PV}" insinto "${PLUGINS_DIR}" diff --git a/net-dialup/ppp/ppp-2.4.9-r1.ebuild b/net-dialup/ppp/ppp-2.4.9-r2.ebuild similarity index 99% rename from net-dialup/ppp/ppp-2.4.9-r1.ebuild rename to net-dialup/ppp/ppp-2.4.9-r2.ebuild index 89627e1475d..ac481c696fb 100644 --- a/net-dialup/ppp/ppp-2.4.9-r1.ebuild +++ b/net-dialup/ppp/ppp-2.4.9-r2.ebuild @@ -133,7 +133,9 @@ src_install() { insopts -m0644 doins etc.ppp/options - pamd_mimic_system ppp auth account session + if use pam; then + pamd_mimic_system ppp auth account session + fi local PLUGINS_DIR="/usr/$(get_libdir)/pppd/${PV}" insinto "${PLUGINS_DIR}"