aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/plan9port/README30
-rw-r--r--system/plan9port/plan9port.SlackBuild18
-rw-r--r--system/plan9port/plan9port.info10
-rw-r--r--system/plan9port/slack-desc2
4 files changed, 40 insertions, 20 deletions
diff --git a/system/plan9port/README b/system/plan9port/README
index 1a9c35ff07371..62a5c143bcac2 100644
--- a/system/plan9port/README
+++ b/system/plan9port/README
@@ -1,9 +1,29 @@
Plan 9 from User Space (aka plan9port).
-Plan 9 from User Space (aka plan9port) is a port of many Plan 9 programs
+Plan 9 from User Space (aka plan9port) is a port of many Plan 9 programs
from their native Plan 9 environment to Unix-like operating systems.
-Updating:
-You can use Mercurial to update plan9port, read
-http://9fans.net/archive/2009/12/108
-http://swtch.com/plan9port/man/man1/hg.html
+Sources:
+The source from the info file is not hosted by github as plan9port doesn't tag
+releases. You can download the zipped master branch from github if you don't
+want to use the mirrored sources:
+https://github.com/9fans/plan9port/archive/master.zip
+There may be differences in the checksum as it is the development branch.
+
+
+Notes on using rc with uxterm from Eric Lindblad,
+Email (in rc): Geirfugl^ApS^@^yahoo.com
+
+Tested with Slackware 14.0 with Danish and English keyboards settings.
+
+Ctrl-i tab Ctrl-Bksp
+
+Ctrl-u delete line
+ back to prompt or open Menu
+ and uncheck
+
+Ctrl-w delete word to BackArrow Key (BS/Del)
+ left of cursor then Bksp will
+ work independently
+ but Ctrl-Bksp will
+ not work
diff --git a/system/plan9port/plan9port.SlackBuild b/system/plan9port/plan9port.SlackBuild
index 7c51a2ead6786..d2f59e2b2e2b9 100644
--- a/system/plan9port/plan9port.SlackBuild
+++ b/system/plan9port/plan9port.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for plan9port
-# Copyright (c) 2012-2014 Ruben Schuller <ruben@orgizm.net>
+# Copyright (c) 2012-2017 Ruben Schuller
#
# Copyright (c) 2008-2010, Antonio Hernández Blas <hba.nihilismus@gmail.com>
# All rights reserved.
@@ -26,13 +26,13 @@
# 2012-10-23: added some changes to reflect the usage of nightly tarballs
PRGNAM=plan9port
-VERSION=${VERSION:-20140306}
+VERSION=${VERSION:-20171222}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -48,21 +48,21 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG/opt $OUTPUT
cd $TMP
-rm -rf $PRGNAM
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
-cd $PRGNAM
+rm -rf $PRGNAM-master
+unzip $CWD/master.zip || unzip $CWD/plan9port-master.zip
+cd $PRGNAM-master
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# All plan9 programs are going to be installed in "/opt/plan9"
PLAN9_TARGET=/opt/plan9 ./INSTALL
cd $TMP
-mv $PRGNAM $PKG/opt/plan9
+mv $PRGNAM-master $PKG/opt/plan9
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -78,7 +78,7 @@ install -D -m 0755 $CWD/xinitrc.rio $PKG/etc/X11/xinit/xinitrc.rio
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $PKG/opt/plan9
-mv CHANGES install.txt LICENSE README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+mv CHANGES CONTRIBUTORS INSTALL LICENSE README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/plan9port/plan9port.info b/system/plan9port/plan9port.info
index 271645ea39049..7cf3c1e3dde77 100644
--- a/system/plan9port/plan9port.info
+++ b/system/plan9port/plan9port.info
@@ -1,10 +1,10 @@
PRGNAM="plan9port"
-VERSION="20140306"
-HOMEPAGE="http://swtch.com/plan9port/"
-DOWNLOAD="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/plan9port/plan9port-20140306.tgz"
-MD5SUM="f03331f0fa0d0d6c6582ced4bc0094c5"
+VERSION="20171222"
+HOMEPAGE="https://9fans.github.io/plan9port/"
+DOWNLOAD="https://rbn.im/files/sources/plan9port/20171222/master.zip"
+MD5SUM="3ca89a88e239f732a33d329a9fdb6f9d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Ruben Schuller"
-EMAIL="ruben@orgizm.net"
+EMAIL="sb@rbn.im"
diff --git a/system/plan9port/slack-desc b/system/plan9port/slack-desc
index 33e5fc7bb025b..69968e77272fe 100644
--- a/system/plan9port/slack-desc
+++ b/system/plan9port/slack-desc
@@ -12,7 +12,7 @@ plan9port: Plan 9 from User Space (aka plan9port) is a port of many
plan9port: Plan 9 programs from their native Plan 9 environment to
plan9port: Unix-like operating systems.
plan9port:
-plan9port: Homepage: http://swtch.com/plan9port/
+plan9port: Homepage: https://9fans.github.io/plan9port/
plan9port:
plan9port:
plan9port: