diff options
author | Nicolas Iooss | 2020-02-06 23:29:35 +0100 |
---|---|---|
committer | Nicolas Iooss | 2020-02-06 23:29:35 +0100 |
commit | 91f120d191bddcab731d429830a71089033956b6 (patch) | |
tree | 9b753cdd994b21e3fbd470d5c40e1041916d8259 /PKGBUILD | |
parent | 9b0632cd6ade2e5326a52e079bf0a685759c2f54 (diff) | |
download | aur-91f120d191bddcab731d429830a71089033956b6.tar.gz |
shadow-selinux 4.8.1-1 update
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -9,7 +9,7 @@ # If you want to help keep it up to date, please open a Pull Request there. pkgname=shadow-selinux -pkgver=4.8 +pkgver=4.8.1 pkgrel=1 pkgdesc="Password and account management tool suite with support for shadow files and PAM - SELinux support" arch=('x86_64') @@ -123,10 +123,12 @@ package() { done # Remove evil/broken tools - rm "$pkgdir"/usr/bin/logoutd + rm "$pkgdir"/usr/sbin/logoutd # Remove utilities provided by util-linux - rm "$pkgdir"/usr/bin/{login,su,chsh,chfn,sg,nologin,vipw,vigr} + rm \ + "$pkgdir"/usr/bin/{login,su,chsh,chfn,sg,nologin} \ + "$pkgdir"/usr/sbin/{vipw,vigr} # but we keep newgrp, as sg is really an alias to it mv "$pkgdir"/usr/bin/{newgrp,sg} @@ -146,4 +148,8 @@ package() { rmdir \ "$pkgdir"/usr/share/man/{fi,id,zh_TW}/man1 \ "$pkgdir"/usr/share/man/{fi,ko/man8} + + # move everything else to /usr/bin, because this isn't handled by ./configure + mv "$pkgdir"/usr/sbin/* "$pkgdir"/usr/bin + rmdir "$pkgdir/usr/sbin" } |