Hello community, here is the log from the commit of package mksh for openSUSE:Factory checked in at 2019-04-11 12:16:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mksh (Old) and /work/SRC/openSUSE:Factory/.mksh.new.27019 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "mksh" Thu Apr 11 12:16:10 2019 rev:19 rq:692662 version:57 Changes: -------- --- /work/SRC/openSUSE:Factory/mksh/mksh.changes 2018-07-10 16:15:30.233529467 +0200 +++ /work/SRC/openSUSE:Factory/.mksh.new.27019/mksh.changes 2019-04-11 12:16:14.832903535 +0200 @@ -1,0 +2,66 @@ +Tue Apr 9 16:16:47 UTC 2019 - t.glaser@tarent.de + +- KSH_VERSIONNAME_VENDOR_EXT needs to begin with a space and plus + +------------------------------------------------------------------- +Tue Apr 9 16:04:32 UTC 2019 - t.glaser@tarent.de + +- Fix CPPFLAGS double shell escape of space character + +------------------------------------------------------------------- +Tue Apr 9 16:02:04 UTC 2019 - t.glaser@tarent.de + +- KSH_VERSIONNAME_VENDOR_EXT needs to begin with a space + +------------------------------------------------------------------- +Tue Apr 9 15:57:26 UTC 2019 - t.glaser@tarent.de + +- Ensure the extra CPPFLAGS are actually used, oops… + +------------------------------------------------------------------- +Tue Apr 9 15:41:31 UTC 2019 - t.glaser@tarent.de + +- Remove virt-what from build dependencies, it just fails or, + worse, makes the package unresolvable; also from lewellyn +- Ensure KSH_VERSIONNAME_VENDOR_EXT is always set to something, + because the patch deviating from upstream is always applied + +------------------------------------------------------------------- +Tue Apr 9 15:21:42 UTC 2019 - t.glaser@tarent.de + +- 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 + +------------------------------------------------------------------- Old: ---- mksh-R56c.tgz New: ---- mksh-R57.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mksh.spec ++++++ --- /var/tmp/diff_new_pack.vfTLfI/_old 2019-04-11 12:16:15.944904096 +0200 +++ /var/tmp/diff_new_pack.vfTLfI/_new 2019-04-11 12:16:15.948904098 +0200 @@ -3,7 +3,7 @@ # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 Guido Berhoerster. -# Copyright (c) 2013, 2014 Thorsten Glaser. +# Copyright (c) 2013, 2014, 2019 Thorsten Glaser. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ # Please see OBS home:mirabile/mksh for a package for other distributions. Name: mksh -Version: 56c +Version: 57 Release: 0 Summary: MirBSD Korn Shell License: MirOS AND ISC @@ -36,7 +36,6 @@ BuildRequires: screen BuildRequires: sed BuildRequires: update-alternatives -BuildRequires: virt-what %if 0%{?suse_version} >= 1315 # replaces pdksh in openSUSE >= 13.2 and SLES >= 12 Provides: pdksh = %{version} @@ -64,50 +63,16 @@ %setup -q -n %{name} %patch0 -p1 -b .p0 -%if 0%{?suse_version} > 0 -%if !0%{?is_opensuse} -ed -s sh.h <<-'EOF' - ,s/#define MKSH_VERSION "R\([^"]*\)"/#define MKSH_VERSION "R\1 SLES"/ - w - EOF -ed -s check.t <<-'EOF' - ,s/@(#)\(MIRBSD\|LEGACY\) KSH R\(.*\)/@(#)\1 KSH R\2 SLES/ - w - EOF -%else -ed -s sh.h <<-'EOF' - ,s/#define MKSH_VERSION "R\([^"]*\)"/#define MKSH_VERSION "R\1 openSUSE"/ - w - EOF -ed -s check.t <<-'EOF' - ,s/@(#)\(MIRBSD\|LEGACY\) KSH R\(.*\)/@(#)\1 KSH R\2 openSUSE/ - w - EOF -%endif -# Some timing issues on qemu ppc* systems -case "$(uname -m)" in -ppc*) sed -ri '/sleep/{s/(sleep)[[:space:]]+2/\1 5/;}' check.t - sed -ri '/regression-65/,/^---/{s/(time-limit:)[[:space:]]+3/\1 5/;}' check.t -esac ed -s mksh.1 <<-'EOF' /insert-your-name-here/s/^\.\\" // s/insert-your-name-here/SUSE/ w EOF # " Stupid double quote for vi -%endif -if grep -q _DEFAULT_SOURCE /usr/include/features.h ; then - ed -s Build.sh <<-'EOF' - /^Linux)/ - /-D_GNU_SOURCE/s/\(add_cppflags\s\)-D_GNU_SOURCE/\1-D_GNU_SOURCE -D_DEFAULT_SOURCE/ - w - EOF -fi ln -s . examples %build -echo "Build system: Virt '$(virt-what)' -- '$(uname -a)'" # # sys_errlist and sys_siglist *are* deprecated # Be aware of the _SYS_SIGLIST and _SYS_ERRLIST macros as well @@ -137,28 +102,30 @@ esac export CPPFLAGS='-DMKSH_VENDOR_MKSHRC_PATH=\"/etc/mkshrc\" -DMKSH_EARLY_LOCALE_TRACKING -DMKSH_ASSUME_UTF8' export LDFLAGS='-Wl,--as-needed -Wl,-O2' +vendor=OpenBuildService +%if 0%{?suse_version} > 0 +%if !0%{?is_opensuse} +vendor=SLES +%else +vendor=openSUSE +%endif +%endif +CPPFLAGS="$CPPFLAGS -DKSH_VERSIONNAME_VENDOR_EXT=\\\"\ +$vendor\\\"" +if grep -q _DEFAULT_SOURCE /usr/include/features.h; then + CPPFLAGS="$CPPFLAGS -D_DEFAULT_SOURCE" +fi # filter compiler warnings and errors from configuration tests { - # work around bugs in gcc 4.8 (deb#717734 rh#922974) and gcc 4.1.2 in SLE 10 - case "$(gcc --version | head -n 1)" in - *\ 4.[12345678].*) - lto= - ;; - *) - # lto="lto" cause error with gcc 6.3.1 20170202 - # beside this lto makes debugging much harder - lto= - ;; - esac - sh Build.sh -r ${lto:+-c $lto} || touch build.failed + sh Build.sh -r || touch build.failed mv test.sh test-mksh.sh # build lksh to automatically enable -o posix if called as sh CPPFLAGS="$CPPFLAGS -DMKSH_BINSHPOSIX" - sh Build.sh -L -r ${lto:+-c $lto} || touch build.failed + sh Build.sh -L -r || touch build.failed mv test.sh test-lksh.sh } 2>&1 | sed -r \ -e 's!conftest.c:([0-9]*(:[0-9]*)*): error:!cE(\1) -!g' \ - -e 's!conftest.c:([0-9]*(:[0-9]*)*): warning:!cW(\1) -!g' + -e 's!conftest.c:([0-9]*(:[0-9]*)*): warning:!cW(\1) -!g' \ + -e 's!conftest.c:([0-9]*(:[0-9]*)*): note:!cN(\1) -!g' test ! -e build.failed %install ++++++ mksh-R56c.tgz -> mksh-R57.tgz ++++++ ++++ 1801 lines of diff (skipped)