From 2cb7f65fb24926493d457f6931e421e27aa629da Mon Sep 17 00:00:00 2001 From: root Date: Tue, 29 Jan 2013 00:06:25 -0800 Subject: Tue Jan 29 00:06:25 PST 2013 --- core/shadow/PKGBUILD | 13 +++++++++---- core/shadow/lastlog.tmpfiles | 1 + 2 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 core/shadow/lastlog.tmpfiles (limited to 'core/shadow') diff --git a/core/shadow/PKGBUILD b/core/shadow/PKGBUILD index 9944945f4..79fb31f1b 100644 --- a/core/shadow/PKGBUILD +++ b/core/shadow/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 175159 2013-01-15 17:39:52Z dreisner $ +# $Id: PKGBUILD 176249 2013-01-28 00:29:28Z allan $ # Maintainer: Dave Reisner # Maintainer: Aaron Griffin pkgname=shadow pkgver=4.1.5.1 -pkgrel=3 +pkgrel=4 pkgdesc="Password and account management tool suite with support for shadow files and PAM" arch=('i686' 'x86_64') url='http://pkg-shadow.alioth.debian.org/' @@ -29,7 +29,8 @@ source=("http://pkg-shadow.alioth.debian.org/releases/$pkgname-$pkgver.tar.bz2"{ shadow.cron.daily useradd.defaults xstrdup.patch - shadow-strncpy-usage.patch) + shadow-strncpy-usage.patch + lastlog.tmpfiles) sha1sums=('81f38720b953ef9c2c100c43d02dfe19cafd6c30' '126570e2939bf3b57f28df5197ab9309747a6b5c' '33a6cf1e44a1410e5c9726c89e5de68b78f5f922' @@ -42,7 +43,8 @@ sha1sums=('81f38720b953ef9c2c100c43d02dfe19cafd6c30' '5d83ba7e11c765c951867cbe00b0ae7ff57148fa' '9ae93de5987dd0ae428f0cc1a5a5a5cd53583f19' '6010fffeed1fc6673ad9875492e1193b1a847b53' - '21e12966a6befb25ec123b403cd9b5c492fe5b16') + '21e12966a6befb25ec123b403cd9b5c492fe5b16' + '87fa02bd73b774dfb6df3fd79e49efe5f48978dd') build() { cd "$pkgname-$pkgver" @@ -101,6 +103,9 @@ package() { install -Dm644 "$srcdir/defaults.pam" "$pkgdir/etc/pam.d/$file" done + # lastlog log file creation + install -Dm644 "$srcdir/lastlog.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/lastlog.conf" + # Remove evil/broken tools rm "$pkgdir"/usr/sbin/logoutd diff --git a/core/shadow/lastlog.tmpfiles b/core/shadow/lastlog.tmpfiles new file mode 100644 index 000000000..d1602a729 --- /dev/null +++ b/core/shadow/lastlog.tmpfiles @@ -0,0 +1 @@ +f /var/log/lastlog -- cgit v1.2.3-54-g00ecf