summaryrefslogtreecommitdiff
path: root/core/shadow
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-01-29 11:08:24 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-01-29 11:08:24 +0100
commitbf57d1e5a2a6f53ec61f15f32571940a9eb56ac7 (patch)
treeb38e9c719501ca5196d4d7911cdef911c2fff54b /core/shadow
parent7d9481bb12f77bde4df2e923b4e932773b8d74f9 (diff)
parent2cb7f65fb24926493d457f6931e421e27aa629da (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/bitcoin/PKGBUILD community/fcron/PKGBUILD community/glob2/PKGBUILD community/gnash/PKGBUILD core/file/PKGBUILD core/findutils/PKGBUILD core/texinfo/PKGBUILD core/which/PKGBUILD extra/boost/PKGBUILD extra/libpst/PKGBUILD extra/mkvtoolnix/PKGBUILD extra/samba/PKGBUILD libre/linux-libre/PKGBUILD
Diffstat (limited to 'core/shadow')
-rw-r--r--core/shadow/PKGBUILD13
-rw-r--r--core/shadow/lastlog.tmpfiles1
2 files changed, 10 insertions, 4 deletions
diff --git a/core/shadow/PKGBUILD b/core/shadow/PKGBUILD
index 7b9a5cab9..ce03fa0b1 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' 'mips64el')
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