aboutsummaryrefslogtreecommitdiffstats
path: root/testing/shadow/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-08-18 13:37:42 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-08-18 13:37:42 +0200
commit476f6f5df697709870d15ddda8875af789f9edb0 (patch)
treec85ea1b77e17451df591ac40f0f248f5911ea932 /testing/shadow/APKBUILD
parent42ce10dbf1c5879c043aab5f9c565e96e84663c1 (diff)
testing/shadow: fix conflict with man-pages
Diffstat (limited to 'testing/shadow/APKBUILD')
-rw-r--r--testing/shadow/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/testing/shadow/APKBUILD b/testing/shadow/APKBUILD
index a7b9e2c44ab..2dd17dee2ff 100644
--- a/testing/shadow/APKBUILD
+++ b/testing/shadow/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=shadow
pkgver=4.2.1
-pkgrel=2
+pkgrel=3
pkgdesc="PAM-using login and passwd utilities (usermod / useradd / newuidmap etc)"
url="http://pkg-shadow.alioth.debian.org/"
arch="all"
@@ -57,6 +57,10 @@ package() {
# /etc/login.defs is not very useful - replace it with a blank file
rm "$pkgdir"/etc/login.defs
touch "$pkgdir"/etc/login.defs
+
+ # avoid conflict with man-pages
+ rm "$pkgdir"/usr/share/man/man3/getspnam.3* \
+ "$pkgdir"/usr/share/man/man5/passwd.5* || return 1
}
md5sums="2bfafe7d4962682d31b5eba65dba4fc8 shadow-4.2.1.tar.xz