aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-pam/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/linux-pam/APKBUILD')
-rw-r--r--main/linux-pam/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/linux-pam/APKBUILD b/main/linux-pam/APKBUILD
index 8867c6cfce..5b71afcd5f 100644
--- a/main/linux-pam/APKBUILD
+++ b/main/linux-pam/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=linux-pam
pkgver=1.1.8
-pkgrel=1
+pkgrel=2
pkgdesc="pluggable authentication modules for linux"
url="http://www.kernel.org/pub/linux/libs/pam"
arch="all"
@@ -11,6 +11,7 @@ depends=
depends_dev="gettext-dev"
makedepends="$depends_dev bison flex-dev autoconf automake libtool"
install=""
+options="suid"
subpackages="$pkgname-dev $pkgname-doc"
source="https://fedorahosted.org/releases/l/i/linux-pam/Linux-PAM-$pkgver.tar.bz2
linux-pam-innetgr.patch
@@ -53,6 +54,7 @@ build() {
--infodir=/usr/share/info \
--localstatedir=/var \
--disable-nls \
+ --disable-db \
|| return 1
make || return 1
}
@@ -77,6 +79,9 @@ package() {
# delete pointless libtool archives.
find "$pkgdir" -name *.la -print | xargs rm
+
+ chgrp shadow "$pkgdir"/sbin/unix_chkpwd \
+ && chmod g+s "$pkgdir"/sbin/unix_chkpwd || return 1
}
md5sums="35b6091af95981b1b2cd60d813b5e4ee Linux-PAM-1.1.8.tar.bz2