mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
screen: don't enable multiuser mode by default.
This requires that the screen binary be suid.
This commit is contained in:
parent
3ee173a161
commit
ad66ec8fe7
1 changed files with 6 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'screen'
|
||||
pkgname=screen
|
||||
version=4.8.0
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-sys-screenrc=/etc/screenrc --enable-pam
|
||||
--enable-colors256 --enable-rxvt_osc --enable-telnet
|
||||
|
@ -15,10 +15,14 @@ homepage="http://www.gnu.org/s/screen/"
|
|||
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
||||
checksum=6e11b13d8489925fde25dfb0935bf6ed71f9eb47eff233a181e078fde5655aa1
|
||||
|
||||
build_options="multiuser"
|
||||
|
||||
post_install() {
|
||||
vinstall etc/etcscreenrc 0644 etc screenrc
|
||||
vinstall etc/screenrc 0644 etc/skel .screenrc
|
||||
vinstall ${FILESDIR}/screen 0644 etc/pam.d
|
||||
|
||||
chmod 4755 ${DESTDIR}/usr/bin/screen-${version}
|
||||
if [ "$build_option_multiuser" ]; then
|
||||
chmod 4755 ${DESTDIR}/usr/bin/screen-${version}
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue