Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package qore for openSUSE:Factory checked in at 2021-08-01 21:51:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qore (Old) and /work/SRC/openSUSE:Factory/.qore.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qore" Sun Aug 1 21:51:36 2021 rev:8 rq:908927 version:0.9.15 Changes: -------- --- /work/SRC/openSUSE:Factory/qore/qore.changes 2019-08-13 13:23:26.501384007 +0200 +++ /work/SRC/openSUSE:Factory/.qore.new.1899/qore.changes 2021-08-01 21:51:37.555236880 +0200 @@ -1,0 +2,61 @@ +Sat Jun 12 08:48:55 UTC 2021 - Jan Engelhardt <[email protected]> + +- Trim marketing wording from description. + +------------------------------------------------------------------- +Tue Jun 8 17:24:29 UTC 2021 - Ferdinand Thiessen <[email protected]> + +- Update to 0.9.15 + * DataProvider: Fixed a bug where the data type was not supported + correctly as a data provider type + * Fixed a potential crash when raising a large number of exceptions + * Fixed a potential deadlock loading user modules with complex + initialization code + * Fixed a bug where SSL errors were not properly cleared before + I/O operations in all cases + * Fixed a bug where empty binary values could not be deserialized + * Fixed handling Qore program destruction in a foreign thread in + a binary module that could cause a crash +- Fixed abi Provides generation + +------------------------------------------------------------------- +Wed May 19 00:31:42 UTC 2021 - Ferdinand Thiessen <[email protected]> + +- Update to 0.9.14 + * OracleSqlUtil module and SqlUtil module: fixed various SQL + generation issues + * Swagger module: fixed a bug where unknown string format types + were not ignored but instead caused an exception to be thrown + * Util module: fixed a bug in parse_memory_size() + * Full changes: + https://docs.qore.org/qore-0.9.14/lang/html/release_notes.html + +------------------------------------------------------------------- +Wed Apr 14 18:01:39 UTC 2021 - Ferdinand Thiessen <[email protected]> + +- Update to 0.9.13 + * Fixes CVE-2020-13615 + * Added saprest tool (a SAP rest client) + * Bug fixes and improvements for + * CsvUtil + * DataProvider + * FixedLengthUtil + * HttpServer nad HttpServerUtil + * ServiceNowRestDataProvider + * WebUtil + * RestClient: additional fixes to REST path handling with schema + validators with a base path + * New Modules in Qore: + * ServiceNowRestClient: provides APIs for communicating with + the ServiceNow REST API + * ServiceNowRestDataProvider: Provides a data provider API + for the ServiceNow REST API + * https://docs.qore.org/qore-0.9.13/lang/html/release_notes.html +- ABI breaks with 0.9.0 update, removed outdated API and updated + qore-module.prov +- Refreshed reproducible.patch +- Drop unused qore-libtool-2.4.6.patch +- Split -doc package, building the documentation requires the + yaml module, so this would create a dependency circle + +------------------------------------------------------------------- Old: ---- qore-0.8.13.tar.bz2 qore-libtool-2.4.6.patch New: ---- qore-doc.spec qore-release-0.9.15.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qore-doc.spec ++++++ # # spec file for package qore-doc # # Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: qore-doc Version: 0.9.15 Release: 0 Summary: Multithreaded Programming Language License: GPL-2.0-or-later OR LGPL-2.1-or-later OR MIT Group: Development/Languages/Other URL: https://qore.org Source0: https://github.com/qorelanguage/qore/archive/refs/tags/release-%{version}.tar.gz#/qore-release-%{version}.tar.gz # PATCH-FIX-OPENSUSE bmwiedemann boo#1084909 Patch0: reproducible.patch BuildRequires: bison BuildRequires: bzip2 BuildRequires: doxygen BuildRequires: fdupes BuildRequires: flex >= 2.5.31 BuildRequires: gcc-c++ >= 4.8.1 BuildRequires: gmp-devel BuildRequires: graphviz BuildRequires: libbz2-devel BuildRequires: libtool BuildRequires: mpfr-devel BuildRequires: openssl-devel BuildRequires: pcre-devel BuildRequires: pkgconfig BuildRequires: qore = %{version} BuildRequires: qore-json-module >= 1.8+qore%{version} BuildRequires: qore-linenoise-module >= 1.0.0+qore%{version} BuildRequires: qore-yaml-module >= 0.7.0+qore%{version} BuildRequires: zlib-devel %description Qore is a scripting language supporting threading and embedded logic. It applies a scripting-based approach to interface development and can also be used as a general purpose language. %package -n qore-devel-doc Summary: Module and library documentation for Qore Group: Documentation/HTML %description -n qore-devel-doc This package contains the module and library documentation. Qore is a scripting language supporting threading and embedded logic. It applies a scripting-based approach to interface development and can also be used as a general purpose language. %prep %autosetup -p1 -n qore-release-%{version} echo "#define BUILD \"openSUSE\"" > include/qore/intern/git-revision.h %build autoreconf -fi %configure make html-local %install %files %doc docs/lang/html/* %files -n qore-devel-doc %doc docs/library docs/modules %changelog ++++++ qore.spec ++++++ --- /var/tmp/diff_new_pack.jYRp9V/_old 2021-08-01 21:51:39.171234977 +0200 +++ /var/tmp/diff_new_pack.jYRp9V/_new 2021-08-01 21:51:39.175234973 +0200 @@ -1,7 +1,7 @@ # # spec file for package qore # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2014 David Nichols <[email protected]> # Copyright (c) 2014 Petr Vanek <[email protected]> # @@ -20,100 +20,75 @@ %define module_dir %{_libdir}/qore-modules Name: qore -Version: 0.8.13 +Version: 0.9.15 Release: 0 Summary: Multithreaded Programming Language -License: LGPL-2.1-or-later OR GPL-2.0-or-later OR MIT +License: GPL-2.0-or-later OR LGPL-2.1-or-later OR MIT Group: Development/Languages/Other -Url: http://qore.org -Source: https://github.com/qorelanguage/qore/releases/download/release-%{version}/qore-%{version}.tar.bz2 +URL: https://qore.org +Source0: https://github.com/qorelanguage/qore/archive/refs/tags/release-%{version}.tar.gz#/%{name}-release-%{version}.tar.gz +# All supported ABIs, remember to update after each update (see %%install section) Source99: qore-module.prov -Patch: qore-libtool-2.4.6.patch # PATCH-FIX-OPENSUSE bmwiedemann boo#1084909 -Patch1: reproducible.patch +Patch0: reproducible.patch +BuildRequires: autoconf BuildRequires: automake BuildRequires: bison BuildRequires: bzip2 -BuildRequires: doxygen BuildRequires: fdupes BuildRequires: flex >= 2.5.31 -BuildRequires: gcc-c++ +BuildRequires: gcc-c++ >= 4.8.1 BuildRequires: gmp-devel BuildRequires: libbz2-devel BuildRequires: libtool BuildRequires: mpfr-devel BuildRequires: openssl-devel BuildRequires: pcre-devel -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: zlib-devel Requires: %{_bindir}/env -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -Qore is a scripting language supporting threading and embedded logic, designed -for applying a flexible scripting-based approach to enterprise interface -development but is also useful as a general purpose language. - -%package -n libqore5 -Summary: The libraries for the qore runtime and qore clients -License: LGPL-2.0-or-later OR GPL-2.0-or-later OR MIT +Qore is a scripting language supporting threading and embedded logic. +It applies a scripting-based approach to interface development and +can also be used as a general purpose language. + +%package -n libqore6 +Summary: Libraries for the qore runtime and qore clients +License: GPL-2.0-or-later OR LGPL-2.0-or-later OR MIT Group: Development/Languages/Other -Provides: qore-module(abi)%{?_isa} = 0.18 -Provides: qore-module(abi)%{?_isa} = 0.19 -Provides: qore-module(abi)%{?_isa} = 0.20 -# provided for backwards-compatibility with unversioned capabilities and will be removed when the ABI drops backwards-compatibility -%(cat %{SOURCE99}) - -%description -n libqore5 -Qore is a scripting language supporting threading and embedded logic, designed -for applying a flexible scripting-based approach to enterprise interface -development but is also useful as a general purpose language. +%(awk 'NF { gsub(/ /,""); print "Provides: qore-module(abi)%{?_isa} = "$abi }' %{SOURCE99}) + +%description -n libqore6 +Qore is a scripting language supporting threading and embedded logic. +It applies a scripting-based approach to interface development and +can also be used as a general purpose language. This package provides the qore library required for all clients using qore functionality. -%files -n libqore5 -%defattr(-,root,root,-) -%{_libdir}/libqore.so.5.14.0 -%{_libdir}/libqore.so.5 -%doc COPYING.LGPL COPYING.GPL COPYING.MIT README-LICENSE - -%post -n libqore5 -p /sbin/ldconfig -%postun -n libqore5 -p /sbin/ldconfig - -%package doc -Summary: API documentation, programming language reference, and Qore example programs -License: LGPL-2.0-or-later OR GPL-2.0-or-later OR MIT -Group: Documentation/HTML - -%description doc -Qore is a scripting language supporting threading and embedded logic, designed -for applying a flexible scripting-based approach to enterprise interface -development but is also useful as a general purpose language. - -This package provides the HTML documentation for the Qore programming language -and also for user modules delivered with Qore and also example programs. - -%files doc -%defattr(-,root,root,-) -%doc docs/lang docs/modules/* examples/ README.md README-MODULES RELEASE-NOTES AUTHORS ABOUT +%files -n libqore6 +%license COPYING.LGPL COPYING.GPL COPYING.MIT README-LICENSE +%{_libdir}/libqore.so.6* + +%post -n libqore6 -p /sbin/ldconfig +%postun -n libqore6 -p /sbin/ldconfig %package devel -Summary: The header files needed to compile programs using the qore library -License: LGPL-2.0-or-later OR GPL-2.0-or-later OR MIT +Summary: Header files needed to compile programs using the qore library +License: GPL-2.0-or-later OR LGPL-2.0-or-later OR MIT Group: Development/Languages/C and C++ -Requires: libqore5 = %{version}-%{release} +Requires: libqore6 = %{version}-%{release} %description devel -Qore is a scripting language supporting threading and embedded logic, designed -for applying a flexible scripting-based approach to enterprise interface -development but is also useful as a general purpose language. +Qore is a scripting language supporting threading and embedded logic. +It applies a scripting-based approach to interface development and +can also be used as a general purpose language. This package provides header files needed to compile client programs using the Qore library. %files devel -%defattr(-,root,root,-) %{_bindir}/qpp %{_bindir}/qdx %{_libdir}/libqore.so @@ -123,24 +98,9 @@ %{_includedir}/* %{_datadir}/qore -%package devel-doc -Summary: C++ API documentation for the qore library -License: LGPL-2.0-or-later OR GPL-2.0-or-later OR MIT -Group: Documentation/HTML -Requires: libqore5 = %{version}-%{release} - -%description devel-doc -Qore is a scripting language supporting threading and embedded logic, designed -for applying a flexible scripting-based approach to enterprise interface -development but is also useful as a general purpose language. - -%files devel-doc -%defattr(-,root,root,-) -%doc docs/library/html/* - %package misc-tools Summary: Miscellaneous user tools writen in Qore Programming Language -License: LGPL-2.0-or-later OR GPL-2.0-or-later OR MIT +License: GPL-2.0-or-later OR LGPL-2.0-or-later OR MIT Group: Development/Tools/Other Requires: qore = %{version}-%{release} @@ -150,48 +110,41 @@ - SQL Databases %files misc-tools -%defattr(-,root,root,-) +%{_bindir}/qdp %{_bindir}/qget %{_bindir}/rest %{_bindir}/sfrest +%{_bindir}/saprest %{_bindir}/sqlutil %{_bindir}/schema-reverse %prep -%setup -q -%patch -p1 -%patch1 -p1 +%autosetup -p1 -n %{name}-release-%{version} # silence the executable warning for examples find examples -type f|xargs chmod 644 %build -aclocal autoreconf -fi -%if "%_lib" == "lib64" -c64=--enable-64bit -%endif -%configure --disable-debug --disable-static $c64 -make %{?_smp_mflags} +%configure --disable-debug --disable-dependency-tracking +%make_build %install -mkdir -p %{buildroot}%{_prefix}/bin -mkdir -p %{buildroot}/%{module_dir}/%{version} -mkdir -p %{buildroot}%{_prefix}/man/man1 -make install prefix=%{_prefix} DESTDIR=%{buildroot} +%make_install rm %{buildroot}/%{_libdir}/libqore.la -%fdupes -s docs -# Check if we have all the provides for libqore - to ensure we provide all the qore-module-api-* the code supports -./qore --module-apis | awk -F',[[:blank:]]' '{i = 1; while (i < NF) { print "Provides: qore-module-api-"$i; i++ } }' > /tmp/qore-modules.prov +# Check if we have all the provides for libqore - to ensure we provide all the qore-module ABI's the code supports +./qore --module-apis | awk -F',[[:blank:]]' '{i = 1; while (i < NF) { print $i; i++ } }' > /tmp/qore-modules.prov diff -ur %{SOURCE99} /tmp/qore-modules.prov +%check +make test + %files -%defattr(-,root,root,-) %{_bindir}/qore %{_bindir}/qdbg* %{module_dir} %dir %{_datadir}/qore-modules -%{_datadir}/qore-modules/0.8.13 -%{_mandir}/man1/qore.1.* +%{_datadir}/qore-modules/%{version} +%{_mandir}/man1/qore.1%{?ext_man} %changelog ++++++ qore-module.prov ++++++ --- /var/tmp/diff_new_pack.jYRp9V/_old 2021-08-01 21:51:39.199234945 +0200 +++ /var/tmp/diff_new_pack.jYRp9V/_new 2021-08-01 21:51:39.203234940 +0200 @@ -1,15 +1,2 @@ -Provides: qore-module-api-0.20 -Provides: qore-module-api-0.19 -Provides: qore-module-api-0.18 -Provides: qore-module-api-0.17 -Provides: qore-module-api-0.16 -Provides: qore-module-api-0.15 -Provides: qore-module-api-0.14 -Provides: qore-module-api-0.13 -Provides: qore-module-api-0.12 -Provides: qore-module-api-0.11 -Provides: qore-module-api-0.10 -Provides: qore-module-api-0.9 -Provides: qore-module-api-0.8 -Provides: qore-module-api-0.7 -Provides: qore-module-api-0.6 +0.24 +0.23 ++++++ reproducible.patch ++++++ --- /var/tmp/diff_new_pack.jYRp9V/_old 2021-08-01 21:51:39.215234925 +0200 +++ /var/tmp/diff_new_pack.jYRp9V/_new 2021-08-01 21:51:39.215234925 +0200 @@ -1,13 +1,56 @@ -Index: qore-0.8.13/configure.ac -=================================================================== ---- qore-0.8.13.orig/configure.ac -+++ qore-0.8.13/configure.ac -@@ -1932,7 +1932,7 @@ AC_DEFINE_UNQUOTED([QORE_LIB_CPPFLAGS], - AC_DEFINE_UNQUOTED([QORE_LIB_CXXFLAGS], "$QORE_LIB_CXXFLAGS", [c++ compiler flags]) - AC_DEFINE_UNQUOTED([QORE_LIB_CFLAGS], "$QORE_LIB_CFLAGS", [c++ compiler flags]) - AC_DEFINE_UNQUOTED([QORE_LIB_LDFLAGS], "$QORE_LIB_LDFLAGS", [linker flags]) --AC_DEFINE_UNQUOTED([QORE_BUILD_HOST], "`uname -a`", [Qore build host info]) -+AC_DEFINE_UNQUOTED([QORE_BUILD_HOST], "`uname -smpo`", [Qore build host info]) +diff -Nur qore-release-0.9.13/CMakeLists.txt patched/CMakeLists.txt +--- qore-release-0.9.13/CMakeLists.txt 2021-03-26 13:46:59.000000000 +0100 ++++ patched/CMakeLists.txt 2021-04-14 22:55:06.281646906 +0200 +@@ -363,7 +363,7 @@ + elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") + execute_process(COMMAND uname -smr OUTPUT_VARIABLE QORE_BUILD_HOST OUTPUT_STRIP_TRAILING_WHITESPACE) + else() +-execute_process(COMMAND uname -a OUTPUT_VARIABLE QORE_BUILD_HOST OUTPUT_STRIP_TRAILING_WHITESPACE) ++execute_process(COMMAND uname -smpo OUTPUT_VARIABLE QORE_BUILD_HOST OUTPUT_STRIP_TRAILING_WHITESPACE) + endif() - AC_CONFIG_FILES([Makefile lib/Makefile]) - AC_CONFIG_FILES([modules/astparser/Makefile modules/astparser/src/Makefile]) + if("${CMAKE_SIZEOF_VOID_P}" EQUAL "8") +diff -Nur qore-release-0.9.13/configure.ac patched/configure.ac +--- qore-release-0.9.13/configure.ac 2021-03-26 13:46:59.000000000 +0100 ++++ patched/configure.ac 2021-04-14 22:55:06.281646906 +0200 +@@ -124,7 +124,7 @@ + AC_DEFINE(HPUX, 1, if compiling on HP-UX) + AC_DEFINE(NEED_ENVIRON_LOCK, 1, [if the environment operations need explicit locking]) + hpux=yes +- QORE_BUILD_HOST=`uname -a` ++ QORE_BUILD_HOST=`uname -smpo` + ;; + *cygwin*) + SHLIB_SUFFIX=dll +@@ -132,7 +132,7 @@ + windows=yes + # turn off signal handling for cygwin; cygwin supports it, but it's emulated/slow/non-native + no_sig_handling=yes +- QORE_BUILD_HOST=`uname -a` ++ QORE_BUILD_HOST=`uname -smpo` + ;; + *mingw32*) + SHLIB_SUFFIX=dll +@@ -181,7 +181,7 @@ + if test -z "$NATIVE_CXX"; then + NATIVE_CXX=$CXX + fi +- QORE_BUILD_HOST=`uname -a` ++ QORE_BUILD_HOST=`uname -smpo` + AC_SUBST(NATIVE_CXX) + AC_SUBST(NATIVE_CPPFLAGS) + AC_SUBST(NATIVE_LDDFLAGS) +@@ -200,11 +200,11 @@ + LEX=/usr/local/bin/flex + fi + AC_WARN([LDFLAGS=$LDFLAGS LEX=$LEX]) +- QORE_BUILD_HOST=`uname -a` ++ QORE_BUILD_HOST=`uname -smpo` + ;; + *) + AC_WARN(Unknown platform ${host_os}) +- QORE_BUILD_HOST=`uname -a` ++ QORE_BUILD_HOST=`uname -smpo` + ;; + esac + AC_SUBST(SHLIB_SUFFIX)
