1 |
commit: 5a3c8312310e88ffe0298efadfa10acb58a90c9f |
2 |
Author: Hanno Böck <hanno <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 9 08:47:58 2021 +0000 |
4 |
Commit: Hanno Böck <hanno <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 9 08:47:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a3c8312 |
7 |
|
8 |
sys-auth/pam_mount: Version bump |
9 |
|
10 |
Signed-off-by: Hanno Böck <hanno <AT> gentoo.org> |
11 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
12 |
|
13 |
sys-auth/pam_mount/Manifest | 1 + |
14 |
sys-auth/pam_mount/pam_mount-2.18.ebuild | 52 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 53 insertions(+) |
16 |
|
17 |
diff --git a/sys-auth/pam_mount/Manifest b/sys-auth/pam_mount/Manifest |
18 |
index 8da75b09b75..aa1f2ed8063 100644 |
19 |
--- a/sys-auth/pam_mount/Manifest |
20 |
+++ b/sys-auth/pam_mount/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST pam_mount-2.16.tar.xz 312316 BLAKE2B 5954af8f8bf8b9cb47e1c07dc0d5fc5c4db099eeca5de90a3a53dc65aac0a2a6fba3f99c4d91d12f53b13abb5d3bae262b42536434553872a36ec108dc8d2c0c SHA512 3a579d7287cfcaef831d3e54d3e912407b65a966303e81c47f445d601f38f866ce04326e3d37a061f74f97b9cfb201e56109f57e55699d15d8f947ae2b91c8e3 |
23 |
DIST pam_mount-2.17.tar.xz 326948 BLAKE2B b5d8c5701bfa4e3ce50ca71b1130d5f68655df12ac45cf554f38f2625b33fcece895d4b67d79cea2ad735c4994c779844dfc5266872e054a1e6d078632f3370c SHA512 d55d2a0e99d51ef649845548e4178b9b34db9c742c592e0ba97359646281af17795080e6ecb1a2a11bc680d31f2c77e69261f731de8f68e8602bcd838371927f |
24 |
+DIST pam_mount-2.18.tar.xz 324524 BLAKE2B a3f29de8c0a348c98d3e73ac3568595083036fa704b5c34ed17c3660fcc8ff5f64195ad4158af6e351f79865a9128dbb773c7d18bbb07bdff1010e555803cfce SHA512 7f1e373fd7876eddd9226163602ba484ed8a7e1ce92ba6140c1f7603cb205190cb11ad75be41b54d2a6cd21602320d41a65714bfd0af8b5247850a3ef0fe3b22 |
25 |
|
26 |
diff --git a/sys-auth/pam_mount/pam_mount-2.18.ebuild b/sys-auth/pam_mount/pam_mount-2.18.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..751fa5a24f4 |
29 |
--- /dev/null |
30 |
+++ b/sys-auth/pam_mount/pam_mount-2.18.ebuild |
31 |
@@ -0,0 +1,52 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+DESCRIPTION="A PAM module that can mount volumes for a user session" |
38 |
+HOMEPAGE="http://pam-mount.sourceforge.net" |
39 |
+SRC_URI="mirror://sourceforge/pam-mount/${P}.tar.xz" |
40 |
+ |
41 |
+LICENSE="GPL-3" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~ppc ~x86" |
44 |
+ |
45 |
+IUSE="crypt libressl ssl selinux" |
46 |
+ |
47 |
+DEPEND=" |
48 |
+ >=sys-libs/pam-0.99 |
49 |
+ >=sys-libs/libhx-3.12.1:= |
50 |
+ >=sys-apps/util-linux-2.20:= |
51 |
+ >=dev-libs/libxml2-2.6:= |
52 |
+ >=dev-libs/libpcre-7:= |
53 |
+ crypt? ( >=sys-fs/cryptsetup-1.1.0:= ) |
54 |
+ ssl? ( |
55 |
+ !libressl? ( dev-libs/openssl:0= ) |
56 |
+ libressl? ( dev-libs/libressl:0= ) |
57 |
+ ) |
58 |
+ selinux? ( sys-libs/libselinux )" |
59 |
+RDEPEND="${DEPEND}" |
60 |
+BDEPEND="virtual/pkgconfig" |
61 |
+ |
62 |
+PATCHES=( |
63 |
+ "${FILESDIR}"/pam_mount-2.16-remove-obsolete-openssl-api.patch |
64 |
+) |
65 |
+ |
66 |
+src_configure() { |
67 |
+ econf --with-slibdir="/$(get_libdir)" \ |
68 |
+ $(use_with crypt cryptsetup) \ |
69 |
+ $(use_with ssl crypto) \ |
70 |
+ $(use_with selinux) |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ default |
75 |
+ use selinux || rm -r "${D}"/etc/selinux |
76 |
+ dodoc doc/*.txt |
77 |
+ |
78 |
+ # Remove unused nonstandard run-dir, current version uses |
79 |
+ # FHS-compatible /run, but has leftover mkdir from old version |
80 |
+ rm -r "${D}/var/lib" |
81 |
+ |
82 |
+ find "${ED}" -name '*.la' -delete || die |
83 |
+} |