screen: use example config files by default; switch socketdir to /run.
This commit is contained in:
parent
e4cd54b6c6
commit
f6550e01d3
|
@ -1,21 +0,0 @@
|
|||
#
|
||||
# This script will advise the user to use the example configuration
|
||||
# files included with the package.
|
||||
#
|
||||
case "${ACTION}" in
|
||||
pre)
|
||||
;;
|
||||
post)
|
||||
cat << _EOF
|
||||
=====================================================================
|
||||
|
||||
- Optional example configuration files have been copied to:
|
||||
/usr/share/examples/screen/
|
||||
|
||||
- Copy screenrc to /home/your_user_name/.screenrc for user config
|
||||
- Copy etcscreenrc to /etc/screenrc for system config
|
||||
|
||||
=====================================================================
|
||||
_EOF
|
||||
;;
|
||||
esac
|
|
@ -1,10 +1,10 @@
|
|||
# Template file for 'screen'
|
||||
pkgname=screen
|
||||
version=4.0.3
|
||||
revision=6
|
||||
revision=7
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-sys-screenrc=/etc/screenrc -enable-pam --enable-colors256
|
||||
--enable-locale"
|
||||
--enable-locale -with-socket-dir=/run/screens --with-pty-group=5"
|
||||
makedepends="pam-devel ncurses-devel"
|
||||
short_desc="The GNU screen utility"
|
||||
maintainer="davehome <davehome@redthumb.info.tm>"
|
||||
|
@ -32,13 +32,13 @@ long_desc="
|
|||
from the users terminal."
|
||||
|
||||
post_install() {
|
||||
vinstall etc/screenrc 0644 usr/share/examples/screen
|
||||
vinstall etc/etcscreenrc 0644 usr/share/examples/screen
|
||||
vinstall etc/screenrc 0644 etc
|
||||
vinstall etc/etcscreenrc 0644 etc/.skel .screenrc
|
||||
}
|
||||
|
||||
screen_package() {
|
||||
conf_files="/etc/screenrc /etc/skel/.screenrc"
|
||||
pkg_install() {
|
||||
vmove etc
|
||||
vmove usr
|
||||
vmove all
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue