summaryrefslogtreecommitdiff
path: root/core/shadow/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/shadow/PKGBUILD')
-rw-r--r--core/shadow/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
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 <dreisner@archlinux.org>
# Maintainer: Aaron Griffin <aaron@archlinux.org>
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