aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-08-13 15:20:18 +0200
committerprspkt <prspkt@protonmail.com>2019-08-14 17:56:04 +0300
commitff09ccd9982cfbe7390337e71edf4af83eedd65d (patch)
tree69652f8fe98efece81b43d4d6baceb0e21fac27a /community
parent04f3142f3e218806d9fc4345f045297046e4a071 (diff)
community/shadow: remove usr/share/man/man1/passwd.1.gz provided by openssl-doc
* Fix license * Modernize fixes #10724
Diffstat (limited to 'community')
-rw-r--r--community/shadow/APKBUILD15
1 files changed, 4 insertions, 11 deletions
diff --git a/community/shadow/APKBUILD b/community/shadow/APKBUILD
index dca8b5c60c9..62e385106fb 100644
--- a/community/shadow/APKBUILD
+++ b/community/shadow/APKBUILD
@@ -1,14 +1,12 @@
-# Contributor:
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=shadow
pkgver=4.6
-pkgrel=2
+pkgrel=3
pkgdesc="PAM-using login and passwd utilities (usermod, useradd, ...)"
url="http://pkg-shadow.alioth.debian.org/"
arch="all"
-license="GPL"
-depends=""
+license="BSD-3-Clause"
makedepends="linux-pam-dev"
subpackages="$pkgname-doc $pkgname-dbg $pkgname-uidmap"
source="https://github.com/shadow-maint/shadow/releases/download/$pkgver/shadow-$pkgver.tar.xz
@@ -27,11 +25,8 @@ source="https://github.com/shadow-maint/shadow/releases/download/$pkgver/shadow-
# - CVE-2016-6252
options="suid"
-builddir="$srcdir/shadow-$pkgver"
build() {
- cd "$builddir"
-
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -54,13 +49,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
-
make DESTDIR="$pkgdir" install
# Do not install these pam.d files they are broken and outdated.
@@ -92,7 +84,8 @@ package() {
# Avoid conflict with man-pages.
rm "$pkgdir"/usr/share/man/man3/getspnam.3* \
- "$pkgdir"/usr/share/man/man5/passwd.5*
+ "$pkgdir"/usr/share/man/man5/passwd.5* \
+ "$pkgdir"/usr/share/man/man1/passwd.1*
}
uidmap() {