system/plan9port: Updated for version 20171222.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Ruben Schuller 2017-12-22 20:54:56 +00:00 committed by Willy Sudiarto Raharjo
parent 94661ba88b
commit 108f1ef871
4 changed files with 40 additions and 20 deletions

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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: