summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/ksh-openbsd/ksh-openbsd.SlackBuild13
-rw-r--r--system/ksh-openbsd/ksh-openbsd.info6
2 files changed, 10 insertions, 9 deletions
diff --git a/system/ksh-openbsd/ksh-openbsd.SlackBuild b/system/ksh-openbsd/ksh-openbsd.SlackBuild
index 3f5efc18a8..e18bf48ff3 100644
--- a/system/ksh-openbsd/ksh-openbsd.SlackBuild
+++ b/system/ksh-openbsd/ksh-openbsd.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (c) 2010-2014 LEVAI Daniel
+# Copyright (c) 2010-2017 LEVAI Daniel
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -28,13 +28,13 @@
# Build script for the Linux port of OpenBSD's ksh
PRGNAM=ksh-openbsd
-VERSION=${VERSION:-20141220}
+VERSION=${VERSION:-20171016}
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
@@ -45,8 +45,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "${ARCH}" == "i486" ];then
- SLKCFLAGS='-march=i486 -mtune=i686'
+if [ "${ARCH}" == "i586" ];then
+ SLKCFLAGS='-march=i586 -mtune=i686'
LIBDIRSUFFIX=""
elif [ "$ARCH" == "i686" ]; then
SLKCFLAGS="-march=i686 -mtune=i686"
@@ -81,10 +81,11 @@ make install DESTDIR=$PKG
strip --strip-unneeded $PKG/bin/pdksh
gzip -9 $PKG/usr/man/man1/pdksh.1
+gzip -9 $PKG/usr/man/man1/pdksh-sh.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- Changelog.ksh-openbsd INSTALL LEGAL NOTES PROJECTS README \
+ Changelog.ksh-openbsd LEGAL README \
$PKG/usr/doc/$PRGNAM-$VERSION
cp $CWD/README $PKG/usr/doc/$PRGNAM-$VERSION/README.ksh-openbsd
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/system/ksh-openbsd/ksh-openbsd.info b/system/ksh-openbsd/ksh-openbsd.info
index e3f96584bb..5eb845b920 100644
--- a/system/ksh-openbsd/ksh-openbsd.info
+++ b/system/ksh-openbsd/ksh-openbsd.info
@@ -1,8 +1,8 @@
PRGNAM="ksh-openbsd"
-VERSION="20141220"
+VERSION="20171016"
HOMEPAGE="https://github.com/levaidaniel/ksh-openbsd"
-DOWNLOAD="https://github.com/levaidaniel/ksh-openbsd/archive/20141220.tar.gz"
-MD5SUM="74fa6c5476fad36dfc4dedc72de40b9c"
+DOWNLOAD="https://github.com/levaidaniel/ksh-openbsd/archive/20171016.tar.gz"
+MD5SUM="8a2e23bb3364cf5042173c8ed89885f6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libbsd"