summaryrefslogtreecommitdiff
path: root/core/shadow
diff options
context:
space:
mode:
Diffstat (limited to 'core/shadow')
-rw-r--r--core/shadow/PKGBUILD22
-rw-r--r--core/shadow/lastlog.tmpfiles2
2 files changed, 13 insertions, 11 deletions
diff --git a/core/shadow/PKGBUILD b/core/shadow/PKGBUILD
index 79fb31f1b..743c179a9 100644
--- a/core/shadow/PKGBUILD
+++ b/core/shadow/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 176249 2013-01-28 00:29:28Z allan $
+# $Id: PKGBUILD 180325 2013-03-20 12:45:26Z dreisner $
# Maintainer: Dave Reisner <dreisner@archlinux.org>
# Maintainer: Aaron Griffin <aaron@archlinux.org>
pkgname=shadow
pkgver=4.1.5.1
-pkgrel=4
+pkgrel=5
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/'
@@ -44,7 +44,7 @@ sha1sums=('81f38720b953ef9c2c100c43d02dfe19cafd6c30'
'9ae93de5987dd0ae428f0cc1a5a5a5cd53583f19'
'6010fffeed1fc6673ad9875492e1193b1a847b53'
'21e12966a6befb25ec123b403cd9b5c492fe5b16'
- '87fa02bd73b774dfb6df3fd79e49efe5f48978dd')
+ 'f57ecde3f72b4738fad75c097d19cf46a412350f')
build() {
cd "$pkgname-$pkgver"
@@ -68,7 +68,8 @@ build() {
--mandir=/usr/share/man \
--sysconfdir=/etc \
--with-libpam \
- --without-selinux
+ --without-selinux \
+ --with-group-name-max-length=32
make
}
@@ -120,12 +121,13 @@ package() {
# ...and their many man pages
find "$pkgdir"/usr/share/man \
- '(' -name 'chsh.1' -o \
- -name 'chfn.1' -o \
- -name 'su.1' -o \
- -name 'login.1' -o \
- -name 'vipw.8' -o \
- -name 'vigr.8' -o \
+ '(' -name 'chsh.1' -o \
+ -name 'chfn.1' -o \
+ -name 'su.1' -o \
+ -name 'logoutd.8' -o \
+ -name 'login.1' -o \
+ -name 'vipw.8' -o \
+ -name 'vigr.8' -o \
-name 'newgrp.1' ')' \
-delete
rmdir \
diff --git a/core/shadow/lastlog.tmpfiles b/core/shadow/lastlog.tmpfiles
index d1602a729..9c07b39f2 100644
--- a/core/shadow/lastlog.tmpfiles
+++ b/core/shadow/lastlog.tmpfiles
@@ -1 +1 @@
-f /var/log/lastlog
+f /var/log/lastlog 0644 root root