mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2024-09-20 11:23:16 +00:00
main/linux-pam: move to /usr/lib
This is not a requirement for booting the system, as one can log in without it. So move the pam modules to /usr/lib
This commit is contained in:
parent
bcca1ba77e
commit
390b824324
1 changed files with 2 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
|||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=linux-pam
|
||||
pkgver=1.6.1
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Linux PAM (Pluggable Authentication Modules for Linux)"
|
||||
url="https://www.kernel.org/pub/linux/libs/pam"
|
||||
arch="all"
|
||||
|
@ -48,7 +48,7 @@ build() {
|
|||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
--libdir=/lib \
|
||||
--libdir=/usr/lib \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
--infodir=/usr/share/info \
|
||||
|
@ -77,10 +77,6 @@ package() {
|
|||
chgrp shadow "$pkgdir"/sbin/unix_chkpwd \
|
||||
&& chmod g+s "$pkgdir"/sbin/unix_chkpwd
|
||||
|
||||
# wrong dir due to libdir
|
||||
mkdir -p "$pkgdir"/usr/lib
|
||||
mv "$pkgdir"/lib/pkgconfig "$pkgdir"/usr/lib/pkgconfig
|
||||
|
||||
# we don't ship systemd
|
||||
rm -r "$pkgdir"/usr/lib/systemd
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue