Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37044888
en ru br
ALT Linux repos
S:5.2.14-alt5
5.0: 5.2.14-alt2
4.1: 5.2.14-alt2
4.0: 5.2.14-ipl12mdk
3.0: 5.2.14-ipl12mdk

Group :: Shells
RPM: pdksh

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: pdksh
Version: 5.2.14
Release: alt5
Epoch: 1

Summary: A public domain clone of the Korn shell (ksh)
License: Public Domain
Group: Shells

Url: http://www.cs.mun.ca/~michael/pdksh/
Source: http://www.cs.mun.ca/~michael/pdksh/files/%name-%version.tar.bz2
Patch0: pdksh-5.2.14-manloc.patch
Patch1: pdksh-5.2.14-debian.patch
Patch2: pdksh-child_max.patch
Patch3: pdksh-5.2.14-fix-str-fmt.patch
Packager: Michael Shigorin <mike at altlinux.org>

Provides: /bin/ksh

%description
The %name package contains PD-ksh, a clone of the Korn shell (ksh).
The ksh shell is a command interpreter intended for both interactive
and shell script use.  Ksh's command language is a superset of the
sh shell language.

Install the %name package if you want to use a version of the ksh
shell.

%prep
%setup
%patch0 -p1 -b .manloc
%patch1 -p1 -b .debian
%patch2 -p1 -b .jobs
%patch3 -p0 -b .str

%build
CFLAGS="%optflags -D_FILE_OFFSET_BITS=64 -DDEBIAN " \
%configure
# Disable linemarkers to avoid confusing the script generating this
%make siglist.out CPPFLAGS=-P
%make_build

%install
mkdir -p %buildroot%_bindir
install -pDm755 ksh %buildroot/bin/ksh
install -pDm644 ksh.1 %buildroot%_man1dir/ksh.1
ln -s ksh.1 %buildroot%_man1dir/%name.1
ln -s ../../bin/ksh %buildroot%_bindir/
ln -s ksh %buildroot%_bindir/%name
ln -s ksh %buildroot/bin/%name

%files
/bin/*
%_bindir/*
%_man1dir/*
%doc BUG-REPORTS ChangeLog* CONTRIBUTORS LEGAL NEWS NOTES PROJECTS README

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin