public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-ftp/ftpbase/
Date: Sun, 24 Jan 2021 10:33:24 +0000 (UTC)	[thread overview]
Message-ID: <1611484402.d06386545e7df671604303f2fe4912128d86a2d0.zlogene@gentoo> (raw)

commit:     d06386545e7df671604303f2fe4912128d86a2d0
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 24 10:32:50 2021 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 10:33:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0638654

net-ftp/ftpbase: install pam files conditionally

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 .../{ftpbase-0.01-r3.ebuild => ftpbase-0.01-r4.ebuild}        | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/net-ftp/ftpbase/ftpbase-0.01-r3.ebuild b/net-ftp/ftpbase/ftpbase-0.01-r4.ebuild
similarity index 67%
rename from net-ftp/ftpbase/ftpbase-0.01-r3.ebuild
rename to net-ftp/ftpbase/ftpbase-0.01-r4.ebuild
index f278d506cef..19eee733db9 100644
--- a/net-ftp/ftpbase/ftpbase-0.01-r3.ebuild
+++ b/net-ftp/ftpbase/ftpbase-0.01-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit eutils pam user
+inherit pam
 
 DESCRIPTION="FTP layout package"
 HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
@@ -30,10 +30,7 @@ src_install() {
 	insinto /etc
 	doins "${FILESDIR}/ftpusers"
 
-	cp "${FILESDIR}/ftp-pamd-include" "${T}" || die
-	if use elibc_FreeBSD; then
-		sed -i -e "/pam_listfile.so/s/^.*$/account  required  pam_ftpusers.so no_warn disallow/" \
-			"${T}"/ftp-pamd-include || die
+	if use pam; then
+		newpamd "${FILESDIR}"/ftp-pamd-include ftp
 	fi
-	newpamd "${T}"/ftp-pamd-include ftp
 }


             reply	other threads:[~2021-01-24 10:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-24 10:33 Mikle Kolyada [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-15  9:51 [gentoo-commits] repo/gentoo:master commit in: net-ftp/ftpbase/ Yixun Lan
2021-08-24  7:04 Conrad Kostecki
2021-07-23 19:50 Conrad Kostecki
2020-02-08 14:18 David Seifert
2019-11-06  9:56 Michał Górny
2019-10-12 21:35 Mikle Kolyada
2019-10-12 21:30 Matt Turner
2019-10-11 22:32 Sergei Trofimovich
2019-10-07 19:12 Sergei Trofimovich
2019-10-07 10:44 Agostino Sarubbo
2019-10-07 10:38 Agostino Sarubbo
2019-10-07  7:29 Agostino Sarubbo
2019-06-24 10:30 Michał Górny
2018-01-05  1:07 Mart Raudsepp

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=1611484402.d06386545e7df671604303f2fe4912128d86a2d0.zlogene@gentoo \
    --to=zlogene@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