public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Viorel Munteanu" <ceamac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-auth/pam-gnupg/
Date: Sat,  9 Nov 2024 16:30:06 +0000 (UTC)	[thread overview]
Message-ID: <1731152655.c1fb66b1046daec042cd189cef23fcf4bc5ad88d.ceamac@gentoo> (raw)

commit:     c1fb66b1046daec042cd189cef23fcf4bc5ad88d
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sat Nov  9 11:41:28 2024 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sat Nov  9 11:44:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c1fb66b1

sys-auth/pam-gnupg: fix installation path

The correct path for pam module should be obtained using getpam_mod_dir.

Closes: https://bugs.gentoo.org/943121
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 .../{pam-gnupg-0.4.ebuild => pam-gnupg-0.4-r1.ebuild}  | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/sys-auth/pam-gnupg/pam-gnupg-0.4.ebuild b/sys-auth/pam-gnupg/pam-gnupg-0.4-r1.ebuild
similarity index 59%
rename from sys-auth/pam-gnupg/pam-gnupg-0.4.ebuild
rename to sys-auth/pam-gnupg/pam-gnupg-0.4-r1.ebuild
index 39dba08aa..b5970c5c7 100644
--- a/sys-auth/pam-gnupg/pam-gnupg-0.4.ebuild
+++ b/sys-auth/pam-gnupg/pam-gnupg-0.4-r1.ebuild
@@ -1,20 +1,23 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit autotools
+inherit autotools pam
 
 DESCRIPTION="Unlock GnuPG keys on login"
 HOMEPAGE="https://github.com/cruegge/pam-gnupg"
 SRC_URI="https://github.com/cruegge/pam-gnupg/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
+
 RDEPEND="
->=sys-libs/pam-1.6.1
->=app-crypt/gnupg-2.4.5-r1
+	>=sys-libs/pam-1.6.1
+	>=app-crypt/gnupg-2.4.5-r1
 "
+DEPEND="${RDEPEND}"
 
 src_prepare() {
 	default
@@ -22,10 +25,5 @@ src_prepare() {
 }
 
 src_configure() {
-	econf \
-		--host=${CHOST} \
-		--prefix=/usr \
-		--infodir=/usr/share/info \
-		--with-moduledir=/usr/lib64/security \
-		--mandir=/usr/share/man || die
+	econf --with-moduledir="$(getpam_mod_dir)"
 }


             reply	other threads:[~2024-11-09 16:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-09 16:30 Viorel Munteanu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-25 13:53 [gentoo-commits] repo/proj/guru:master commit in: sys-auth/pam-gnupg/ David Roman
2023-09-19  6:23 Haelwenn Monnier
2022-04-10 12:35 Andrew Ammerlaan
2022-04-06 19:43 Michał Górny

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=1731152655.c1fb66b1046daec042cd189cef23fcf4bc5ad88d.ceamac@gentoo \
    --to=ceamac@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