comparison security/linux-pam/linux-pam.sh @ 386:30c785bd1da0

security/linux-pam: add basic files based on LFS
author David Demelier <markand@malikania.fr>
date Mon, 01 Apr 2019 20:20:00 +0200
parents 3b0114bc7438
children 515778c3a417
comparison
equal deleted inserted replaced
385:3b0114bc7438 386:30c785bd1da0
21 PKGLICENSE="BSD" 21 PKGLICENSE="BSD"
22 PKGSUMMARY="pluggable authentication modules" 22 PKGSUMMARY="pluggable authentication modules"
23 PKGDOWNLOAD="https://github.com/linux-pam/linux-pam/releases/download/v$PKGVERSION/Linux-PAM-$PKGVERSION.tar.xz" 23 PKGDOWNLOAD="https://github.com/linux-pam/linux-pam/releases/download/v$PKGVERSION/Linux-PAM-$PKGVERSION.tar.xz"
24 PKGOPTIONS="NLS SELINUX" 24 PKGOPTIONS="NLS SELINUX"
25 PKGPROTECT="etc/environment 25 PKGPROTECT="etc/environment
26 etc/pam.d/other
27 etc/pam.d/system-account
28 etc/pam.d/system-auth
29 etc/pam.d/system-password
30 etc/pam.d/system-session
26 etc/security/access.conf 31 etc/security/access.conf
27 etc/security/group.conf 32 etc/security/group.conf
28 etc/security/limits.conf 33 etc/security/limits.conf
29 etc/security/namespace.conf 34 etc/security/namespace.conf
30 etc/security/namespace.init 35 etc/security/namespace.init
81 --docdir=/usr/share/doc/linux-pam \ 86 --docdir=/usr/share/doc/linux-pam \
82 $with_nls \ 87 $with_nls \
83 $with_selinux 88 $with_selinux
84 make 89 make
85 make install DESTDIR=$DESTDIR 90 make install DESTDIR=$DESTDIR
91 install -Dm0600 ../other $DESTDIR/etc/pam.d/other
92 install -Dm0600 ../system-account $DESTDIR/etc/pam.d/system-account
93 install -Dm0600 ../system-auth $DESTDIR/etc/pam.d/system-auth
94 install -Dm0600 ../system-password $DESTDIR/etc/pam.d/system-password
95 install -Dm0600 ../system-session $DESTDIR/etc/pam.d/system-session
86 rm -f $DESTDIR/usr/lib/libpam{,c,_misc}.la 96 rm -f $DESTDIR/usr/lib/libpam{,c,_misc}.la
87 rm -f $DESTDIR/usr/lib/security/pam*.la 97 rm -f $DESTDIR/usr/lib/security/pam*.la
88 98
89 popd 99 popd
90 rm -rf Linux-PAM-$PKGVERSION 100 rm -rf Linux-PAM-$PKGVERSION