diff options
author | Britney Fransen <brfransen@gmail.com> | 2017-01-20 16:53:38 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2017-01-20 16:53:38 (GMT) |
commit | 6d8692bba331b7a24205e4f9bb1b91dfa6d4d6d4 (patch) | |
tree | 443e6b7f12822b8a0a3fdb5a290757a817e7eb5b /abs/core/pam/PKGBUILD | |
parent | 95d651edb72e7b278c9ba02e9afa64eb6a0d911e (diff) | |
parent | d0b37ccccc013118824437c8afdf3c48dd4d6530 (diff) | |
download | linhes_pkgbuild-6d8692bba331b7a24205e4f9bb1b91dfa6d4d6d4.zip linhes_pkgbuild-6d8692bba331b7a24205e4f9bb1b91dfa6d4d6d4.tar.gz linhes_pkgbuild-6d8692bba331b7a24205e4f9bb1b91dfa6d4d6d4.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/core/pam/PKGBUILD')
-rw-r--r-- | abs/core/pam/PKGBUILD | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/abs/core/pam/PKGBUILD b/abs/core/pam/PKGBUILD index 9290c1e..3279743 100644 --- a/abs/core/pam/PKGBUILD +++ b/abs/core/pam/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: judd <jvinet@zeroflux.org> pkgname=pam -pkgver=1.2.1 +pkgver=1.3.0 pkgrel=1 pkgdesc="PAM (Pluggable Authentication Modules) library" arch=('i686' 'x86_64') @@ -15,7 +15,7 @@ backup=(etc/security/{access.conf,group.conf,limits.conf,namespace.conf,namespac source=(http://linux-pam.org/library/Linux-PAM-$pkgver.tar.bz2 https://sources.archlinux.org/other/pam_unix2/pam_unix2-2.9.1.tar.bz2 pam_unix2-glibc216.patch) -md5sums=('9dc53067556d2dd567808fd509519dd6' +md5sums=('da4b2289b7cfb19583d54e9eaaef1c3a' 'da6a46e5f8cd3eaa7cbc4fc3a7e2b555' 'dac109f68e04a4df37575fda6001ea17') @@ -53,16 +53,6 @@ package() { cd $srcdir/pam_unix2-2.9.1 make DESTDIR=$pkgdir install - # add the realtime permissions for audio users - sed -i 's|# End of file||' $pkgdir/etc/security/limits.conf - cat >>$pkgdir/etc/security/limits.conf <<_EOT -* - rtprio 0 -* - nice 0 -@audio - rtprio 65 -@audio - nice -10 -@audio - memlock 40000 -_EOT - # fix some missing symlinks from old pam for compatibility cd $pkgdir/usr/lib/security ln -s pam_unix.so pam_unix_acct.so @@ -75,4 +65,8 @@ _EOT # remove doc which is not used anymore # FS #40749 rm $pkgdir/usr/share/doc/Linux-PAM/sag-pam_userdb.html + + # disable coredumps + sed -i 's|# End of file||' $pkgdir/etc/security/limits.conf + echo "* hard core 0" >> $pkgdir/etc/security/limits.conf } |