diff options
author | Marco Bonetti <sid77@slackware.it> | 2010-08-13 07:37:10 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-08-14 19:04:49 -0500 |
commit | 2403560642056269760b23e57ad814cc6c98444d (patch) | |
tree | 2de8d6de8506578efa870dd68e7bda4e983d54f3 /system/byobu/slackware.diff | |
parent | 700d2413a949ab13235cb87e72300d124af49692 (diff) | |
download | slackbuilds-2403560642056269760b23e57ad814cc6c98444d.tar.gz |
system/byobu: Added (GNU Screen enhancement)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'system/byobu/slackware.diff')
-rw-r--r-- | system/byobu/slackware.diff | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/system/byobu/slackware.diff b/system/byobu/slackware.diff new file mode 100644 index 0000000000..bad1d2ce62 --- /dev/null +++ b/system/byobu/slackware.diff @@ -0,0 +1,45 @@ +diff -Naur byobu-2.82.orig/etc/byobu/socketdir byobu-2.82/etc/byobu/socketdir +--- byobu-2.82.orig/etc/byobu/socketdir 2010-05-15 22:47:59.000000000 +0200 ++++ byobu-2.82/etc/byobu/socketdir 2010-07-20 09:48:36.235677637 +0200 +@@ -7,4 +7,4 @@ + # * the variable name is SOCKETDIR + # * there is no space around the "=" + # * and that the path value is quoted +-SOCKETDIR="/var/run/screen" ++SOCKETDIR="~/.screen" +diff -Naur byobu-2.82.orig/usr/bin/byobu-config byobu-2.82/usr/bin/byobu-config +--- byobu-2.82.orig/usr/bin/byobu-config 2010-06-23 23:44:51.000000000 +0200 ++++ byobu-2.82/usr/bin/byobu-config 2010-07-20 15:16:12.221678378 +0200 +@@ -29,10 +29,11 @@ + HOME=os.getenv("HOME") + USER=os.getenv("USER") + PKG="byobu" ++VERSION="2.82" + SHARE='/usr/share/'+PKG + if not os.path.exists(SHARE): + SHARE = "%s/.%s/%s" % (HOME, PKG, SHARE) +-DOC='/usr/share/doc/'+PKG ++DOC='/usr/doc/'+PKG+'-'+VERSION + if not os.path.exists(DOC): + DOC = "%s/.%s/%s" % (HOME, PKG, DOC) + DEF_ESC="A" +diff -Naur byobu-2.82.orig/usr/bin/byobu-export byobu-2.82/usr/bin/byobu-export +--- byobu-2.82.orig/usr/bin/byobu-export 2010-06-24 17:18:56.000000000 +0200 ++++ byobu-2.82/usr/bin/byobu-export 2010-07-20 15:14:28.705957556 +0200 +@@ -20,6 +20,7 @@ + set -e + + PKG="byobu" ++VERSION="2.82" + DIR=`mktemp -t -d $PKG.XXXXXXXX` || error "Could not create a temporary directory" + [ -d "$TMP" ] || TMP=/tmp + +@@ -91,7 +92,7 @@ + # Copy necessary scripts + cp -a /etc/$PKG "$DIR/.$PKG/etc" + cp -a /usr/share/$PKG "$DIR/.$PKG/usr/share" +-cp -a /usr/share/doc/$PKG "$DIR/.$PKG/usr/share/doc" ++cp -a /usr/doc/$PKG-$VERSION "$DIR/.$PKG/usr/share/doc" + cp -a /usr/lib/$PKG "$DIR/.$PKG/usr/lib" + cp -a /usr/bin/$PKG-* "$DIR/.$PKG/usr/bin" + cp /etc/$PKG/statusrc "$DIR/.$PKG/status" |