Mercurial > vanilla
diff print/cups/cups.sh @ 823:fdac78a6d06e
print/cups: use a custom PAM file as recommended per LFS
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 21 Aug 2019 19:33:19 +0200 |
parents | 59a2fa6992bc |
children | a133976e0783 |
line wrap: on
line diff
--- a/print/cups/cups.sh Wed Aug 21 20:50:00 2019 +0200 +++ b/print/cups/cups.sh Wed Aug 21 19:33:19 2019 +0200 @@ -27,6 +27,7 @@ PKGPROTECT="etc/cups/cups-files.conf etc/cups/cupsd.conf etc/cups/snmp.conf + etc/pam.d/cups etc/rc.d/cupsd" : ${CHOST:=$(uname -m)-linux-musl} @@ -94,6 +95,10 @@ make install BUILDROOT=$DESTDIR install -Dm0644 ../cupsd $DESTDIR/etc/rc.d/cupsd + if [ "$PAM" = "yes" ]; then + install -Dm0644 ../cups $DESTDIR/etc/pam.d/cups + fi + cd .. rm -rf $PKGNAME-$PKGVERSION }