X-Git-Url: http://gitweb/?a=blobdiff_plain;f=linux-pam%2FPkgfile;h=347a963cc301847d1406750e6fd7a8722da238fd;hb=6ce95f759b069b270f468663629672ef2b572ac8;hp=c2fa56a68b4e2b3503834ee23873501d775ed404;hpb=34e6a37dc9905a22d8cfd8362596e7416de4be6a;p=ports%2Fcore-arm64.git diff --git a/linux-pam/Pkgfile b/linux-pam/Pkgfile index c2fa56a..347a963 100644 --- a/linux-pam/Pkgfile +++ b/linux-pam/Pkgfile @@ -1,32 +1,37 @@ # Description: Pluggable Authentication Modules (PAM) for Linux # URL: http://www.linux-pam.org/ # Maintainer: CRUX System Team, core-ports at crux dot nu +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu name=linux-pam -version=1.3.1 -release=1 +version=1.5.2 +release=3 source=(https://github.com/$name/$name/releases/download/v${version}/Linux-PAM-$version.tar.xz \ common-account common-auth common-password common-session \ other) build() { - cd Linux-PAM-$version - ./configure --prefix=/usr \ - --libdir=/lib \ - --disable-nis \ - --disable-nls \ - --disable-prelude \ - --enable-db=no - make - make DESTDIR=$PKG install + cd Linux-PAM-$version + CONFIG_SHELL=/bin/bash ./configure \ + --prefix=/usr \ + --libdir=/lib \ + --disable-nis \ + --disable-nls \ + --disable-prelude \ + --enable-db=no - # unix_chkpwd needs to be setuid root - chmod u+s $PKG/sbin/unix_chkpwd + make + make DESTDIR=$PKG install - mkdir -p $PKG/etc/pam.d - install -o root -g root -m 0644 \ - $SRC/{common-*,other} \ - $PKG/etc/pam.d/ + mv $PKG/lib/pkgconfig $PKG/usr/lib - rm -r $PKG/usr/share/doc + # unix_chkpwd needs to be setuid root + chmod u+s $PKG/sbin/unix_chkpwd + + mkdir -p $PKG/etc/pam.d + install -o root -g root -m 0644 \ + $SRC/{common-*,other} \ + $PKG/etc/pam.d/ + + rm -r $PKG/usr/{lib/systemd,share/doc} }