Revisions of mksh

Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1057028 from Dr. Werner Fink's avatar Dr. Werner Fink (WernerFink) (revision 25)
Replace transitional %usrmerged macro with regular version check (boo#1206798) (forwarded request 1055714 from lnussel)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 872321 from Dr. Werner Fink's avatar Dr. Werner Fink (WernerFink) (revision 24)
- Modernize/remove old RPM constructs.
- Replace wrong `uname -m` (source arch); CFLAGS are a matter
  dependent on the target arch. (forwarded request 870510 from jengelh)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 869783 from Dr. Werner Fink's avatar Dr. Werner Fink (WernerFink) (revision 23)
- prepare usrmerge (boo#1029961)
- update-alternatives call must be in postun
- remove obsolete pre-sle12 code (forwarded request 868403 from lnussel)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 728543 from Thorsten Glaser's avatar Thorsten Glaser (mirabile) (revision 20)
Fix FTBFS caused by someone enabling LTO implicitly system-wide by disabling LTO *again* (GCC’s is too buggy to use and generates wrong code).

The next upstream release (R58 most likely) will add -fno-lto to CFLAGS and LDFLAGS if GCC is detected as build compiler, solving this problem on a different level.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 692662 from Thorsten Glaser's avatar Thorsten Glaser (mirabile) (revision 19)
- Update to version R57 (reminded by lewellyn)
   R57 rolls up bugfixes, with few hard changes:
    [gecko2] Update operating environment reporting for the Macintosh
    [Martijn Dekker] make ${foo#'bar'} in here document behave like ksh93
    [Martijn Dekker] quote empty strings for re-entry into shell
    [tg, G.raud Meyer] Improve documentation, especially for tty states
    [tg] Protect against entering line editing with bad saved tty state
    [tg] Fix set -o allexport for arrays (which we apparently do)
    [tg] Handle lseek(2) returning -1 as pointed out by Coverity Scan
    [tg] Fix left-padding UTF-8 strings
    [tg, G.raud Meyer] Fix using the “-m” flag on the command line
    [tg] Update to UCD 11.0.0
    [multiplexd] Fix a segfault using ^W during search in Vi mode
    [tg] Fix an error message; add a test for controlling tty
    [tg] Permit unsetting LINES and COLUMNS, for those who need it
    [tg] Fix manpage bug (RedHat BZ#1612173)
    [tg] Minor spelling cleanup
    [tg] Unbreak high-bit7 (nōn-ASCII) heredoc separators (LP#1779179)
    [tg] Allow dumping high-bit7-char-containing strings in DEBUG mode
    [tg] Add some testcases for behaviour questions popped up in IRC
    [tg] Trick a GCC warning, to make up for it ignoring lint(1) hints
    [tg] Add O_MAYEXEC support for CLIP OS
    [tg] Make dup-to-self with ksh-style fd≥3 closing work; catern via IRC
    [tg] Add compat glue for newer GNU groff mdoc to the manpages
    [tg] Trigger EXIT trap after single-command subshells (Debian #910276)
    [tg] Document set -eo pipefail caveat (LP#1804504)
    [tg] Fix MKSH_EARLY_LOCALE_TRACKING warning
    [tg] Document that, when your Unix is broken, GIGO applies (LP#1817959)
    [tg] Improve error message for inaccessible executables (LP#1817789)
- Switch from patching check.t, sh.h and Build.sh to using
  KSH_VERSIONNAME_VENDOR_EXT and appending to CPPFLAGS beforehand
- Remove qemu/ppc patches that are upstreamed/no longer necessary
- Drop LTO support which was already always disabled
- Handle newer GCC note output during configure stage
- Ensure KSH_VERSIONNAME_VENDOR_EXT is always set to something,
  because the patch deviating from upstream is always applied
- Remove virt-what from build dependencies, it just fails or,
  worse, makes the package unresolvable; also from lewellyn
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 621120 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 18)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 597698 from Dr. Werner Fink's avatar Dr. Werner Fink (WernerFink) (revision 17)
- Remoce patch mksh-locale.patch and use upstream compile flags
  MKSH_EARLY_LOCALE_TRACKING as replacement 

- Update to version R56c
  R56c is a bugfix-only release everyone must upgrade to:
    [komh] Remove redundant OS/2-specific code, clean up others
    [komh, tg] Fix drive-qualified (absolute and relative) DOS-style
      path support in realpath functionality, partially other places
    [tg] Don’t substitute ${ENV:-~/.mkshrc} result again
    [tg] Improve OS/2 $PATH (et al.) handling, drive-relative paths
    [tg] Add MKSH_ENVDIR compile-time option for Jehanne and Plan 9
    [tg] Limit nesting when parsing malformed code (Debian #878947)
    [tg] Update wcwidth data with bugfixed script (still Unicode 10;
      resulting values are identical to glibc git master for extant chars)
    [Dr. Werner Fink] Raise some time limits in the testsuite
    [Shamar] Add support for the Jehanne operating system
    [komh] Set stdin to text mode before executing child processes on OS/2
    [komh] Pass arguments via a resonse file if executing a child fails
    [Dr. Werner Fink] Early locale tracking as a compile-time option
    [tg] Fix regressions introduced with new fast character classes
  R56b is a bugfix-only release everyone should upgrade to:
    [tg] Reference the FAQ webpage
    [panpo, Riviera] Fix documentation bug wrt. Esc+Ctrl-L
    [tg, Larry Hynes] Fix “0” movement in vi mode
    [tg] Replace broken libcs’ offsetof macro with MirBSD’s
  R56 is a bugfix release with some experimental fixes:
    [tg, Seb] Do not apply alias name restrictions to hash/tilde tracking
    [tg] Restore ‘.’, ‘:’ and ‘[’ in alias names (“[[” is still forbidden)
    [tg] Fix accidentally defanged $PATHSEP test
    [tg] On ^C (INTR and QUIT edchars), shove edit line into history
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 557261 from Dr. Werner Fink's avatar Dr. Werner Fink (WernerFink) (revision 16)
- Add patch mksh-locale.patch to enable the mksh to set internal
  lcoale settings like utf support during runtime
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 546900 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 15)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 541746 from Dr. Werner Fink's avatar Dr. Werner Fink (WernerFink) (revision 14)
- The AT&T ksh is still part of openSUSE but on SLES only mksh
  should be used (bsc#1067195)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 460024 from Dr. Werner Fink's avatar Dr. Werner Fink (WernerFink) (revision 13)
- Avoid deprecated API for errors and signals
- Be sure to use a clean history file 

- Make errors ini test suite fatal
- Avoid -flto as this breaks even with gcc 6.3.1 20170202 

- Use screen to provide a tty for test suite scripts 

- Update to version R54
  R54 is a bugfix release with moderate new features:
    [tg] Simplify and improve code and manual page
    [tg] Try GCC 5’s new -malign-data=abi
    [tg] Allow interrupting builtin cat even on fast devices (LP#1616692)
    [tg] Update to Unicode 9.0.0
    [Andreas Buschka] Correct English spelling
    [tg] Handle set -e-related error propagation in || and && constructs correctly
    [tg] Initialise memory for RNG even when not targeting Valgrind
    [tg] Shrink binary size
    [Brian Callahan] Improve support for the contemporary pcc compiler
    [tg] Fix side effects with lazy evaluation; spotted by ormaaj
    [tg] New flags -c (columnise), -l, -N for the print builtin
    [Larry Hynes] Fix English, spelling mistakes, typos in the manpage
    [tg, ormaah] Return 128+SIGALRM if read -t times out, like GNU bash
    [Martijn Dekker] Install both manpages from Build.sh
    [Martijn Dekker] Document case changes are ASCII-only
    [Ronald G. Minnich, Elbing Miss, Álvaro Jurado, tg] Begin porting to Harvey-OS and APEX (similar to Plan 9 and APE)
    [KO Myung-Hun] More infrastructure for the OS/2 (EMX, KLIBC) port
 R53a is a snapshot/feature release:
    [lintian] Fix spelling
    [tg] Unbreak multi-line command history broken by history flush
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 298252 from Guido Berhoerster's avatar Guido Berhoerster (gberh) (revision 12)
- mention vendor modifications in manpage as requested by upstream

- update to version 50f
  - [tg] OpenBSD sync: handle integer base out of band like ksh93
    does
  - [tg] Protect standard code (predefined aliases, internal code,
    aliases and functions in dot.mkshrc) from being overridden by
    aliases and, in some cases, shell functions (i.e. permit
    overriding but ignore it)
  - [tg] Implement GNU bash’s enable for dot.mkshrc using magic
    aliases to redirect the builtins to external utilities; this
    differs from GNU bash in that enable takes precedence over
    functions
  - [tg] Move unaliasing an identifier when defining a POSIX-style
    function with the same name into lksh, as compatibility kludge
  - [tg] Korn shell style functions now have locally scoped shell
    options
  - [tg] Add a patch marker for vendor patch versioning to mksh.1
  - [tg] SECURITY: make unset HISTFILE actually work
  - [tg] Document some more issues with the current history code
  - [tg] Remove some unused code
  - [tg] RCSID-only sync with OpenBSD, for bogus and irrelevant
    changes
  - [tg] Also disable field splitting for alias 'local=\typeset'
  - [tg] Fix read -n-1 to not be identical to read -N-1
  - [tg] Several fixes and improvements to lksh(1) and mksh(1)
    manpages
  - [tg] More code (int → size_t), comment and testsuite fixes
  - [tg] Make dot.mkshrc more robust (LP#1441853)
  - [tg] Fix issues with IFS='\' read, found by edualbus
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 288398 from Guido Berhoerster's avatar Guido Berhoerster (gberh) (revision 11)
- update to version 50e
  - [tg] Add more tests detailing behaviour difference from GNU
    bash
  - [tg] Introduce a memory leak for x=<< fixing use of freed
    memory instead, bug tracked as LP#1380389 still live
  - [tg] Add x+=<< parallel to x=<<
  - [tg, ormaaj, jilles] POSIX “command” loses builtin special-ness
  - [tg] Fix LP#1381965 and LP#1381993 (more field splitting)
  - [jilles] Update location of FreeBSD testsuite for test(1)
  - [Martin Natano] Remove dead NULL elements from Emacs
    keybindings
  - [tg, Stéphane Chazelas, Geoff Clare] Change several testcases
    for $*/$@ expansion with/without quotes to expected-fail, with
    even more to come ☹
  - [tg] Fix miscalculating required memory for encoding the
    double-quoted parts of a here document or here string
    delimiter, leading to a buffer overflow; discovered by zacts
    from IRC
  - [RT] Rename a function conflicting with a MacRelix system
    header
  - [tg] Use size_t (and ssize_t) consistently, stop using
    ptrdiff_t; fixes some arithmetics and S/390 bugs
  - [tg] Remove old workarounds for Clang 3.2 scan-build
  - [tg] Remove all Clang/Coverity assertions, making room for new
    checks
  - [tg] Fix NSIG generation on Debian sid gcc-snapshot
  - [tg] Make a testcase not fail in a corner case
  - [tg] Fix issues detected by GCC’s new sanitisers: data type of
    a value to be shifted constantly must be unsigned (what not, in
    C…); shebang check array accesses are always unsigned char
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 254633 from Guido Berhoerster's avatar Guido Berhoerster (gberh) (revision 10)
- update to regression bugfix version 50d
  - [Goodbox] Fix NULL pointer dereference on “unset x; nameref x”
  - [tg] Fix severe regression in field splitting (LP#1378208)
  - [tg] Add a warning about not using tainted user input (including
    from the environment) in arithmetics, until Stéphane writes it up
    nicely
- refresh vendor patch
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 253864 from Guido Berhoerster's avatar Guido Berhoerster (gberh) (revision 9)
- update to SECURITY version 50c
  - [tg] Know more rare signals when generating sys_signame[] replacement
  - [tg] OpenBSD sync (mostly RCSID only)
  - [tg] Document HISTSIZE limit; found by luigi_345 on IRC
  - [zacts] Fix link to Debian .mkshrc
  - [tg] Cease exporting $RANDOM (Debian #760857)
  - [tg] Fix C99 compatibility
  - [tg] Work around klibc bug causing a coredump (Debian #763842)
  - [tg] Use issetugid(2) as additional check if we are FPRIVILEGED
  - [tg] SECURITY: do not permit += from environment
  - [tg] Fix more field splitting bugs reported by Stephane Chazelas and
    mikeserv; document current status wrt. ambiguous ones as testcases too
- use build log cleaner sed command from home:mirabile package
- enable lksh build-time option to automatically run "set -o posix"
  when called as sh or -sh, like home:mirabile package did
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 247591 from Guido Berhoerster's avatar Guido Berhoerster (gberh) (revision 8)
- update to version 50b
  - [Ypnose] Fix operator description in the manpage
  - [tg] Change all mention of “eglibc” to “glibc”, it is merged
    back
  - [Colona] Fix rare infinite loop with invalid UTF-8 in the edit
    buffer
  - [tg] Make more clear when a shell is interactive in the manpage
  - [tg] Document that % is a symmetric remainder operation, and
    how to get a mathematical modulus from it, in the manpage
  - [tg, Christopher Ferris, Elliott Hughes] Make the cat(1)
    builtin also interruptible in the write loop, not just in the
    read loop, and avoid it getting SIGPIPE in the smores function
    in dot.mkshrc by terminating cat upon user quit
  - [tg] Make some comments match the code, after jaredy from obsd
    changed IFS split handling
  - [tg] Fix some IFS-related mistakes in the manual page
  - [tg] Document another issue as known-to-fail test IFS-subst-3
  - [tg] Improve check.pl output in some cases
  - [tg, Jb_boin] Relax overzealous nameref RHS checks
Adrian Schröter's avatar Adrian Schröter (adrianSuSE) committed (revision 7)
Split 13.2 from Factory
Displaying revisions 1 - 20 of 25
openSUSE Build Service is sponsored by