diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-08-27 07:23:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-08-27 07:24:19 +0000 |
commit | c12dc9c6edf648587ef0a452ea6268b2abdbed29 (patch) | |
tree | 3d33bf7db3302d5c52f96864566c0c329f9d097e /main | |
parent | 4e109ac04b9fccfc6d6bba44a5091ebb1c237db1 (diff) | |
download | aports-c12dc9c6edf648587ef0a452ea6268b2abdbed29.tar.bz2 aports-c12dc9c6edf648587ef0a452ea6268b2abdbed29.tar.xz |
main/screen: remove suid bit
ref #3310
Diffstat (limited to 'main')
-rw-r--r-- | main/screen/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/main/screen/APKBUILD b/main/screen/APKBUILD index 1f95ca4038..bd11d1c1ef 100644 --- a/main/screen/APKBUILD +++ b/main/screen/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=screen pkgver=4.2.1 -pkgrel=1 +pkgrel=2 pkgdesc="A window manager that multiplexes a physical terminal" url="http://ftp.gnu.org/gnu/screen/" arch="all" @@ -39,6 +39,10 @@ package() { cd "$_builddir" make -j1 DESTDIR="$pkgdir" install || return 1 + # remove suid root + find "$pkgdir" -type f -perm -u+s -print0 \ + | xargs -0 chmod -s || return 1 + install -Dm644 etc/etcscreenrc "$pkgdir"/etc/screenrc || return 1 install -Dm644 etc/screenrc "$pkgdir"/etc/skel/.screenrc || return 1 } |