142f37
%global       verBetaPrefix 1.0.0
142f37
%global       verBetaSuffix 1
142f37
%global       verBetaFull %{verBetaPrefix}-beta.%{verBetaSuffix}
142f37
142f37
Name:         ksh
142f37
Summary:      The Original ATT Korn Shell
142f37
URL:          http://www.kornshell.com/
142f37
License:      EPL-1.0
142f37
Epoch:        3
142f37
Version:      %{verBetaPrefix}~beta.%{verBetaSuffix}
142f37
Release:      2%{?dist}
142f37
Source0:      https://github.com/ksh93/%{name}/archive/v%{verBetaFull}/%{name}-%{verBetaFull}.tar.gz
142f37
Source1:      kshcomp.conf
142f37
Source2:      kshrc.rhs
142f37
Source3:      dotkshrc
142f37
142f37
# temporary commenting out failing tests
142f37
Patch1:       %{name}-%{verBetaFull}-regre-tests.patch
142f37
142f37
Conflicts:    pdksh
142f37
Requires: coreutils, diffutils
142f37
BuildRequires: gcc
142f37
BuildRequires: bison
142f37
# regression test suite uses 'ps' from procps
142f37
BuildRequires: procps
142f37
Requires(post): grep, coreutils, systemd
142f37
Requires(postun): sed
142f37
142f37
Provides: /bin/ksh
142f37
Provides: /bin/rksh
142f37
142f37
%description
142f37
KSH-93 is the most recent version of the KornShell by David Korn of
142f37
AT&T Bell Laboratories.
142f37
KornShell is a shell programming language, which is upward compatible
142f37
with "sh" (the Bourne Shell).
142f37
142f37
%prep
142f37
%autosetup -n %{name}-%{verBetaFull} -p1
142f37
142f37
#/dev/fd test does not work because of mock
142f37
sed -i 's|ls /dev/fd|ls /proc/self/fd|' src/cmd/ksh93/features/options
142f37
142f37
# disable register for debugging
142f37
sed -i 1i"#define register" src/lib/libast/include/ast.h
142f37
142f37
%build
142f37
%set_build_flags
142f37
XTRAFLAGS=""
142f37
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 -Wno-maybe-uninitialized -Wno-lto-type-mismatch -P
142f37
do
142f37
  $CC $f -E - </dev/null >/dev/null 2>&1 && XTRAFLAGS="$XTRAFLAGS $f"
142f37
done
142f37
export CCFLAGS="$RPM_OPT_FLAGS $RPM_LD_FLAGS -fno-strict-aliasing $XTRAFLAGS"
142f37
./bin/package make -S
142f37
142f37
%install
142f37
mkdir -p %{buildroot}{/bin,%{_bindir},%{_mandir}/man1}
142f37
install -p -m 755 arch/*/bin/ksh %{buildroot}%{_bindir}/ksh93
142f37
install -p -m 755 arch/*/bin/shcomp %{buildroot}%{_bindir}/shcomp
142f37
install -p -m 644 arch/*/man/man1/sh.1 %{buildroot}%{_mandir}/man1/ksh93.1
142f37
mkdir -p %{buildroot}%{_sysconfdir}/skel
142f37
install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/skel/.kshrc
142f37
install -p -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/kshrc
142f37
install -p -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/binfmt.d/kshcomp.conf
142f37
142f37
touch %{buildroot}%{_bindir}/ksh
142f37
touch %{buildroot}%{_mandir}/man1/ksh.1.gz
142f37
142f37
touch %{buildroot}%{_bindir}/rksh
142f37
touch %{buildroot}%{_mandir}/man1/rksh.1.gz
142f37
142f37
%check
142f37
./bin/shtests --compile
142f37
142f37
%post
142f37
for s in /bin/ksh /bin/rksh /usr/bin/ksh /usr/bin/rksh
142f37
do
142f37
  if [ ! -f /etc/shells ]; then
142f37
        echo "$s" > /etc/shells
142f37
  else
142f37
        if ! grep -q '^'"$s"'$' /etc/shells ; then
142f37
                echo "$s" >> /etc/shells
142f37
        fi
142f37
  fi
142f37
done
142f37
142f37
%{_sbindir}/alternatives --install %{_bindir}/ksh ksh \
142f37
                %{_bindir}/ksh93 50 \
142f37
        --slave %{_bindir}/rksh rksh \
142f37
                %{_bindir}/ksh93 \
142f37
        --slave %{_mandir}/man1/rksh.1.gz rksh-man \
142f37
                %{_mandir}/man1/ksh93.1.gz \
142f37
        --slave %{_mandir}/man1/ksh.1.gz ksh-man \
142f37
                %{_mandir}/man1/ksh93.1.gz
142f37
142f37
#if not symlink we are updating ksh where there was no alternatives before
142f37
#so replace with symlink and set alternatives
142f37
if [ ! -L %{_bindir}/ksh ]; then
142f37
        %{_sbindir}/alternatives --auto ksh
142f37
        ln -sf /etc/alternatives/ksh %{_bindir}/ksh
142f37
        ln -sf /etc/alternatives/ksh-man %{_mandir}/man1/ksh.1.gz
142f37
fi
142f37
142f37
/bin/systemctl try-restart systemd-binfmt.service >/dev/null 2>&1 || :
142f37
142f37
%postun
142f37
for s in /bin/ksh /bin/rksh /usr/bin/ksh /usr/bin/rksh
142f37
do
142f37
  if [ ! -f $s ]; then
142f37
        sed -i '\|^'"$s"'$|d' /etc/shells
142f37
  fi
142f37
done
142f37
142f37
%preun
142f37
if [ $1 = 0 ]; then
142f37
        %{_sbindir}/alternatives --remove ksh %{_bindir}/ksh93
142f37
fi
142f37
142f37
%verifyscript
142f37
echo -n "Looking for ksh in /etc/shells... "
142f37
if ! grep '^/bin/ksh$' /etc/shells > /dev/null; then
142f37
    echo "missing"
142f37
    echo "ksh missing from /etc/shells" >&2
142f37
else
142f37
    echo "found"
142f37
fi
142f37
142f37
%files
142f37
%doc src/cmd/ksh93/COMPATIBILITY src/cmd/ksh93/RELEASE src/cmd/ksh93/TYPES
142f37
%license LICENSE.md
142f37
%{_bindir}/ksh93
142f37
%ghost %{_bindir}/ksh
142f37
%ghost %{_bindir}/rksh
142f37
%{_bindir}/shcomp
142f37
%{_mandir}/man1/*
142f37
%ghost %{_mandir}/man1/ksh.1.gz
142f37
%ghost %{_mandir}/man1/rksh.1.gz
142f37
%config(noreplace) %{_sysconfdir}/skel/.kshrc
142f37
%config(noreplace) %{_sysconfdir}/kshrc
142f37
%config(noreplace) %{_sysconfdir}/binfmt.d/kshcomp.conf
142f37
142f37
%changelog
142f37
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3:1.0.0~beta.1-2
142f37
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
142f37
  Related: rhbz#1991688
142f37
142f37
* Tue Aug 03 2021 Vincent Mihalkovic <vmihalko@redhat.com> - 3:1.0.0~BETA-1
142f37
- new upstream release
142f37
- remove upstreamed patches
142f37
- update CCFLAGS (https://github.com/ksh93/ksh/commit/98f989afcc7)
142f37
  Resolves: #1986897
142f37
142f37
* Thu Jul 29 2021 Vincent Mihalkovic <vmihalko@redhat.com> - 2:20120801-258
142f37
- Fix license tag
142f37
  Related: #1974805
142f37
142f37
* Wed Jul 28 2021 Vincent Mihalkovic <vmihalko@redhat.com> - 2:20120801-257
142f37
- Fix invalid source URLs
142f37
  Resolves: #1974805
142f37
142f37
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2:20120801-256
142f37
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
142f37
142f37
* Thu Mar 18 2021 Vincent Mihalkovic <vmihalko@redhat.com> - 2:20120801-255
142f37
- fix rksh-man in alternatives
142f37
142f37
* Tue Feb 23 2021 Vincent Mihalkovic <vmihalko@redhat.com> - 2:20120801-254
142f37
- Add alternatives switching for rksh
142f37
  Resolves #1893919
142f37
142f37
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2:20120801-253
142f37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
142f37
142f37
* Fri Jan 22 2021 Vincent Mihalkovic <vmihalko@redhat.com> - 2:20120801-252
142f37
- Use set_build_flags and standard CC variables (commit: c488ab6)
142f37
142f37
* Thu Aug 13 2020 Siteshwar Vashisht <svashisht@redhat.com> - 2:20120801-251
142f37
- Restore ksh to version 20120801
142f37
  Resolves: #1868715
142f37
142f37
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2020.0.0-4
142f37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
142f37
142f37
* Fri Feb 07 2020 Siteshwar Vashisht <svashisht@redhat.com> - 1:2020.0.0-3
142f37
- Do not evaluate arithmetic expressions from environment variables at startup
142f37
  Resolves: #1790549
142f37
142f37
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2020.0.0-2
142f37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
142f37
142f37
* Fri Oct 11 2019 Siteshwar Vashisht <svashisht@redhat.com> - 1:2020.0.0-1
142f37
- Rebase to 2020.0.0
142f37
142f37
* Tue Sep 03 2019 Siteshwar Vashisht <svashisht@redhat.com> - 1:2020.0.0-0.4
142f37
- Rebase to 2020.0.0-beta1
142f37
142f37
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2020.0.0-0.3
142f37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
142f37
142f37
* Wed Apr 24 2019 Siteshwar Vashisht <svashisht@redhat.com> - 1:2020.0.0-0.2
142f37
- Add virtual provider for `/usr/bin/ksh`
142f37
142f37
* Wed Apr 17 2019 Siteshwar Vashisht <svashisht@redhat.com> - 1:2020.0.0-0.1
142f37
- Rebase to 2020.0.0-alpha1
142f37
  Resolves: #1700777
142f37
142f37
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20120801-250
142f37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
142f37
142f37
* Sun Oct 14 2018 Peter Robinson <pbrobinson@fedoraproject.org> 20120801-249
142f37
- chkconfig is no longer needed
142f37
142f37
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20120801-248
142f37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
142f37
142f37
* Mon Jun 04 2018 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-247
142f37
- Fix a crash caused by memcmp()
142f37
  Resolves: #1583226
142f37
142f37
* Mon Mar 12 2018 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-246
142f37
- Enable standard Fedora LDFLAGS
142f37
  Resolves: #1548549
142f37
142f37
* Fri Feb 16 2018 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-245
142f37
- Increase release number by 200 to ensure update path
142f37
142f37
* Mon Feb 12 2018 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-45
142f37
- Fix a crash due to out of bounds write
142f37
  Resolves: #1537053
142f37
142f37
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20120801-44
142f37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
142f37
142f37
* Tue Nov 21 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-43
142f37
- Add virtual provide for /bin/ksh
142f37
  Resolves: #1513096
142f37
142f37
* Mon Aug 28 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-42
142f37
- Fix a memory corruption
142f37
  Resolves: #1464409
142f37
142f37
* Mon Aug 14 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-41
142f37
- Use posix exit code if last command exits due to a signal
142f37
  Resolves: #1471874
142f37
142f37
* Mon Aug 14 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-40
142f37
- Fix condition to fork subshell
142f37
  Resolves: #1462347
142f37
142f37
* Mon Aug 14 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-39
142f37
- Set terminal foreground process group while resuming process
142f37
  Resolves: #1459000
142f37
142f37
* Thu Aug 03 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-38
142f37
- Fix build failures caused by update in glibc
142f37
  Resolves: #1477082
142f37
142f37
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20120801-37
142f37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
142f37
142f37
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20120801-36
142f37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
142f37
142f37
* Mon May 29 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-35
142f37
- Fix memory corruption while parsing functions
142f37
  Resolves: #1451057
142f37
142f37
* Tue Apr 25 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-34
142f37
- Fix parsing of iso8859 characters
142f37
  Resolves: #1417886
142f37
142f37
* Tue Apr 11 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-33
142f37
- Avoid spurrious output in kia file creation
142f37
  Resolves: #1441142
142f37
142f37
* Fri Mar 10 2017 Michal Hlavinka <mhlavink@redhat.com> - 20120801-32
142f37
- add /usr/bin/ksh to /etc/shells (#1381113)
142f37
142f37
* Fri Mar 03 2017 Michal Hlavinka <mhlavink@redhat.com> - 20120801-31
142f37
- use latest set of patches
142f37
142f37
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20120801-30
142f37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
142f37
142f37
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20120801-29
142f37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
142f37
142f37
* Thu Aug 27 2015 Michal Hlavinka <mhlavink@redhat.com> - 20120801-28
142f37
- fix: in a login shell "( cmd & )" does nothing (#1217238)
142f37
142f37
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120801-27
142f37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
142f37
142f37
* Wed May 06 2015 Michal Hlavinka <mhlavink@redhat.com> - 20120801-26
142f37
- do not crash, when disk is full, report an error (#1212994)
142f37
142f37
* Tue Apr 07 2015 Michal Hlavinka <mhlavink@redhat.com> - 20120801-25
142f37
- using trap DEBUG could cause segmentation fault
142f37
142f37
* Mon Mar 30 2015 Michal Hlavinka <mhlavink@redhat.com> - 20120801-24
142f37
- cd builtin could break IO redirection
142f37
- fix segfault when handling a trap
142f37
- exporting fixed with variable corrupted its data
142f37
- and more fixes
142f37
142f37
* Fri Mar 06 2015 Michal Hlavinka <mhlavink@redhat.com> - 20120801-23
142f37
- exporting fixed with variable corrupted its data (#1192027)
142f37
142f37
* Fri Feb 27 2015 Michal Hlavinka <mhlavink@redhat.com> - 20120801-22
142f37
- ksh hangs when command substitution containing a pipe fills out the pipe buffer (#1121204)
142f37
142f37
* Tue Aug 26 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-21
142f37
- cd builtin file descriptor operations messed with IO redirections (#1133586)
142f37
142f37
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120801-20
142f37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
142f37
142f37
* Tue Jul 22 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-19
142f37
- fix segfault in job list code
142f37
- do not resend signal on termination (#1092132)
142f37
- fix brace expansion on/off
142f37
- fix incorrect rounding of numsers 0.5 < |x| <1.0 in printf (#1080940)
142f37
- fix parser errors related to the end of the here-document marker
142f37
- ksh hangs when command substitution fills out the pipe buffer
142f37
- using typeset -l with a restricted variabled caused segmentation fault
142f37
- monitor mode was documented incorrectly
142f37
- do not crash when unsetting running function from another one (#1105139)
142f37
- should report an error when trying to cd into directory without execution bit
142f37
- job locking mechanism did not survive compiler optimization
142f37
- reading a file via command substitution did not work when any of stdin,
142f37
  stdout or stderr were closed (#1070308)
142f37
- fix lexical parser crash
142f37
142f37
* Tue Jun 10 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-18
142f37
- fix FTBFS(#1107070)
142f37
142f37
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120801-17
142f37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
142f37
142f37
* Tue Feb 11 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-16
142f37
- ksh could hang when command substitution printed too much data
142f37
142f37
* Thu Feb 06 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-15
142f37
- fix lexical parser crash (#960371)
142f37
142f37
* Fri Jan 17 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-14
142f37
- fix overflow in subshell loop
142f37
142f37
* Mon Jan 06 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-13
142f37
- fix argv rewrite (#1047508)
142f37
142f37
* Wed Oct 30 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-12
142f37
- ksh stops on read when monitor mode is enabled
142f37
142f37
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120801-11
142f37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
142f37
142f37
* Wed Jun 12 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-10
142f37
- fix memory leak
142f37
142f37
* Mon Jun 10 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-9
142f37
- monitor mode in scripts wasn't working
142f37
142f37
* Thu Mar 07 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-8
142f37
- fix another reproducer for tab completion
142f37
142f37
* Fri Feb 22 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-7
142f37
- do not segfault on kill % (#914669)
142f37
142f37
* Fri Feb 01 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-6
142f37
- cd file did not produce any error
142f37
142f37
* Fri Jan 25 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-5
142f37
- ksh could not enter directories with path containing /.something (#889748)
142f37
- file name autocomplete prevented following numeric input (#889745)
142f37
142f37
* Wed Nov 21 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120801-4
142f37
- bind Home, End, Delete,... key correctly for emacs mode
142f37
- do not crash when executed from deleted directory
142f37
142f37
* Fri Sep 14 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120801-3
142f37
- fix typo in binfmt config file
142f37
- register binary format after package installation
142f37
142f37
* Thu Sep 13 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120801-2
142f37
- add support for direct execution of compiled scripts
142f37
142f37
* Wed Aug 08 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120801-1
142f37
- ksh updated to 20120801
142f37
142f37
* Tue Jul 31 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120727-1
142f37
- ksh updated to 2012-07-27
142f37
142f37
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120628-2
142f37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
142f37
142f37
* Mon Jul 02 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120628-1
142f37
- ksh updated to 20120628
142f37
142f37
* Wed Jun 27 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120626-1
142f37
- ksh updated to 20120626
142f37
142f37
* Fri Jun 22 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120620-1
142f37
- ksh updated to 2012-06-20
142f37
142f37
* Wed Jun 13 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120612-1
142f37
- ksh updated to 20120612
142f37
142f37
* Mon Jun 04 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120531-1
142f37
- ksh updated to 2012-05-31
142f37
142f37
* Mon Mar 19 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120229-2
142f37
- do not hang after return code 12
142f37
142f37
* Wed Mar 14 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120229-1
142f37
- ksh updated to 2012-02-29
142f37
142f37
* Tue Mar 13 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120214-2
142f37
- fix tilda expansion in scripts
142f37
142f37
* Mon Feb 20 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120214-1
142f37
- ksh updated to 20120214
142f37
142f37
* Mon Feb 06 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120202-1
142f37
- ksh updated to 20120202
142f37
142f37
* Thu Jan 05 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120101-1
142f37
- ksh updated to 2012-01-01
142f37
142f37
* Wed Dec 07 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-9
142f37
- do not crash when browsing through history containing comment (#733813)
142f37
142f37
* Wed Dec 07 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-8
142f37
- do not crash when two subseguent dots are used in variable or command name (#733544)
142f37
142f37
* Mon Dec 05 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-7
142f37
- fix: ksh can prematurely exit without crash or any error
142f37
- make spec work in epel
142f37
142f37
* Thu Nov 10 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-6
142f37
- add files to %%doc
142f37
142f37
* Thu Oct 06 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-5
142f37
- ksh sometimes returns wrong exit code when pid numbers are being recycled
142f37
142f37
* Tue Oct 04 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-4
142f37
- restore tty settings after timed out read (#572291)
142f37
142f37
* Fri Aug 12 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-3
142f37
- do not crash when killing last bg job when there is not any
142f37
142f37
* Wed Aug 03 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-2
142f37
- fix: IFS manipulation in a function can cause crash
142f37
142f37
* Fri Jul 01 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-1
142f37
- ksh updated to 2011-06-30
142f37
142f37
* Wed Jun 08 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110505-2
142f37
- fix: resume of suspended process using pipes does not work (#708909)
142f37
142f37
* Mon May 09 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110505-1
142f37
- ksh updated to 2011-05-05
142f37
142f37
* Fri Apr 29 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110428-1
142f37
- ksh updated to 2011-04-28
142f37
142f37
* Mon Apr 18 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110415-1
142f37
- ksh updated to 2011-04-15
142f37
142f37
* Tue Mar 29 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110208-3
142f37
- fix array definition being treated as fixed array
142f37
- fix suspend crashing ksh
142f37
142f37
* Mon Mar 07 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110208-2
142f37
- fix ( ) compound list altering environment
142f37
142f37
* Wed Feb 09 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110208-1
142f37
- ksh updated to 2011-02-08
142f37
142f37
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20110202-2
142f37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
142f37
142f37
* Fri Feb 04 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110202-1
142f37
- ksh updated to 2011-02-02
142f37
142f37
* Wed Feb 02 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110131-1
142f37
- ksh updated to 2011-01-31
142f37
142f37
* Fri Jan 28 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110127-1
142f37
- ksh updated to 2011-01-27
142f37
142f37
* Thu Jan 20 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110118-1
142f37
- ksh updated to 2011-01-18
142f37
142f37
* Mon Jan 17 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110104-1
142f37
- ksh updated to 2011-01-04
142f37
142f37
* Thu Dec 23 2010 Michal Hlavinka <mhlavink@redhat.com> - 20101212-2.20101122
142f37
- found ugly regression, reverting to 2010-11-22 (with io race patch) for now
142f37
142f37
* Thu Dec 16 2010 Michal Hlavinka <mhlavink@redhat.com> - 20101212-1
142f37
- ksh updated to 2010-12-12
142f37
142f37
* Mon Dec 06 2010 Michal Hlavinka <mhlavink@redhat.com> - 20101201-2
142f37
- fix file io race condition when file was created, but still does not exist
142f37
142f37
* Fri Dec 03 2010 Michal Hlavinka <mhlavink@redhat.com> - 20101201-1
142f37
- ksh updated to 2010-12-01
142f37
142f37
* Tue Nov 23 2010 Michal Hlavinka <mhlavink@redhat.com> - 20101122-1
142f37
- ksh updated to 2010-11-22
142f37
142f37
* Mon Nov 01 2010 Michal Hlavinka <mhlavink@redhat.com> - 20101026-1
142f37
- ksh updated to 2010-10-26
142f37
142f37
* Tue Oct 12 2010 Michal Hlavinka <mhlavink@redhat.com> - 20101010-1
142f37
- ksh updated to 2010-10-10
142f37
142f37
* Fri Oct 08 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100924-2
142f37
- disable only known to be broken builtins, let other enabled
142f37
- skip regression tests if /dev/fd is missing
142f37
142f37
* Tue Sep 28 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100924-1
142f37
- ksh updated to 2010-09-24
142f37
142f37
* Mon Aug 30 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100826-1
142f37
- ksh updated to 2010-08-26
142f37
- make regression test suite usable during package build
142f37
142f37
* Fri Aug 13 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100811-1
142f37
- ksh updated to 2010-08-11
142f37
142f37
* Thu Jul 08 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100701-1
142f37
- updated to 2010-07-01
142f37
142f37
* Fri Jun 25 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100621-1
142f37
- updated to 2010-06-21
142f37
142f37
* Tue Jun 15 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100527-2
142f37
- add shcomp for shell compiling
142f37
142f37
* Thu Jun 10 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100527-1
142f37
- updated to 2010-05-27
142f37
142f37
* Mon May 31 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100309-6
142f37
- add pathmunge to /etc/kshrc
142f37
142f37
* Wed May 05 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100309-5
142f37
- fix rare cd builtin crash (#578582)
142f37
142f37
* Wed May 05 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100309-4
142f37
- fix infinite loop when whence builtin is used with -q option (#587127)
142f37
- fix stdin for double command substitution (#584007)
142f37
142f37
* Mon Mar 29 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100309-3
142f37
- fix typo in last patch
142f37
142f37
* Fri Mar 26 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100309-2
142f37
- restore tty settings after timed out read for utf-8 locale
142f37
142f37
* Wed Mar 10 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100309-1
142f37
- updated to 2010-03-09
142f37
- fix mock building - detection of /dev/fd/X
142f37
142f37
* Mon Jan 04 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100202-1
142f37
- updated to 2010-02-02
142f37
142f37
* Mon Jan 04 2010 Michal Hlavinka <mhlavink@redhat.com> - 20091224-1
142f37
- updated to 2009-12-24
142f37
142f37
* Mon Dec 07 2009 Michal Hlavinka <mhlavink@redhat.com> - 20091206-1
142f37
- updated to 2009-12-06
142f37
142f37
* Fri Dec 04 2009 Michal Hlavinka <mhlavink@redhat.com> - 20091130-1
142f37
- updated to 2009-11-30
142f37
142f37
* Wed Nov 18 2009 Michal Hlavinka <mhlavink@redhat.com> - 20091021-1
142f37
- updated to 2009-10-21
142f37
142f37
* Thu Aug 27 2009 Michal Hlavinka <mhlavink@redhat.com> - 20090630-1
142f37
- updated to 2009-06-30
142f37
142f37
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090505-2
142f37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
142f37
142f37
* Mon May 11 2009 Michal Hlavinka <mhalvink@redhat.com> - 20090505-1
142f37
- updated to 2009-05-05
142f37
142f37
* Tue May 05 2009 Michal Hlavinka <mhalvink@redhat.com> - 20090501-1
142f37
- updated to 2009-05-01
142f37
142f37
* Tue Mar 10 2009 Michal Hlavinka <mhlavink@redhat.com> - 20081104-3
142f37
- fix typos in spec file
142f37
142f37
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20081104-2
142f37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
142f37
142f37
* Wed Jan 21 2009 Michal Hlavinka <mhlavink@redhat.com> 20081104-1
142f37
- update to 2008-11-04
142f37
- ast-ksh-locales are not useable remove them
142f37
142f37
* Tue Oct 21 2008 Michal Hlavinka <mhlavink@redhat.com> 20080725-4
142f37
- fix #467025 - Ksh fails to initialise environment when login from graphic console
142f37
142f37
* Wed Aug 06 2008 Tomas Smetana <tsmetana@redhat.com> 20080725-3
142f37
- fix BuildRequires, rebuild
142f37
142f37
* Tue Aug  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 20080725-2
142f37
- fix license tag
142f37
142f37
* Mon Jul 28 2008 Tomas Smetana <tsmetana@redhat.com> 20080725-1
142f37
- new upstream version
142f37
142f37
* Thu Jun 26 2008 Tomas Smetana <tsmetana@redhat.com> 20080624-1
142f37
- new upstream version
142f37
142f37
* Mon Feb 11 2008 Tomas Smetana <tsmetana@redhat.com> 20080202-1
142f37
- new upstream version
142f37
142f37
* Wed Jan 30 2008 Tomas Smetana <tsmetana@redhat.com> 20071105-3
142f37
- fix #430602 - ksh segfaults after unsetting OPTIND
142f37
142f37
* Mon Jan 07 2008 Tomas Smetana <tsmetana@redhat.com> 20071105-2
142f37
- fix #405381 - ksh will not handle $(xxx) when typeset -r IFS
142f37
- fix #386501 - bad group in spec file
142f37
142f37
* Wed Nov 07 2007 Tomas Smetana <tsmetana@redhat.com> 20071105-1
142f37
- new upstream version
142f37
142f37
* Wed Aug 22 2007 Tomas Smetana <tsmetana@redhat.com> 20070628-1.1
142f37
- rebuild
142f37
142f37
* Thu Jul 12 2007 Tomas Smetana <tsmetana@redhat.com> 20070628-1
142f37
- new upstream version
142f37
- fix unaligned access messages (Related: #219420)
142f37
142f37
* Tue May 22 2007 Tomas Smetana <tsmetana@redhat.com> 20070328-2
142f37
- fix wrong exit status of spawned process after SIGSTOP
142f37
- fix building of debuginfo package, add %%{?dist} to release
142f37
- fix handling of SIGTTOU in non-interactive shell
142f37
- remove useless builtins
142f37
142f37
* Thu Apr 19 2007 Tomas Smetana <tsmetana@redhat.com> 20070328-1
142f37
- new upstream source
142f37
- fix login shell invocation (#182397)
142f37
- fix memory leak
142f37
142f37
* Wed Feb 21 2007 Karsten Hopp <karsten@redhat.com> 20070111-1
142f37
- new upstream version
142f37
- fix invalid write in uname function
142f37
142f37
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 20060214-1.1
142f37
- rebuild
142f37
142f37
* Thu Jun 01 2006 Karsten Hopp <karsten@redhat.de> 20060214-1
142f37
- new upstream source
142f37
142f37
* Mon Feb 27 2006 Karsten Hopp <karsten@redhat.de> 20060124-3
142f37
- PreReq grep, coreutils (#182835)
142f37
142f37
* Tue Feb 14 2006 Karsten Hopp <karsten@redhat.de> 20060124-2
142f37
- make it build in chroots (#180561)
142f37
142f37
* Mon Feb 13 2006 Karsten Hopp <karsten@redhat.de> 20060124-1
142f37
- version 20060124
142f37
142f37
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 20050202-5.1
142f37
- bump again for double-long bug on ppc(64)
142f37
142f37
* Fri Feb 10 2006 Karsten Hopp <karsten@redhat.de> 20050202-5
142f37
- rebuild
142f37
142f37
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 20050202-4.1
142f37
- rebuilt for new gcc4.1 snapshot and glibc changes
142f37
142f37
* Thu Feb 02 2006 Karsten Hopp <karsten@redhat.de> 20050202-4
142f37
- fix uname -i output
142f37
- fix loop (*-path.patch)
142f37
- conflict pdksh instead of obsoleting it
142f37
142f37
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com> 20050202-3.1
142f37
- rebuilt for new gcj
142f37
142f37
* Tue May 10 2005 Karsten Hopp <karsten@redhat.de> 20050202-3
142f37
- enable debuginfo
142f37
142f37
* Tue Mar 15 2005 Karsten Hopp <karsten@redhat.de> 20050202-2
142f37
- add /usr/bin/ksh link for compatibility with pdksh scripts (#151134)
142f37
142f37
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 20050202-1 
142f37
- update and rebuild with gcc-4
142f37
142f37
* Tue Mar 01 2005 Karsten Hopp <karsten@redhat.de> 20041225-2 
142f37
- fix gcc4 build 
142f37
142f37
* Fri Jan 21 2005 Karsten Hopp <karsten@redhat.de> 20041225-1
142f37
- rebuild with new ksh tarball (license change)
142f37
142f37
* Tue Nov 02 2004 Karsten Hopp <karsten@redhat.de> 20040229-11
142f37
- disable ia64 for now
142f37
142f37
* Fri Oct 15 2004 Karsten Hopp <karsten@redhat.de> 20040229-9 
142f37
- rebuild
142f37
142f37
* Thu Sep 02 2004 Nalin Dahyabhai <nalin@redhat.com> 20040229-8
142f37
- remove '&' from summary
142f37
142f37
* Thu Sep 02 2004 Bill Nottingham <notting@redhat.com> 20040229-7
142f37
- obsolete pdksh (#131303)
142f37
142f37
* Mon Aug 02 2004 Karsten Hopp <karsten@redhat.de> 20040229-6
142f37
- obsolete ksh93, provide ksh93
142f37
142f37
* Mon Jul 05 2004 Karsten Hopp <karsten@redhat.de> 20040229-3 
142f37
- add /bin/ksh to /etc/shells
142f37
142f37
* Wed Jun 16 2004 Karsten Hopp <karsten@redhat.de> 20040229-2 
142f37
- add ppc64 patch to avoid ppc64 dot symbol problem
142f37
142f37
* Fri May 28 2004 Karsten Hopp <karsten@redhat.de> 20040229-1 
142f37
- initial version
142f37