From cdc1a2b75af85c3f62c56ca7a44fb766f5d9f993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Min=C3=A1=C5=99?= Date: Mon, 8 Aug 2016 13:22:00 +0200 Subject: [PATCH 01/36] New upstream version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NV: wt-3.3.6 Signed-off-by: Michal Minář --- .gitignore | 2 +- fix-narrowing-issue-on-arm.patch | 42 ------------------- sources | 2 +- ...GE-LICENSING => wt-3.3.6-PACKAGE-LICENSING | 0 wt-generate-tarball.sh | 5 ++- wt.spec | 16 +++---- 6 files changed, 12 insertions(+), 55 deletions(-) delete mode 100644 fix-narrowing-issue-on-arm.patch rename wt-3.3.5-PACKAGE-LICENSING => wt-3.3.6-PACKAGE-LICENSING (100%) diff --git a/.gitignore b/.gitignore index 4f0cd24..969a17d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/wt-3.3.5-rc2-free.tar.xz +/wt-3.3.6-free.tar.xz diff --git a/fix-narrowing-issue-on-arm.patch b/fix-narrowing-issue-on-arm.patch deleted file mode 100644 index 1a489b4..0000000 --- a/fix-narrowing-issue-on-arm.patch +++ /dev/null @@ -1,42 +0,0 @@ -Index: wt-3.3.5-rc2/src/web/base64.cpp -=================================================================== ---- wt-3.3.5-rc2.orig/src/web/base64.cpp -+++ wt-3.3.5-rc2/src/web/base64.cpp -@@ -18,24 +18,26 @@ namespace base64 - const char* to_table_end = - _to_table + sizeof(_to_table); - -+ const char _o = (char)(-1); -+ - const char _from_table[128] = - { -- -1, -1, -1, -1, -1, -1, -1, -1, // 0 -- -1, -1, -1, -1, -1, -1, -1, -1, // 8 -- -1, -1, -1, -1, -1, -1, -1, -1, // 16 -- -1, -1, -1, -1, -1, -1, -1, -1, // 24 -- -1, -1, -1, -1, -1, -1, -1, -1, // 32 -- -1, -1, -1, 62, -1, -1, -1, 63, // 40 -+ _o, _o, _o, _o, _o, _o, _o, _o, // 0 -+ _o, _o, _o, _o, _o, _o, _o, _o, // 8 -+ _o, _o, _o, _o, _o, _o, _o, _o, // 16 -+ _o, _o, _o, _o, _o, _o, _o, _o, // 24 -+ _o, _o, _o, _o, _o, _o, _o, _o, // 32 -+ _o, _o, _o, 62, _o, _o, _o, 63, // 40 - 52, 53, 54, 55, 56, 57, 58, 59, // 48 -- 60, 61, -1, -1, -1, 0, -1, -1, // 56 -- -1, 0, 1, 2, 3, 4, 5, 6, // 64 -+ 60, 61, _o, _o, _o, 0, _o, _o, // 56 -+ _o, 0, 1, 2, 3, 4, 5, 6, // 64 - 7, 8, 9, 10, 11, 12, 13, 14, // 72 - 15, 16, 17, 18, 19, 20, 21, 22, // 80 -- 23, 24, 25, -1, -1, -1, -1, -1, // 88 -- -1, 26, 27, 28, 29, 30, 31, 32, // 96 -+ 23, 24, 25, _o, _o, _o, _o, _o, // 88 -+ _o, 26, 27, 28, 29, 30, 31, 32, // 96 - 33, 34, 35, 36, 37, 38, 39, 40, // 104 - 41, 42, 43, 44, 45, 46, 47, 48, // 112 -- 49, 50, 51, -1, -1, -1, -1, -1 // 120 -+ 49, 50, 51, _o, _o, _o, _o, _o // 120 - }; - const char* from_table = _from_table; - } diff --git a/sources b/sources index c2f526e..67ed5f5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2473eed623c93a6d40b823bbc6e0e9c2 wt-3.3.5-rc2-free.tar.xz +22537188d09d50c218c373026ee482e0 wt-3.3.6-free.tar.xz diff --git a/wt-3.3.5-PACKAGE-LICENSING b/wt-3.3.6-PACKAGE-LICENSING similarity index 100% rename from wt-3.3.5-PACKAGE-LICENSING rename to wt-3.3.6-PACKAGE-LICENSING diff --git a/wt-generate-tarball.sh b/wt-generate-tarball.sh index e4027ed..8e4d5f6 100755 --- a/wt-generate-tarball.sh +++ b/wt-generate-tarball.sh @@ -1,10 +1,13 @@ #!/bin/sh +set -euo pipefail +IFS=$'\n\t' + NAME="wt" VERSION=$1 tmp=`mktemp -d` -tar -xzvf $NAME-$VERSION.tar.gz -C $tmp +tar -xzvf $VERSION.tar.gz -C $tmp pushd $tmp pushd $NAME-$VERSION/src/Wt/Dbo/backend rm -r ibpp diff --git a/wt.spec b/wt.spec index 85a7cf8..7888f66 100644 --- a/wt.spec +++ b/wt.spec @@ -3,11 +3,10 @@ %global WTRUNUSER apache %global WTRUNGROUP apache -%global alphatag rc2 Name: wt -Version: 3.3.5 -Release: 0.6.%{alphatag}%{?dist} +Version: 3.3.6 +Release: 1%{?dist} Summary: C++ library for developing web applications Group: Development/Libraries @@ -15,9 +14,9 @@ Group: Development/Libraries License: GPLv2 and Boost and MIT and (Boost or MIT) and BSD and zlib URL: http://www.webtoolkit.eu/wt # Following archive was made from upstream tarball downloaded from -# http://citylan.dl.sourceforge.net/project/witty/wt/3.3.4/wt-3.3.4.tar.gz +# https://github.com/kdeforche/wt/archive/3.3.6.tar.gz # by running ./wt-generate-tarball.sh 3.3.5-rc2 from tarball's directory -Source0: %{name}-%{version}-%{alphatag}-free.tar.xz +Source0: %{name}-%{version}-free.tar.xz Source1: %{name}-%{version}-PACKAGE-LICENSING # Explain why the locale example is renamed to timezone. Source2: timezone-README.fedora @@ -32,10 +31,8 @@ Source4: wt-generate-tarball.sh Patch0: find-mysql.patch Patch1: use-system-sqlite.patch -# Fixes compilation on armv7hl with gcc 5.x -Patch2: fix-narrowing-issue-on-arm.patch -BuildRequires: cmake >= 2.6 boost-devel >= 1.41 openssl-devel doxygen +BuildRequires: cmake >= 2.6 boost-devel >= 1.41 gcc-c++ openssl-devel doxygen BuildRequires: GraphicsMagick-devel pango-devel sqlite-devel postgresql-devel BuildRequires: mysql-devel libharu-devel fcgi-devel zlib-devel qt-devel @@ -114,10 +111,9 @@ Group: Documentation This package contains the documents for Wt API and examples. %prep -%setup -q -n %{name}-%{version}-%{alphatag} +%setup -q -n %{name}-%{version} %patch0 -p1 -b .find-mysql %patch1 -p1 -b .use-system-sqlite -%patch2 -p1 -b .fix-narrowing-issue-on-arm # static files like javascript and css should not be executable for d in src resources examples; do From 7abdc7fc9ce3611a135d5b5c49fa857ec5fd6b98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Min=C3=A1=C5=99?= Date: Mon, 8 Aug 2016 15:05:26 +0200 Subject: [PATCH 02/36] Changelog update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Minář --- wt.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wt.spec b/wt.spec index 7888f66..c3ad337 100644 --- a/wt.spec +++ b/wt.spec @@ -293,6 +293,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Mon Aug 08 2016 Michal Minar 3.3.6-1 +- New upstream version 3.3.6 + * Tue May 17 2016 Jonathan Wakely - 3.3.5-0.6.rc2 - Rebuilt for linker errors in boost (#1331983) From 537f74a349cc2d0de418c41a65d6ca8f1b5d0724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Min=C3=A1=C5=99?= Date: Mon, 8 Aug 2016 13:22:00 +0200 Subject: [PATCH 03/36] New upstream version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NV: wt-3.3.6 Signed-off-by: Michal Minář --- .gitignore | 2 +- fix-narrowing-issue-on-arm.patch | 42 ------------------- sources | 2 +- ...GE-LICENSING => wt-3.3.6-PACKAGE-LICENSING | 0 wt-generate-tarball.sh | 5 ++- wt.spec | 19 ++++----- 6 files changed, 15 insertions(+), 55 deletions(-) delete mode 100644 fix-narrowing-issue-on-arm.patch rename wt-3.3.5-PACKAGE-LICENSING => wt-3.3.6-PACKAGE-LICENSING (100%) diff --git a/.gitignore b/.gitignore index 4f0cd24..969a17d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/wt-3.3.5-rc2-free.tar.xz +/wt-3.3.6-free.tar.xz diff --git a/fix-narrowing-issue-on-arm.patch b/fix-narrowing-issue-on-arm.patch deleted file mode 100644 index 1a489b4..0000000 --- a/fix-narrowing-issue-on-arm.patch +++ /dev/null @@ -1,42 +0,0 @@ -Index: wt-3.3.5-rc2/src/web/base64.cpp -=================================================================== ---- wt-3.3.5-rc2.orig/src/web/base64.cpp -+++ wt-3.3.5-rc2/src/web/base64.cpp -@@ -18,24 +18,26 @@ namespace base64 - const char* to_table_end = - _to_table + sizeof(_to_table); - -+ const char _o = (char)(-1); -+ - const char _from_table[128] = - { -- -1, -1, -1, -1, -1, -1, -1, -1, // 0 -- -1, -1, -1, -1, -1, -1, -1, -1, // 8 -- -1, -1, -1, -1, -1, -1, -1, -1, // 16 -- -1, -1, -1, -1, -1, -1, -1, -1, // 24 -- -1, -1, -1, -1, -1, -1, -1, -1, // 32 -- -1, -1, -1, 62, -1, -1, -1, 63, // 40 -+ _o, _o, _o, _o, _o, _o, _o, _o, // 0 -+ _o, _o, _o, _o, _o, _o, _o, _o, // 8 -+ _o, _o, _o, _o, _o, _o, _o, _o, // 16 -+ _o, _o, _o, _o, _o, _o, _o, _o, // 24 -+ _o, _o, _o, _o, _o, _o, _o, _o, // 32 -+ _o, _o, _o, 62, _o, _o, _o, 63, // 40 - 52, 53, 54, 55, 56, 57, 58, 59, // 48 -- 60, 61, -1, -1, -1, 0, -1, -1, // 56 -- -1, 0, 1, 2, 3, 4, 5, 6, // 64 -+ 60, 61, _o, _o, _o, 0, _o, _o, // 56 -+ _o, 0, 1, 2, 3, 4, 5, 6, // 64 - 7, 8, 9, 10, 11, 12, 13, 14, // 72 - 15, 16, 17, 18, 19, 20, 21, 22, // 80 -- 23, 24, 25, -1, -1, -1, -1, -1, // 88 -- -1, 26, 27, 28, 29, 30, 31, 32, // 96 -+ 23, 24, 25, _o, _o, _o, _o, _o, // 88 -+ _o, 26, 27, 28, 29, 30, 31, 32, // 96 - 33, 34, 35, 36, 37, 38, 39, 40, // 104 - 41, 42, 43, 44, 45, 46, 47, 48, // 112 -- 49, 50, 51, -1, -1, -1, -1, -1 // 120 -+ 49, 50, 51, _o, _o, _o, _o, _o // 120 - }; - const char* from_table = _from_table; - } diff --git a/sources b/sources index c2f526e..67ed5f5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2473eed623c93a6d40b823bbc6e0e9c2 wt-3.3.5-rc2-free.tar.xz +22537188d09d50c218c373026ee482e0 wt-3.3.6-free.tar.xz diff --git a/wt-3.3.5-PACKAGE-LICENSING b/wt-3.3.6-PACKAGE-LICENSING similarity index 100% rename from wt-3.3.5-PACKAGE-LICENSING rename to wt-3.3.6-PACKAGE-LICENSING diff --git a/wt-generate-tarball.sh b/wt-generate-tarball.sh index e4027ed..8e4d5f6 100755 --- a/wt-generate-tarball.sh +++ b/wt-generate-tarball.sh @@ -1,10 +1,13 @@ #!/bin/sh +set -euo pipefail +IFS=$'\n\t' + NAME="wt" VERSION=$1 tmp=`mktemp -d` -tar -xzvf $NAME-$VERSION.tar.gz -C $tmp +tar -xzvf $VERSION.tar.gz -C $tmp pushd $tmp pushd $NAME-$VERSION/src/Wt/Dbo/backend rm -r ibpp diff --git a/wt.spec b/wt.spec index 85a7cf8..c3ad337 100644 --- a/wt.spec +++ b/wt.spec @@ -3,11 +3,10 @@ %global WTRUNUSER apache %global WTRUNGROUP apache -%global alphatag rc2 Name: wt -Version: 3.3.5 -Release: 0.6.%{alphatag}%{?dist} +Version: 3.3.6 +Release: 1%{?dist} Summary: C++ library for developing web applications Group: Development/Libraries @@ -15,9 +14,9 @@ Group: Development/Libraries License: GPLv2 and Boost and MIT and (Boost or MIT) and BSD and zlib URL: http://www.webtoolkit.eu/wt # Following archive was made from upstream tarball downloaded from -# http://citylan.dl.sourceforge.net/project/witty/wt/3.3.4/wt-3.3.4.tar.gz +# https://github.com/kdeforche/wt/archive/3.3.6.tar.gz # by running ./wt-generate-tarball.sh 3.3.5-rc2 from tarball's directory -Source0: %{name}-%{version}-%{alphatag}-free.tar.xz +Source0: %{name}-%{version}-free.tar.xz Source1: %{name}-%{version}-PACKAGE-LICENSING # Explain why the locale example is renamed to timezone. Source2: timezone-README.fedora @@ -32,10 +31,8 @@ Source4: wt-generate-tarball.sh Patch0: find-mysql.patch Patch1: use-system-sqlite.patch -# Fixes compilation on armv7hl with gcc 5.x -Patch2: fix-narrowing-issue-on-arm.patch -BuildRequires: cmake >= 2.6 boost-devel >= 1.41 openssl-devel doxygen +BuildRequires: cmake >= 2.6 boost-devel >= 1.41 gcc-c++ openssl-devel doxygen BuildRequires: GraphicsMagick-devel pango-devel sqlite-devel postgresql-devel BuildRequires: mysql-devel libharu-devel fcgi-devel zlib-devel qt-devel @@ -114,10 +111,9 @@ Group: Documentation This package contains the documents for Wt API and examples. %prep -%setup -q -n %{name}-%{version}-%{alphatag} +%setup -q -n %{name}-%{version} %patch0 -p1 -b .find-mysql %patch1 -p1 -b .use-system-sqlite -%patch2 -p1 -b .fix-narrowing-issue-on-arm # static files like javascript and css should not be executable for d in src resources examples; do @@ -297,6 +293,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Mon Aug 08 2016 Michal Minar 3.3.6-1 +- New upstream version 3.3.6 + * Tue May 17 2016 Jonathan Wakely - 3.3.5-0.6.rc2 - Rebuilt for linker errors in boost (#1331983) From eb48851aa013d7b9ceba43e173828557501a5317 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Tue, 10 Jan 2017 08:56:23 -0700 Subject: [PATCH 04/36] Rebuild for glew 2.0.0 --- wt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wt.spec b/wt.spec index c3ad337..4c2ff63 100644 --- a/wt.spec +++ b/wt.spec @@ -6,7 +6,7 @@ Name: wt Version: 3.3.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ library for developing web applications Group: Development/Libraries @@ -293,6 +293,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Tue Jan 10 2017 Orion Poplawski - 3.3.6-2 +- Rebuild for glew 2.0.0 + * Mon Aug 08 2016 Michal Minar 3.3.6-1 - New upstream version 3.3.6 From 4ef3c73e7a446510f2bc1a0fa47512a57c2106a0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 17:34:16 +0000 Subject: [PATCH 05/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- wt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wt.spec b/wt.spec index 4c2ff63..d3ba92e 100644 --- a/wt.spec +++ b/wt.spec @@ -6,7 +6,7 @@ Name: wt Version: 3.3.6 -Release: 2%{?dist} +Release: 3%{?dist} Summary: C++ library for developing web applications Group: Development/Libraries @@ -293,6 +293,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 3.3.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Tue Jan 10 2017 Orion Poplawski - 3.3.6-2 - Rebuild for glew 2.0.0 From 7dc1e2cdcdb8c1bd100cce7657428fca424ac4c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Min=C3=A1=C5=99?= Date: Sun, 23 Apr 2017 16:13:33 +0200 Subject: [PATCH 06/36] New upstream version 3.3.7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Minář --- .gitignore | 2 +- sources | 2 +- ...CKAGE-LICENSING => wt-3.3.7-PACKAGE-LICENSING | 0 wt-generate-tarball.sh | 1 - wt.spec | 16 +++++++++++----- 5 files changed, 13 insertions(+), 8 deletions(-) rename wt-3.3.6-PACKAGE-LICENSING => wt-3.3.7-PACKAGE-LICENSING (100%) diff --git a/.gitignore b/.gitignore index 969a17d..eddc251 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/wt-3.3.6-free.tar.xz +/wt-3.3.7-free.tar.xz diff --git a/sources b/sources index 67ed5f5..97a8fca 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -22537188d09d50c218c373026ee482e0 wt-3.3.6-free.tar.xz +SHA512 (wt-3.3.7-free.tar.xz) = 4dcc7ac3e222a7056026004213422d571af7ed7066a50ab2bd90c432450f8da3456f45cdf0dee877d46cd11ccb03716de5b81cd2d6daa6520b07a54fa8dd1a47 diff --git a/wt-3.3.6-PACKAGE-LICENSING b/wt-3.3.7-PACKAGE-LICENSING similarity index 100% rename from wt-3.3.6-PACKAGE-LICENSING rename to wt-3.3.7-PACKAGE-LICENSING diff --git a/wt-generate-tarball.sh b/wt-generate-tarball.sh index 8e4d5f6..dbde0e4 100755 --- a/wt-generate-tarball.sh +++ b/wt-generate-tarball.sh @@ -17,4 +17,3 @@ tar -cJvf $NAME-$VERSION-free.tar.xz $NAME-$VERSION popd # tmp mv $tmp/$NAME-$VERSION-free.tar.xz . rm -r $tmp - diff --git a/wt.spec b/wt.spec index d3ba92e..6449271 100644 --- a/wt.spec +++ b/wt.spec @@ -5,8 +5,8 @@ %global WTRUNGROUP apache Name: wt -Version: 3.3.6 -Release: 3%{?dist} +Version: 3.3.7 +Release: 1%{?dist} Summary: C++ library for developing web applications Group: Development/Libraries @@ -14,8 +14,8 @@ Group: Development/Libraries License: GPLv2 and Boost and MIT and (Boost or MIT) and BSD and zlib URL: http://www.webtoolkit.eu/wt # Following archive was made from upstream tarball downloaded from -# https://github.com/kdeforche/wt/archive/3.3.6.tar.gz -# by running ./wt-generate-tarball.sh 3.3.5-rc2 from tarball's directory +# https://github.com/kdeforche/wt/archive/3.3.7.tar.gz +# by running ./wt-generate-tarball.sh 3.3.7 from tarball's directory Source0: %{name}-%{version}-free.tar.xz Source1: %{name}-%{version}-PACKAGE-LICENSING # Explain why the locale example is renamed to timezone. @@ -172,7 +172,7 @@ make doc %install pushd wt-build -make install DESTDIR=$RPM_BUILD_ROOT +make install DESTDIR=${RPM_BUILD_ROOT} install -v -m 0755 -d ${RPM_BUILD_ROOT}/%{_sysconfdir}/%{name} cp -v wt_config.xml ${RPM_BUILD_ROOT}/%{_sysconfdir}/%{name} @@ -195,6 +195,8 @@ do # create a symlink for each feature example pointing on resources dir done popd # examples popd # wt-build +install -vm 0755 -d ${RPM_BUILD_ROOT}/%{_datadir}/cmake/Modules +install -vm 0644 cmake/FindWt.cmake ${RPM_BUILD_ROOT}/%{_datadir}/cmake/Modules install -vm 644 %{SOURCE2} \ ${RPM_BUILD_ROOT}%{_libdir}/Wt/examples/feature/timezone/README.fedora @@ -272,6 +274,7 @@ popd %dir %{_includedir}/Wt %{_includedir}/Wt/* %{_libdir}/*.so +%{_datadir}/cmake/Modules/*.cmake %files examples %dir %{_libdir}/Wt @@ -293,6 +296,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Sun Apr 23 2017 Michal Minar 3.3.7-1 +- New upstream version 3.3.7 + * Sat Feb 11 2017 Fedora Release Engineering - 3.3.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 250f2757056fe877b44f8f89c1086de892e9ca38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Min=C3=A1=C5=99?= Date: Sun, 23 Apr 2017 16:13:33 +0200 Subject: [PATCH 07/36] New upstream version 3.3.7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves: bz#1397456 Resolves: bz#1424546 Resolves: bz#1418493 Signed-off-by: Michal Minář --- .gitignore | 2 +- sources | 2 +- ...PACKAGE-LICENSING => wt-3.3.7-PACKAGE-LICENSING | 0 wt-generate-tarball.sh | 1 - wt.spec | 14 ++++++++++---- 5 files changed, 12 insertions(+), 7 deletions(-) rename wt-3.3.6-PACKAGE-LICENSING => wt-3.3.7-PACKAGE-LICENSING (100%) diff --git a/.gitignore b/.gitignore index 969a17d..eddc251 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/wt-3.3.6-free.tar.xz +/wt-3.3.7-free.tar.xz diff --git a/sources b/sources index 67ed5f5..97a8fca 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -22537188d09d50c218c373026ee482e0 wt-3.3.6-free.tar.xz +SHA512 (wt-3.3.7-free.tar.xz) = 4dcc7ac3e222a7056026004213422d571af7ed7066a50ab2bd90c432450f8da3456f45cdf0dee877d46cd11ccb03716de5b81cd2d6daa6520b07a54fa8dd1a47 diff --git a/wt-3.3.6-PACKAGE-LICENSING b/wt-3.3.7-PACKAGE-LICENSING similarity index 100% rename from wt-3.3.6-PACKAGE-LICENSING rename to wt-3.3.7-PACKAGE-LICENSING diff --git a/wt-generate-tarball.sh b/wt-generate-tarball.sh index 8e4d5f6..dbde0e4 100755 --- a/wt-generate-tarball.sh +++ b/wt-generate-tarball.sh @@ -17,4 +17,3 @@ tar -cJvf $NAME-$VERSION-free.tar.xz $NAME-$VERSION popd # tmp mv $tmp/$NAME-$VERSION-free.tar.xz . rm -r $tmp - diff --git a/wt.spec b/wt.spec index c3ad337..aa79a7b 100644 --- a/wt.spec +++ b/wt.spec @@ -5,7 +5,7 @@ %global WTRUNGROUP apache Name: wt -Version: 3.3.6 +Version: 3.3.7 Release: 1%{?dist} Summary: C++ library for developing web applications @@ -14,8 +14,8 @@ Group: Development/Libraries License: GPLv2 and Boost and MIT and (Boost or MIT) and BSD and zlib URL: http://www.webtoolkit.eu/wt # Following archive was made from upstream tarball downloaded from -# https://github.com/kdeforche/wt/archive/3.3.6.tar.gz -# by running ./wt-generate-tarball.sh 3.3.5-rc2 from tarball's directory +# https://github.com/kdeforche/wt/archive/3.3.7.tar.gz +# by running ./wt-generate-tarball.sh 3.3.7 from tarball's directory Source0: %{name}-%{version}-free.tar.xz Source1: %{name}-%{version}-PACKAGE-LICENSING # Explain why the locale example is renamed to timezone. @@ -172,7 +172,7 @@ make doc %install pushd wt-build -make install DESTDIR=$RPM_BUILD_ROOT +make install DESTDIR=${RPM_BUILD_ROOT} install -v -m 0755 -d ${RPM_BUILD_ROOT}/%{_sysconfdir}/%{name} cp -v wt_config.xml ${RPM_BUILD_ROOT}/%{_sysconfdir}/%{name} @@ -195,6 +195,8 @@ do # create a symlink for each feature example pointing on resources dir done popd # examples popd # wt-build +install -vm 0755 -d ${RPM_BUILD_ROOT}/%{_datadir}/cmake/Modules +install -vm 0644 cmake/FindWt.cmake ${RPM_BUILD_ROOT}/%{_datadir}/cmake/Modules install -vm 644 %{SOURCE2} \ ${RPM_BUILD_ROOT}%{_libdir}/Wt/examples/feature/timezone/README.fedora @@ -272,6 +274,7 @@ popd %dir %{_includedir}/Wt %{_includedir}/Wt/* %{_libdir}/*.so +%{_datadir}/cmake/Modules/*.cmake %files examples %dir %{_libdir}/Wt @@ -293,6 +296,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Sun Apr 23 2017 Michal Minar 3.3.7-1 +- New upstream version 3.3.7 + * Mon Aug 08 2016 Michal Minar 3.3.6-1 - New upstream version 3.3.6 From b39d8388f3cf27f49298c64b150e96be6a51f3e3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 15 May 2017 20:51:41 +0000 Subject: [PATCH 08/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild --- wt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wt.spec b/wt.spec index 6449271..9501361 100644 --- a/wt.spec +++ b/wt.spec @@ -6,7 +6,7 @@ Name: wt Version: 3.3.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ library for developing web applications Group: Development/Libraries @@ -296,6 +296,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Mon May 15 2017 Fedora Release Engineering - 3.3.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild + * Sun Apr 23 2017 Michal Minar 3.3.7-1 - New upstream version 3.3.7 From 0d911dc901d83f193bd67b7efca468edfa762084 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Sun, 23 Jul 2017 21:54:44 +0200 Subject: [PATCH 09/36] Rebuilt for Boost 1.64 --- wt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wt.spec b/wt.spec index 9501361..704c193 100644 --- a/wt.spec +++ b/wt.spec @@ -6,7 +6,7 @@ Name: wt Version: 3.3.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: C++ library for developing web applications Group: Development/Libraries @@ -296,6 +296,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Sun Jul 23 2017 Björn Esser - 3.3.7-3 +- Rebuilt for Boost 1.64 + * Mon May 15 2017 Fedora Release Engineering - 3.3.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild From d6c6a0403cac3074390fa7a0c354361e9e118eff Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 21:47:47 +0000 Subject: [PATCH 10/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- wt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wt.spec b/wt.spec index 704c193..91ac4d6 100644 --- a/wt.spec +++ b/wt.spec @@ -6,7 +6,7 @@ Name: wt Version: 3.3.7 -Release: 3%{?dist} +Release: 4%{?dist} Summary: C++ library for developing web applications Group: Development/Libraries @@ -296,6 +296,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 3.3.7-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Sun Jul 23 2017 Björn Esser - 3.3.7-3 - Rebuilt for Boost 1.64 From 4ea5ac5ab8f4323e6329b6dce169d21956c573fb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 3 Aug 2017 10:23:59 +0000 Subject: [PATCH 11/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- wt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wt.spec b/wt.spec index 91ac4d6..b211f78 100644 --- a/wt.spec +++ b/wt.spec @@ -6,7 +6,7 @@ Name: wt Version: 3.3.7 -Release: 4%{?dist} +Release: 5%{?dist} Summary: C++ library for developing web applications Group: Development/Libraries @@ -296,6 +296,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Thu Aug 03 2017 Fedora Release Engineering - 3.3.7-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Thu Jul 27 2017 Fedora Release Engineering - 3.3.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 1a21bc8228b5b2342607d4a15d57ff39e588fef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Min=C3=A1=C5=99?= Date: Fri, 8 Sep 2017 15:27:25 +0200 Subject: [PATCH 12/36] New upstream version 3.3.8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Minář --- .gitignore | 2 +- sources | 2 +- ...GE-LICENSING => wt-3.3.8-PACKAGE-LICENSING | 0 wt-generate-tarball.sh | 49 ++++++++++++++----- wt.spec | 9 ++-- 5 files changed, 46 insertions(+), 16 deletions(-) rename wt-3.3.7-PACKAGE-LICENSING => wt-3.3.8-PACKAGE-LICENSING (100%) diff --git a/.gitignore b/.gitignore index eddc251..50279a1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/wt-3.3.7-free.tar.xz +/wt-3.3.8-free.tar.xz diff --git a/sources b/sources index 97a8fca..ad9ac18 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wt-3.3.7-free.tar.xz) = 4dcc7ac3e222a7056026004213422d571af7ed7066a50ab2bd90c432450f8da3456f45cdf0dee877d46cd11ccb03716de5b81cd2d6daa6520b07a54fa8dd1a47 +SHA512 (wt-3.3.8-free.tar.xz) = a80f54b8e045c086b5368c23f031b5eba66596b478f07c38eddd9bd4ec754dea036733d388619793ae5d9b0172d0217a30086234abdbe0e8c3efd5e2489b269d diff --git a/wt-3.3.7-PACKAGE-LICENSING b/wt-3.3.8-PACKAGE-LICENSING similarity index 100% rename from wt-3.3.7-PACKAGE-LICENSING rename to wt-3.3.8-PACKAGE-LICENSING diff --git a/wt-generate-tarball.sh b/wt-generate-tarball.sh index dbde0e4..b10c2d8 100755 --- a/wt-generate-tarball.sh +++ b/wt-generate-tarball.sh @@ -3,17 +3,44 @@ set -euo pipefail IFS=$'\n\t' -NAME="wt" -VERSION=$1 +readonly NAME="wt" + +readonly USAGE="Usage: ${BASH_SOURCE[0]} (-h | ) + +Extracts archive of ${NAME} of given VERSION and removes all unfree source code +and packs the resulting tree into ${NAME}-VERSION.tar.xz compressed archive. + +Options: + -h Print this help and exit." + +if [[ $# -lt 1 ]]; then + echo "Missing version argument!" >&2 + exit 1 +fi +if [[ "$1" == "-h" ]]; then + echo "${USAGE}" + exit 0 +fi +readonly VERSION="$1" +readonly TARGET="${NAME}-${VERSION}-free.tar.xz" + tmp=`mktemp -d` -tar -xzvf $VERSION.tar.gz -C $tmp -pushd $tmp -pushd $NAME-$VERSION/src/Wt/Dbo/backend -rm -r ibpp -popd # backend -rm -r $NAME-$VERSION/resources/jPlayer -tar -cJvf $NAME-$VERSION-free.tar.xz $NAME-$VERSION +function cleanup() { + rm -r "${tmp}" +} +trap cleanup EXIT + +tar -xzvf "${NAME}-${VERSION}.tar.gz" -C "${tmp}" +pushd "${tmp}" + pushd "${NAME}-${VERSION}/src/Wt/Dbo/backend" + rm -r ibpp + popd # backend + rm -r "${NAME}-${VERSION}/resources/jPlayer" + + tar -cJvf "${TARGET}" "${NAME}-${VERSION}" popd # tmp -mv $tmp/$NAME-$VERSION-free.tar.xz . -rm -r $tmp + +mv "${tmp}/${NAME}-${VERSION}-free.tar.xz" . +printf "-------------------------------------------\n" +printf "To upload the archive, run:\n\n fedpkg upload %s\n\n" "${TARGET}" diff --git a/wt.spec b/wt.spec index aa79a7b..1f5533e 100644 --- a/wt.spec +++ b/wt.spec @@ -5,7 +5,7 @@ %global WTRUNGROUP apache Name: wt -Version: 3.3.7 +Version: 3.3.8 Release: 1%{?dist} Summary: C++ library for developing web applications @@ -14,8 +14,8 @@ Group: Development/Libraries License: GPLv2 and Boost and MIT and (Boost or MIT) and BSD and zlib URL: http://www.webtoolkit.eu/wt # Following archive was made from upstream tarball downloaded from -# https://github.com/kdeforche/wt/archive/3.3.7.tar.gz -# by running ./wt-generate-tarball.sh 3.3.7 from tarball's directory +# https://github.com/kdeforche/wt/archive/3.3.8.tar.gz +# by running ./wt-generate-tarball.sh 3.3.8 from tarball's directory Source0: %{name}-%{version}-free.tar.xz Source1: %{name}-%{version}-PACKAGE-LICENSING # Explain why the locale example is renamed to timezone. @@ -296,6 +296,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Mon Sep 11 2017 Michal Minar 3.3.8-1 +- New upstream version 3.3.8 + * Sun Apr 23 2017 Michal Minar 3.3.7-1 - New upstream version 3.3.7 From d7ead1bba92ba804c9e8e6b375ec3c8b01ae9a3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Sat, 20 Jan 2018 23:08:42 +0100 Subject: [PATCH 13/36] Rebuilt for switch to libxcrypt --- wt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wt.spec b/wt.spec index b211f78..c94fff9 100644 --- a/wt.spec +++ b/wt.spec @@ -6,7 +6,7 @@ Name: wt Version: 3.3.7 -Release: 5%{?dist} +Release: 6%{?dist} Summary: C++ library for developing web applications Group: Development/Libraries @@ -296,6 +296,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Sat Jan 20 2018 Björn Esser - 3.3.7-6 +- Rebuilt for switch to libxcrypt + * Thu Aug 03 2017 Fedora Release Engineering - 3.3.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From 35c266b483d070b025b12ed8d998f8b7ab93a7fc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 21:12:35 +0000 Subject: [PATCH 14/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wt.spec b/wt.spec index c94fff9..1046d14 100644 --- a/wt.spec +++ b/wt.spec @@ -6,7 +6,7 @@ Name: wt Version: 3.3.7 -Release: 6%{?dist} +Release: 7%{?dist} Summary: C++ library for developing web applications Group: Development/Libraries @@ -296,6 +296,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 3.3.7-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Sat Jan 20 2018 Björn Esser - 3.3.7-6 - Rebuilt for switch to libxcrypt From 5057160a56d7aa60fa7857dfffdbdad5c978ae42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Min=C3=A1=C5=99?= Date: Thu, 15 Mar 2018 10:53:54 +0000 Subject: [PATCH 15/36] initial 4.0.2 commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Minář --- .gitignore | 2 +- sources | 2 +- ...AGE-LICENSING => wt-4.0.2-PACKAGE-LICENSING | 0 wt.spec | 18 ++++++++++-------- 4 files changed, 12 insertions(+), 10 deletions(-) rename wt-3.3.7-PACKAGE-LICENSING => wt-4.0.2-PACKAGE-LICENSING (100%) diff --git a/.gitignore b/.gitignore index eddc251..5d2347a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/wt-3.3.7-free.tar.xz +/wt-4.0.2-free.tar.xz diff --git a/sources b/sources index 97a8fca..2305083 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wt-3.3.7-free.tar.xz) = 4dcc7ac3e222a7056026004213422d571af7ed7066a50ab2bd90c432450f8da3456f45cdf0dee877d46cd11ccb03716de5b81cd2d6daa6520b07a54fa8dd1a47 +SHA512 (wt-4.0.2-free.tar.xz) = 8bd6fc043fe7316cafb484200b0f2827b64dcb1336c55f385d6e082baec4affbc31493b4a1155c8710c8ac08ccd11ad6aefa0e944679da65bcb18ffe5017c596 diff --git a/wt-3.3.7-PACKAGE-LICENSING b/wt-4.0.2-PACKAGE-LICENSING similarity index 100% rename from wt-3.3.7-PACKAGE-LICENSING rename to wt-4.0.2-PACKAGE-LICENSING diff --git a/wt.spec b/wt.spec index 1046d14..a56a526 100644 --- a/wt.spec +++ b/wt.spec @@ -5,14 +5,14 @@ %global WTRUNGROUP apache Name: wt -Version: 3.3.7 -Release: 7%{?dist} +Version: 4.0.2 +Release: 1%{?dist} Summary: C++ library for developing web applications Group: Development/Libraries # For a breakdown of the licensing, see PACKAGE-LICENSING License: GPLv2 and Boost and MIT and (Boost or MIT) and BSD and zlib -URL: http://www.webtoolkit.eu/wt +URL: https://www.webtoolkit.eu/wt # Following archive was made from upstream tarball downloaded from # https://github.com/kdeforche/wt/archive/3.3.7.tar.gz # by running ./wt-generate-tarball.sh 3.3.7 from tarball's directory @@ -152,7 +152,6 @@ cd wt-build ## by Red Hat Legal ## let's not package it, until licensing issues are solved %cmake .. \ - -DWT_CPP_11_MODE=-std=c++11 \ -DCONNECTOR_HTTP=ON \ -DCONNECTOR_FCGI=ON \ -DUSE_SYSTEM_SQLITE3=ON \ @@ -161,11 +160,12 @@ cd wt-build -DWEBGROUP="%{WTRUNGROUP}" \ -DRUNDIR="%{WTRUNDIR}" \ -DCONFIGDIR="%{_sysconfdir}/%{name}" \ - -DINSTALL_EXAMPLES=ON \ -DENABLE_FIREBIRD=OFF \ -DENABLE_MYSQL=ON \ -DMYSQL_LIBRARY=mysqlclient \ %{?use_system_glew:-DUSE_SYSTEM_GLEW=1} \ + -DBUILD_EXAMPLES=ON \ + -DINSTALL_EXAMPLES=ON \ -DEXAMPLES_DESTINATION=%{_lib}/Wt/examples make %{?_smp_mflags} make doc @@ -195,8 +195,6 @@ do # create a symlink for each feature example pointing on resources dir done popd # examples popd # wt-build -install -vm 0755 -d ${RPM_BUILD_ROOT}/%{_datadir}/cmake/Modules -install -vm 0644 cmake/FindWt.cmake ${RPM_BUILD_ROOT}/%{_datadir}/cmake/Modules install -vm 644 %{SOURCE2} \ ${RPM_BUILD_ROOT}%{_libdir}/Wt/examples/feature/timezone/README.fedora @@ -274,7 +272,8 @@ popd %dir %{_includedir}/Wt %{_includedir}/Wt/* %{_libdir}/*.so -%{_datadir}/cmake/Modules/*.cmake +%dir %{_libdir}/cmake/wt +%{_libdir}/cmake/wt/*.cmake %files examples %dir %{_libdir}/Wt @@ -296,6 +295,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Thu Mar 15 2018 Michal Minář - 4.0.2-1 +- New upstream version 4.0.2 + * Fri Feb 09 2018 Fedora Release Engineering - 3.3.7-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From e0a07ae1087ac5fc44699fd8fbeac8de4ff45a17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Min=C3=A1=C5=99?= Date: Thu, 15 Mar 2018 13:33:30 +0000 Subject: [PATCH 16/36] boost 1.66 compatibility fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Minář --- boost-166-compat.patch | 605 +++++++++++++++++++++++++++++++++++++++++ examples-crypt.patch | 24 ++ wt.spec | 13 +- 3 files changed, 638 insertions(+), 4 deletions(-) create mode 100644 boost-166-compat.patch create mode 100644 examples-crypt.patch diff --git a/boost-166-compat.patch b/boost-166-compat.patch new file mode 100644 index 0000000..db09374 --- /dev/null +++ b/boost-166-compat.patch @@ -0,0 +1,605 @@ +Index: wt-4.0.2/examples/filetreetable/CMakeLists.txt +=================================================================== +--- wt-4.0.2.orig/examples/filetreetable/CMakeLists.txt ++++ wt-4.0.2/examples/filetreetable/CMakeLists.txt +@@ -10,6 +10,7 @@ ELSE(NOT BOOST_FS_LIB) + + TARGET_LINK_LIBRARIES(filetreetable.wt + ${BOOST_FS_LIB} ++ ${BOOST_SYSTEM_LIB} + ) + + INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src) +Index: wt-4.0.2/examples/gitmodel/CMakeLists.txt +=================================================================== +--- wt-4.0.2.orig/examples/gitmodel/CMakeLists.txt ++++ wt-4.0.2/examples/gitmodel/CMakeLists.txt +@@ -7,7 +7,7 @@ IF(BOOST_FS_LIB) + ../wt-homepage/SourceView.C + GitView.C + ) +- TARGET_LINK_LIBRARIES(gitview.wt ${BOOST_FS_LIB}) ++ TARGET_LINK_LIBRARIES(gitview.wt ${BOOST_FS_LIB} ${BOOST_SYSTEM_LIB}) + + INCLUDE_DIRECTORIES( + ${WT_SOURCE_DIR}/src +Index: wt-4.0.2/examples/wt-homepage/CMakeLists.txt +=================================================================== +--- wt-4.0.2.orig/examples/wt-homepage/CMakeLists.txt ++++ wt-4.0.2/examples/wt-homepage/CMakeLists.txt +@@ -34,7 +34,7 @@ ENDIF(WT_EMWEB_BUILD) + + WT_ADD_EXAMPLE(Home.wt ${SRC}) + +-TARGET_LINK_LIBRARIES(Home.wt ${EXAMPLES_DBO_LIBS} ${BOOST_FS_LIB}) ++TARGET_LINK_LIBRARIES(Home.wt ${EXAMPLES_DBO_LIBS} ${BOOST_FS_LIB} ${BOOST_SYSTEM_LIB}) + + # Test whether crypt(3) is provided by libc. If it's not, check if + # libcrypt exists and if it provides crypt(3). +Index: wt-4.0.2/src/Wt/AsioWrapper/strand.hpp +=================================================================== +--- wt-4.0.2.orig/src/Wt/AsioWrapper/strand.hpp ++++ wt-4.0.2/src/Wt/AsioWrapper/strand.hpp +@@ -12,10 +12,29 @@ + #ifdef WT_ASIO_IS_BOOST_ASIO + + #include ++namespace Wt { ++ namespace AsioWrapper { ++#if BOOST_VERSION >= 106600 ++ using strand = boost::asio::io_context::strand; ++#else ++ using strand = boost::asio::strand; ++#endif ++ } ++} + + #else // WT_ASIO_IS_STANDALONE_ASIO + ++#include + #include ++namespace Wt { ++ namespace AsioWrapper { ++#if ASIO_VERSION >= 101100 ++ using strand = asio::io_service::strand; ++#else ++ using strand = asio::strand; ++#endif ++ } ++} + + #endif // WT_ASIO_IS_BOOST_ASIO + +Index: wt-4.0.2/src/Wt/Http/Client.C +=================================================================== +--- wt-4.0.2.orig/src/Wt/Http/Client.C ++++ wt-4.0.2/src/Wt/Http/Client.C +@@ -642,7 +642,7 @@ private: + + protected: + asio::io_service& ioService_; +- asio::strand strand_; ++ AsioWrapper::strand strand_; + tcp::resolver resolver_; + asio::streambuf requestBuf_; + asio::streambuf responseBuf_; +@@ -929,8 +929,14 @@ bool Client::request(Http::Method method + + #ifdef WT_WITH_SSL + } else if (parsedUrl.protocol == "https") { ++#if defined(WT_ASIO_IS_BOOST_ASIO) && BOOST_VERSION >= 106600 ++ asio::ssl::context context(asio::ssl::context::tls); ++#elif defined(WT_ASIO_IS_STANDALONE_ASIO) && ASIO_VERSION >= 101100 ++ asio::ssl::context context(asio::ssl::context::sslv23); ++#else + asio::ssl::context context + (*ioService, asio::ssl::context::sslv23); ++#endif + long sslOptions = asio::ssl::context::no_sslv2 | asio::ssl::context::no_sslv3; + context.set_options(sslOptions); + +Index: wt-4.0.2/src/Wt/Http/Client.h +=================================================================== +--- wt-4.0.2.orig/src/Wt/Http/Client.h ++++ wt-4.0.2/src/Wt/Http/Client.h +@@ -23,7 +23,12 @@ + #ifdef WT_ASIO_IS_BOOST_ASIO + namespace boost { + namespace asio { ++#if BOOST_VERSION >= 106600 ++ class io_context; ++ typedef io_context io_service; ++#else + class io_service; ++#endif + } + } + #else // WT_ASIO_IS_STANDALONE_ASIO +Index: wt-4.0.2/src/Wt/Json/Value.h +=================================================================== +--- wt-4.0.2.orig/src/Wt/Json/Value.h ++++ wt-4.0.2/src/Wt/Json/Value.h +@@ -23,7 +23,7 @@ class Array; + * \brief A JSON representation and parsing library. + * + * The JSON library contains data types to represent a JSON data +- * structure (Value, Object and Array), and a JSON parser. ++ * structure (Value, Object and Array), a JSON parser, and a JSON serializer. + * + * Usage example: + * \code +@@ -39,6 +39,9 @@ class Array; + * bool b = result.get("b"); + * std::cerr << "a: " << s << ", b: " << b << std::endl; // a: That's great, b: true + * \endcode ++ * ++ * Include the header for Wt::Json::parse(), and ++ * the header for Wt::Json::serialize(). + */ + + /*! \brief Enumeration for the type of a JSON value. +Index: wt-4.0.2/src/Wt/WDialog.C +=================================================================== +--- wt-4.0.2.orig/src/Wt/WDialog.C ++++ wt-4.0.2/src/Wt/WDialog.C +@@ -436,8 +436,10 @@ void WDialog::render(WFlags + if (!isModal()) + impl_->mouseWentDown().connect(this, &WDialog::bringToFront); + +- if ( flags.test(RenderFlag::Full) && autoFocus_) +- impl_->setFirstFocus(); ++ if ( flags.test(RenderFlag::Full) && autoFocus_) { ++ if (!impl_->findById(Wt::WApplication::instance()->focus())) ++ impl_->setFirstFocus(); ++ } + + WPopupWidget::render(flags); + } +Index: wt-4.0.2/src/Wt/WDialog.h +=================================================================== +--- wt-4.0.2.orig/src/Wt/WDialog.h ++++ wt-4.0.2/src/Wt/WDialog.h +@@ -337,6 +337,9 @@ public: + bool closable() const { return closeIcon_ != nullptr; } + + /*! \brief Set focus on the first widget in the dialog. ++ * ++ * Autofocus is enabled by default. If a widget inside of ++ * this dialog already has focus, the focus will not be changed. + */ + void setAutoFocus(bool enable){ autoFocus_ = enable;} + +Index: wt-4.0.2/src/Wt/WWebWidget.C +=================================================================== +--- wt-4.0.2.orig/src/Wt/WWebWidget.C ++++ wt-4.0.2/src/Wt/WWebWidget.C +@@ -1983,9 +1983,13 @@ bool WWebWidget::setFirstFocus() + return true; + } + +- for (unsigned i = 0; i < children().size(); i++) +- if (children()[i]->setFirstFocus()) +- return true; ++ bool result = false; ++ iterateChildren([&result](Wt::WWidget *w){ ++ if (!result) ++ result = w->setFirstFocus(); ++ }); ++ if (result) ++ return true; + + return false; + } else +@@ -2207,6 +2211,8 @@ WWidget *WWebWidget::findById(const std: + if (!result) + result = c->findById(id); + }); ++ if (result) ++ return result; + } + + return nullptr; +Index: wt-4.0.2/src/http/Connection.C +=================================================================== +--- wt-4.0.2.orig/src/http/Connection.C ++++ wt-4.0.2/src/http/Connection.C +@@ -61,6 +61,15 @@ Connection::~Connection() + LOG_DEBUG("~Connection"); + } + ++asio::ip::tcp::socket::native_handle_type Connection::native() ++{ ++#if (defined(WT_ASIO_IS_BOOST_ASIO) && BOOST_VERSION >= 106600) || (defined(WT_ASIO_IS_STANDALONE_ASIO) && ASIO_VERSION >= 101100) ++ return socket().native_handle(); ++#else ++ return socket().native(); ++#endif ++} ++ + void Connection::finishReply() + { + if (!request_.uri.empty()) { +@@ -78,7 +87,7 @@ void Connection::scheduleStop() + + void Connection::start() + { +- LOG_DEBUG(socket().native() << ": start()"); ++ LOG_DEBUG(native() << ": start()"); + + request_parser_.reset(); + request_.reset(); +@@ -106,7 +115,7 @@ void Connection::stop() + void Connection::setReadTimeout(int seconds) + { + if (seconds != 0) { +- LOG_DEBUG(socket().native() << " setting read timeout (ws: " ++ LOG_DEBUG(native() << " setting read timeout (ws: " + << request_.webSocketVersion << ")"); + state_ |= Reading; + +@@ -118,7 +127,7 @@ void Connection::setReadTimeout(int seco + + void Connection::setWriteTimeout(int seconds) + { +- LOG_DEBUG(socket().native() << " setting write timeout (ws: " ++ LOG_DEBUG(native() << " setting write timeout (ws: " + << request_.webSocketVersion << ")"); + state_ |= Writing; + +@@ -129,7 +138,7 @@ void Connection::setWriteTimeout(int sec + + void Connection::cancelReadTimer() + { +- LOG_DEBUG(socket().native() << " cancel read timeout"); ++ LOG_DEBUG(native() << " cancel read timeout"); + state_.clear(Reading); + + readTimer_.cancel(); +@@ -137,7 +146,7 @@ void Connection::cancelReadTimer() + + void Connection::cancelWriteTimer() + { +- LOG_DEBUG(socket().native() << " cancel write timeout"); ++ LOG_DEBUG(native() << " cancel write timeout"); + state_.clear(Writing); + + writeTimer_.cancel(); +@@ -163,7 +172,7 @@ void Connection::handleReadRequest0() + + #ifdef DEBUG + try { +- LOG_DEBUG(socket().native() << "incoming request: " ++ LOG_DEBUG(socket().native_handle() << "incoming request: " + << socket().remote_endpoint().port() << " (avail= " + << (rcv_buffer_size_ - (rcv_remaining_ - buffer.data())) << "): " + << std::string(rcv_remaining_, +@@ -189,7 +198,7 @@ void Connection::handleReadRequest0() + if (doWebSockets) + request_.enableWebSocket(); + +- LOG_DEBUG(socket().native() << "request: " << status); ++ LOG_DEBUG(native() << "request: " << status); + + if (status >= 300) + sendStockReply(status); +@@ -242,7 +251,7 @@ void Connection::sendStockReply(StockRep + void Connection::handleReadRequest(const Wt::AsioWrapper::error_code& e, + std::size_t bytes_transferred) + { +- LOG_DEBUG(socket().native() << ": handleReadRequest(): " << e.message()); ++ LOG_DEBUG(native() << ": handleReadRequest(): " << e.message()); + + cancelReadTimer(); + +@@ -261,7 +270,7 @@ void Connection::close() + cancelReadTimer(); + cancelWriteTimer(); + +- LOG_DEBUG(socket().native() << ": close()"); ++ LOG_DEBUG(native() << ": close()"); + + ConnectionManager_.stop(shared_from_this()); + } +@@ -274,7 +283,7 @@ bool Connection::closed() const + + void Connection::handleError(const Wt::AsioWrapper::error_code& e) + { +- LOG_DEBUG(socket().native() << ": error: " << e.message()); ++ LOG_DEBUG(native() << ": error: " << e.message()); + + close(); + } +@@ -349,7 +358,7 @@ void Connection::handleReadBody0(ReplyPt + const Wt::AsioWrapper::error_code& e, + std::size_t bytes_transferred) + { +- LOG_DEBUG(socket().native() << ": handleReadBody0(): " << e.message()); ++ LOG_DEBUG(native() << ": handleReadBody0(): " << e.message()); + + if (disconnectCallback_) { + if (e && e != asio::error::operation_aborted) { +@@ -357,7 +366,7 @@ void Connection::handleReadBody0(ReplyPt + disconnectCallback_ = boost::function(); + f(); + } else if (!e) { +- LOG_ERROR(socket().native() ++ LOG_ERROR(native() + << ": handleReadBody(): while waiting for disconnect, " + "received unexpected data, closing"); + close(); +@@ -410,7 +419,7 @@ void Connection::startWriteResponse(Repl + } + #endif + +- LOG_DEBUG(socket().native() << " sending: " << s << "(buffers: " ++ LOG_DEBUG(native() << " sending: " << s << "(buffers: " + << buffers.size() << ")"); + + if (!buffers.empty()) { +@@ -423,7 +432,7 @@ void Connection::startWriteResponse(Repl + + void Connection::handleWriteResponse(ReplyPtr reply) + { +- LOG_DEBUG(socket().native() << ": handleWriteResponse() " << ++ LOG_DEBUG(native() << ": handleWriteResponse() " << + haveResponse_ << " " << responseDone_); + if (haveResponse_) + startWriteResponse(reply); +@@ -458,7 +467,7 @@ void Connection::handleWriteResponse0(Re + const Wt::AsioWrapper::error_code& e, + std::size_t bytes_transferred) + { +- LOG_DEBUG(socket().native() << ": handleWriteResponse0(): " ++ LOG_DEBUG(native() << ": handleWriteResponse0(): " + << bytes_transferred << " ; " << e.message()); + + cancelWriteTimer(); +Index: wt-4.0.2/src/http/Connection.h +=================================================================== +--- wt-4.0.2.orig/src/http/Connection.h ++++ wt-4.0.2/src/http/Connection.h +@@ -18,6 +18,7 @@ + #define HTTP_CONNECTION_HPP + + #include ++#include + #include + + #include "Buffer.h" +@@ -61,7 +62,7 @@ public: + virtual ~Connection(); + + Server *server() const { return server_; } +- asio::strand& strand() { return strand_; } ++ Wt::AsioWrapper::strand& strand() { return strand_; } + + /// Stop all asynchronous operations associated with the connection. + void scheduleStop(); +@@ -86,6 +87,9 @@ public: + const std::function& callback); + + protected: ++ /// Get the native handle of the socket ++ asio::ip::tcp::socket::native_handle_type native(); ++ + void handleWriteResponse0(ReplyPtr reply, + const Wt::AsioWrapper::error_code& e, + std::size_t bytes_transferred); +@@ -104,7 +108,7 @@ protected: + /// The manager for this connection. + ConnectionManager& ConnectionManager_; + +- asio::strand strand_; ++ Wt::AsioWrapper::strand strand_; + + void finishReply(); + +Index: wt-4.0.2/src/http/Reply.C +=================================================================== +--- wt-4.0.2.orig/src/http/Reply.C ++++ wt-4.0.2/src/http/Reply.C +@@ -596,7 +596,8 @@ bool Reply::encodeNextContentBuffer( + originalSize += bs; + + gzipStrm_.avail_in = bs; +- gzipStrm_.next_in = (unsigned char *)asio::detail::buffer_cast_helper(b); ++ gzipStrm_.next_in = const_cast( ++ asio::buffer_cast(b)); + + unsigned char out[16*1024]; + do { +Index: wt-4.0.2/src/http/Server.C +=================================================================== +--- wt-4.0.2.orig/src/http/Server.C ++++ wt-4.0.2/src/http/Server.C +@@ -116,7 +116,11 @@ Server::Server(const Configuration& conf + accept_strand_(wt_.ioService()), + // post_strand_(ioService_), + #ifdef HTTP_WITH_SSL ++#if (defined(WT_ASIO_IS_BOOST_ASIO) && BOOST_VERSION >= 106600) || (defined(WT_ASIO_IS_STANDALONE_ASIO) && ASIO_VERSION >= 101100) ++ ssl_context_(asio::ssl::context::sslv23), ++#else + ssl_context_(wt_.ioService(), asio::ssl::context::sslv23), ++#endif + #endif // HTTP_WITH_SSL + connection_manager_(), + sessionManager_(0), +Index: wt-4.0.2/src/http/Server.h +=================================================================== +--- wt-4.0.2.orig/src/http/Server.h ++++ wt-4.0.2/src/http/Server.h +@@ -129,7 +129,7 @@ private: + Wt::WLogger accessLogger_; + + /// The strand for handleTcpAccept(), handleSslAccept() and handleStop() +- asio::strand accept_strand_; ++ Wt::AsioWrapper::strand accept_strand_; + + /// Acceptors used to listen for incoming http connections. + std::vector tcp_listeners_; +Index: wt-4.0.2/src/http/SessionProcess.C +=================================================================== +--- wt-4.0.2.orig/src/http/SessionProcess.C ++++ wt-4.0.2/src/http/SessionProcess.C +@@ -16,6 +16,7 @@ + #include + #endif // WT_WIN32 + ++#include "Wt/WConfig.h" + #include "Wt/WLogger.h" + + namespace Wt { +@@ -80,7 +81,11 @@ void SessionProcess::asyncExec(const Con + if (!ec) + acceptor_->listen(0, ec); + #ifndef WT_WIN32 ++#if (defined(WT_ASIO_IS_BOOST_ASIO) && BOOST_VERSION >= 106600) || (defined(WT_ASIO_IS_STANDALONE_ASIO) && ASIO_VERSION >= 101100) ++ fcntl(acceptor_->native_handle(), F_SETFD, FD_CLOEXEC); ++#else + fcntl(acceptor_->native(), F_SETFD, FD_CLOEXEC); ++#endif + #endif // !WT_WIN32 + if (ec) { + LOG_ERROR("Couldn't create listening socket: " << ec.message()); +Index: wt-4.0.2/src/http/SslConnection.C +=================================================================== +--- wt-4.0.2.orig/src/http/SslConnection.C ++++ wt-4.0.2/src/http/SslConnection.C +@@ -81,9 +81,9 @@ void SslConnection::handleHandshake(cons + + void SslConnection::stop() + { +- LOG_DEBUG(socket().native() << ": stop()"); ++ LOG_DEBUG(native() << ": stop()"); + finishReply(); +- LOG_DEBUG(socket().native() << ": SSL shutdown"); ++ LOG_DEBUG(native() << ": SSL shutdown"); + + Connection::stop(); + +@@ -108,20 +108,20 @@ void SslConnection::stopNextLayer(const + // In case of timeout, we will get here twice. + sslShutdownTimer_.cancel(); + if (ec) { +- LOG_DEBUG(socket().native() << ": ssl_shutdown failed:" ++ LOG_DEBUG(native() << ": ssl_shutdown failed:" + << ec.message()); + } + try { + if (socket().is_open()) { + Wt::AsioWrapper::error_code ignored_ec; +- LOG_DEBUG(socket().native() << ": socket shutdown"); ++ LOG_DEBUG(native() << ": socket shutdown"); + socket().shutdown(asio::ip::tcp::socket::shutdown_both, + ignored_ec); +- LOG_DEBUG(socket().native() << "closing socket"); ++ LOG_DEBUG(native() << "closing socket"); + socket().close(); + } + } catch (Wt::AsioWrapper::system_error& e) { +- LOG_DEBUG(socket().native() << ": error " << e.what()); ++ LOG_DEBUG(native() << ": error " << e.what()); + } + } + +@@ -161,7 +161,7 @@ void SslConnection::startAsyncReadBody(R + Buffer& buffer, int timeout) + { + if (state_ & Reading) { +- LOG_DEBUG(socket().native() << ": state_ = " ++ LOG_DEBUG(native() << ": state_ = " + << (state_ & Reading ? "reading " : "") + << (state_ & Writing ? "writing " : "")); + stop(); +@@ -198,7 +198,7 @@ void SslConnection + int timeout) + { + if (state_ & Writing) { +- LOG_DEBUG(socket().native() << ": state_ = " ++ LOG_DEBUG(native() << ": state_ = " + << (state_ & Reading ? "reading " : "") + << (state_ & Writing ? "writing " : "")); + stop(); +Index: wt-4.0.2/src/http/TcpConnection.C +=================================================================== +--- wt-4.0.2.orig/src/http/TcpConnection.C ++++ wt-4.0.2/src/http/TcpConnection.C +@@ -38,17 +38,17 @@ asio::ip::tcp::socket& TcpConnection::so + + void TcpConnection::stop() + { +- LOG_DEBUG(socket().native() << ": stop()"); ++ LOG_DEBUG(native() << ": stop()"); + + finishReply(); + + try { + Wt::AsioWrapper::error_code ignored_ec; + socket_.shutdown(asio::ip::tcp::socket::shutdown_both, ignored_ec); +- LOG_DEBUG(socket().native() << ": closing socket"); ++ LOG_DEBUG(native() << ": closing socket"); + socket_.close(); + } catch (Wt::AsioWrapper::system_error& e) { +- LOG_DEBUG(socket().native() << ": error " << e.what()); ++ LOG_DEBUG(native() << ": error " << e.what()); + } + + Connection::stop(); +@@ -56,10 +56,10 @@ void TcpConnection::stop() + + void TcpConnection::startAsyncReadRequest(Buffer& buffer, int timeout) + { +- LOG_DEBUG(socket().native() << ": startAsyncReadRequest"); ++ LOG_DEBUG(native() << ": startAsyncReadRequest"); + + if (state_ & Reading) { +- LOG_DEBUG(socket().native() << ": state_ = " ++ LOG_DEBUG(native() << ": state_ = " + << (state_ & Reading ? "reading " : "") + << (state_ & Writing ? "writing " : "")); + stop(); +@@ -81,10 +81,10 @@ void TcpConnection::startAsyncReadReques + void TcpConnection::startAsyncReadBody(ReplyPtr reply, + Buffer& buffer, int timeout) + { +- LOG_DEBUG(socket().native() << ": startAsyncReadBody"); ++ LOG_DEBUG(native() << ": startAsyncReadBody"); + + if (state_ & Reading) { +- LOG_DEBUG(socket().native() << ": state_ = " ++ LOG_DEBUG(native() << ": state_ = " + << (state_ & Reading ? "reading " : "") + << (state_ & Writing ? "writing " : "")); + stop(); +@@ -109,10 +109,10 @@ void TcpConnection::startAsyncWriteRespo + const std::vector& buffers, + int timeout) + { +- LOG_DEBUG(socket().native() << ": startAsyncWriteResponse"); ++ LOG_DEBUG(native() << ": startAsyncWriteResponse"); + + if (state_ & Writing) { +- LOG_DEBUG(socket().native() << ": state_ = " ++ LOG_DEBUG(native() << ": state_ = " + << (state_ & Reading ? "reading " : "") + << (state_ & Writing ? "writing " : "")); + stop(); +Index: wt-4.0.2/src/web/Configuration.C +=================================================================== +--- wt-4.0.2.orig/src/web/Configuration.C ++++ wt-4.0.2/src/web/Configuration.C +@@ -825,14 +825,10 @@ void Configuration::readApplicationSetti + runDirectory_ = singleChildElementValue(fcgi, "run-directory", + runDirectory_); + +- setInt(fcgi, "num-threads", numThreads_); // backward compatibility < 3.2.0 +- + xml_node<> *isapi = singleChildElement(app, "connector-isapi"); + if (!isapi) + isapi = app; // backward compatibility + +- setInt(isapi, "num-threads", numThreads_); // backward compatibility < 3.2.0 +- + std::string maxMemoryRequestSizeStr = + singleChildElementValue(isapi, "max-memory-request-size", ""); + if (!maxMemoryRequestSizeStr.empty()) { diff --git a/examples-crypt.patch b/examples-crypt.patch new file mode 100644 index 0000000..dea05a2 --- /dev/null +++ b/examples-crypt.patch @@ -0,0 +1,24 @@ +Index: wt-4.0.2/examples/blog/model/BlogSession.C +=================================================================== +--- wt-4.0.2.orig/examples/blog/model/BlogSession.C ++++ wt-4.0.2/examples/blog/model/BlogSession.C +@@ -28,6 +28,7 @@ + + #if !defined(WT_WIN32) && !defined(__CYGWIN__) && !defined(ANDROID) + #define HAVE_CRYPT ++#include + #endif + + namespace { +Index: wt-4.0.2/examples/hangman/Session.C +=================================================================== +--- wt-4.0.2.orig/examples/hangman/Session.C ++++ wt-4.0.2/examples/hangman/Session.C +@@ -24,6 +24,7 @@ + + #if !defined(WT_WIN32) && !defined(__CYGWIN__) && !defined(ANDROID) + #define HAVE_CRYPT ++#include + #endif + + namespace dbo = Wt::Dbo; diff --git a/wt.spec b/wt.spec index a56a526..ad3ba7b 100644 --- a/wt.spec +++ b/wt.spec @@ -6,7 +6,7 @@ Name: wt Version: 4.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ library for developing web applications Group: Development/Libraries @@ -31,6 +31,10 @@ Source4: wt-generate-tarball.sh Patch0: find-mysql.patch Patch1: use-system-sqlite.patch +# taken from https://github.com/emweb/wt/commit/960e8d017b264710e344c63f9feb6ea1fa593eeb.patch +# author of the patch: Roel Standaert +Patch2: boost-166-compat.patch +Patch3: examples-crypt.patch BuildRequires: cmake >= 2.6 boost-devel >= 1.41 gcc-c++ openssl-devel doxygen BuildRequires: GraphicsMagick-devel pango-devel sqlite-devel postgresql-devel @@ -111,9 +115,7 @@ Group: Documentation This package contains the documents for Wt API and examples. %prep -%setup -q -n %{name}-%{version} -%patch0 -p1 -b .find-mysql -%patch1 -p1 -b .use-system-sqlite +%autosetup -p1 # static files like javascript and css should not be executable for d in src resources examples; do @@ -295,6 +297,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Thu Mar 15 2018 Michal Minář - 4.0.2-2 +- Compatibility fix for boost 1.66 + * Thu Mar 15 2018 Michal Minář - 4.0.2-1 - New upstream version 4.0.2 From a30c3b108df4a3dcc12457cd711ec80fae16f71c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Min=C3=A1=C5=99?= Date: Thu, 15 Mar 2018 15:50:48 +0000 Subject: [PATCH 17/36] Depend on mariadb-connector-c-devel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves: bz#1493662 Signed-off-by: Michal Minář --- wt.spec | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/wt.spec b/wt.spec index ad3ba7b..b39420f 100644 --- a/wt.spec +++ b/wt.spec @@ -6,7 +6,7 @@ Name: wt Version: 4.0.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: C++ library for developing web applications Group: Development/Libraries @@ -29,16 +29,15 @@ Source3: README.fedora # ./wt-generate-tarball.sh UPSTREAM_VERSION Source4: wt-generate-tarball.sh -Patch0: find-mysql.patch -Patch1: use-system-sqlite.patch +Patch0: use-system-sqlite.patch # taken from https://github.com/emweb/wt/commit/960e8d017b264710e344c63f9feb6ea1fa593eeb.patch # author of the patch: Roel Standaert -Patch2: boost-166-compat.patch -Patch3: examples-crypt.patch +Patch1: boost-166-compat.patch +Patch2: examples-crypt.patch -BuildRequires: cmake >= 2.6 boost-devel >= 1.41 gcc-c++ openssl-devel doxygen +BuildRequires: cmake >= 3.1 boost-devel >= 1.41 gcc-c++ openssl-devel doxygen BuildRequires: GraphicsMagick-devel pango-devel sqlite-devel postgresql-devel -BuildRequires: mysql-devel libharu-devel fcgi-devel zlib-devel qt-devel +BuildRequires: mariadb-connector-c-devel libharu-devel fcgi-devel zlib-devel qt-devel # Don't use bundled glew on fedora >= 21 %if 0%{?fedora} >= 21 @@ -164,7 +163,6 @@ cd wt-build -DCONFIGDIR="%{_sysconfdir}/%{name}" \ -DENABLE_FIREBIRD=OFF \ -DENABLE_MYSQL=ON \ - -DMYSQL_LIBRARY=mysqlclient \ %{?use_system_glew:-DUSE_SYSTEM_GLEW=1} \ -DBUILD_EXAMPLES=ON \ -DINSTALL_EXAMPLES=ON \ @@ -297,11 +295,10 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog -* Thu Mar 15 2018 Michal Minář - 4.0.2-2 -- Compatibility fix for boost 1.66 - -* Thu Mar 15 2018 Michal Minář - 4.0.2-1 +* Thu Mar 15 2018 Michal Minář - 4.0.2-3 - New upstream version 4.0.2 +- Compatibility fix for boost 1.66 +- Depend on mariadb-connector-c-devel * Fri Feb 09 2018 Fedora Release Engineering - 3.3.7-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From d9e851d161377337176c05a52a0b7bb8d661f6c9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 09:01:31 +0000 Subject: [PATCH 18/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wt.spec b/wt.spec index b39420f..1261a42 100644 --- a/wt.spec +++ b/wt.spec @@ -6,7 +6,7 @@ Name: wt Version: 4.0.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: C++ library for developing web applications Group: Development/Libraries @@ -295,6 +295,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 4.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Thu Mar 15 2018 Michal Minář - 4.0.2-3 - New upstream version 4.0.2 - Compatibility fix for boost 1.66 From 8b3b948b98e0ade1c34b5bf2d305ef36e76ec600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Min=C3=A1=C5=99?= Date: Mon, 23 Jul 2018 10:15:36 +0000 Subject: [PATCH 19/36] New upstream version 4.0.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NVR: wt-4.0.3-1 Signed-off-by: Michal Minář --- .gitignore | 2 +- boost-166-compat.patch | 605 ------------------ examples-crypt.patch | 24 - sources | 2 +- ...GE-LICENSING => wt-4.0.3-PACKAGE-LICENSING | 0 wt.spec | 11 +- 6 files changed, 7 insertions(+), 637 deletions(-) delete mode 100644 boost-166-compat.patch delete mode 100644 examples-crypt.patch rename wt-4.0.2-PACKAGE-LICENSING => wt-4.0.3-PACKAGE-LICENSING (100%) diff --git a/.gitignore b/.gitignore index 5d2347a..5a1c3e4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/wt-4.0.2-free.tar.xz +/wt-4.0.3-free.tar.xz diff --git a/boost-166-compat.patch b/boost-166-compat.patch deleted file mode 100644 index db09374..0000000 --- a/boost-166-compat.patch +++ /dev/null @@ -1,605 +0,0 @@ -Index: wt-4.0.2/examples/filetreetable/CMakeLists.txt -=================================================================== ---- wt-4.0.2.orig/examples/filetreetable/CMakeLists.txt -+++ wt-4.0.2/examples/filetreetable/CMakeLists.txt -@@ -10,6 +10,7 @@ ELSE(NOT BOOST_FS_LIB) - - TARGET_LINK_LIBRARIES(filetreetable.wt - ${BOOST_FS_LIB} -+ ${BOOST_SYSTEM_LIB} - ) - - INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src) -Index: wt-4.0.2/examples/gitmodel/CMakeLists.txt -=================================================================== ---- wt-4.0.2.orig/examples/gitmodel/CMakeLists.txt -+++ wt-4.0.2/examples/gitmodel/CMakeLists.txt -@@ -7,7 +7,7 @@ IF(BOOST_FS_LIB) - ../wt-homepage/SourceView.C - GitView.C - ) -- TARGET_LINK_LIBRARIES(gitview.wt ${BOOST_FS_LIB}) -+ TARGET_LINK_LIBRARIES(gitview.wt ${BOOST_FS_LIB} ${BOOST_SYSTEM_LIB}) - - INCLUDE_DIRECTORIES( - ${WT_SOURCE_DIR}/src -Index: wt-4.0.2/examples/wt-homepage/CMakeLists.txt -=================================================================== ---- wt-4.0.2.orig/examples/wt-homepage/CMakeLists.txt -+++ wt-4.0.2/examples/wt-homepage/CMakeLists.txt -@@ -34,7 +34,7 @@ ENDIF(WT_EMWEB_BUILD) - - WT_ADD_EXAMPLE(Home.wt ${SRC}) - --TARGET_LINK_LIBRARIES(Home.wt ${EXAMPLES_DBO_LIBS} ${BOOST_FS_LIB}) -+TARGET_LINK_LIBRARIES(Home.wt ${EXAMPLES_DBO_LIBS} ${BOOST_FS_LIB} ${BOOST_SYSTEM_LIB}) - - # Test whether crypt(3) is provided by libc. If it's not, check if - # libcrypt exists and if it provides crypt(3). -Index: wt-4.0.2/src/Wt/AsioWrapper/strand.hpp -=================================================================== ---- wt-4.0.2.orig/src/Wt/AsioWrapper/strand.hpp -+++ wt-4.0.2/src/Wt/AsioWrapper/strand.hpp -@@ -12,10 +12,29 @@ - #ifdef WT_ASIO_IS_BOOST_ASIO - - #include -+namespace Wt { -+ namespace AsioWrapper { -+#if BOOST_VERSION >= 106600 -+ using strand = boost::asio::io_context::strand; -+#else -+ using strand = boost::asio::strand; -+#endif -+ } -+} - - #else // WT_ASIO_IS_STANDALONE_ASIO - -+#include - #include -+namespace Wt { -+ namespace AsioWrapper { -+#if ASIO_VERSION >= 101100 -+ using strand = asio::io_service::strand; -+#else -+ using strand = asio::strand; -+#endif -+ } -+} - - #endif // WT_ASIO_IS_BOOST_ASIO - -Index: wt-4.0.2/src/Wt/Http/Client.C -=================================================================== ---- wt-4.0.2.orig/src/Wt/Http/Client.C -+++ wt-4.0.2/src/Wt/Http/Client.C -@@ -642,7 +642,7 @@ private: - - protected: - asio::io_service& ioService_; -- asio::strand strand_; -+ AsioWrapper::strand strand_; - tcp::resolver resolver_; - asio::streambuf requestBuf_; - asio::streambuf responseBuf_; -@@ -929,8 +929,14 @@ bool Client::request(Http::Method method - - #ifdef WT_WITH_SSL - } else if (parsedUrl.protocol == "https") { -+#if defined(WT_ASIO_IS_BOOST_ASIO) && BOOST_VERSION >= 106600 -+ asio::ssl::context context(asio::ssl::context::tls); -+#elif defined(WT_ASIO_IS_STANDALONE_ASIO) && ASIO_VERSION >= 101100 -+ asio::ssl::context context(asio::ssl::context::sslv23); -+#else - asio::ssl::context context - (*ioService, asio::ssl::context::sslv23); -+#endif - long sslOptions = asio::ssl::context::no_sslv2 | asio::ssl::context::no_sslv3; - context.set_options(sslOptions); - -Index: wt-4.0.2/src/Wt/Http/Client.h -=================================================================== ---- wt-4.0.2.orig/src/Wt/Http/Client.h -+++ wt-4.0.2/src/Wt/Http/Client.h -@@ -23,7 +23,12 @@ - #ifdef WT_ASIO_IS_BOOST_ASIO - namespace boost { - namespace asio { -+#if BOOST_VERSION >= 106600 -+ class io_context; -+ typedef io_context io_service; -+#else - class io_service; -+#endif - } - } - #else // WT_ASIO_IS_STANDALONE_ASIO -Index: wt-4.0.2/src/Wt/Json/Value.h -=================================================================== ---- wt-4.0.2.orig/src/Wt/Json/Value.h -+++ wt-4.0.2/src/Wt/Json/Value.h -@@ -23,7 +23,7 @@ class Array; - * \brief A JSON representation and parsing library. - * - * The JSON library contains data types to represent a JSON data -- * structure (Value, Object and Array), and a JSON parser. -+ * structure (Value, Object and Array), a JSON parser, and a JSON serializer. - * - * Usage example: - * \code -@@ -39,6 +39,9 @@ class Array; - * bool b = result.get("b"); - * std::cerr << "a: " << s << ", b: " << b << std::endl; // a: That's great, b: true - * \endcode -+ * -+ * Include the header for Wt::Json::parse(), and -+ * the header for Wt::Json::serialize(). - */ - - /*! \brief Enumeration for the type of a JSON value. -Index: wt-4.0.2/src/Wt/WDialog.C -=================================================================== ---- wt-4.0.2.orig/src/Wt/WDialog.C -+++ wt-4.0.2/src/Wt/WDialog.C -@@ -436,8 +436,10 @@ void WDialog::render(WFlags - if (!isModal()) - impl_->mouseWentDown().connect(this, &WDialog::bringToFront); - -- if ( flags.test(RenderFlag::Full) && autoFocus_) -- impl_->setFirstFocus(); -+ if ( flags.test(RenderFlag::Full) && autoFocus_) { -+ if (!impl_->findById(Wt::WApplication::instance()->focus())) -+ impl_->setFirstFocus(); -+ } - - WPopupWidget::render(flags); - } -Index: wt-4.0.2/src/Wt/WDialog.h -=================================================================== ---- wt-4.0.2.orig/src/Wt/WDialog.h -+++ wt-4.0.2/src/Wt/WDialog.h -@@ -337,6 +337,9 @@ public: - bool closable() const { return closeIcon_ != nullptr; } - - /*! \brief Set focus on the first widget in the dialog. -+ * -+ * Autofocus is enabled by default. If a widget inside of -+ * this dialog already has focus, the focus will not be changed. - */ - void setAutoFocus(bool enable){ autoFocus_ = enable;} - -Index: wt-4.0.2/src/Wt/WWebWidget.C -=================================================================== ---- wt-4.0.2.orig/src/Wt/WWebWidget.C -+++ wt-4.0.2/src/Wt/WWebWidget.C -@@ -1983,9 +1983,13 @@ bool WWebWidget::setFirstFocus() - return true; - } - -- for (unsigned i = 0; i < children().size(); i++) -- if (children()[i]->setFirstFocus()) -- return true; -+ bool result = false; -+ iterateChildren([&result](Wt::WWidget *w){ -+ if (!result) -+ result = w->setFirstFocus(); -+ }); -+ if (result) -+ return true; - - return false; - } else -@@ -2207,6 +2211,8 @@ WWidget *WWebWidget::findById(const std: - if (!result) - result = c->findById(id); - }); -+ if (result) -+ return result; - } - - return nullptr; -Index: wt-4.0.2/src/http/Connection.C -=================================================================== ---- wt-4.0.2.orig/src/http/Connection.C -+++ wt-4.0.2/src/http/Connection.C -@@ -61,6 +61,15 @@ Connection::~Connection() - LOG_DEBUG("~Connection"); - } - -+asio::ip::tcp::socket::native_handle_type Connection::native() -+{ -+#if (defined(WT_ASIO_IS_BOOST_ASIO) && BOOST_VERSION >= 106600) || (defined(WT_ASIO_IS_STANDALONE_ASIO) && ASIO_VERSION >= 101100) -+ return socket().native_handle(); -+#else -+ return socket().native(); -+#endif -+} -+ - void Connection::finishReply() - { - if (!request_.uri.empty()) { -@@ -78,7 +87,7 @@ void Connection::scheduleStop() - - void Connection::start() - { -- LOG_DEBUG(socket().native() << ": start()"); -+ LOG_DEBUG(native() << ": start()"); - - request_parser_.reset(); - request_.reset(); -@@ -106,7 +115,7 @@ void Connection::stop() - void Connection::setReadTimeout(int seconds) - { - if (seconds != 0) { -- LOG_DEBUG(socket().native() << " setting read timeout (ws: " -+ LOG_DEBUG(native() << " setting read timeout (ws: " - << request_.webSocketVersion << ")"); - state_ |= Reading; - -@@ -118,7 +127,7 @@ void Connection::setReadTimeout(int seco - - void Connection::setWriteTimeout(int seconds) - { -- LOG_DEBUG(socket().native() << " setting write timeout (ws: " -+ LOG_DEBUG(native() << " setting write timeout (ws: " - << request_.webSocketVersion << ")"); - state_ |= Writing; - -@@ -129,7 +138,7 @@ void Connection::setWriteTimeout(int sec - - void Connection::cancelReadTimer() - { -- LOG_DEBUG(socket().native() << " cancel read timeout"); -+ LOG_DEBUG(native() << " cancel read timeout"); - state_.clear(Reading); - - readTimer_.cancel(); -@@ -137,7 +146,7 @@ void Connection::cancelReadTimer() - - void Connection::cancelWriteTimer() - { -- LOG_DEBUG(socket().native() << " cancel write timeout"); -+ LOG_DEBUG(native() << " cancel write timeout"); - state_.clear(Writing); - - writeTimer_.cancel(); -@@ -163,7 +172,7 @@ void Connection::handleReadRequest0() - - #ifdef DEBUG - try { -- LOG_DEBUG(socket().native() << "incoming request: " -+ LOG_DEBUG(socket().native_handle() << "incoming request: " - << socket().remote_endpoint().port() << " (avail= " - << (rcv_buffer_size_ - (rcv_remaining_ - buffer.data())) << "): " - << std::string(rcv_remaining_, -@@ -189,7 +198,7 @@ void Connection::handleReadRequest0() - if (doWebSockets) - request_.enableWebSocket(); - -- LOG_DEBUG(socket().native() << "request: " << status); -+ LOG_DEBUG(native() << "request: " << status); - - if (status >= 300) - sendStockReply(status); -@@ -242,7 +251,7 @@ void Connection::sendStockReply(StockRep - void Connection::handleReadRequest(const Wt::AsioWrapper::error_code& e, - std::size_t bytes_transferred) - { -- LOG_DEBUG(socket().native() << ": handleReadRequest(): " << e.message()); -+ LOG_DEBUG(native() << ": handleReadRequest(): " << e.message()); - - cancelReadTimer(); - -@@ -261,7 +270,7 @@ void Connection::close() - cancelReadTimer(); - cancelWriteTimer(); - -- LOG_DEBUG(socket().native() << ": close()"); -+ LOG_DEBUG(native() << ": close()"); - - ConnectionManager_.stop(shared_from_this()); - } -@@ -274,7 +283,7 @@ bool Connection::closed() const - - void Connection::handleError(const Wt::AsioWrapper::error_code& e) - { -- LOG_DEBUG(socket().native() << ": error: " << e.message()); -+ LOG_DEBUG(native() << ": error: " << e.message()); - - close(); - } -@@ -349,7 +358,7 @@ void Connection::handleReadBody0(ReplyPt - const Wt::AsioWrapper::error_code& e, - std::size_t bytes_transferred) - { -- LOG_DEBUG(socket().native() << ": handleReadBody0(): " << e.message()); -+ LOG_DEBUG(native() << ": handleReadBody0(): " << e.message()); - - if (disconnectCallback_) { - if (e && e != asio::error::operation_aborted) { -@@ -357,7 +366,7 @@ void Connection::handleReadBody0(ReplyPt - disconnectCallback_ = boost::function(); - f(); - } else if (!e) { -- LOG_ERROR(socket().native() -+ LOG_ERROR(native() - << ": handleReadBody(): while waiting for disconnect, " - "received unexpected data, closing"); - close(); -@@ -410,7 +419,7 @@ void Connection::startWriteResponse(Repl - } - #endif - -- LOG_DEBUG(socket().native() << " sending: " << s << "(buffers: " -+ LOG_DEBUG(native() << " sending: " << s << "(buffers: " - << buffers.size() << ")"); - - if (!buffers.empty()) { -@@ -423,7 +432,7 @@ void Connection::startWriteResponse(Repl - - void Connection::handleWriteResponse(ReplyPtr reply) - { -- LOG_DEBUG(socket().native() << ": handleWriteResponse() " << -+ LOG_DEBUG(native() << ": handleWriteResponse() " << - haveResponse_ << " " << responseDone_); - if (haveResponse_) - startWriteResponse(reply); -@@ -458,7 +467,7 @@ void Connection::handleWriteResponse0(Re - const Wt::AsioWrapper::error_code& e, - std::size_t bytes_transferred) - { -- LOG_DEBUG(socket().native() << ": handleWriteResponse0(): " -+ LOG_DEBUG(native() << ": handleWriteResponse0(): " - << bytes_transferred << " ; " << e.message()); - - cancelWriteTimer(); -Index: wt-4.0.2/src/http/Connection.h -=================================================================== ---- wt-4.0.2.orig/src/http/Connection.h -+++ wt-4.0.2/src/http/Connection.h -@@ -18,6 +18,7 @@ - #define HTTP_CONNECTION_HPP - - #include -+#include - #include - - #include "Buffer.h" -@@ -61,7 +62,7 @@ public: - virtual ~Connection(); - - Server *server() const { return server_; } -- asio::strand& strand() { return strand_; } -+ Wt::AsioWrapper::strand& strand() { return strand_; } - - /// Stop all asynchronous operations associated with the connection. - void scheduleStop(); -@@ -86,6 +87,9 @@ public: - const std::function& callback); - - protected: -+ /// Get the native handle of the socket -+ asio::ip::tcp::socket::native_handle_type native(); -+ - void handleWriteResponse0(ReplyPtr reply, - const Wt::AsioWrapper::error_code& e, - std::size_t bytes_transferred); -@@ -104,7 +108,7 @@ protected: - /// The manager for this connection. - ConnectionManager& ConnectionManager_; - -- asio::strand strand_; -+ Wt::AsioWrapper::strand strand_; - - void finishReply(); - -Index: wt-4.0.2/src/http/Reply.C -=================================================================== ---- wt-4.0.2.orig/src/http/Reply.C -+++ wt-4.0.2/src/http/Reply.C -@@ -596,7 +596,8 @@ bool Reply::encodeNextContentBuffer( - originalSize += bs; - - gzipStrm_.avail_in = bs; -- gzipStrm_.next_in = (unsigned char *)asio::detail::buffer_cast_helper(b); -+ gzipStrm_.next_in = const_cast( -+ asio::buffer_cast(b)); - - unsigned char out[16*1024]; - do { -Index: wt-4.0.2/src/http/Server.C -=================================================================== ---- wt-4.0.2.orig/src/http/Server.C -+++ wt-4.0.2/src/http/Server.C -@@ -116,7 +116,11 @@ Server::Server(const Configuration& conf - accept_strand_(wt_.ioService()), - // post_strand_(ioService_), - #ifdef HTTP_WITH_SSL -+#if (defined(WT_ASIO_IS_BOOST_ASIO) && BOOST_VERSION >= 106600) || (defined(WT_ASIO_IS_STANDALONE_ASIO) && ASIO_VERSION >= 101100) -+ ssl_context_(asio::ssl::context::sslv23), -+#else - ssl_context_(wt_.ioService(), asio::ssl::context::sslv23), -+#endif - #endif // HTTP_WITH_SSL - connection_manager_(), - sessionManager_(0), -Index: wt-4.0.2/src/http/Server.h -=================================================================== ---- wt-4.0.2.orig/src/http/Server.h -+++ wt-4.0.2/src/http/Server.h -@@ -129,7 +129,7 @@ private: - Wt::WLogger accessLogger_; - - /// The strand for handleTcpAccept(), handleSslAccept() and handleStop() -- asio::strand accept_strand_; -+ Wt::AsioWrapper::strand accept_strand_; - - /// Acceptors used to listen for incoming http connections. - std::vector tcp_listeners_; -Index: wt-4.0.2/src/http/SessionProcess.C -=================================================================== ---- wt-4.0.2.orig/src/http/SessionProcess.C -+++ wt-4.0.2/src/http/SessionProcess.C -@@ -16,6 +16,7 @@ - #include - #endif // WT_WIN32 - -+#include "Wt/WConfig.h" - #include "Wt/WLogger.h" - - namespace Wt { -@@ -80,7 +81,11 @@ void SessionProcess::asyncExec(const Con - if (!ec) - acceptor_->listen(0, ec); - #ifndef WT_WIN32 -+#if (defined(WT_ASIO_IS_BOOST_ASIO) && BOOST_VERSION >= 106600) || (defined(WT_ASIO_IS_STANDALONE_ASIO) && ASIO_VERSION >= 101100) -+ fcntl(acceptor_->native_handle(), F_SETFD, FD_CLOEXEC); -+#else - fcntl(acceptor_->native(), F_SETFD, FD_CLOEXEC); -+#endif - #endif // !WT_WIN32 - if (ec) { - LOG_ERROR("Couldn't create listening socket: " << ec.message()); -Index: wt-4.0.2/src/http/SslConnection.C -=================================================================== ---- wt-4.0.2.orig/src/http/SslConnection.C -+++ wt-4.0.2/src/http/SslConnection.C -@@ -81,9 +81,9 @@ void SslConnection::handleHandshake(cons - - void SslConnection::stop() - { -- LOG_DEBUG(socket().native() << ": stop()"); -+ LOG_DEBUG(native() << ": stop()"); - finishReply(); -- LOG_DEBUG(socket().native() << ": SSL shutdown"); -+ LOG_DEBUG(native() << ": SSL shutdown"); - - Connection::stop(); - -@@ -108,20 +108,20 @@ void SslConnection::stopNextLayer(const - // In case of timeout, we will get here twice. - sslShutdownTimer_.cancel(); - if (ec) { -- LOG_DEBUG(socket().native() << ": ssl_shutdown failed:" -+ LOG_DEBUG(native() << ": ssl_shutdown failed:" - << ec.message()); - } - try { - if (socket().is_open()) { - Wt::AsioWrapper::error_code ignored_ec; -- LOG_DEBUG(socket().native() << ": socket shutdown"); -+ LOG_DEBUG(native() << ": socket shutdown"); - socket().shutdown(asio::ip::tcp::socket::shutdown_both, - ignored_ec); -- LOG_DEBUG(socket().native() << "closing socket"); -+ LOG_DEBUG(native() << "closing socket"); - socket().close(); - } - } catch (Wt::AsioWrapper::system_error& e) { -- LOG_DEBUG(socket().native() << ": error " << e.what()); -+ LOG_DEBUG(native() << ": error " << e.what()); - } - } - -@@ -161,7 +161,7 @@ void SslConnection::startAsyncReadBody(R - Buffer& buffer, int timeout) - { - if (state_ & Reading) { -- LOG_DEBUG(socket().native() << ": state_ = " -+ LOG_DEBUG(native() << ": state_ = " - << (state_ & Reading ? "reading " : "") - << (state_ & Writing ? "writing " : "")); - stop(); -@@ -198,7 +198,7 @@ void SslConnection - int timeout) - { - if (state_ & Writing) { -- LOG_DEBUG(socket().native() << ": state_ = " -+ LOG_DEBUG(native() << ": state_ = " - << (state_ & Reading ? "reading " : "") - << (state_ & Writing ? "writing " : "")); - stop(); -Index: wt-4.0.2/src/http/TcpConnection.C -=================================================================== ---- wt-4.0.2.orig/src/http/TcpConnection.C -+++ wt-4.0.2/src/http/TcpConnection.C -@@ -38,17 +38,17 @@ asio::ip::tcp::socket& TcpConnection::so - - void TcpConnection::stop() - { -- LOG_DEBUG(socket().native() << ": stop()"); -+ LOG_DEBUG(native() << ": stop()"); - - finishReply(); - - try { - Wt::AsioWrapper::error_code ignored_ec; - socket_.shutdown(asio::ip::tcp::socket::shutdown_both, ignored_ec); -- LOG_DEBUG(socket().native() << ": closing socket"); -+ LOG_DEBUG(native() << ": closing socket"); - socket_.close(); - } catch (Wt::AsioWrapper::system_error& e) { -- LOG_DEBUG(socket().native() << ": error " << e.what()); -+ LOG_DEBUG(native() << ": error " << e.what()); - } - - Connection::stop(); -@@ -56,10 +56,10 @@ void TcpConnection::stop() - - void TcpConnection::startAsyncReadRequest(Buffer& buffer, int timeout) - { -- LOG_DEBUG(socket().native() << ": startAsyncReadRequest"); -+ LOG_DEBUG(native() << ": startAsyncReadRequest"); - - if (state_ & Reading) { -- LOG_DEBUG(socket().native() << ": state_ = " -+ LOG_DEBUG(native() << ": state_ = " - << (state_ & Reading ? "reading " : "") - << (state_ & Writing ? "writing " : "")); - stop(); -@@ -81,10 +81,10 @@ void TcpConnection::startAsyncReadReques - void TcpConnection::startAsyncReadBody(ReplyPtr reply, - Buffer& buffer, int timeout) - { -- LOG_DEBUG(socket().native() << ": startAsyncReadBody"); -+ LOG_DEBUG(native() << ": startAsyncReadBody"); - - if (state_ & Reading) { -- LOG_DEBUG(socket().native() << ": state_ = " -+ LOG_DEBUG(native() << ": state_ = " - << (state_ & Reading ? "reading " : "") - << (state_ & Writing ? "writing " : "")); - stop(); -@@ -109,10 +109,10 @@ void TcpConnection::startAsyncWriteRespo - const std::vector& buffers, - int timeout) - { -- LOG_DEBUG(socket().native() << ": startAsyncWriteResponse"); -+ LOG_DEBUG(native() << ": startAsyncWriteResponse"); - - if (state_ & Writing) { -- LOG_DEBUG(socket().native() << ": state_ = " -+ LOG_DEBUG(native() << ": state_ = " - << (state_ & Reading ? "reading " : "") - << (state_ & Writing ? "writing " : "")); - stop(); -Index: wt-4.0.2/src/web/Configuration.C -=================================================================== ---- wt-4.0.2.orig/src/web/Configuration.C -+++ wt-4.0.2/src/web/Configuration.C -@@ -825,14 +825,10 @@ void Configuration::readApplicationSetti - runDirectory_ = singleChildElementValue(fcgi, "run-directory", - runDirectory_); - -- setInt(fcgi, "num-threads", numThreads_); // backward compatibility < 3.2.0 -- - xml_node<> *isapi = singleChildElement(app, "connector-isapi"); - if (!isapi) - isapi = app; // backward compatibility - -- setInt(isapi, "num-threads", numThreads_); // backward compatibility < 3.2.0 -- - std::string maxMemoryRequestSizeStr = - singleChildElementValue(isapi, "max-memory-request-size", ""); - if (!maxMemoryRequestSizeStr.empty()) { diff --git a/examples-crypt.patch b/examples-crypt.patch deleted file mode 100644 index dea05a2..0000000 --- a/examples-crypt.patch +++ /dev/null @@ -1,24 +0,0 @@ -Index: wt-4.0.2/examples/blog/model/BlogSession.C -=================================================================== ---- wt-4.0.2.orig/examples/blog/model/BlogSession.C -+++ wt-4.0.2/examples/blog/model/BlogSession.C -@@ -28,6 +28,7 @@ - - #if !defined(WT_WIN32) && !defined(__CYGWIN__) && !defined(ANDROID) - #define HAVE_CRYPT -+#include - #endif - - namespace { -Index: wt-4.0.2/examples/hangman/Session.C -=================================================================== ---- wt-4.0.2.orig/examples/hangman/Session.C -+++ wt-4.0.2/examples/hangman/Session.C -@@ -24,6 +24,7 @@ - - #if !defined(WT_WIN32) && !defined(__CYGWIN__) && !defined(ANDROID) - #define HAVE_CRYPT -+#include - #endif - - namespace dbo = Wt::Dbo; diff --git a/sources b/sources index 2305083..40315a2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wt-4.0.2-free.tar.xz) = 8bd6fc043fe7316cafb484200b0f2827b64dcb1336c55f385d6e082baec4affbc31493b4a1155c8710c8ac08ccd11ad6aefa0e944679da65bcb18ffe5017c596 +SHA512 (wt-4.0.3-free.tar.xz) = 80d9c24bec270692324f1db22618875cb514d7f54a4ce285f3517d98c25798619b9c74bd8e717eb83db43edb6cd2da992ded8629d0d239bfdbc5052d56cb19fa diff --git a/wt-4.0.2-PACKAGE-LICENSING b/wt-4.0.3-PACKAGE-LICENSING similarity index 100% rename from wt-4.0.2-PACKAGE-LICENSING rename to wt-4.0.3-PACKAGE-LICENSING diff --git a/wt.spec b/wt.spec index 1261a42..d531d55 100644 --- a/wt.spec +++ b/wt.spec @@ -5,8 +5,8 @@ %global WTRUNGROUP apache Name: wt -Version: 4.0.2 -Release: 4%{?dist} +Version: 4.0.3 +Release: 1%{?dist} Summary: C++ library for developing web applications Group: Development/Libraries @@ -30,10 +30,6 @@ Source3: README.fedora Source4: wt-generate-tarball.sh Patch0: use-system-sqlite.patch -# taken from https://github.com/emweb/wt/commit/960e8d017b264710e344c63f9feb6ea1fa593eeb.patch -# author of the patch: Roel Standaert -Patch1: boost-166-compat.patch -Patch2: examples-crypt.patch BuildRequires: cmake >= 3.1 boost-devel >= 1.41 gcc-c++ openssl-devel doxygen BuildRequires: GraphicsMagick-devel pango-devel sqlite-devel postgresql-devel @@ -295,6 +291,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Mon Jul 23 2018 - 4.0.3-1 +- New upstream version 4.0.3 + * Sat Jul 14 2018 Fedora Release Engineering - 4.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 147cdf17f20f6212be2c9e4f529965acbe9b75cb Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Thu, 23 Aug 2018 14:11:36 +0200 Subject: [PATCH 20/36] - Rebuilt for glew 2.1.0 --- wt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wt.spec b/wt.spec index d531d55..a9afb37 100644 --- a/wt.spec +++ b/wt.spec @@ -6,7 +6,7 @@ Name: wt Version: 4.0.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ library for developing web applications Group: Development/Libraries @@ -291,6 +291,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Thu Aug 23 2018 Nicolas Chauvet - 4.0.3-2 +- Rebuilt for glew 2.1.0 + * Mon Jul 23 2018 - 4.0.3-1 - New upstream version 4.0.3 From 07b73c97570a23a437c7432df2c68f6ecf5b9f02 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 6 Sep 2018 10:33:52 +0200 Subject: [PATCH 21/36] BuildRequires: s/postgresql-devel/libpq-devel/ That's because we moved libpq.so.5 into libpq package. Related: rhbz#1618698, rhbz#1623764 --- wt.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wt.spec b/wt.spec index a9afb37..dd4b3e4 100644 --- a/wt.spec +++ b/wt.spec @@ -32,7 +32,7 @@ Source4: wt-generate-tarball.sh Patch0: use-system-sqlite.patch BuildRequires: cmake >= 3.1 boost-devel >= 1.41 gcc-c++ openssl-devel doxygen -BuildRequires: GraphicsMagick-devel pango-devel sqlite-devel postgresql-devel +BuildRequires: GraphicsMagick-devel pango-devel sqlite-devel libpq-devel BuildRequires: mariadb-connector-c-devel libharu-devel fcgi-devel zlib-devel qt-devel # Don't use bundled glew on fedora >= 21 From 3638a229877c1840ce76d19ead38c92f12380507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Mon, 14 Jan 2019 19:19:17 +0100 Subject: [PATCH 22/36] Rebuilt for libcrypt.so.2 (#1666033) --- wt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wt.spec b/wt.spec index dd4b3e4..5121db8 100644 --- a/wt.spec +++ b/wt.spec @@ -6,7 +6,7 @@ Name: wt Version: 4.0.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: C++ library for developing web applications Group: Development/Libraries @@ -291,6 +291,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Mon Jan 14 2019 Björn Esser - 4.0.3-3 +- Rebuilt for libcrypt.so.2 (#1666033) + * Thu Aug 23 2018 Nicolas Chauvet - 4.0.3-2 - Rebuilt for glew 2.1.0 From d45834e86c3ba66e57fd328efa0acfaaa6547a01 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:41:20 +0100 Subject: [PATCH 23/36] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- wt.spec | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/wt.spec b/wt.spec index 5121db8..46033cf 100644 --- a/wt.spec +++ b/wt.spec @@ -222,14 +222,10 @@ find .%{_libdir}/Wt/examples -regex '.*/\(CMakeFiles\|.*\.cmake\|Doxygen\)' | \ find .%{_datadir}/Wt/resources -name 'generate.sh' | xargs rm -v popd -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig -%post dbo -p /sbin/ldconfig -%postun dbo -p /sbin/ldconfig -%post dbo-mysql -p /sbin/ldconfig -%postun dbo-mysql -p /sbin/ldconfig -%post dbo-postgres -p /sbin/ldconfig -%postun dbo-postgres -p /sbin/ldconfig +%ldconfig_scriptlets +%ldconfig_scriptlets dbo +%ldconfig_scriptlets dbo-mysql +%ldconfig_scriptlets dbo-postgres %files %config(noreplace) %{_sysconfdir}/%{name}/wt_config.xml From 173e7ce03989b3de142b60cd1d893089bb664c7c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:30 +0100 Subject: [PATCH 24/36] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- wt.spec | 7 ------- 1 file changed, 7 deletions(-) diff --git a/wt.spec b/wt.spec index 46033cf..49548ed 100644 --- a/wt.spec +++ b/wt.spec @@ -9,7 +9,6 @@ Version: 4.0.3 Release: 3%{?dist} Summary: C++ library for developing web applications -Group: Development/Libraries # For a breakdown of the licensing, see PACKAGE-LICENSING License: GPLv2 and Boost and MIT and (Boost or MIT) and BSD and zlib URL: https://www.webtoolkit.eu/wt @@ -53,7 +52,6 @@ progressive enhancement), and URL handling. %package dbo Summary: Wt::Dbo ORM library and Sqlite3 back-end -Group: Development/Libraries %description dbo This package contains the Wt::Dbo Object-Relational Mapping library @@ -61,7 +59,6 @@ and Sqlite3 back-end of it. %package dbo-mysql Summary: MySQL back-end for the Wt::Dbo ORM library -Group: Development/Libraries Requires: %{name}-dbo%{?_isa} = %{version}-%{release} %description dbo-mysql @@ -69,7 +66,6 @@ This package contains the MySQL back-end for the Wt::Dbo ORM library. %package dbo-postgres Summary: PostgreSQL back-end for the Wt::Dbo ORM library -Group: Development/Libraries Requires: %{name}-dbo%{?_isa} = %{version}-%{release} %description dbo-postgres @@ -77,7 +73,6 @@ This package contains the PostgresSQL back-end for the Wt::Dbo ORM library. %package devel Summary: Libraries and header files for witty web development -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}-dbo%{?_isa} = %{version}-%{release} Requires: %{name}-dbo-postgres%{?_isa} = %{version}-%{release} @@ -90,7 +85,6 @@ applications using the Wt toolkit and the Wt::Dbo ORM library. %package examples Summary: Examples for Wt -Group: Development/Libraries License: GPLv2 and MIT Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}-dbo%{?_isa} = %{version}-%{release} @@ -101,7 +95,6 @@ release. %package doc Summary: Documents for the Wt toolkit -Group: Documentation # Unfortunately there are differences in doxygen output between arm and other # architectures. #BuildArch: noarch From 4da501232860d11ce315ddacb4ec815655ac9acb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 3 Feb 2019 11:59:04 +0000 Subject: [PATCH 25/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wt.spec b/wt.spec index 49548ed..d0f4439 100644 --- a/wt.spec +++ b/wt.spec @@ -6,7 +6,7 @@ Name: wt Version: 4.0.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: C++ library for developing web applications # For a breakdown of the licensing, see PACKAGE-LICENSING @@ -280,6 +280,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Sun Feb 03 2019 Fedora Release Engineering - 4.0.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Mon Jan 14 2019 Björn Esser - 4.0.3-3 - Rebuilt for libcrypt.so.2 (#1666033) From 442576575fab0de61c9ca29c6ec104a6c39bf83e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Min=C3=A1=C5=99?= Date: Mon, 20 May 2019 09:40:23 +0000 Subject: [PATCH 26/36] New upstream version 4.0.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NVR: wt-4.0.5-1 Signed-off-by: Michal Minář --- .gitignore | 2 +- sources | 2 +- use-system-sqlite.patch | 10 +++++----- ...0.3-PACKAGE-LICENSING => wt-4.0.5-PACKAGE-LICENSING | 0 wt.spec | 7 +++++-- 5 files changed, 12 insertions(+), 9 deletions(-) rename wt-4.0.3-PACKAGE-LICENSING => wt-4.0.5-PACKAGE-LICENSING (100%) diff --git a/.gitignore b/.gitignore index 5a1c3e4..7ed034c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/wt-4.0.3-free.tar.xz +/wt-4.0.5-free.tar.xz diff --git a/sources b/sources index 40315a2..67b5afa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wt-4.0.3-free.tar.xz) = 80d9c24bec270692324f1db22618875cb514d7f54a4ce285f3517d98c25798619b9c74bd8e717eb83db43edb6cd2da992ded8629d0d239bfdbc5052d56cb19fa +SHA512 (wt-4.0.5-free.tar.xz) = c46fd59a3cfe288d3ebdd2a40538d8b507583041e505b4df4c21c966be80c1f0c9c631863b4af207c7b46f4074ac0e5da308e97f88b32a32c8dcc2d94d6cc2fb diff --git a/use-system-sqlite.patch b/use-system-sqlite.patch index ec29ff0..6e7e760 100644 --- a/use-system-sqlite.patch +++ b/use-system-sqlite.patch @@ -1,9 +1,9 @@ -Index: wt-3.3.2/src/CMakeLists.txt +Index: wt-4.0.5/src/CMakeLists.txt =================================================================== ---- wt-3.3.2.orig/src/CMakeLists.txt -+++ wt-3.3.2/src/CMakeLists.txt -@@ -5,9 +5,12 @@ INCLUDE_DIRECTORIES( - ${CMAKE_CURRENT_SOURCE_DIR} +--- wt-4.0.5.orig/src/CMakeLists.txt ++++ wt-4.0.5/src/CMakeLists.txt +@@ -6,9 +6,12 @@ INCLUDE_DIRECTORIES( + ${CMAKE_CURRENT_SOURCE_DIR}/Wt/Date/include ${CMAKE_CURRENT_BINARY_DIR} # for WConfig.h ${BOOST_INCLUDE_DIRS} - Wt/Dbo/backend/amalgamation # for sqlite3.h diff --git a/wt-4.0.3-PACKAGE-LICENSING b/wt-4.0.5-PACKAGE-LICENSING similarity index 100% rename from wt-4.0.3-PACKAGE-LICENSING rename to wt-4.0.5-PACKAGE-LICENSING diff --git a/wt.spec b/wt.spec index d0f4439..189905a 100644 --- a/wt.spec +++ b/wt.spec @@ -5,8 +5,8 @@ %global WTRUNGROUP apache Name: wt -Version: 4.0.3 -Release: 4%{?dist} +Version: 4.0.5 +Release: 1%{?dist} Summary: C++ library for developing web applications # For a breakdown of the licensing, see PACKAGE-LICENSING @@ -280,6 +280,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Mon May 20 2019 Michal Minář - 4.0.5-1 +- New upstream version 4.0.5 + * Sun Feb 03 2019 Fedora Release Engineering - 4.0.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 0006433173ac9ecc6fef6c22113e11c3eac3592f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jul 2019 03:46:03 +0000 Subject: [PATCH 27/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wt.spec b/wt.spec index 189905a..a8e1436 100644 --- a/wt.spec +++ b/wt.spec @@ -6,7 +6,7 @@ Name: wt Version: 4.0.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ library for developing web applications # For a breakdown of the licensing, see PACKAGE-LICENSING @@ -280,6 +280,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Sat Jul 27 2019 Fedora Release Engineering - 4.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Mon May 20 2019 Michal Minář - 4.0.5-1 - New upstream version 4.0.5 From 3ec5ccf6eadcf382b155701ccabf911371ff5490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Min=C3=A1=C5=99?= Date: Mon, 19 Aug 2019 08:11:09 +0000 Subject: [PATCH 28/36] new upstream version: 4.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NVR: wt-4.1.0-1 Resolves: bz#1742106 Signed-off-by: Michal Minář --- .gitignore | 2 +- find-mysql.patch | 13 ---------- sources | 2 +- ...GE-LICENSING => wt-4.1.0-PACKAGE-LICENSING | 0 wt-generate-tarball.sh | 24 ++++++++++++------- wt.spec | 9 +++++-- 6 files changed, 25 insertions(+), 25 deletions(-) delete mode 100644 find-mysql.patch rename wt-4.0.5-PACKAGE-LICENSING => wt-4.1.0-PACKAGE-LICENSING (100%) diff --git a/.gitignore b/.gitignore index 7ed034c..947ac12 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/wt-4.0.5-free.tar.xz +/wt-4.1.0-free.tar.xz diff --git a/find-mysql.patch b/find-mysql.patch deleted file mode 100644 index 6ceedf3..0000000 --- a/find-mysql.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: wt-3.3.1-rc1/cmake/WtFindMysql.txt -=================================================================== ---- wt-3.3.1-rc1.orig/cmake/WtFindMysql.txt -+++ wt-3.3.1-rc1/cmake/WtFindMysql.txt -@@ -25,6 +25,8 @@ FIND_LIBRARY(MYSQL_LIB - PATHS - ${MYSQL_PREFIX}/lib - ${MYSQL_PREFIX}/lib/opt -+ ${MYSQL_PREFIX}/lib/mysql -+ ${MYSQL_PREFIX}/lib64/mysql - /usr/lib - /usr/local/lib - /opt/local/lib diff --git a/sources b/sources index 67b5afa..5b3454d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wt-4.0.5-free.tar.xz) = c46fd59a3cfe288d3ebdd2a40538d8b507583041e505b4df4c21c966be80c1f0c9c631863b4af207c7b46f4074ac0e5da308e97f88b32a32c8dcc2d94d6cc2fb +SHA512 (wt-4.1.0-free.tar.xz) = 663afdb0c16a2ca1218e3bae73d973c3120112b6f22db4726ff555547b2eaed2a42da8446969db1a2f83ba2c97f9d300da59111018c15bdbb8aed44b078064f1 diff --git a/wt-4.0.5-PACKAGE-LICENSING b/wt-4.1.0-PACKAGE-LICENSING similarity index 100% rename from wt-4.0.5-PACKAGE-LICENSING rename to wt-4.1.0-PACKAGE-LICENSING diff --git a/wt-generate-tarball.sh b/wt-generate-tarball.sh index dbde0e4..f5f8dbf 100755 --- a/wt-generate-tarball.sh +++ b/wt-generate-tarball.sh @@ -4,16 +4,24 @@ set -euo pipefail IFS=$'\n\t' NAME="wt" -VERSION=$1 +VERSION="$1" tmp=`mktemp -d` -tar -xzvf $VERSION.tar.gz -C $tmp -pushd $tmp -pushd $NAME-$VERSION/src/Wt/Dbo/backend +archiveName="$VERSION.tar.gz" +[[ -f "${archiveName}" ]] || archiveName="$NAME-$VERSION.tar.gz" +if [[ ! -f "${archiveName}" ]]; then + printf 'Could not find source archive %s!\n' "$archiveName" >&2 + exit 1 +fi + +dirName="$NAME-$VERSION" +tar -xzvf "$archiveName" -C "$tmp" +pushd "$tmp" +pushd "$dirName/src/Wt/Dbo/backend" rm -r ibpp popd # backend -rm -r $NAME-$VERSION/resources/jPlayer -tar -cJvf $NAME-$VERSION-free.tar.xz $NAME-$VERSION +rm -r "$dirName/resources/jPlayer" +tar -cJvf "$dirName-free.tar.xz" "$dirName" popd # tmp -mv $tmp/$NAME-$VERSION-free.tar.xz . -rm -r $tmp +mv "$tmp/$dirName-free.tar.xz" . +rm -r "$tmp" diff --git a/wt.spec b/wt.spec index a8e1436..569c3d2 100644 --- a/wt.spec +++ b/wt.spec @@ -5,8 +5,8 @@ %global WTRUNGROUP apache Name: wt -Version: 4.0.5 -Release: 2%{?dist} +Version: 4.1.0 +Release: 1%{?dist} Summary: C++ library for developing web applications # For a breakdown of the licensing, see PACKAGE-LICENSING @@ -29,6 +29,8 @@ Source3: README.fedora Source4: wt-generate-tarball.sh Patch0: use-system-sqlite.patch +# fix for pango 1.44: https://github.com/Pandinosaurus/wt/pull/66 +Patch1: pango-add-harfbuzz-include.patch BuildRequires: cmake >= 3.1 boost-devel >= 1.41 gcc-c++ openssl-devel doxygen BuildRequires: GraphicsMagick-devel pango-devel sqlite-devel libpq-devel @@ -280,6 +282,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Mon Aug 19 2019 Michal Minář - 4.1.0-1 +- New upstream version. + * Sat Jul 27 2019 Fedora Release Engineering - 4.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 2feacff2b5324eb9540ce71600ad7fab832d6fb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Min=C3=A1=C5=99?= Date: Mon, 19 Aug 2019 09:41:56 +0000 Subject: [PATCH 29/36] added missing patch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Minář --- pango-add-harfbuzz-include.patch | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pango-add-harfbuzz-include.patch diff --git a/pango-add-harfbuzz-include.patch b/pango-add-harfbuzz-include.patch new file mode 100644 index 0000000..72bea9c --- /dev/null +++ b/pango-add-harfbuzz-include.patch @@ -0,0 +1,31 @@ +From 20e552a69e3cf3f1c3e77c9cab05e3ce191c5e3b Mon Sep 17 00:00:00 2001 +From: Roel Standaert +Date: Wed, 14 Aug 2019 12:19:11 +0200 +Subject: [PATCH] Issue #7193: Pango 1.44 fix: add harfbuzz include dir + +--- + cmake/WtFindPangoFt2.txt | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/cmake/WtFindPangoFt2.txt b/cmake/WtFindPangoFt2.txt +index 5dae4cbf7..d64eeeecc 100644 +--- a/cmake/WtFindPangoFt2.txt ++++ b/cmake/WtFindPangoFt2.txt +@@ -14,6 +14,9 @@ FIND_PATH(FT2BUILD_INCLUDE_DIR ft2build.h + FIND_PATH(FONTCONFIG_INCLUDE_DIR fontconfig/fontconfig.h + HINTS ${PC_PANGO_FT2_INCLUDE_DIRS}) + ++FIND_PATH(HARFBUZZ_INCLUDE_DIR hb.h ++ HINTS ${PC_PANGO_FT2_INCLUDE_DIRS}) ++ + FIND_PATH(GLIB2_INCLUDE_DIR glib.h + HINTS ${PC_PANGO_FT2_INCLUDE_DIRS}) + +@@ -40,6 +43,7 @@ SET(PANGO_FT2_INCLUDE_DIRS + ${FT2_INCLUDE_DIR} + ${FT2BUILD_INCLUDE_DIR} + ${FONTCONFIG_INCLUDE_DIR} ++ ${HARFBUZZ_INCLUDE_DIR} + ${GLIB2_INCLUDE_DIR} + ${GLIB2_CONFIG_INCLUDE_DIR}) + From 1fededcb8267a2d32573a2e507be0f2e05d3e9c6 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sat, 14 Dec 2019 14:29:08 -0700 Subject: [PATCH 30/36] Add missing #include for gcc-10 --- gcc10.patch | 11 +++++++++++ wt.spec | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 gcc10.patch diff --git a/gcc10.patch b/gcc10.patch new file mode 100644 index 0000000..e3a602c --- /dev/null +++ b/gcc10.patch @@ -0,0 +1,11 @@ +diff -rup a/src/Wt/Core/observing_ptr_impl.hpp b/src/Wt/Core/observing_ptr_impl.hpp +--- a/src/Wt/Core/observing_ptr_impl.hpp 2019-07-31 07:07:38.000000000 -0600 ++++ b/src/Wt/Core/observing_ptr_impl.hpp 2019-10-13 09:05:52.032057543 -0600 +@@ -7,6 +7,7 @@ + #ifndef WT_CORE_OBSERVING_PTR_IMPL_H_ + #define WT_CORE_OBSERVING_PTR_IMPL_H_ + ++#include + #include "observable.hpp" + + namespace Wt { namespace Core { diff --git a/wt.spec b/wt.spec index 569c3d2..68042a2 100644 --- a/wt.spec +++ b/wt.spec @@ -6,7 +6,7 @@ Name: wt Version: 4.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ library for developing web applications # For a breakdown of the licensing, see PACKAGE-LICENSING @@ -31,6 +31,7 @@ Source4: wt-generate-tarball.sh Patch0: use-system-sqlite.patch # fix for pango 1.44: https://github.com/Pandinosaurus/wt/pull/66 Patch1: pango-add-harfbuzz-include.patch +Patch2: gcc10.patch BuildRequires: cmake >= 3.1 boost-devel >= 1.41 gcc-c++ openssl-devel doxygen BuildRequires: GraphicsMagick-devel pango-devel sqlite-devel libpq-devel @@ -282,6 +283,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Sat Dec 14 2019 Jeff Law - 4.1.0-2 +- Add missing #include for gcc-10 + * Mon Aug 19 2019 Michal Minář - 4.1.0-1 - New upstream version. From 36f0b9481625b49e163d8f274236c396954dc542 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jan 2020 03:59:54 +0000 Subject: [PATCH 31/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wt.spec b/wt.spec index 68042a2..e4a3464 100644 --- a/wt.spec +++ b/wt.spec @@ -6,7 +6,7 @@ Name: wt Version: 4.1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: C++ library for developing web applications # For a breakdown of the licensing, see PACKAGE-LICENSING @@ -283,6 +283,9 @@ popd %{_defaultdocdir}/%{name}-doc/examples/* %changelog +* Fri Jan 31 2020 Fedora Release Engineering - 4.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Sat Dec 14 2019 Jeff Law - 4.1.0-2 - Add missing #include for gcc-10 From ac262df76abe39cd60bbdd765924dacec007bbdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Min=C3=A1=C5=99?= Date: Tue, 17 Mar 2020 14:19:13 +0000 Subject: [PATCH 32/36] new upstream version: 4.2.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit set default cipher list to PROFILE=SYSTEM cleanup Signed-off-by: Michal Minář --- .gitignore | 2 +- gcc10.patch | 11 ------- pango-add-harfbuzz-include.patch | 31 ------------------- sources | 2 +- ssl-default-cipher-list.patch | 13 ++++++++ ...GE-LICENSING => wt-4.2.2-PACKAGE-LICENSING | 0 wt.spec | 19 +++++++----- 7 files changed, 26 insertions(+), 52 deletions(-) delete mode 100644 gcc10.patch delete mode 100644 pango-add-harfbuzz-include.patch create mode 100644 ssl-default-cipher-list.patch rename wt-4.1.0-PACKAGE-LICENSING => wt-4.2.2-PACKAGE-LICENSING (100%) diff --git a/.gitignore b/.gitignore index 947ac12..28b4750 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/wt-4.1.0-free.tar.xz +/wt-4.2.2-free.tar.xz diff --git a/gcc10.patch b/gcc10.patch deleted file mode 100644 index e3a602c..0000000 --- a/gcc10.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -rup a/src/Wt/Core/observing_ptr_impl.hpp b/src/Wt/Core/observing_ptr_impl.hpp ---- a/src/Wt/Core/observing_ptr_impl.hpp 2019-07-31 07:07:38.000000000 -0600 -+++ b/src/Wt/Core/observing_ptr_impl.hpp 2019-10-13 09:05:52.032057543 -0600 -@@ -7,6 +7,7 @@ - #ifndef WT_CORE_OBSERVING_PTR_IMPL_H_ - #define WT_CORE_OBSERVING_PTR_IMPL_H_ - -+#include - #include "observable.hpp" - - namespace Wt { namespace Core { diff --git a/pango-add-harfbuzz-include.patch b/pango-add-harfbuzz-include.patch deleted file mode 100644 index 72bea9c..0000000 --- a/pango-add-harfbuzz-include.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 20e552a69e3cf3f1c3e77c9cab05e3ce191c5e3b Mon Sep 17 00:00:00 2001 -From: Roel Standaert -Date: Wed, 14 Aug 2019 12:19:11 +0200 -Subject: [PATCH] Issue #7193: Pango 1.44 fix: add harfbuzz include dir - ---- - cmake/WtFindPangoFt2.txt | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/cmake/WtFindPangoFt2.txt b/cmake/WtFindPangoFt2.txt -index 5dae4cbf7..d64eeeecc 100644 ---- a/cmake/WtFindPangoFt2.txt -+++ b/cmake/WtFindPangoFt2.txt -@@ -14,6 +14,9 @@ FIND_PATH(FT2BUILD_INCLUDE_DIR ft2build.h - FIND_PATH(FONTCONFIG_INCLUDE_DIR fontconfig/fontconfig.h - HINTS ${PC_PANGO_FT2_INCLUDE_DIRS}) - -+FIND_PATH(HARFBUZZ_INCLUDE_DIR hb.h -+ HINTS ${PC_PANGO_FT2_INCLUDE_DIRS}) -+ - FIND_PATH(GLIB2_INCLUDE_DIR glib.h - HINTS ${PC_PANGO_FT2_INCLUDE_DIRS}) - -@@ -40,6 +43,7 @@ SET(PANGO_FT2_INCLUDE_DIRS - ${FT2_INCLUDE_DIR} - ${FT2BUILD_INCLUDE_DIR} - ${FONTCONFIG_INCLUDE_DIR} -+ ${HARFBUZZ_INCLUDE_DIR} - ${GLIB2_INCLUDE_DIR} - ${GLIB2_CONFIG_INCLUDE_DIR}) - diff --git a/sources b/sources index 5b3454d..732f963 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wt-4.1.0-free.tar.xz) = 663afdb0c16a2ca1218e3bae73d973c3120112b6f22db4726ff555547b2eaed2a42da8446969db1a2f83ba2c97f9d300da59111018c15bdbb8aed44b078064f1 +SHA512 (wt-4.2.2-free.tar.xz) = 79fd49b54f6e9c38b3949807d7b9b6fff86258fe3aa0076673c88aa32b1ce7d5610855e8245ba03e0c5c04f8c6cf2d4f205cf76aab19b085fa0fe7246e419110 diff --git a/ssl-default-cipher-list.patch b/ssl-default-cipher-list.patch new file mode 100644 index 0000000..9578a96 --- /dev/null +++ b/ssl-default-cipher-list.patch @@ -0,0 +1,13 @@ +Index: wt-4.2.2/src/http/Configuration.C +=================================================================== +--- wt-4.2.2.orig/src/http/Configuration.C ++++ wt-4.2.2/src/http/Configuration.C +@@ -58,7 +58,7 @@ Configuration::Configuration(Wt::WLogger + sslClientVerification_("none"), + sslVerifyDepth_(1), + sslCaCertificates_(), +- sslCipherList_(), ++ sslCipherList_("PROFILE=SYSTEM"), + sslPreferServerCiphers_(false), + sessionIdPrefix_(), + accessLog_(), diff --git a/wt-4.1.0-PACKAGE-LICENSING b/wt-4.2.2-PACKAGE-LICENSING similarity index 100% rename from wt-4.1.0-PACKAGE-LICENSING rename to wt-4.2.2-PACKAGE-LICENSING diff --git a/wt.spec b/wt.spec index e4a3464..1f20f6d 100644 --- a/wt.spec +++ b/wt.spec @@ -5,8 +5,8 @@ %global WTRUNGROUP apache Name: wt -Version: 4.1.0 -Release: 3%{?dist} +Version: 4.2.2 +Release: 1%{?dist} Summary: C++ library for developing web applications # For a breakdown of the licensing, see PACKAGE-LICENSING @@ -29,13 +29,11 @@ Source3: README.fedora Source4: wt-generate-tarball.sh Patch0: use-system-sqlite.patch -# fix for pango 1.44: https://github.com/Pandinosaurus/wt/pull/66 -Patch1: pango-add-harfbuzz-include.patch -Patch2: gcc10.patch +Patch1: ssl-default-cipher-list.patch BuildRequires: cmake >= 3.1 boost-devel >= 1.41 gcc-c++ openssl-devel doxygen BuildRequires: GraphicsMagick-devel pango-devel sqlite-devel libpq-devel -BuildRequires: mariadb-connector-c-devel libharu-devel fcgi-devel zlib-devel qt-devel +BuildRequires: mariadb-connector-c-devel libharu-devel fcgi-devel zlib-devel qt5-devel # Don't use bundled glew on fedora >= 21 %if 0%{?fedora} >= 21 @@ -89,8 +87,9 @@ applications using the Wt toolkit and the Wt::Dbo ORM library. %package examples Summary: Examples for Wt License: GPLv2 and MIT -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: %{name}-dbo%{?_isa} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-dbo%{?_isa} = %{version}-%{release} +Requires: %{name}-files{?_isa} = %{version}-%{release} %description examples This package contains programming examples distributed with official Wt @@ -281,8 +280,12 @@ popd %{_defaultdocdir}/%{name}-doc/reference/* %{_defaultdocdir}/%{name}-doc/tutorial/* %{_defaultdocdir}/%{name}-doc/examples/* +%{_defaultdocdir}/%{name}-doc/*.dox %changelog +* Tue Mar 17 2020 Michal Minář - 4.2.2-1 +- New upstream version 4.2.2 + * Fri Jan 31 2020 Fedora Release Engineering - 4.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 513361883df12a188a3cc034c5bcf40d6f18f005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Min=C3=A1=C5=99?= Date: Fri, 20 Mar 2020 04:07:14 +0000 Subject: [PATCH 33/36] fixed -examples dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Minář --- wt.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wt.spec b/wt.spec index 1f20f6d..d9ee365 100644 --- a/wt.spec +++ b/wt.spec @@ -6,7 +6,7 @@ Name: wt Version: 4.2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ library for developing web applications # For a breakdown of the licensing, see PACKAGE-LICENSING @@ -89,7 +89,6 @@ Summary: Examples for Wt License: GPLv2 and MIT Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}-dbo%{?_isa} = %{version}-%{release} -Requires: %{name}-files{?_isa} = %{version}-%{release} %description examples This package contains programming examples distributed with official Wt @@ -283,6 +282,9 @@ popd %{_defaultdocdir}/%{name}-doc/*.dox %changelog +* Fri Mar 20 2020 Michal Minář - 4.2.2-2 +- Fixed -examples' dependencies + * Tue Mar 17 2020 Michal Minář - 4.2.2-1 - New upstream version 4.2.2 From dd19ab9e603ea9f3dbf8392cfe59958ca62423cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Min=C3=A1=C5=99?= Date: Thu, 26 Mar 2020 17:08:17 +0000 Subject: [PATCH 34/36] new upstream version 4.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Minář --- .gitignore | 2 +- sources | 2 +- wt-4.2.2-PACKAGE-LICENSING => wt-4.3.0-PACKAGE-LICENSING | 0 wt.spec | 7 +++++-- 4 files changed, 7 insertions(+), 4 deletions(-) rename wt-4.2.2-PACKAGE-LICENSING => wt-4.3.0-PACKAGE-LICENSING (100%) diff --git a/.gitignore b/.gitignore index 28b4750..5b06a1f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/wt-4.2.2-free.tar.xz +/wt-4.3.0-free.tar.xz diff --git a/sources b/sources index 732f963..d066df5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wt-4.2.2-free.tar.xz) = 79fd49b54f6e9c38b3949807d7b9b6fff86258fe3aa0076673c88aa32b1ce7d5610855e8245ba03e0c5c04f8c6cf2d4f205cf76aab19b085fa0fe7246e419110 +SHA512 (wt-4.3.0-free.tar.xz) = ea2d2b1addb14656505b73d126b20308161ce7675cf73ff1e1271a3cfd17b4ef7302f59fb459a0302d35a42aa1a67dd7784d8b4df057d1df3e3e864ceb1ebf8e diff --git a/wt-4.2.2-PACKAGE-LICENSING b/wt-4.3.0-PACKAGE-LICENSING similarity index 100% rename from wt-4.2.2-PACKAGE-LICENSING rename to wt-4.3.0-PACKAGE-LICENSING diff --git a/wt.spec b/wt.spec index d9ee365..4bf13e4 100644 --- a/wt.spec +++ b/wt.spec @@ -5,8 +5,8 @@ %global WTRUNGROUP apache Name: wt -Version: 4.2.2 -Release: 2%{?dist} +Version: 4.3.0 +Release: 1%{?dist} Summary: C++ library for developing web applications # For a breakdown of the licensing, see PACKAGE-LICENSING @@ -282,6 +282,9 @@ popd %{_defaultdocdir}/%{name}-doc/*.dox %changelog +* Thu Mar 26 2020 Michal Minář - 4.3.0-1 +- New upstream version 4.3.0 + * Fri Mar 20 2020 Michal Minář - 4.2.2-2 - Fixed -examples' dependencies From c7b404be561feaf909409c8a4d621cf96ae2dbae Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Mon, 15 Jun 2020 13:33:24 +0100 Subject: [PATCH 35/36] Replace BuildRequires: qt5-devel with qt5-qtbase-devel --- wt.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/wt.spec b/wt.spec index 4bf13e4..ac449fa 100644 --- a/wt.spec +++ b/wt.spec @@ -6,7 +6,7 @@ Name: wt Version: 4.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ library for developing web applications # For a breakdown of the licensing, see PACKAGE-LICENSING @@ -33,7 +33,8 @@ Patch1: ssl-default-cipher-list.patch BuildRequires: cmake >= 3.1 boost-devel >= 1.41 gcc-c++ openssl-devel doxygen BuildRequires: GraphicsMagick-devel pango-devel sqlite-devel libpq-devel -BuildRequires: mariadb-connector-c-devel libharu-devel fcgi-devel zlib-devel qt5-devel +BuildRequires: mariadb-connector-c-devel libharu-devel fcgi-devel zlib-devel +BuildRequires: qt5-qtbase-devel # Don't use bundled glew on fedora >= 21 %if 0%{?fedora} >= 21 @@ -282,6 +283,9 @@ popd %{_defaultdocdir}/%{name}-doc/*.dox %changelog +* Mon Jun 15 2020 Jonathan Wakely - 4.3.0-2 +- Replace BuildRequires: qt5-devel with qt5-qtbase-devel + * Thu Mar 26 2020 Michal Minář - 4.3.0-1 - New upstream version 4.3.0 From b510a06a00fbfc7741a832ac4c14304ed080d3c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 28 Jul 2020 10:22:56 +0200 Subject: [PATCH 36/36] Orphaned for 6+ weeks --- .gitignore | 1 - README.fedora | 21 -- dead.package | 1 + sources | 1 - ssl-default-cipher-list.patch | 13 - timezone-README.fedora | 3 - use-system-sqlite.patch | 18 -- wt-4.3.0-PACKAGE-LICENSING | 17 -- wt-generate-tarball.sh | 27 -- wt.spec | 471 ---------------------------------- 10 files changed, 1 insertion(+), 572 deletions(-) delete mode 100644 .gitignore delete mode 100644 README.fedora create mode 100644 dead.package delete mode 100644 sources delete mode 100644 ssl-default-cipher-list.patch delete mode 100644 timezone-README.fedora delete mode 100644 use-system-sqlite.patch delete mode 100644 wt-4.3.0-PACKAGE-LICENSING delete mode 100755 wt-generate-tarball.sh delete mode 100644 wt.spec diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 5b06a1f..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/wt-4.3.0-free.tar.xz diff --git a/README.fedora b/README.fedora deleted file mode 100644 index d8f2c52..0000000 --- a/README.fedora +++ /dev/null @@ -1,21 +0,0 @@ -======================================================================== -User Information for the Fedora wt package -======================================================================== - -Wt source package includes some thrid-party components which can not be -distributed with source rpm package in Fedora. One such component is a -JavaScript widget jPlayer available at: - - http://www.jplayer.org/ - -This script is needed by Wt::WMediaPlayer widget. To make it work, you -need to manually download jPlayer and install its static files into - - /usr/share/Wt/resources/jPlayer/ - -Or you may copy the contents of /usr/share/Wt/resources to your deployment -directory and install there jPlayer when needed. - -To read more about this change, see the: - - https://fedoraproject.org/wiki/Packaging:Guidelines#No_inclusion_of_pre-built_binaries_or_libraries diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/sources b/sources deleted file mode 100644 index d066df5..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (wt-4.3.0-free.tar.xz) = ea2d2b1addb14656505b73d126b20308161ce7675cf73ff1e1271a3cfd17b4ef7302f59fb459a0302d35a42aa1a67dd7784d8b4df057d1df3e3e864ceb1ebf8e diff --git a/ssl-default-cipher-list.patch b/ssl-default-cipher-list.patch deleted file mode 100644 index 9578a96..0000000 --- a/ssl-default-cipher-list.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: wt-4.2.2/src/http/Configuration.C -=================================================================== ---- wt-4.2.2.orig/src/http/Configuration.C -+++ wt-4.2.2/src/http/Configuration.C -@@ -58,7 +58,7 @@ Configuration::Configuration(Wt::WLogger - sslClientVerification_("none"), - sslVerifyDepth_(1), - sslCaCertificates_(), -- sslCipherList_(), -+ sslCipherList_("PROFILE=SYSTEM"), - sslPreferServerCiphers_(false), - sessionIdPrefix_(), - accessLog_(), diff --git a/timezone-README.fedora b/timezone-README.fedora deleted file mode 100644 index 6fca520..0000000 --- a/timezone-README.fedora +++ /dev/null @@ -1,3 +0,0 @@ -This example is named *locale* in source archive. It is renamed in the process -of package build in order to prevent build failures due to a conflict between -header file resulting base script with the same name. diff --git a/use-system-sqlite.patch b/use-system-sqlite.patch deleted file mode 100644 index 6e7e760..0000000 --- a/use-system-sqlite.patch +++ /dev/null @@ -1,18 +0,0 @@ -Index: wt-4.0.5/src/CMakeLists.txt -=================================================================== ---- wt-4.0.5.orig/src/CMakeLists.txt -+++ wt-4.0.5/src/CMakeLists.txt -@@ -6,9 +6,12 @@ INCLUDE_DIRECTORIES( - ${CMAKE_CURRENT_SOURCE_DIR}/Wt/Date/include - ${CMAKE_CURRENT_BINARY_DIR} # for WConfig.h - ${BOOST_INCLUDE_DIRS} -- Wt/Dbo/backend/amalgamation # for sqlite3.h - ) - -+IF(ENABLE_SQLITE AND NOT USE_SYSTEM_SQLITE3) -+ INCLUDE_DIRECTORIES(Wt/Dbo/backend/amalgamation) # sqlite 3 -+ENDIF(ENABLE_SQLITE AND NOT USE_SYSTEM_SQLITE3) -+ - LINK_DIRECTORIES(${BOOST_LIB_DIRS}) - - MACRO (FILE_TO_STRING infile outfile var) diff --git a/wt-4.3.0-PACKAGE-LICENSING b/wt-4.3.0-PACKAGE-LICENSING deleted file mode 100644 index 6af2c1b..0000000 --- a/wt-4.3.0-PACKAGE-LICENSING +++ /dev/null @@ -1,17 +0,0 @@ -The entire source code is GPLv2 except for these files: - * Boost Software License (BSL v1.0) - * src/http/* - * src/web/random_device.cpp - * src/rapidxml/* (dual licensed with MIT/X11 (BSD like)) - * MIT/X11 (BSD like) - * examples/wtwithqt/* - * BSD - * src/Wt/Auth/passwdqc.h - * src/Wt/Auth/passwdqc_check.h - * zlib/libpng - * src/web/md5.[ch] - * src/web/base64.h - * SIL OFL 1.1 - * resources/font-awesome/font/* - * MIT License - * resources/font-awesome/css/* diff --git a/wt-generate-tarball.sh b/wt-generate-tarball.sh deleted file mode 100755 index f5f8dbf..0000000 --- a/wt-generate-tarball.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -set -euo pipefail -IFS=$'\n\t' - -NAME="wt" -VERSION="$1" - -tmp=`mktemp -d` -archiveName="$VERSION.tar.gz" -[[ -f "${archiveName}" ]] || archiveName="$NAME-$VERSION.tar.gz" -if [[ ! -f "${archiveName}" ]]; then - printf 'Could not find source archive %s!\n' "$archiveName" >&2 - exit 1 -fi - -dirName="$NAME-$VERSION" -tar -xzvf "$archiveName" -C "$tmp" -pushd "$tmp" -pushd "$dirName/src/Wt/Dbo/backend" -rm -r ibpp -popd # backend -rm -r "$dirName/resources/jPlayer" -tar -cJvf "$dirName-free.tar.xz" "$dirName" -popd # tmp -mv "$tmp/$dirName-free.tar.xz" . -rm -r "$tmp" diff --git a/wt.spec b/wt.spec deleted file mode 100644 index ac449fa..0000000 --- a/wt.spec +++ /dev/null @@ -1,471 +0,0 @@ -%global WTSRVDIR /var/spool/wt -%global WTRUNDIR %{WTSRVDIR}/run - -%global WTRUNUSER apache -%global WTRUNGROUP apache - -Name: wt -Version: 4.3.0 -Release: 2%{?dist} -Summary: C++ library for developing web applications - -# For a breakdown of the licensing, see PACKAGE-LICENSING -License: GPLv2 and Boost and MIT and (Boost or MIT) and BSD and zlib -URL: https://www.webtoolkit.eu/wt -# Following archive was made from upstream tarball downloaded from -# https://github.com/kdeforche/wt/archive/3.3.7.tar.gz -# by running ./wt-generate-tarball.sh 3.3.7 from tarball's directory -Source0: %{name}-%{version}-free.tar.xz -Source1: %{name}-%{version}-PACKAGE-LICENSING -# Explain why the locale example is renamed to timezone. -Source2: timezone-README.fedora -# Explain why the jPlayer static files are missing. -Source3: README.fedora -# wt toolkit contains bundled non-free library (IBPP) that we cannot ship. -# Therefore we use this script to remove its code before shipping it. -# Download the upstream tarball and invoke this script while in the -# tarball's directory: -# ./wt-generate-tarball.sh UPSTREAM_VERSION -Source4: wt-generate-tarball.sh - -Patch0: use-system-sqlite.patch -Patch1: ssl-default-cipher-list.patch - -BuildRequires: cmake >= 3.1 boost-devel >= 1.41 gcc-c++ openssl-devel doxygen -BuildRequires: GraphicsMagick-devel pango-devel sqlite-devel libpq-devel -BuildRequires: mariadb-connector-c-devel libharu-devel fcgi-devel zlib-devel -BuildRequires: qt5-qtbase-devel - -# Don't use bundled glew on fedora >= 21 -%if 0%{?fedora} >= 21 -%global use_system_glew 1 -BuildRequires: glew-devel -%endif - -# Denote the fact of bundling glew -%{!?use_system_glew:Provides: bundled(glew) = 1.10.0} - -%description -Web C++ library with widget oriented API that uses well-tested patterns of -desktop GUI development tailored to the web. To the developer, it offers -abstraction of web-specific implementation details, including client-server -protocols, event handling, graphics support, graceful degradation (or -progressive enhancement), and URL handling. - -%package dbo -Summary: Wt::Dbo ORM library and Sqlite3 back-end - -%description dbo -This package contains the Wt::Dbo Object-Relational Mapping library -and Sqlite3 back-end of it. - -%package dbo-mysql -Summary: MySQL back-end for the Wt::Dbo ORM library -Requires: %{name}-dbo%{?_isa} = %{version}-%{release} - -%description dbo-mysql -This package contains the MySQL back-end for the Wt::Dbo ORM library. - -%package dbo-postgres -Summary: PostgreSQL back-end for the Wt::Dbo ORM library -Requires: %{name}-dbo%{?_isa} = %{version}-%{release} - -%description dbo-postgres -This package contains the PostgresSQL back-end for the Wt::Dbo ORM library. - -%package devel -Summary: Libraries and header files for witty web development -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: %{name}-dbo%{?_isa} = %{version}-%{release} -Requires: %{name}-dbo-postgres%{?_isa} = %{version}-%{release} -Requires: %{name}-dbo-mysql%{?_isa} = %{version}-%{release} -Requires: cmake - -%description devel -This package contains the files necessary to develop -applications using the Wt toolkit and the Wt::Dbo ORM library. - -%package examples -Summary: Examples for Wt -License: GPLv2 and MIT -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: %{name}-dbo%{?_isa} = %{version}-%{release} - -%description examples -This package contains programming examples distributed with official Wt -release. - -%package doc -Summary: Documents for the Wt toolkit -# Unfortunately there are differences in doxygen output between arm and other -# architectures. -#BuildArch: noarch - -%description doc -This package contains the documents for Wt API and examples. - -%prep -%autosetup -p1 - -# static files like javascript and css should not be executable -for d in src resources examples; do - find $d -type f \( -iregex '.*\.\([hc]\|js\|css\)' -o -executable \) | \ - xargs -r chmod -v 0644 -done -# locale script created in build directory causes build to fail because some -# dependent headers try to include header which is found in current -# directory. Let's rename it to timezone. -mv examples/feature/locale examples/feature/timezone -mv examples/feature/timezone/{locale,timezone}.C -sed -i 's/locale/timezone/g' \ - examples/feature/CMakeLists.txt \ - examples/feature/timezone/CMakeLists.txt - -find examples -type f -name .htaccess | while read f; do - mv -v $f `dirname $f`/htaccess -done -# conversion to UTF-8 -convdir=`mktemp -d` -for f in examples/style/CornerImage.h; do - tmpf=${convdir}/`basename $f` - iconv -f iso-8859-2 -t UTF-8 $f >$tmpf - mv $tmpf $f -done -rmdir $convdir - -# Make sure not to be using bundled glew -%{?use_system_glew:rm -rf src/3rdparty/glew-1.10.0} - -%build -mkdir wt-build -cd wt-build -## wtdbofirebird library bundles IBPP c++ client library for firebird -## that is licensed under IBPP License, which is marked as Non-Free -## by Red Hat Legal -## let's not package it, until licensing issues are solved -%cmake .. \ - -DCONNECTOR_HTTP=ON \ - -DCONNECTOR_FCGI=ON \ - -DUSE_SYSTEM_SQLITE3=ON \ - -DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick \ - -DWEBUSER="%{WTRUNUSER}" \ - -DWEBGROUP="%{WTRUNGROUP}" \ - -DRUNDIR="%{WTRUNDIR}" \ - -DCONFIGDIR="%{_sysconfdir}/%{name}" \ - -DENABLE_FIREBIRD=OFF \ - -DENABLE_MYSQL=ON \ - %{?use_system_glew:-DUSE_SYSTEM_GLEW=1} \ - -DBUILD_EXAMPLES=ON \ - -DINSTALL_EXAMPLES=ON \ - -DEXAMPLES_DESTINATION=%{_lib}/Wt/examples -make %{?_smp_mflags} -make doc - -%install -pushd wt-build -make install DESTDIR=${RPM_BUILD_ROOT} -install -v -m 0755 -d ${RPM_BUILD_ROOT}/%{_sysconfdir}/%{name} -cp -v wt_config.xml ${RPM_BUILD_ROOT}/%{_sysconfdir}/%{name} - -# makes an absolute symlink to resources directory -make_rsc_link() { - ln -vs "%{_datadir}/Wt/resources" \ - "${RPM_BUILD_ROOT}%{_libdir}/Wt/examples/$1" -} - -# installation of examples -pushd examples -for d in `find . -maxdepth 1 -mindepth 1 -type d | \ - grep -v '^\(CMakeFiles\|feature\)$'`; do - # create a symlink for each example pointing on resources dir - make_rsc_link $d -done -for d in `find feature -maxdepth 1 -mindepth 1 -type d | grep -v 'CMakeFiles'`; -do # create a symlink for each feature example pointing on resources dir - make_rsc_link $d -done -popd # examples -popd # wt-build -install -vm 644 %{SOURCE2} \ - ${RPM_BUILD_ROOT}%{_libdir}/Wt/examples/feature/timezone/README.fedora - -# installation of documentation -for d in %{name} %{name}-dbo %{name}-doc; do - install -v -m 0755 -d ${RPM_BUILD_ROOT}%{_defaultdocdir}/$d/ - cp -v LICENSE ${RPM_BUILD_ROOT}%{_defaultdocdir}/$d/ - install -vm 644 %{SOURCE1} \ - ${RPM_BUILD_ROOT}%{_defaultdocdir}/$d/PACKAGE-LICENSING -done -cp -vr README.md %{SOURCE3} ReleaseNotes.html Changelog \ - ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name}/ -cp -vr INSTALL*.html doc/* ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name}-doc/ - -pushd ${RPM_BUILD_ROOT} -mkdir -vp .%{WTSRVDIR} -mkdir -vp .%{WTRUNDIR} - -# cleanup -for d in examples reference; do - if [[ -e .%{_defaultdocdir}/%{name}-doc/$d/html/installdox ]]; then - rm -v .%{_defaultdocdir}/%{name}-doc/$d/html/installdox - fi -done -rm -v .%{_defaultdocdir}/%{name}-doc/main -find .%{_libdir}/Wt/examples -regex '.*/\(CMakeFiles\|.*\.cmake\|Doxygen\)' | \ - xargs rm -rfv -# these scripts were used to generate pictures -find .%{_datadir}/Wt/resources -name 'generate.sh' | xargs rm -v -popd - -%ldconfig_scriptlets -%ldconfig_scriptlets dbo -%ldconfig_scriptlets dbo-mysql -%ldconfig_scriptlets dbo-postgres - -%files -%config(noreplace) %{_sysconfdir}/%{name}/wt_config.xml -%{_libdir}/libwt.so.* -%{_libdir}/libwtfcgi.so.* -%{_libdir}/libwthttp.so.* -%{_libdir}/libwttest.so.* -%dir %{_defaultdocdir}/%{name} -%doc %{_defaultdocdir}/%{name}/README.md -%doc %{_defaultdocdir}/%{name}/README.fedora -%doc %{_defaultdocdir}/%{name}/LICENSE -%doc %{_defaultdocdir}/%{name}/ReleaseNotes.html -%doc %{_defaultdocdir}/%{name}/Changelog -%doc %{_defaultdocdir}/%{name}/PACKAGE-LICENSING -%dir %{_datadir}/Wt -%dir %{_datadir}/Wt/resources -%{_datadir}/Wt/resources/* -%dir %{WTSRVDIR} -%dir %{WTRUNDIR} - -%files dbo -%dir %{_defaultdocdir}/%{name}-dbo -%doc %{_defaultdocdir}/%{name}-dbo/LICENSE -%doc %{_defaultdocdir}/%{name}-dbo/PACKAGE-LICENSING -%{_libdir}/libwtdbo.so.* -%{_libdir}/libwtdbosqlite3.so.* - -%files dbo-mysql -%{_libdir}/libwtdbomysql.so.* - -%files dbo-postgres -%{_libdir}/libwtdbopostgres.so.* - -%files devel -# header files -%dir %{_includedir}/Wt -%{_includedir}/Wt/* -%{_libdir}/*.so -%dir %{_libdir}/cmake/wt -%{_libdir}/cmake/wt/*.cmake - -%files examples -%dir %{_libdir}/Wt -%dir %{_libdir}/Wt/examples -%{_libdir}/Wt/examples/* - -%files doc -%dir %{_defaultdocdir}/%{name}-doc -%doc %{_defaultdocdir}/%{name}-doc/LICENSE -%doc %{_defaultdocdir}/%{name}-doc/PACKAGE-LICENSING -%{_defaultdocdir}/%{name}-doc/*.html -%dir %{_defaultdocdir}/%{name}-doc/images -%dir %{_defaultdocdir}/%{name}-doc/reference -%dir %{_defaultdocdir}/%{name}-doc/tutorial -%dir %{_defaultdocdir}/%{name}-doc/examples -%{_defaultdocdir}/%{name}-doc/images/* -%{_defaultdocdir}/%{name}-doc/reference/* -%{_defaultdocdir}/%{name}-doc/tutorial/* -%{_defaultdocdir}/%{name}-doc/examples/* -%{_defaultdocdir}/%{name}-doc/*.dox - -%changelog -* Mon Jun 15 2020 Jonathan Wakely - 4.3.0-2 -- Replace BuildRequires: qt5-devel with qt5-qtbase-devel - -* Thu Mar 26 2020 Michal Minář - 4.3.0-1 -- New upstream version 4.3.0 - -* Fri Mar 20 2020 Michal Minář - 4.2.2-2 -- Fixed -examples' dependencies - -* Tue Mar 17 2020 Michal Minář - 4.2.2-1 -- New upstream version 4.2.2 - -* Fri Jan 31 2020 Fedora Release Engineering - 4.1.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Sat Dec 14 2019 Jeff Law - 4.1.0-2 -- Add missing #include for gcc-10 - -* Mon Aug 19 2019 Michal Minář - 4.1.0-1 -- New upstream version. - -* Sat Jul 27 2019 Fedora Release Engineering - 4.0.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Mon May 20 2019 Michal Minář - 4.0.5-1 -- New upstream version 4.0.5 - -* Sun Feb 03 2019 Fedora Release Engineering - 4.0.3-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Mon Jan 14 2019 Björn Esser - 4.0.3-3 -- Rebuilt for libcrypt.so.2 (#1666033) - -* Thu Aug 23 2018 Nicolas Chauvet - 4.0.3-2 -- Rebuilt for glew 2.1.0 - -* Mon Jul 23 2018 - 4.0.3-1 -- New upstream version 4.0.3 - -* Sat Jul 14 2018 Fedora Release Engineering - 4.0.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Thu Mar 15 2018 Michal Minář - 4.0.2-3 -- New upstream version 4.0.2 -- Compatibility fix for boost 1.66 -- Depend on mariadb-connector-c-devel - -* Fri Feb 09 2018 Fedora Release Engineering - 3.3.7-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Sat Jan 20 2018 Björn Esser - 3.3.7-6 -- Rebuilt for switch to libxcrypt - -* Thu Aug 03 2017 Fedora Release Engineering - 3.3.7-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 3.3.7-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sun Jul 23 2017 Björn Esser - 3.3.7-3 -- Rebuilt for Boost 1.64 - -* Mon May 15 2017 Fedora Release Engineering - 3.3.7-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild - -* Sun Apr 23 2017 Michal Minar 3.3.7-1 -- New upstream version 3.3.7 - -* Sat Feb 11 2017 Fedora Release Engineering - 3.3.6-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Tue Jan 10 2017 Orion Poplawski - 3.3.6-2 -- Rebuild for glew 2.0.0 - -* Mon Aug 08 2016 Michal Minar 3.3.6-1 -- New upstream version 3.3.6 - -* Tue May 17 2016 Jonathan Wakely - 3.3.5-0.6.rc2 -- Rebuilt for linker errors in boost (#1331983) - -* Fri Feb 05 2016 Fedora Release Engineering - 3.3.5-0.5.rc2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Sat Jan 16 2016 Jonathan Wakely - 3.3.5-0.4.rc2 -- Rebuilt for Boost 1.60 - -* Thu Jan 14 2016 Adam Jackson - 3.3.5-0.3.rc2 -- Rebuild for glew 1.13 - -* Wed Nov 18 2015 Michal Minar 3.3.5-0.2.rc2 -- Made doc package archfull. - -* Wed Nov 18 2015 Michal Minar 3.3.5-0.1.rc2 -- New upstream version 3.3.5-rc2 - -* Thu Aug 27 2015 Jonathan Wakely - 3.3.4-6 -- Rebuilt for Boost 1.59 - -* Thu Aug 27 2015 Jonathan Wakely - 3.3.4-5 -- Rebuilt for Boost 1.59 - -* Wed Jul 29 2015 Fedora Release Engineering - 3.3.4-4 -- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159 - -* Wed Jul 22 2015 David Tardon - 3.3.4-3 -- rebuild for Boost 1.58 - -* Fri Jun 19 2015 Fedora Release Engineering - 3.3.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Mon Apr 20 2015 Michal Minar 3.3.4-1 -- New upstream version 3.3.4 - -* Mon Feb 09 2015 Ralf Corsépius - 3.3.3-4 -- Add wt-3.3.3-boost-1.57.patch (Fix boost-1.57 FTBFS). -- Replace bogus BR: boost-devel%%{_isa} with BR: boost-devel. -- Unbundle GLEW. - -* Mon Aug 18 2014 Fedora Release Engineering - 3.3.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Fri Jun 13 2014 Michal Minar 3.3.3-2 -- Reenabled raster image support. - -* Wed Jun 11 2014 Michal Minar 3.3.3-1 -- New upstream version 3.3.3. - -* Sun Jun 08 2014 Fedora Release Engineering - 3.3.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Fri May 23 2014 David Tardon - 3.3.2-3 -- rebuild for boost 1.55.0 - -* Fri Mar 21 2014 Michal Minar 3.3.2-2 -- Got rid of bundled sqlite libraries. - -* Fri Mar 14 2014 Michal Minar 3.3.2-1 -- Update to 3.3.2 - -* Sun Sep 22 2013 Michal Minar 3.3.1-0.1.rc1 -- Update to 3.3.1-rc1. -- Added dbo-mysql subpackage with MySQL backend library. -- Unversioned doc directories. - -* Sun Aug 04 2013 Fedora Release Engineering - 3.3.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Sat Jul 27 2013 pmachata@redhat.com - 3.3.0-3 -- Rebuild for boost 1.54.0 - -* Wed Jun 26 2013 Michal Minar 3.3.0-2 -- Using LZMA2 compression for source archive. - -* Thu Jun 20 2013 Michal Minar 3.3.0-1 -- Version 3.3.0 - -* Sat Feb 09 2013 Denis Arnaud - 3.2.3-2 -- Rebuild for Boost-1.53.0 - -* Wed Dec 26 2012 Michal Minar - 3.2.3-1 -- Version 3.2.3 - -* Mon Dec 24 2012 Rex Dieter 3.2.2-7.p1 -- rebuild (GraphicsMagick) - -* Thu Sep 13 2012 Michal Minar - 3.2.2-6.p1 -- fixed changelog line - -* Wed Sep 12 2012 Michal Minar - 3.2.2-5.p1 -- Added wt-generate-tarball.sh script for source tarball generation - from upstream tarball, in order to remove the IBPP non-free library - from source. - -* Mon Sep 03 2012 Michal Minar - 3.2.2-4.p1 -- separated doc dirs for independent subpackages -dbo and -doc - -* Fri Aug 24 2012 Michal Minar - 3.2.2-3.p1 -- Own examples directory. -- Include a copy of license in wt-doc. -- Added License tag for wt-examples. - -* Fri Aug 24 2012 Michal Minar - 3.2.2-2.p1 -- Not packaging back-end due to licensing issues. - -* Tue Aug 21 2012 Michal Minar - 3.2.2-1.p1 -- Initial Package for FE.