aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel LEVAI <leva@ecentrum.hu>2010-03-03 14:27:21 -0600
committerErik Hanson <erik@slackbuilds.org>2010-05-13 13:25:37 +0200
commitb6928e7c7d3e6eea6f7767a8f776d4eed02d9713 (patch)
tree9a16bd7956c5484401d22d7fc9b2a2323bcf0efb
parentcf778870f7ac12c33c957c051fbbc2a8c389e34d (diff)
system/pdksh: Build bump.
Compile with LFS CFLAGS. This fixes a bug with filename completion when the file's size is bigger than 2GiB. Thanks to Daniel LEVAI.
-rw-r--r--system/pdksh/pdksh.SlackBuild26
-rw-r--r--system/pdksh/pdksh.info2
-rw-r--r--system/pdksh/slack-desc15
3 files changed, 25 insertions, 18 deletions
diff --git a/system/pdksh/pdksh.SlackBuild b/system/pdksh/pdksh.SlackBuild
index b0483f01f7028..38176cebf9edc 100644
--- a/system/pdksh/pdksh.SlackBuild
+++ b/system/pdksh/pdksh.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh -e
-
-# Copyright (c) 2009, Daniel LEVAI
+#!/bin/sh
+
+# Copyright (c) 2009, 2010 Daniel LEVAI
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
@@ -13,8 +13,8 @@
# * Neither the name of the <organization> nor the
# names of its contributors may be used to endorse or promote products
# derived from this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY <copyright holder> ''AS IS'' AND ANY
+#
+# THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANY
@@ -30,7 +30,7 @@
PRGNAM=pdksh
VERSION=5.2.14
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -41,8 +41,8 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "${ARCH}" == "i486" ];then
SLKCFLAGS='-O2 -march=i486 -mtune=i686'
LIBDIRSUFFIX=""
-elif [ "$ARCH" == "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" == "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "${ARCH}" == "x86_64" ];then
SLKCFLAGS='-O2 -fPIC'
@@ -68,9 +68,9 @@ for patch in "${CWD}"/patches/*;do
patch -p1 < "${patch}"
done
-
-# we are lying here with defining DEBIAN, but so many patches are depending on this, we must use it...
-CFLAGS="$SLKCFLAGS -DDEBIAN" \
+# we are lying here with defining DEBIAN, but so many patches are depending
+# on this, we must use it...
+CFLAGS="$SLKCFLAGS $(getconf LFS_CFLAGS) -DDEBIAN" \
./configure \
--prefix=/usr \
--exec-prefix=/ \
@@ -88,7 +88,7 @@ gzip -9 $PKG/usr/man/man1/pdksh.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- BUG-REPORTS ChangeLog CONTRIBUTORS IAFA-PACKAGE \
+ BUG-REPORTS ChangeLog.0 ChangeLog CONTRIBUTORS IAFA-PACKAGE \
INSTALL LEGAL NEWS NOTES PROJECTS README \
$PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/system/pdksh/pdksh.info b/system/pdksh/pdksh.info
index 8f37ae98ce33c..dba6a491996ec 100644
--- a/system/pdksh/pdksh.info
+++ b/system/pdksh/pdksh.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Daniel LEVAI"
EMAIL="leva@ecentrum.hu"
-APPROVED="michiel"
+APPROVED="Erik Hanson"
diff --git a/system/pdksh/slack-desc b/system/pdksh/slack-desc
index 1cefc797a3ed4..a9f4e559f3b70 100644
--- a/system/pdksh/slack-desc
+++ b/system/pdksh/slack-desc
@@ -1,11 +1,18 @@
- |-----handy-ruler------------------------------------------------------|
-pdksh: PD-ksh is a clone of the AT&T Korn shell.
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+pdksh: PD-ksh (a clone of the AT&T Korn shell)
pdksh:
pdksh: PD-ksh has most of the ksh88 features, not much of the ksh93 features,
pdksh: and a number of its own features.
pdksh: Strong points are:
-pdksh: It is free and quite portable - you should be able to compile it easily
-pdksh: on pretty much any unix box.
+pdksh: It is free and quite portable - you should be able to compile it
+pdksh: easily on pretty much any unix box.
pdksh: The vi editing mode is better (IMHO) than that of ksh88 or ksh93
pdksh: (command/file completion using tab (optional), less buggy).
pdksh: Its weak points are that there are still a few differences from ksh88.