sys-auth/pam_mktemp: port to EAPI=7

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
This commit is contained in:
Mikle Kolyada
2020-02-25 09:59:56 +03:00
parent e708e63b13
commit e53f114986
2 changed files with 6 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
Index: pam_mktemp-1.1.1/pam_mktemp.c
===================================================================
--- pam_mktemp-1.1.1.orig/pam_mktemp.c
--- pam_mktemp-1.1.1/pam_mktemp.c
+++ pam_mktemp-1.1.1/pam_mktemp.c
@@ -55,7 +55,7 @@
*/

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
EAPI=7
inherit toolchain-funcs pam eutils
inherit toolchain-funcs pam
DESCRIPTION="Create per-user private temporary directories during login"
HOMEPAGE="http://www.openwall.com/pam/"
@@ -16,11 +16,13 @@ IUSE="selinux +prevent-removal"
RDEPEND="sys-libs/pam
selinux? ( sys-libs/libselinux )"
DEPEND="${RDEPEND}
prevent-removal? ( sys-kernel/linux-headers )"
src_prepare() {
epatch "${FILESDIR}"/${P}-e2fsprogs-libs.patch
default
eapply "${FILESDIR}"/${P}-e2fsprogs-libs.patch
}
src_compile() {
@@ -36,11 +38,3 @@ src_install() {
dopammod pam_mktemp.so
dodoc README
}
pkg_postinst() {
elog "To enable pam_mktemp put something like"
elog
elog "session optional pam_mktemp.so"
elog
elog "into /etc/pam.d/system-auth!"
}