From 9a841fe2af5204c11e54bdb00a8f46088b30de7d Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 21 Dec 2019 01:00:56 +0000 Subject: system/l*: modernise, fix metadata, etc --- system/linux-pam/APKBUILD | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'system/linux-pam/APKBUILD') diff --git a/system/linux-pam/APKBUILD b/system/linux-pam/APKBUILD index 0d1221a0d..44b603644 100644 --- a/system/linux-pam/APKBUILD +++ b/system/linux-pam/APKBUILD @@ -6,12 +6,12 @@ pkgrel=2 pkgdesc="Pluggable Authentication Modules" url="https://www.kernel.org/pub/linux/libs/pam" arch="all" +options="suid" license="BSD-3-Clause" depends_dev="gettext-tiny-dev" makedepends_host="$depends_dev utmps-dev" makedepends_build="$depends_dev byacc flex-dev autoconf automake libtool" makedepends="$makedepends_host $makedepends_build" -options="suid" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://github.com/$pkgname/$pkgname/releases/download/v1.3.1/Linux-PAM-$pkgver.tar.xz fix-compat.patch @@ -27,17 +27,15 @@ source="https://github.com/$pkgname/$pkgname/releases/download/v1.3.1/Linux-PAM- other.pamd su.pamd " - builddir="$srcdir"/Linux-PAM-$pkgver + prepare() { - cd "$builddir" default_prepare # disable insecure modules sed -e 's/pam_rhosts//g' -i modules/Makefile.am } build() { - cd "$builddir" autoreconf -vif [ "$CLIBC" = "musl" ] && export ac_cv_search_crypt=no LIBS="-lutmps -lskarnet" ./configure \ @@ -54,12 +52,10 @@ build() { } check() { - cd "$builddir" make check } package() { - cd "$builddir" make DESTDIR="$pkgdir" install # do not install pam.d files bundled with the source, they could be broken -- cgit v1.2.3-70-g09d2