|
|
503c26 |
%define releasedate 2012-08-01
|
|
|
503c26 |
|
|
|
503c26 |
Name: ksh
|
|
|
503c26 |
Summary: The Original ATT Korn Shell
|
|
|
503c26 |
URL: http://www.kornshell.com/
|
|
|
503c26 |
Group: System Environment/Shells
|
|
|
503c26 |
#zlib is used for INIT.2010-02-02.tgz/src/cmd/INIT/ratz.c - used only for build tool
|
|
|
503c26 |
#CPL everywhere else (for KSH itself)
|
|
|
503c26 |
License: EPL
|
|
|
503c26 |
Version: 20120801
|
|
|
289888 |
Release: 143%{?dist}
|
|
|
503c26 |
Source0: http://www.research.att.com/~gsf/download/tgz/ast-ksh.%{releasedate}.tgz
|
|
|
503c26 |
Source1: http://www.research.att.com/~gsf/download/tgz/INIT.%{releasedate}.tgz
|
|
|
503c26 |
Source2: kshcomp.conf
|
|
|
503c26 |
Source3: kshrc.rhs
|
|
|
503c26 |
Source4: dotkshrc
|
|
|
503c26 |
|
|
|
503c26 |
# expected results of test suite
|
|
|
503c26 |
%global testresults %{_sourcedir}/expectedresults.log
|
|
|
503c26 |
|
|
|
503c26 |
# don't use not wanted/needed builtins - Fedora/RHEL specific
|
|
|
503c26 |
Patch1: ksh-20070328-builtins.patch
|
|
|
503c26 |
|
|
|
503c26 |
# fedora/rhel specific, rhbz#619692
|
|
|
503c26 |
Patch6: ksh-20080202-manfix.patch
|
|
|
503c26 |
|
|
|
503c26 |
# rhbz#702008
|
|
|
503c26 |
Patch17: ksh-20100202-pathvar.patch
|
|
|
503c26 |
|
|
|
503c26 |
# rhbz#924440
|
|
|
503c26 |
Patch18: ksh-20100621-fdstatus.patch
|
|
|
503c26 |
|
|
|
503c26 |
# fixes for regressions found in ksh-20120801 rebase
|
|
|
503c26 |
Patch19: ksh-20120801-rmdirfix.patch
|
|
|
503c26 |
Patch20: ksh-20120801-cdfix.patch
|
|
|
503c26 |
Patch21: ksh-20120801-cdfix2.patch
|
|
|
503c26 |
Patch22: ksh-20120801-tabfix.patch
|
|
|
503c26 |
Patch23: ksh-20130214-fixkill.patch
|
|
|
503c26 |
|
|
|
503c26 |
# for ksh <= 2013-05-31, rhbz#960034
|
|
|
503c26 |
Patch24: ksh-20120801-kshmfix.patch
|
|
|
503c26 |
|
|
|
503c26 |
# for ksh <= 2016-06-28, rhbz#921455
|
|
|
503c26 |
Patch25: ksh-20120801-memlik.patch
|
|
|
503c26 |
|
|
|
503c26 |
# for ksh <= 2013-03-20, rhbz#922851
|
|
|
503c26 |
Patch26: ksh-20120801-forkbomb.patch
|
|
|
503c26 |
|
|
|
503c26 |
# for ksh <= 2013-04-19, rhbz#913110
|
|
|
503c26 |
Patch27: ksh-20120801-macro.patch
|
|
|
503c26 |
|
|
|
503c26 |
# not completely upstream yet, rhbz#858263
|
|
|
503c26 |
Patch29: ksh-20130628-longer.patch
|
|
|
503c26 |
|
|
|
503c26 |
# fix regression test suite to be usable during packagebuild - Fedora/RHEL specific
|
|
|
503c26 |
Patch99: ksh-20100826-fixregr.patch
|
|
|
503c26 |
|
|
|
503c26 |
# for ksh <= 2013-07-19, rhbz#982142
|
|
|
503c26 |
Patch30: ksh-20120801-mlikfiks.patch
|
|
|
503c26 |
|
|
|
503c26 |
# not yet upstream, related to 2012-08-01 rebase
|
|
|
503c26 |
Patch31: ksh-20120801-covsfix.patch
|
|
|
f38fd1 |
|
|
|
f38fd1 |
# rhbz#1007816
|
|
|
f38fd1 |
Patch32: ksh-20100621-manfix3.patch
|
|
|
f38fd1 |
|
|
|
f38fd1 |
# rhbz#1016611
|
|
|
f38fd1 |
Patch33: ksh-20120801-nomulti.patch
|
|
|
f38fd1 |
|
|
|
f38fd1 |
# for ksh <= 2014-01-14, rhbz#
|
|
|
f38fd1 |
Patch34: ksh-20120801-mtty.patch
|
|
|
f38fd1 |
|
|
|
f38fd1 |
# from upstream, rbzh#1048272
|
|
|
f38fd1 |
Patch35: ksh-20120801-fd2lost.patch
|
|
|
f38fd1 |
|
|
|
f38fd1 |
# sent upstream 2014-01, rhbz#1047507
|
|
|
f38fd1 |
Patch36: ksh-20120801-argvfix.patch
|
|
|
f38fd1 |
|
|
|
f38fd1 |
# for ksh <= 2014-01-14, rhbz#1048995
|
|
|
f38fd1 |
Patch37: ksh-20120801-memlik3.patch
|
|
|
f38fd1 |
|
|
|
f38fd1 |
# for ksh <= 2013-04-09, rhbz#960371
|
|
|
f38fd1 |
Patch38: ksh-20120801-lexfix.patch
|
|
|
f38fd1 |
|
|
|
f38fd1 |
# not yet upstream, for ksh <= 2014-02-26, rhbz#1070328
|
|
|
f38fd1 |
Patch39: ksh-20120801-filecomsubst.patch
|
|
|
503c26 |
|
|
|
5a79ad |
# for ksh <= 2014-06-25, rhbz#825520,rhbz#1084406
|
|
|
5a79ad |
Patch40: ksh-20120801-crash.patch
|
|
|
5a79ad |
|
|
|
5a79ad |
# for ksh < 2013-03-19, rhbz#1085385
|
|
|
5a79ad |
Patch41: ksh-20120801-sufix.patch
|
|
|
5a79ad |
|
|
|
5a79ad |
# sent upstream, rhbz#1099935
|
|
|
5a79ad |
Patch42: ksh-20140301-fikspand.patch
|
|
|
5a79ad |
|
|
|
5a79ad |
# for ksh < 2014-04-15, rhbz#1070871
|
|
|
5a79ad |
Patch43: ksh-20120801-roundit.patch
|
|
|
5a79ad |
|
|
|
5a79ad |
# for ksh < 2014-04-15, rhbz#1111120
|
|
|
5a79ad |
Patch44: ksh-20120801-heresub.patch
|
|
|
5a79ad |
|
|
|
5a79ad |
# not included upstream yet, rhbz#1077090
|
|
|
5a79ad |
Patch45: ksh-20140415-hokaido.patch
|
|
|
5a79ad |
|
|
|
5a79ad |
# for ksh < 2012-10-04, rhbz#1121960
|
|
|
5a79ad |
Patch46: ksh-20120801-tpstl.patch
|
|
|
5a79ad |
|
|
|
5a79ad |
# sent upstream, rhbz#1100215
|
|
|
5a79ad |
Patch47: ksh-20120801-manfix4.patch
|
|
|
5a79ad |
|
|
|
5a79ad |
# not upstream yet, rhbz#1100215
|
|
|
5a79ad |
Patch48: ksh-20120801-fununset.patch
|
|
|
5a79ad |
|
|
|
5a79ad |
# for ksh < 2014-06-25, rhbz#1109893
|
|
|
5a79ad |
Patch49: ksh-20120801-cdfix3.patch
|
|
|
5a79ad |
|
|
|
5a79ad |
# sent upstream, rhbz#1116506
|
|
|
5a79ad |
Patch50: ksh-20120801-locking.patch
|
|
|
5a79ad |
|
|
|
5a79ad |
# for ksh <= 2013-06-13, rhbz#1133585
|
|
|
5a79ad |
Patch51: ksh-20130613-cdfix4.patch
|
|
|
5a79ad |
|
|
|
5a79ad |
Patch52: ksh-20120801-retfix.patch
|
|
|
5a79ad |
|
|
|
5a79ad |
# sent upstream, for ksh <= 2014-09-30
|
|
|
5a79ad |
Patch53: ksh-20120801-cdfork.patch
|
|
|
5a79ad |
|
|
|
b6c01b |
# not upstream yet, for ksh <= 2015-04-03, rhbz#1200534
|
|
|
b6c01b |
Patch54: ksh-20140801-arraylen.patch
|
|
|
b6c01b |
|
|
|
e096b8 |
# sent upstream, for ksh <= 2014-09-29, rhbz#1212993
|
|
|
e096b8 |
Patch55: ksh-20140801-diskfull.patch
|
|
|
e096b8 |
|
|
|
0c842d |
# not upstream yet, rhbz#1192026
|
|
|
0c842d |
Patch56: ksh-20120801-xufix.patch
|
|
|
0c842d |
|
|
|
0c842d |
# sent upstream, for ksh <= 2014-12-18, rhbz#1192119
|
|
|
0c842d |
Patch58: ksh-20120801-alarmifs.patch
|
|
|
0c842d |
|
|
|
0c842d |
# not yet upstream, rhbz#1202439
|
|
|
0c842d |
Patch59: ksh-20140929-safefd.patch
|
|
|
0c842d |
|
|
|
0c842d |
# workaround, for ksh < 2013-05-24, rhbz#1211540
|
|
|
0c842d |
Patch60: ksh-20120801-trapcom.patch
|
|
|
0c842d |
|
|
|
0c842d |
# not yet upstream, rhbz#1217237
|
|
|
0c842d |
Patch64: ksh-20120801-nohupfork.patch
|
|
|
0c842d |
|
|
|
0c842d |
# from upstream, for ksh <= 20130409, rhbz#1241014
|
|
|
0c842d |
Patch65: ksh-20120801-parserfix.patch
|
|
|
0c842d |
|
|
|
0c842d |
# not upstream yet, rhbz#1211538
|
|
|
0c842d |
Patch66: ksh-20120801-oldenvinit.patch
|
|
|
0c842d |
|
|
|
0c842d |
# from upsteam, for ksh < 2012-10-04, rhbz#1193557
|
|
|
0c842d |
Patch67: ksh-20120801-emptyarrayinit.patch
|
|
|
0c842d |
|
|
|
bd3d17 |
# not upstream yet, rhbz#1371630
|
|
|
bd3d17 |
Patch68: ksh-20120801-typeset.patch
|
|
|
bd3d17 |
|
|
|
bd3d17 |
# not upstream yet, rhbz#1321443
|
|
|
bd3d17 |
Patch69: ksh-20120801-dotdoublefree.patch
|
|
|
bd3d17 |
|
|
|
bd3d17 |
# not upstream yet, rhbz#1405784
|
|
|
bd3d17 |
Patch70: ksh-20120801-subshell-leak.patch
|
|
|
bd3d17 |
|
|
|
bd3d17 |
# rhbz#1189297
|
|
|
bd3d17 |
Patch71: ksh-20120801-assoc-unset-leak.patch
|
|
|
bd3d17 |
|
|
|
bd3d17 |
# rhbz#1222025
|
|
|
bd3d17 |
Patch72: ksh-20120801-unset-param.patch
|
|
|
bd3d17 |
|
|
|
bd3d17 |
# rhbz#1269088
|
|
|
bd3d17 |
Patch73: ksh-20120801-badgcc.patch
|
|
|
bd3d17 |
|
|
|
bd3d17 |
# rhbz#1299484
|
|
|
bd3d17 |
Patch74: ksh-20120801-mb-after-argvar.patch
|
|
|
bd3d17 |
|
|
|
0026a6 |
# rhbz#1438045
|
|
|
0026a6 |
Patch75: ksh-20120801-kia-warning.patch
|
|
|
0026a6 |
|
|
|
0026a6 |
# rhbz#1457990
|
|
|
0026a6 |
Patch76: ksh-20120801-jobwait-sigstop.patch
|
|
|
0026a6 |
|
|
|
59adf7 |
# rhbz#1484937
|
|
|
0026a6 |
Patch77: ksh-20120801-signal-bubbling.patch
|
|
|
59adf7 |
|
|
|
34cce0 |
# rhbz#1506347
|
|
|
34cce0 |
Patch78: ksh-20120801-validate-fd.patch
|
|
|
34cce0 |
|
|
|
34cce0 |
# rhbz#1546749
|
|
|
34cce0 |
Patch79: ksh-20120801-nv_open-memcmp.patch
|
|
|
34cce0 |
|
|
|
fe135e |
# rhbz#1790544
|
|
|
fe135e |
Patch80: ksh-20120801-cve-2019-14868.patch
|
|
|
fe135e |
|
|
|
289888 |
# rhbz#2007364
|
|
|
289888 |
# upstream commit: https://github.com/ksh93/ksh/commit/4604df9ada906e0a6537157a63b6ce7c0509f34d
|
|
|
289888 |
Patch81: ksh-20120801-stack-robustness.patch
|
|
|
289888 |
|
|
|
503c26 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
503c26 |
Conflicts: pdksh
|
|
|
503c26 |
Requires: coreutils, diffutils, chkconfig
|
|
|
503c26 |
# regression test suite uses 'ps' from procps
|
|
|
503c26 |
BuildRequires: procps, bison
|
|
|
503c26 |
Requires(post): grep, coreutils, chkconfig, systemd-units
|
|
|
503c26 |
Requires(preun): grep, coreutils, chkconfig
|
|
|
503c26 |
|
|
|
c32022 |
Provides: /bin/ksh
|
|
|
c32022 |
|
|
|
503c26 |
%description
|
|
|
503c26 |
KSH-93 is the most recent version of the KornShell by David Korn of
|
|
|
503c26 |
AT&T Bell Laboratories.
|
|
|
503c26 |
KornShell is a shell programming language, which is upward compatible
|
|
|
503c26 |
with "sh" (the Bourne Shell).
|
|
|
503c26 |
|
|
|
503c26 |
%prep
|
|
|
503c26 |
%setup -q -c
|
|
|
503c26 |
%setup -q -T -D -a 1
|
|
|
503c26 |
%patch1 -p1 -b .builtins
|
|
|
503c26 |
%patch6 -p1 -b .manfix
|
|
|
503c26 |
%patch17 -p1 -b .pathvar
|
|
|
503c26 |
%patch99 -p1 -b .fixregr
|
|
|
503c26 |
%patch18 -p1 -b .fdstatus
|
|
|
503c26 |
%patch19 -p1 -b .rmdirfix
|
|
|
503c26 |
%patch20 -p1 -b .cdfix
|
|
|
503c26 |
%patch21 -p1 -b .cdfix2
|
|
|
503c26 |
%patch22 -p1 -b .tabfix
|
|
|
503c26 |
%patch23 -p1 -b .fixkill
|
|
|
503c26 |
%patch24 -p1 -b .kshmfix
|
|
|
503c26 |
%patch25 -p1 -b .memlik
|
|
|
503c26 |
%patch26 -p1 -b .forkbomb
|
|
|
503c26 |
%patch27 -p1 -b .macro
|
|
|
503c26 |
%patch29 -p1 -b .longer
|
|
|
503c26 |
%patch30 -p1 -b .mlikfiks
|
|
|
503c26 |
%patch31 -p1 -b .covsfix
|
|
|
f38fd1 |
%patch32 -p1 -b .manfix3
|
|
|
f38fd1 |
%patch33 -p1 -b .nomulti
|
|
|
f38fd1 |
%patch34 -p1 -b .mtty
|
|
|
f38fd1 |
%patch35 -p1 -b .fd2lost
|
|
|
f38fd1 |
%patch36 -p1 -b .argvfix
|
|
|
f38fd1 |
%patch37 -p1 -b .memlik3
|
|
|
f38fd1 |
%patch38 -p1 -b .lexfix
|
|
|
f38fd1 |
%patch39 -p1 -b .filecomsubst
|
|
|
5a79ad |
%patch40 -p1 -b .crash
|
|
|
5a79ad |
%patch41 -p1 -b .sufix
|
|
|
5a79ad |
%patch42 -p1 -b .fikspand
|
|
|
5a79ad |
%patch43 -p1 -b .roundit
|
|
|
5a79ad |
%patch44 -p1 -b .heresub
|
|
|
5a79ad |
%patch45 -p1 -b .hokaido
|
|
|
5a79ad |
%patch46 -p1 -b .tpstl
|
|
|
5a79ad |
%patch47 -p1 -b .manfix4
|
|
|
5a79ad |
%patch48 -p1 -b .fununset
|
|
|
5a79ad |
%patch49 -p1 -b .cdfix3
|
|
|
5a79ad |
%patch50 -p1 -b .locking
|
|
|
5a79ad |
%patch51 -p1 -b .cdfix4
|
|
|
5a79ad |
%patch52 -p1 -b .retfix
|
|
|
5a79ad |
%patch53 -p1 -b .cdfork
|
|
|
b6c01b |
%patch54 -p1 -b .arraylen
|
|
|
e096b8 |
%patch55 -p1 -b .diskfull
|
|
|
0c842d |
%patch56 -p1 -b .xufix
|
|
|
0c842d |
%patch58 -p1 -b .alarmifs
|
|
|
0c842d |
%patch59 -p1 -b .safefd
|
|
|
0c842d |
%patch60 -p1 -b .trapcom
|
|
|
0c842d |
%patch64 -p1 -b .nohupfork
|
|
|
0c842d |
%patch65 -p1 -b .parserfix
|
|
|
0c842d |
%patch66 -p1 -b .oldenvinit
|
|
|
0c842d |
%patch67 -p1 -b .emptyarrayinit
|
|
|
bd3d17 |
%patch68 -p1 -b .typeset_a
|
|
|
bd3d17 |
%patch69 -p1 -b .dotdoublefree
|
|
|
bd3d17 |
%patch70 -p1 -b .subshell-leak
|
|
|
bd3d17 |
%patch71 -p1 -b .assoc-unset-leak
|
|
|
bd3d17 |
%patch72 -p1 -b .unset-param
|
|
|
bd3d17 |
%patch73 -p1 -b .badgcc
|
|
|
bd3d17 |
%patch74 -p1 -b .mb-after-argvar
|
|
|
0026a6 |
%patch75 -p1 -b .kia-warning
|
|
|
0026a6 |
%patch76 -p1 -b .jobwait-sigstop
|
|
|
0026a6 |
%patch77 -p1 -b .signal-bubbling
|
|
|
34cce0 |
%patch78 -p1 -b .validate-fd
|
|
|
34cce0 |
%patch79 -p1 -b .nv_open-memcmp
|
|
|
fe135e |
%patch80 -p1 -b .cve-2019-14868
|
|
|
289888 |
%patch81 -p1 -b .stack-robustness
|
|
|
503c26 |
|
|
|
503c26 |
#/dev/fd test does not work because of mock
|
|
|
503c26 |
sed -i 's|ls /dev/fd|ls /proc/self/fd|' src/cmd/ksh93/features/options
|
|
|
503c26 |
|
|
|
503c26 |
# sh/main.c was not using CCFLAGS
|
|
|
503c26 |
sed -i '/-c sh\/main.c/s|${mam_cc_FLAGS} |${mam_cc_FLAGS} ${CCFLAGS} |p' src/cmd/ksh93/Mamfile
|
|
|
503c26 |
|
|
|
503c26 |
%build
|
|
|
503c26 |
XTRAFLAGS=""
|
|
|
0c842d |
for f in -Wno-unknown-pragmas -Wno-missing-braces -Wno-unused-result -Wno-return-type -Wno-int-to-pointer-cast -Wno-parentheses -Wno-unused -Wno-unused-but-set-variable -Wno-cpp
|
|
|
503c26 |
do
|
|
|
503c26 |
gcc $f -E - </dev/null >/dev/null 2>&1 && XTRAFLAGS="$XTRAFLAGS $f"
|
|
|
503c26 |
done
|
|
|
503c26 |
./bin/package
|
|
|
503c26 |
./bin/package make mamake ||:
|
|
|
503c26 |
./bin/package make mamake ||:
|
|
|
503c26 |
export CCFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing $XTRAFLAGS -DSHOPT_AUDIT"
|
|
|
503c26 |
export CC=gcc
|
|
|
5a79ad |
./bin/package make -S
|
|
|
503c26 |
|
|
|
503c26 |
|
|
|
503c26 |
%install
|
|
|
503c26 |
rm -rf $RPM_BUILD_ROOT
|
|
|
503c26 |
mkdir -p $RPM_BUILD_ROOT{/bin,%{_bindir},%{_mandir}/man1}
|
|
|
503c26 |
install -c -m 755 arch/*/bin/ksh $RPM_BUILD_ROOT/bin/ksh93
|
|
|
503c26 |
install -c -m 755 arch/*/bin/shcomp $RPM_BUILD_ROOT%{_bindir}/shcomp
|
|
|
503c26 |
install -c -m 644 arch/*/man/man1/sh.1 $RPM_BUILD_ROOT%{_mandir}/man1/ksh93.1
|
|
|
503c26 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/skel
|
|
|
503c26 |
install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/skel/.kshrc
|
|
|
503c26 |
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/kshrc
|
|
|
503c26 |
install -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/binfmt.d/kshcomp.conf
|
|
|
503c26 |
|
|
|
5a79ad |
ln -s /bin/ksh93 $RPM_BUILD_ROOT/bin/rksh
|
|
|
5a79ad |
|
|
|
503c26 |
#fool rpmbuild about %ghost files
|
|
|
503c26 |
touch $RPM_BUILD_ROOT/bin/ksh
|
|
|
503c26 |
touch $RPM_BUILD_ROOT%{_mandir}/man1/ksh.1.gz
|
|
|
503c26 |
|
|
|
503c26 |
%check
|
|
|
503c26 |
[ -f ./skipcheck -o -f ./../skipcheck ] && exit 0 ||:
|
|
|
503c26 |
%if 0%{?rhel} > 6
|
|
|
503c26 |
%ifarch s390
|
|
|
503c26 |
exit 0
|
|
|
503c26 |
%endif
|
|
|
503c26 |
%endif
|
|
|
503c26 |
|
|
|
503c26 |
export SHELL=$(ls $(pwd)/arch/*/bin/ksh)
|
|
|
503c26 |
cd src/cmd/ksh93/tests/
|
|
|
503c26 |
ulimit -c unlimited
|
|
|
503c26 |
if [ ! -e /dev/fd ]
|
|
|
503c26 |
then
|
|
|
503c26 |
echo "ERROR: /dev/fd does not exist, regression tests skipped"
|
|
|
503c26 |
exit 0
|
|
|
503c26 |
fi
|
|
|
503c26 |
$SHELL ./shtests 2>&1 | tee testresults.log
|
|
|
503c26 |
ls core.* 2>/dev/null ||:
|
|
|
503c26 |
exit 0
|
|
|
503c26 |
|
|
|
503c26 |
%post
|
|
|
5a79ad |
for s in /bin/ksh /bin/rksh
|
|
|
5a79ad |
do
|
|
|
5a79ad |
if [ ! -f /etc/shells ]; then
|
|
|
5a79ad |
echo "$s" > /etc/shells
|
|
|
5a79ad |
else
|
|
|
5a79ad |
if ! grep -q '^'"$s"'$' /etc/shells ; then
|
|
|
5a79ad |
echo "$s" >> /etc/shells
|
|
|
503c26 |
fi
|
|
|
5a79ad |
fi
|
|
|
5a79ad |
done
|
|
|
503c26 |
|
|
|
503c26 |
/bin/systemctl try-restart systemd-binfmt.service >/dev/null 2>&1 || :
|
|
|
503c26 |
%{_sbindir}/alternatives --install /bin/ksh ksh \
|
|
|
503c26 |
/bin/ksh93 50 \
|
|
|
503c26 |
--slave %{_mandir}/man1/ksh.1.gz ksh-man \
|
|
|
503c26 |
%{_mandir}/man1/ksh93.1.gz
|
|
|
503c26 |
|
|
|
503c26 |
#if not symlink we are updating ksh where there was no alternatives before
|
|
|
503c26 |
#so replace with symlink and set alternatives
|
|
|
503c26 |
if [ ! -L /bin/ksh ]; then
|
|
|
503c26 |
%{_sbindir}/alternatives --auto ksh
|
|
|
503c26 |
ln -sf /etc/alternatives/ksh /bin/ksh
|
|
|
503c26 |
ln -sf /etc/alternatives/ksh-man %{_mandir}/man1/ksh.1.gz
|
|
|
503c26 |
fi
|
|
|
503c26 |
|
|
|
503c26 |
|
|
|
503c26 |
%preun
|
|
|
503c26 |
if [ $1 = 0 ]; then
|
|
|
503c26 |
%{_sbindir}/alternatives --remove ksh /bin/ksh93
|
|
|
503c26 |
fi
|
|
|
503c26 |
|
|
|
503c26 |
%postun
|
|
|
5a79ad |
for s in /bin/ksh /bin/rksh
|
|
|
5a79ad |
do
|
|
|
5a79ad |
if [ ! -f $s ]; then
|
|
|
5a79ad |
sed -i '\|^'"$s"'$|d' /etc/shells
|
|
|
5a79ad |
fi
|
|
|
5a79ad |
done
|
|
|
503c26 |
|
|
|
503c26 |
%verifyscript
|
|
|
503c26 |
echo -n "Looking for ksh in /etc/shells... "
|
|
|
503c26 |
if ! grep '^/bin/ksh$' /etc/shells > /dev/null; then
|
|
|
503c26 |
echo "missing"
|
|
|
503c26 |
echo "ksh missing from /etc/shells" >&2
|
|
|
503c26 |
else
|
|
|
503c26 |
echo "found"
|
|
|
503c26 |
fi
|
|
|
503c26 |
|
|
|
503c26 |
%files
|
|
|
503c26 |
%defattr(-, root, root,-)
|
|
|
503c26 |
%doc src/cmd/ksh93/COMPATIBILITY src/cmd/ksh93/RELEASE src/cmd/ksh93/TYPES
|
|
|
503c26 |
# LICENSE file is missing, temporarily?
|
|
|
503c26 |
/bin/ksh93
|
|
|
5a79ad |
/bin/rksh
|
|
|
503c26 |
%ghost /bin/ksh
|
|
|
503c26 |
/usr/bin/shcomp
|
|
|
503c26 |
%{_mandir}/man1/ksh93.1.gz
|
|
|
503c26 |
%ghost %{_mandir}/man1/ksh.1.gz
|
|
|
503c26 |
%config(noreplace) %{_sysconfdir}/skel/.kshrc
|
|
|
503c26 |
%config(noreplace) %{_sysconfdir}/kshrc
|
|
|
503c26 |
%config(noreplace) %{_sysconfdir}/binfmt.d/kshcomp.conf
|
|
|
503c26 |
|
|
|
503c26 |
%clean
|
|
|
503c26 |
rm -rf $RPM_BUILD_ROOT
|
|
|
503c26 |
|
|
|
503c26 |
%changelog
|
|
|
289888 |
* Fri Oct 01 2021 Vincent Mihalkovic <vmihalko@redhat.com> - 20120801-143
|
|
|
289888 |
- Stack robustness fixes
|
|
|
289888 |
Related: #2007364
|
|
|
289888 |
|
|
|
c32022 |
* Mon Feb 17 2020 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-142
|
|
|
c32022 |
- Bump version number
|
|
|
c32022 |
Related: #1790544
|
|
|
c32022 |
|
|
|
c32022 |
* Tue Jan 28 2020 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-141
|
|
|
fe135e |
- Do not evaluate arithmetic expressions from environment variables at startup
|
|
|
c32022 |
Resolves: #1790544
|
|
|
c32022 |
|
|
|
c32022 |
* Wed Aug 14 2019 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-140
|
|
|
c32022 |
- Add virtual provides for /bin/ksh
|
|
|
c32022 |
Resolves: #1690042
|
|
|
fe135e |
|
|
|
34cce0 |
* Mon May 28 2018 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-139
|
|
|
34cce0 |
- Fix a crash caused by memcmp()
|
|
|
34cce0 |
Resolves: #1546749
|
|
|
34cce0 |
|
|
|
34cce0 |
* Tue May 22 2018 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-138
|
|
|
34cce0 |
- Fix a crash due to out of bounds write
|
|
|
34cce0 |
Resolves: #1506347
|
|
|
34cce0 |
|
|
|
0026a6 |
* Fri Feb 16 2018 Kamil Dudka <kdudka@redhat.com> - 20120801-137
|
|
|
0026a6 |
- Increase the release number by 100 to make sure it stays higher than in RHEL-6
|
|
|
0026a6 |
Related: #1484937
|
|
|
0026a6 |
|
|
|
0026a6 |
* Wed Jan 24 2018 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-37
|
|
|
59adf7 |
- Add configuration option to enable signal bubbling for backward compatibility
|
|
|
59adf7 |
Resolves: #1484937
|
|
|
59adf7 |
|
|
|
0026a6 |
* Mon Sep 25 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-36
|
|
|
0026a6 |
- Fix setting terminal foreground process group while resuming process
|
|
|
0026a6 |
Resolves: #1457990
|
|
|
0026a6 |
|
|
|
0026a6 |
* Mon Sep 25 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-35
|
|
|
0026a6 |
- Fix warning while creating kia file
|
|
|
0026a6 |
Resolves: #1438045
|
|
|
0026a6 |
|
|
|
bd3d17 |
* Fri Feb 10 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-34
|
|
|
bd3d17 |
- Multibyte character string after $1-9 was not expanded correctly
|
|
|
bd3d17 |
Resolves: #1299484
|
|
|
bd3d17 |
|
|
|
bd3d17 |
* Fri Feb 10 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-33
|
|
|
bd3d17 |
- Prevent null-test optimization in strdup
|
|
|
bd3d17 |
Resolves: #1269088
|
|
|
bd3d17 |
|
|
|
bd3d17 |
* Fri Feb 10 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-32
|
|
|
bd3d17 |
- Treat unset parameters as error
|
|
|
bd3d17 |
Resolves: #1222025
|
|
|
bd3d17 |
|
|
|
bd3d17 |
* Fri Feb 10 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-31
|
|
|
bd3d17 |
- Fix a memory leak on unset of associative array
|
|
|
bd3d17 |
Resolves: #1189297
|
|
|
bd3d17 |
|
|
|
bd3d17 |
* Fri Feb 10 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-30
|
|
|
bd3d17 |
- Fix a memory leak in subshell when PATH is set
|
|
|
bd3d17 |
Resolves: #1405784
|
|
|
bd3d17 |
|
|
|
bd3d17 |
* Fri Feb 10 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-29
|
|
|
bd3d17 |
- Fix a crash during clean up after sourcing multiple files
|
|
|
bd3d17 |
Resolves: #1321443
|
|
|
bd3d17 |
|
|
|
bd3d17 |
* Fri Feb 10 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-28
|
|
|
bd3d17 |
- Fix a bug in memory allocation while listing indexed arrays with typeset
|
|
|
bd3d17 |
Resolves: #1371630
|
|
|
bd3d17 |
|
|
|
bd3d17 |
* Fri Feb 10 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-27
|
|
|
bd3d17 |
- bump release
|
|
|
bd3d17 |
Resolves: #1391931
|
|
|
bd3d17 |
|
|
|
0c842d |
* Tue Apr 26 2016 Michal Hlavinka <mhlavink@redhat.com> - 20120801-26
|
|
|
0c842d |
- closing a file descriptor in a command substitution caused loss of the output (#1202439)
|
|
|
0c842d |
- fix: in a login shell "( cmd & )" does nothing (#1217237)
|
|
|
0c842d |
- exporting fixed with variable corrupted its data (#1192026)
|
|
|
0c842d |
- fix segfault when handling a trap (#1211540)
|
|
|
0c842d |
- combining alarm and IFS caused segfault (#1192119)
|
|
|
0c842d |
- declaration of a two dimemsional associatve array could add an extra 0 element (#1193557)
|
|
|
0c842d |
- do not inherit invalid variables during shell initializaton (#1211538)
|
|
|
0c842d |
- case in a for loop inside a subshell caused syntax error (#1241014)
|
|
|
0c842d |
|
|
|
0c842d |
* Wed Sep 30 2015 Michal Hlavinka <mhlavink@redhat.com> - 20120801-25
|
|
|
0c842d |
- ksh could hang when executed from removed directory (#1204639)
|
|
|
0c842d |
|
|
|
0c842d |
* Tue Jun 02 2015 Michal Hlavinka <mhlavink@redhat.com> - 20120801-24
|
|
|
0c842d |
- ksh crashed when disk was full (#1212993)
|
|
|
0c842d |
|
|
|
0c842d |
* Tue Apr 07 2015 Michal Hlavinka <mhlavink@redhat.com> - 20120801-23
|
|
|
0c842d |
- using trap DEBUG could cause segmentation fault (#1209383)
|
|
|
b6c01b |
|
|
|
5a79ad |
* Mon Nov 24 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-22
|
|
|
5a79ad |
- fix postun scriptlet (#1146161)
|
|
|
5a79ad |
|
|
|
5a79ad |
* Tue Sep 30 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-21
|
|
|
5a79ad |
- include symlink for restricted shell (#1146161)
|
|
|
5a79ad |
- ksh hangs when command substitution containing pipe fills out the pipe buffer (#1138751)
|
|
|
5a79ad |
- current directory could differ from PWD (#1135573)
|
|
|
5a79ad |
- cd builtin could break IO redirection (#1133585)
|
|
|
5a79ad |
- return code from a function could be wrong (#1116507)
|
|
|
5a79ad |
|
|
|
5a79ad |
* Tue Jul 22 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-20
|
|
|
5a79ad |
- fix segfault in job list code (#1084406)
|
|
|
5a79ad |
- do not resend signal on termination (#1085385)
|
|
|
5a79ad |
- fix brace expansion on/off (#1099935)
|
|
|
5a79ad |
- fix incorrect rounding of numsers 0.5 < |x| <1.0 in printf (#1070871)
|
|
|
5a79ad |
- fix parser errors related to the end of the here-document marker (#1111120)
|
|
|
5a79ad |
- ksh hangs when command substitution fills out the pipe buffer (#1077090)
|
|
|
5a79ad |
- using typeset -l with a restricted variabled caused segmentation fault (#1121960)
|
|
|
5a79ad |
- monitor mode was documented incorrectly (#1100215)
|
|
|
5a79ad |
- do not crash when unsetting running function from another one (#1100215)
|
|
|
5a79ad |
- should report an error when trying to cd into directory without execution bit (#1109893)
|
|
|
5a79ad |
- job locking mechanism did not survive compiler optimization (#1116506)
|
|
|
5a79ad |
|
|
|
f38fd1 |
* Wed Feb 26 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-19
|
|
|
f38fd1 |
- reading a file via command substitution did not work when any of stdin,
|
|
|
f38fd1 |
stdout or stderr were closed (#1070328)
|
|
|
f38fd1 |
|
|
|
f38fd1 |
* Tue Feb 11 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-18
|
|
|
f38fd1 |
- fix lexical parser crash (#1062220)
|
|
|
f38fd1 |
|
|
|
f38fd1 |
* Thu Jan 30 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-17
|
|
|
f38fd1 |
- add missing patch and rebuild (#1048995)
|
|
|
f38fd1 |
|
|
|
f38fd1 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 20120801-16
|
|
|
f38fd1 |
- Mass rebuild 2014-01-24
|
|
|
f38fd1 |
|
|
|
f38fd1 |
* Wed Jan 22 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-15
|
|
|
f38fd1 |
- fix argv rewrite (#1047507)
|
|
|
f38fd1 |
- fix memory leak (#1048995)
|
|
|
f38fd1 |
- standard error output could get misdirected (#1048272)
|
|
|
f38fd1 |
|
|
|
f38fd1 |
* Fri Jan 03 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-14
|
|
|
f38fd1 |
- fix interactive mode hangs (#1034909)
|
|
|
f38fd1 |
|
|
|
f38fd1 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 20120801-13
|
|
|
f38fd1 |
- Mass rebuild 2013-12-27
|
|
|
f38fd1 |
|
|
|
f38fd1 |
* Tue Nov 26 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-12
|
|
|
f38fd1 |
- ksh sometimes wrote wrong byte sequence to terminal when vi editing
|
|
|
f38fd1 |
mode was used (#1026360)
|
|
|
f38fd1 |
- fix errors in man page (#1030867)
|
|
|
f38fd1 |
|
|
|
503c26 |
* Wed Oct 30 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-11
|
|
|
503c26 |
- ksh stops on read when monitor mode is enabled (#1023110)
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Jun 12 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-10
|
|
|
503c26 |
- fix memory leak
|
|
|
503c26 |
- monitor mode in scripts wasn't working
|
|
|
503c26 |
|
|
|
503c26 |
* Fri May 24 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-9
|
|
|
503c26 |
- add alternatives switching with mksh
|
|
|
503c26 |
|
|
|
503c26 |
* Thu Mar 07 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-8
|
|
|
503c26 |
- fix another reproducer for tab completion
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Feb 22 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-7
|
|
|
503c26 |
- do not segfault on kill % (#914669)
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Feb 01 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-6
|
|
|
503c26 |
- cd file did not produce any error
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Jan 25 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-5
|
|
|
503c26 |
- ksh could not enter directories with path containing /.something (#889748)
|
|
|
503c26 |
- file name autocomplete prevented following numeric input (#889745)
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Nov 21 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120801-4
|
|
|
503c26 |
- bind Home, End, Delete,... key correctly for emacs mode
|
|
|
503c26 |
- do not crash when executed from deleted directory
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Sep 14 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120801-3
|
|
|
503c26 |
- fix typo in binfmt config file
|
|
|
503c26 |
- register binary format after package installation
|
|
|
503c26 |
|
|
|
503c26 |
* Thu Sep 13 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120801-2
|
|
|
503c26 |
- add support for direct execution of compiled scripts
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Aug 08 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120801-1
|
|
|
503c26 |
- ksh updated to 20120801
|
|
|
503c26 |
|
|
|
503c26 |
* Tue Jul 31 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120727-1
|
|
|
503c26 |
- ksh updated to 2012-07-27
|
|
|
503c26 |
|
|
|
503c26 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120628-2
|
|
|
503c26 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Jul 02 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120628-1
|
|
|
503c26 |
- ksh updated to 20120628
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Jun 27 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120626-1
|
|
|
503c26 |
- ksh updated to 20120626
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Jun 22 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120620-1
|
|
|
503c26 |
- ksh updated to 2012-06-20
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Jun 13 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120612-1
|
|
|
503c26 |
- ksh updated to 20120612
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Jun 04 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120531-1
|
|
|
503c26 |
- ksh updated to 2012-05-31
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Mar 19 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120229-2
|
|
|
503c26 |
- do not hang after return code 12
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Mar 14 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120229-1
|
|
|
503c26 |
- ksh updated to 2012-02-29
|
|
|
503c26 |
|
|
|
503c26 |
* Tue Mar 13 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120214-2
|
|
|
503c26 |
- fix tilda expansion in scripts
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Feb 20 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120214-1
|
|
|
503c26 |
- ksh updated to 20120214
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Feb 06 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120202-1
|
|
|
503c26 |
- ksh updated to 20120202
|
|
|
503c26 |
|
|
|
503c26 |
* Thu Jan 05 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120101-1
|
|
|
503c26 |
- ksh updated to 2012-01-01
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Dec 07 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-9
|
|
|
503c26 |
- do not crash when browsing through history containing comment (#733813)
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Dec 07 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-8
|
|
|
503c26 |
- do not crash when two subseguent dots are used in variable or command name (#733544)
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Dec 05 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-7
|
|
|
503c26 |
- fix: ksh can prematurely exit without crash or any error
|
|
|
503c26 |
- make spec work in epel
|
|
|
503c26 |
|
|
|
503c26 |
* Thu Nov 10 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-6
|
|
|
503c26 |
- add files to %%doc
|
|
|
503c26 |
|
|
|
503c26 |
* Thu Oct 06 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-5
|
|
|
503c26 |
- ksh sometimes returns wrong exit code when pid numbers are being recycled
|
|
|
503c26 |
|
|
|
503c26 |
* Tue Oct 04 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-4
|
|
|
503c26 |
- restore tty settings after timed out read (#572291)
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Aug 12 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-3
|
|
|
503c26 |
- do not crash when killing last bg job when there is not any
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Aug 03 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-2
|
|
|
503c26 |
- fix: IFS manipulation in a function can cause crash
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Jul 01 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-1
|
|
|
503c26 |
- ksh updated to 2011-06-30
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Jun 08 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110505-2
|
|
|
503c26 |
- fix: resume of suspended process using pipes does not work (#708909)
|
|
|
503c26 |
|
|
|
503c26 |
* Mon May 09 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110505-1
|
|
|
503c26 |
- ksh updated to 2011-05-05
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Apr 29 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110428-1
|
|
|
503c26 |
- ksh updated to 2011-04-28
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Apr 18 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110415-1
|
|
|
503c26 |
- ksh updated to 2011-04-15
|
|
|
503c26 |
|
|
|
503c26 |
* Tue Mar 29 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110208-3
|
|
|
503c26 |
- fix array definition being treated as fixed array
|
|
|
503c26 |
- fix suspend crashing ksh
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Mar 07 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110208-2
|
|
|
503c26 |
- fix ( ) compound list altering environment
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Feb 09 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110208-1
|
|
|
503c26 |
- ksh updated to 2011-02-08
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20110202-2
|
|
|
503c26 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Feb 04 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110202-1
|
|
|
503c26 |
- ksh updated to 2011-02-02
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Feb 02 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110131-1
|
|
|
503c26 |
- ksh updated to 2011-01-31
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Jan 28 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110127-1
|
|
|
503c26 |
- ksh updated to 2011-01-27
|
|
|
503c26 |
|
|
|
503c26 |
* Thu Jan 20 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110118-1
|
|
|
503c26 |
- ksh updated to 2011-01-18
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Jan 17 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110104-1
|
|
|
503c26 |
- ksh updated to 2011-01-04
|
|
|
503c26 |
|
|
|
503c26 |
* Thu Dec 23 2010 Michal Hlavinka <mhlavink@redhat.com> - 20101212-2.20101122
|
|
|
503c26 |
- found ugly regression, reverting to 2010-11-22 (with io race patch) for now
|
|
|
503c26 |
|
|
|
503c26 |
* Thu Dec 16 2010 Michal Hlavinka <mhlavink@redhat.com> - 20101212-1
|
|
|
503c26 |
- ksh updated to 2010-12-12
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Dec 06 2010 Michal Hlavinka <mhlavink@redhat.com> - 20101201-2
|
|
|
503c26 |
- fix file io race condition when file was created, but still does not exist
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Dec 03 2010 Michal Hlavinka <mhlavink@redhat.com> - 20101201-1
|
|
|
503c26 |
- ksh updated to 2010-12-01
|
|
|
503c26 |
|
|
|
503c26 |
* Tue Nov 23 2010 Michal Hlavinka <mhlavink@redhat.com> - 20101122-1
|
|
|
503c26 |
- ksh updated to 2010-11-22
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Nov 01 2010 Michal Hlavinka <mhlavink@redhat.com> - 20101026-1
|
|
|
503c26 |
- ksh updated to 2010-10-26
|
|
|
503c26 |
|
|
|
503c26 |
* Tue Oct 12 2010 Michal Hlavinka <mhlavink@redhat.com> - 20101010-1
|
|
|
503c26 |
- ksh updated to 2010-10-10
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Oct 08 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100924-2
|
|
|
503c26 |
- disable only known to be broken builtins, let other enabled
|
|
|
503c26 |
- skip regression tests if /dev/fd is missing
|
|
|
503c26 |
|
|
|
503c26 |
* Tue Sep 28 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100924-1
|
|
|
503c26 |
- ksh updated to 2010-09-24
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Aug 30 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100826-1
|
|
|
503c26 |
- ksh updated to 2010-08-26
|
|
|
503c26 |
- make regression test suite usable during package build
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Aug 13 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100811-1
|
|
|
503c26 |
- ksh updated to 2010-08-11
|
|
|
503c26 |
|
|
|
503c26 |
* Thu Jul 08 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100701-1
|
|
|
503c26 |
- updated to 2010-07-01
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Jun 25 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100621-1
|
|
|
503c26 |
- updated to 2010-06-21
|
|
|
503c26 |
|
|
|
503c26 |
* Tue Jun 15 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100527-2
|
|
|
503c26 |
- add shcomp for shell compiling
|
|
|
503c26 |
|
|
|
503c26 |
* Thu Jun 10 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100527-1
|
|
|
503c26 |
- updated to 2010-05-27
|
|
|
503c26 |
|
|
|
503c26 |
* Mon May 31 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100309-6
|
|
|
503c26 |
- add pathmunge to /etc/kshrc
|
|
|
503c26 |
|
|
|
503c26 |
* Wed May 05 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100309-5
|
|
|
503c26 |
- fix rare cd builtin crash (#578582)
|
|
|
503c26 |
|
|
|
503c26 |
* Wed May 05 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100309-4
|
|
|
503c26 |
- fix infinite loop when whence builtin is used with -q option (#587127)
|
|
|
503c26 |
- fix stdin for double command substitution (#584007)
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Mar 29 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100309-3
|
|
|
503c26 |
- fix typo in last patch
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Mar 26 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100309-2
|
|
|
503c26 |
- restore tty settings after timed out read for utf-8 locale
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Mar 10 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100309-1
|
|
|
503c26 |
- updated to 2010-03-09
|
|
|
503c26 |
- fix mock building - detection of /dev/fd/X
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Jan 04 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100202-1
|
|
|
503c26 |
- updated to 2010-02-02
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Jan 04 2010 Michal Hlavinka <mhlavink@redhat.com> - 20091224-1
|
|
|
503c26 |
- updated to 2009-12-24
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Dec 07 2009 Michal Hlavinka <mhlavink@redhat.com> - 20091206-1
|
|
|
503c26 |
- updated to 2009-12-06
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Dec 04 2009 Michal Hlavinka <mhlavink@redhat.com> - 20091130-1
|
|
|
503c26 |
- updated to 2009-11-30
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Nov 18 2009 Michal Hlavinka <mhlavink@redhat.com> - 20091021-1
|
|
|
503c26 |
- updated to 2009-10-21
|
|
|
503c26 |
|
|
|
503c26 |
* Thu Aug 27 2009 Michal Hlavinka <mhlavink@redhat.com> - 20090630-1
|
|
|
503c26 |
- updated to 2009-06-30
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090505-2
|
|
|
503c26 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
503c26 |
|
|
|
503c26 |
* Mon May 11 2009 Michal Hlavinka <mhalvink@redhat.com> - 20090505-1
|
|
|
503c26 |
- updated to 2009-05-05
|
|
|
503c26 |
|
|
|
503c26 |
* Tue May 05 2009 Michal Hlavinka <mhalvink@redhat.com> - 20090501-1
|
|
|
503c26 |
- updated to 2009-05-01
|
|
|
503c26 |
|
|
|
503c26 |
* Tue Mar 10 2009 Michal Hlavinka <mhlavink@redhat.com> - 20081104-3
|
|
|
503c26 |
- fix typos in spec file
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20081104-2
|
|
|
503c26 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Jan 21 2009 Michal Hlavinka <mhlavink@redhat.com> 20081104-1
|
|
|
503c26 |
- update to 2008-11-04
|
|
|
503c26 |
- ast-ksh-locales are not useable remove them
|
|
|
503c26 |
|
|
|
503c26 |
* Tue Oct 21 2008 Michal Hlavinka <mhlavink@redhat.com> 20080725-4
|
|
|
503c26 |
- fix #467025 - Ksh fails to initialise environment when login from graphic console
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Aug 06 2008 Tomas Smetana <tsmetana@redhat.com> 20080725-3
|
|
|
503c26 |
- fix BuildRequires, rebuild
|
|
|
503c26 |
|
|
|
503c26 |
* Tue Aug 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 20080725-2
|
|
|
503c26 |
- fix license tag
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Jul 28 2008 Tomas Smetana <tsmetana@redhat.com> 20080725-1
|
|
|
503c26 |
- new upstream version
|
|
|
503c26 |
|
|
|
503c26 |
* Thu Jun 26 2008 Tomas Smetana <tsmetana@redhat.com> 20080624-1
|
|
|
503c26 |
- new upstream version
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Feb 11 2008 Tomas Smetana <tsmetana@redhat.com> 20080202-1
|
|
|
503c26 |
- new upstream version
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Jan 30 2008 Tomas Smetana <tsmetana@redhat.com> 20071105-3
|
|
|
503c26 |
- fix #430602 - ksh segfaults after unsetting OPTIND
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Jan 07 2008 Tomas Smetana <tsmetana@redhat.com> 20071105-2
|
|
|
503c26 |
- fix #405381 - ksh will not handle $(xxx) when typeset -r IFS
|
|
|
503c26 |
- fix #386501 - bad group in spec file
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Nov 07 2007 Tomas Smetana <tsmetana@redhat.com> 20071105-1
|
|
|
503c26 |
- new upstream version
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Aug 22 2007 Tomas Smetana <tsmetana@redhat.com> 20070628-1.1
|
|
|
503c26 |
- rebuild
|
|
|
503c26 |
|
|
|
503c26 |
* Thu Jul 12 2007 Tomas Smetana <tsmetana@redhat.com> 20070628-1
|
|
|
503c26 |
- new upstream version
|
|
|
503c26 |
- fix unaligned access messages (Related: #219420)
|
|
|
503c26 |
|
|
|
503c26 |
* Tue May 22 2007 Tomas Smetana <tsmetana@redhat.com> 20070328-2
|
|
|
503c26 |
- fix wrong exit status of spawned process after SIGSTOP
|
|
|
503c26 |
- fix building of debuginfo package, add %%{?dist} to release
|
|
|
503c26 |
- fix handling of SIGTTOU in non-interactive shell
|
|
|
503c26 |
- remove useless builtins
|
|
|
503c26 |
|
|
|
503c26 |
* Thu Apr 19 2007 Tomas Smetana <tsmetana@redhat.com> 20070328-1
|
|
|
503c26 |
- new upstream source
|
|
|
503c26 |
- fix login shell invocation (#182397)
|
|
|
503c26 |
- fix memory leak
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Feb 21 2007 Karsten Hopp <karsten@redhat.com> 20070111-1
|
|
|
503c26 |
- new upstream version
|
|
|
503c26 |
- fix invalid write in uname function
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 20060214-1.1
|
|
|
503c26 |
- rebuild
|
|
|
503c26 |
|
|
|
503c26 |
* Thu Jun 01 2006 Karsten Hopp <karsten@redhat.de> 20060214-1
|
|
|
503c26 |
- new upstream source
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Feb 27 2006 Karsten Hopp <karsten@redhat.de> 20060124-3
|
|
|
503c26 |
- PreReq grep, coreutils (#182835)
|
|
|
503c26 |
|
|
|
503c26 |
* Tue Feb 14 2006 Karsten Hopp <karsten@redhat.de> 20060124-2
|
|
|
503c26 |
- make it build in chroots (#180561)
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Feb 13 2006 Karsten Hopp <karsten@redhat.de> 20060124-1
|
|
|
503c26 |
- version 20060124
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 20050202-5.1
|
|
|
503c26 |
- bump again for double-long bug on ppc(64)
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Feb 10 2006 Karsten Hopp <karsten@redhat.de> 20050202-5
|
|
|
503c26 |
- rebuild
|
|
|
503c26 |
|
|
|
503c26 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 20050202-4.1
|
|
|
503c26 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
503c26 |
|
|
|
503c26 |
* Thu Feb 02 2006 Karsten Hopp <karsten@redhat.de> 20050202-4
|
|
|
503c26 |
- fix uname -i output
|
|
|
503c26 |
- fix loop (*-path.patch)
|
|
|
503c26 |
- conflict pdksh instead of obsoleting it
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com> 20050202-3.1
|
|
|
503c26 |
- rebuilt for new gcj
|
|
|
503c26 |
|
|
|
503c26 |
* Tue May 10 2005 Karsten Hopp <karsten@redhat.de> 20050202-3
|
|
|
503c26 |
- enable debuginfo
|
|
|
503c26 |
|
|
|
503c26 |
* Tue Mar 15 2005 Karsten Hopp <karsten@redhat.de> 20050202-2
|
|
|
503c26 |
- add /usr/bin/ksh link for compatibility with pdksh scripts (#151134)
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 20050202-1
|
|
|
503c26 |
- update and rebuild with gcc-4
|
|
|
503c26 |
|
|
|
503c26 |
* Tue Mar 01 2005 Karsten Hopp <karsten@redhat.de> 20041225-2
|
|
|
503c26 |
- fix gcc4 build
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Jan 21 2005 Karsten Hopp <karsten@redhat.de> 20041225-1
|
|
|
503c26 |
- rebuild with new ksh tarball (license change)
|
|
|
503c26 |
|
|
|
503c26 |
* Tue Nov 02 2004 Karsten Hopp <karsten@redhat.de> 20040229-11
|
|
|
503c26 |
- disable ia64 for now
|
|
|
503c26 |
|
|
|
503c26 |
* Fri Oct 15 2004 Karsten Hopp <karsten@redhat.de> 20040229-9
|
|
|
503c26 |
- rebuild
|
|
|
503c26 |
|
|
|
503c26 |
* Thu Sep 02 2004 Nalin Dahyabhai <nalin@redhat.com> 20040229-8
|
|
|
503c26 |
- remove '&' from summary
|
|
|
503c26 |
|
|
|
503c26 |
* Thu Sep 02 2004 Bill Nottingham <notting@redhat.com> 20040229-7
|
|
|
503c26 |
- obsolete pdksh (#131303)
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Aug 02 2004 Karsten Hopp <karsten@redhat.de> 20040229-6
|
|
|
503c26 |
- obsolete ksh93, provide ksh93
|
|
|
503c26 |
|
|
|
503c26 |
* Mon Jul 05 2004 Karsten Hopp <karsten@redhat.de> 20040229-3
|
|
|
503c26 |
- add /bin/ksh to /etc/shells
|
|
|
503c26 |
|
|
|
503c26 |
* Wed Jun 16 2004 Karsten Hopp <karsten@redhat.de> 20040229-2
|
|
|
503c26 |
- add ppc64 patch to avoid ppc64 dot symbol problem
|
|
|
503c26 |
|
|
|
503c26 |
* Fri May 28 2004 Karsten Hopp <karsten@redhat.de> 20040229-1
|
|
|
503c26 |
- initial version
|
|
|
503c26 |
|