From 8c3d6a6bde0de49b9e821ad0c71ae9b40a54020e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 28 Aug 2014 08:08:58 +0200 Subject: [PATCH] util-linux: login.pam: re-add pam-lastlog(8) again but make it just silent. ... otherwise /var/log/lastlog is never created. --- srcpkgs/util-linux/files/login.pam | 1 + srcpkgs/util-linux/template | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/util-linux/files/login.pam b/srcpkgs/util-linux/files/login.pam index fb056aba99..ff5541180e 100644 --- a/srcpkgs/util-linux/files/login.pam +++ b/srcpkgs/util-linux/files/login.pam @@ -11,6 +11,7 @@ session required pam_motd.so session optional pam_mail.so dir=/var/mail standard session required pam_unix.so session required pam_loginuid.so +session required pam_lastlog.so silent never -session optional pam_systemd.so -session optional pam_ck_connector.so nox11 session required pam_limits.so diff --git a/srcpkgs/util-linux/template b/srcpkgs/util-linux/template index f5e20e8c1a..5024f7ce51 100644 --- a/srcpkgs/util-linux/template +++ b/srcpkgs/util-linux/template @@ -1,7 +1,7 @@ # Template file for 'util-linux' pkgname=util-linux version=2.25 -revision=4 +revision=5 short_desc="Miscellaneous linux utilities" maintainer="Juan RP " homepage="http://userweb.kernel.org/~kzak/util-linux-ng" @@ -19,8 +19,7 @@ conf_files=" /etc/pam.d/su /etc/pam.d/su-l /etc/pam.d/login" -conflicts="chroot-util-linux>=0 coreutils<8.21_3 shadow<4.1.5.1_14" -replaces="util-linux-ng>=0 e2fsprogs<=1.41.14_1 eject>=0 shadow<4.1.5.1_3" +replaces="eject>=0" provides="eject-${version}_1" pre_configure() {