[arch-commits] Commit in shadow/trunk (PKGBUILD lastlog.tmpfiles)
Allan McRae
allan at nymeria.archlinux.org
Sun Jan 27 05:04:35 UTC 2013
Date: Sunday, January 27, 2013 @ 06:04:35
Author: allan
Revision: 176052
upgpkg: shadow 4.1.5.1-4
create lastlog file if needed
Added:
shadow/trunk/lastlog.tmpfiles
Modified:
shadow/trunk/PKGBUILD
------------------+
PKGBUILD | 11 ++++++++---
lastlog.tmpfiles | 1 +
2 files changed, 9 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-01-27 04:18:43 UTC (rev 176051)
+++ PKGBUILD 2013-01-27 05:04:35 UTC (rev 176052)
@@ -4,7 +4,7 @@
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 @@
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 @@
'5d83ba7e11c765c951867cbe00b0ae7ff57148fa'
'9ae93de5987dd0ae428f0cc1a5a5a5cd53583f19'
'6010fffeed1fc6673ad9875492e1193b1a847b53'
- '21e12966a6befb25ec123b403cd9b5c492fe5b16')
+ '21e12966a6befb25ec123b403cd9b5c492fe5b16'
+ '87fa02bd73b774dfb6df3fd79e49efe5f48978dd')
build() {
cd "$pkgname-$pkgver"
@@ -101,6 +103,9 @@
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
Added: lastlog.tmpfiles
===================================================================
--- lastlog.tmpfiles (rev 0)
+++ lastlog.tmpfiles 2013-01-27 05:04:35 UTC (rev 176052)
@@ -0,0 +1 @@
+f /var/log/lastlog
More information about the arch-commits
mailing list