Blame SPECS/ksh.spec

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