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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F226715808B for ; Tue, 12 Apr 2022 11:46:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6AF1FE0938; Tue, 12 Apr 2022 11:46:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A5478E0938 for ; Tue, 12 Apr 2022 11:46:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 531A43416A6 for ; Tue, 12 Apr 2022 11:46:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9F19D290 for ; Tue, 12 Apr 2022 11:46:23 +0000 (UTC) From: "Hanno Böck" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hanno Böck" Message-ID: <1649763974.97558f858a1ae18b792716b4f68e0bc2b30f69fe.hanno@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/pam_mount/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/pam_mount/pam_mount-2.18-r1.ebuild X-VCS-Directories: sys-auth/pam_mount/ X-VCS-Committer: hanno X-VCS-Committer-Name: Hanno Böck X-VCS-Revision: 97558f858a1ae18b792716b4f68e0bc2b30f69fe X-VCS-Branch: master Date: Tue, 12 Apr 2022 11:46:23 +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: 0c7b1625-1c06-48ca-838b-b1faf2098712 X-Archives-Hash: b04250713f8e6b8e588b0dd30cddae53 commit: 97558f858a1ae18b792716b4f68e0bc2b30f69fe Author: Hanno Böck gentoo org> AuthorDate: Tue Apr 12 11:46:14 2022 +0000 Commit: Hanno Böck gentoo org> CommitDate: Tue Apr 12 11:46:14 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97558f85 sys-auth/pam_mount: Depend on libpcre2. We were still depending on old libpcre, although upstream already changed the API to libpcre2. Bug: https://bugs.gentoo.org/837983 Signed-off-by: Hanno Böck gentoo.org> Package-Manager: Portage-3.0.30, Repoman-3.0.3 sys-auth/pam_mount/pam_mount-2.18-r1.ebuild | 49 +++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/sys-auth/pam_mount/pam_mount-2.18-r1.ebuild b/sys-auth/pam_mount/pam_mount-2.18-r1.ebuild new file mode 100644 index 000000000000..03fcbd7cc704 --- /dev/null +++ b/sys-auth/pam_mount/pam_mount-2.18-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A PAM module that can mount volumes for a user session" +HOMEPAGE="http://pam-mount.sourceforge.net" +SRC_URI="mirror://sourceforge/pam-mount/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="crypt ssl selinux" + +DEPEND=" + >=sys-libs/pam-0.99 + >=sys-libs/libhx-3.12.1:= + >=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" + +PATCHES=( + "${FILESDIR}"/pam_mount-2.16-remove-obsolete-openssl-api.patch +) + +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 + + # Remove unused nonstandard run-dir, current version uses + # FHS-compatible /run, but has leftover mkdir from old version + rm -r "${D}/var/lib" + + find "${ED}" -name '*.la' -delete || die +}