diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2020-02-25 09:59:56 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2020-02-25 10:01:05 +0300 |
commit | e53f114986f2f1aea48bd22d09dbc174404bea72 (patch) | |
tree | 60faf90583c450f7d15f8d55f09141fd52c5f37b /sys-auth | |
parent | app-arch/upx-bin: RedundantLongDescription (diff) | |
download | gentoo-e53f114986f2f1aea48bd22d09dbc174404bea72.tar.gz gentoo-e53f114986f2f1aea48bd22d09dbc174404bea72.tar.bz2 gentoo-e53f114986f2f1aea48bd22d09dbc174404bea72.zip |
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>
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/pam_mktemp/files/pam_mktemp-1.1.1-e2fsprogs-libs.patch | 2 | ||||
-rw-r--r-- | sys-auth/pam_mktemp/pam_mktemp-1.1.1.ebuild | 16 |
2 files changed, 6 insertions, 12 deletions
diff --git a/sys-auth/pam_mktemp/files/pam_mktemp-1.1.1-e2fsprogs-libs.patch b/sys-auth/pam_mktemp/files/pam_mktemp-1.1.1-e2fsprogs-libs.patch index 34e1a8591f77..17c038a832e2 100644 --- a/sys-auth/pam_mktemp/files/pam_mktemp-1.1.1-e2fsprogs-libs.patch +++ b/sys-auth/pam_mktemp/files/pam_mktemp-1.1.1-e2fsprogs-libs.patch @@ -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 @@ */ diff --git a/sys-auth/pam_mktemp/pam_mktemp-1.1.1.ebuild b/sys-auth/pam_mktemp/pam_mktemp-1.1.1.ebuild index ec6e6c77ed21..8c8d209cb314 100644 --- a/sys-auth/pam_mktemp/pam_mktemp-1.1.1.ebuild +++ b/sys-auth/pam_mktemp/pam_mktemp-1.1.1.ebuild @@ -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!" -} |