sys-auth/pam_mount: add 2.22

Signed-off-by: Hanno Böck <hanno@gentoo.org>
This commit is contained in:
Hanno Böck
2025-10-31 09:59:33 +01:00
parent 1307d3c935
commit 87af637c74
2 changed files with 45 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST pam_mount-2.20.tar.xz 325328 BLAKE2B 2b8a419c8b8604a6546ee5ac2b554d3c90ad04dd58c54bf8904d7e0354a2aafe1ae97a817e67143a24fd8ed40e62008baff94723ced8c4ad2d977e14c3e762ad SHA512 8661dc5ec134c256825df28e53751d1e0e1e881008c3687a56009f4046b3d17c5b9ddd1b1971dff4e023e5d74e5059f486b08a6cab2861a4bee5ba57fbae3454
DIST pam_mount-2.21.tar.zst 336103 BLAKE2B 3e4e300d28d4936e9b24ddb3a13855ced3e6db99c09b2d8237306becf883b837b7e8f56b9d9656f9ac1d961face006d03f8efd39c4f1f2ed51c1d57118ce9358 SHA512 f14cbd870e6a663ad9011905c3aaed7a8a223be7fad2ff650c292ea87299b65a2f43597c4481b57ce5c8db1b53d719e20b7ef7f8a82ce413e91926f4bfddd62a
DIST pam_mount-2.22.tar.zst 336109 BLAKE2B 4bb91a87bd3f74e44027cd8fd9d539576d9603f87892d0caa9e045b3fd6c6857e7297b90f1b54d841d4c33f060a0dbb74e3e62886e758c49ea54b9b39939552a SHA512 81a26737aa5c091df1a4775b25479400f9a873b053f904e9c66993aa83d7fd7af0762caf30b5bcb4878167acb48db95cd8ecf6872e08ba09eec4814eef071a8a

View File

@@ -0,0 +1,44 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit unpacker
DESCRIPTION="A PAM module that can mount volumes for a user session"
HOMEPAGE="https://inai.de/projects/pam_mount/"
SRC_URI="https://inai.de/files/pam_mount/${P}.tar.zst"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="crypt ssl selinux"
DEPEND="
>=sys-libs/pam-0.99
>=sys-libs/libhx-5.0:=
>=sys-apps/util-linux-2.20:=
>=dev-libs/libxml2-2.6:=
dev-libs/libpcre2
crypt? ( >=sys-fs/cryptsetup-1.1.0:= )
ssl? ( dev-libs/openssl:0= )
selinux? ( sys-libs/libselinux )"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig
$(unpacker_src_uri_depends)"
src_configure() {
econf --with-slibdir="/$(get_libdir)" \
$(use_with crypt cryptsetup) \
$(use_with ssl crypto) \
$(use_with selinux)
}
src_install() {
default
use selinux || rm -r "${D}"/etc/selinux
dodoc doc/*.txt
find "${ED}" -name '*.la' -delete || die
}