SHA256
1
0
forked from pool/poco

8 Commits

Author SHA256 Message Date
fd7a97615c Accepting request 1291083 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1291083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/poco?expand=0&rev=14
2025-07-08 13:29:11 +00:00
bd7a5463a0 poco 1.14.2 CVE-2025-6375 boo#1245177
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/poco?expand=0&rev=51
2025-07-07 17:00:44 +00:00
275422d899 Accepting request 1275162 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1275162
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/poco?expand=0&rev=13
2025-05-07 17:20:56 +00:00
d45fdf4ac6 Update to 1.14.1
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/poco?expand=0&rev=49
2025-05-07 10:51:13 +00:00
d9b260955f Accepting request 1255216 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1255216
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/poco?expand=0&rev=12
2025-03-24 12:29:32 +00:00
45aed8ba22 Accepting request 1254927 from home:AndreasStieger:branches:devel:libraries:c_c++
- poco-devel needs to require pcre2-devel, not pcre-devel

OBS-URL: https://build.opensuse.org/request/show/1254927
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/poco?expand=0&rev=47
2025-03-22 08:38:29 +00:00
078d627b0a Accepting request 1248382 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1248382
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/poco?expand=0&rev=11
2025-02-25 15:48:21 +00:00
af32845659 - Modernize specfile
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/poco?expand=0&rev=45
2025-02-25 13:45:02 +00:00
4 changed files with 123 additions and 87 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8accf6c6ebb9ae686e7c8e2390a35beaab08d0ca1abda537cc2d0b7ab9296be5
size 11295218

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:47394ea7ddb7b0a40e1a5be896f8f5dc77cfdc4f561d2e7131ecf582df5a0c3a
size 12179163

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
Sun Jul 6 15:51:33 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 1.14.2
* NetSSL_OpenSSL: non-blocking functions return value
* Fix crash in Poco::Net::NTLMCredentials::parseChallengeMessage
* Fix TCPServer continues to accept connections after stop()
* Fix XML memory leak
* CVE-2025-6375: MultipartInputStream Null Pointer Dereference
(boo#1245177)
* make utf8proc, PCRE2, zlib and expat private dependencies
* developer visible bug fixes
- clean up requirements of the -devel package, in favor of auto-
generated depencencies
- enable Apache httpd connector
-------------------------------------------------------------------
Tue Apr 22 09:37:15 UTC 2025 - Christophe Marin <christophe@krop.fr>
- Update to 1.14.1. Too many changes since last package update.
Check https://github.com/pocoproject/poco/releases for the full
list.
-------------------------------------------------------------------
Wed Mar 19 05:52:36 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- poco-devel needs to require pcre2-devel, not pcre-devel
-------------------------------------------------------------------
Mon Feb 24 10:47:12 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Modernize specfile
-------------------------------------------------------------------
Wed Feb 7 13:28:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
@@ -231,6 +264,8 @@ Wed Feb 7 13:28:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
* PR #3102 Made it possible to use lowercase hex numbers, also
when encoding JSON
* PR #3009 switching iPhoneSimulator arch to 64 bit
- includes fix for nteger overflow in Poco::UTF32Encoding
CVE-2023-52389 boo#1219269
-------------------------------------------------------------------
Mon Oct 30 22:11:30 UTC 2023 - Martin Hauke <mardnh@gmx.de>

169
poco.spec
View File

@@ -1,7 +1,8 @@
#
# spec file for package poco
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,27 +17,33 @@
#
%define sover 101
%define sover 112
# disabled for now as 4 of them fail
%bcond_with tests
Name: poco
Version: 1.13.1
Version: 1.14.2
Release: 0
Summary: C++ Framework for Network-based Applications
License: BSL-1.0
Group: System/Libraries
Group: Development/Libraries/C and C++
URL: https://pocoproject.org
Source: https://github.com/pocoproject/%{name}/archive/%{name}-%{version}-release.tar.gz
BuildRequires: cmake >= 2.8.12
BuildRequires: apache2-devel
BuildRequires: c++_compiler
BuildRequires: cmake >= 3.15
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: mysql-devel
BuildRequires: ninja
BuildRequires: pcre2-devel
BuildRequires: pkgconfig
BuildRequires: unixODBC-devel
BuildRequires: pkgconfig(apr-1)
BuildRequires: pkgconfig(apr-util-1)
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(libcrypto)
BuildRequires: pkgconfig(libpcre2-8)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libpq)
BuildRequires: pkgconfig(libutf8proc)
BuildRequires: pkgconfig(odbc)
BuildRequires: pkgconfig(sqlite3) >= 3.7
BuildRequires: pkgconfig(zlib)
@@ -44,7 +51,7 @@ BuildRequires: pkgconfig(zlib)
C++ class libraries and frameworks for building
network- and Internet-based applications.
%package -n poco-devel
%package devel
Summary: C++ Framework for Network-based Applications
Group: Development/Libraries/C and C++
Requires: libPocoCppParser%{sover} = %{version}
@@ -52,6 +59,7 @@ Requires: libPocoCrypto%{sover} = %{version}
Requires: libPocoData%{sover} = %{version}
Requires: libPocoDataMySQL%{sover} = %{version}
Requires: libPocoDataODBC%{sover} = %{version}
Requires: libPocoDataPostgreSQL%{sover} = %{version}
Requires: libPocoDataSQLite%{sover} = %{version}
Requires: libPocoEncodings%{sover} = %{version}
Requires: libPocoFoundation%{sover} = %{version}
@@ -66,16 +74,10 @@ Requires: libPocoRedis%{sover} = %{version}
Requires: libPocoUtil%{sover} = %{version}
Requires: libPocoXML%{sover} = %{version}
Requires: libPocoZip%{sover} = %{version}
Requires: libexpat-devel
Requires: libmysqlclient-devel
Requires: libstdc++-devel
Requires: openssl-devel
Requires: pcre-devel
Requires: poco-cpspc = %{version}
Requires: unixODBC-devel
Provides: libpoco-devel = %{version}
%description -n poco-devel
%description devel
C++ class libraries and frameworks for building
network- and Internet-based applications.
@@ -87,11 +89,11 @@ Group: System/Libraries
ActiveRecord is a simple and lightweight object-relational mapping (ORM)
framework based on the Active Record pattern and the Data library.
%package -n poco-cpspc
%package cpspc
Summary: POCO C++ Server Page Compiler
Group: Development/Tools/Doc Generators
%description -n poco-cpspc
%description cpspc
This program compiles web pages containing embedded C++ code into a C++ class
that can be used with the HTTP server from the POCO Net library.
@@ -140,6 +142,15 @@ Provides: poco-dataodbc = %{version}
C++ class libraries and frameworks for building
network- and Internet-based applications.
%package -n libPocoDataPostgreSQL%{sover}
Summary: C++ Framework for Network-based Applications
Group: System/Libraries
Provides: poco-datapostgresql = %{version}
%description -n libPocoDataPostgreSQL%{sover}
C++ class libraries and frameworks for building
network- and Internet-based applications.
%package -n libPocoDataSQLite%{sover}
Summary: C++ Framework for Network-based Applications
Group: System/Libraries
@@ -267,7 +278,7 @@ C++ class libraries and frameworks for building
network- and Internet-based applications.
%prep
%setup -q -n "poco-poco-%{version}-release"
%autosetup -p1 -n poco-poco-%{version}-release
%build
# ENABLE_APPACHECONNECTOR
@@ -282,8 +293,10 @@ network- and Internet-based applications.
-DENABLE_DATA_MYSQL=ON \
-DENABLE_DATA_ODBC=ON \
-DENABLE_DATA_SQLITE=ON \
-DENABLE_DATA_POSTGRESQL=ON \
-DENABLE_JSON=ON \
-DENABLE_MONGODB=ON \
-DENABLE_APACHECONNECTOR=ON \
-DENABLE_NET=ON \
-DENABLE_NETSSL=ON \
-DENABLE_NETSSL_WIN=OFF \
@@ -297,13 +310,14 @@ network- and Internet-based applications.
-DENABLE_TESTS=ON \
%endif
-DFORCE_OPENSSL=ON \
-DPOCO_UNBUNDLED=ON
-DPOCO_UNBUNDLED=ON \
%{nil}
%cmake_build
%install
%cmake_install
rm -rf %{buildroot}%{_libdir}/cmake/Poco/V*
%fdupes -s %{buildroot}/%{_libdir}/cmake/Poco
%fdupes %{buildroot}/%{_libdir}/cmake/Poco
%check
%if %{with tests}
@@ -311,127 +325,113 @@ export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}:$(pwd)/build/lib:$LD_LIBRARY_PATH
%ctest
%endif
%ldconfig_scriptlets -n libPocoActiveRecord%{sover}
%ldconfig_scriptlets -n libPocoCrypto%{sover}
%ldconfig_scriptlets -n libPocoCppParser%{sover}
%ldconfig_scriptlets -n libPocoData%{sover}
%ldconfig_scriptlets -n libPocoDataMySQL%{sover}
%ldconfig_scriptlets -n libPocoDataODBC%{sover}
%ldconfig_scriptlets -n libPocoDataPostgreSQL%{sover}
%ldconfig_scriptlets -n libPocoDataSQLite%{sover}
%ldconfig_scriptlets -n libPocoEncodings%{sover}
%ldconfig_scriptlets -n libPocoFoundation%{sover}
%ldconfig_scriptlets -n libPocoJSON%{sover}
%ldconfig_scriptlets -n libPocoMongoDB%{sover}
%ldconfig_scriptlets -n libPocoNet%{sover}
%ldconfig_scriptlets -n libPocoNetSSL%{sover}
%ldconfig_scriptlets -n libPocoPDF%{sover}
%ldconfig_scriptlets -n libPocoPrometheus%{sover}
%ldconfig_scriptlets -n libPocoRedis%{sover}
%ldconfig_scriptlets -n libPocoUtil%{sover}
%ldconfig_scriptlets -n libPocoXML%{sover}
%ldconfig_scriptlets -n libPocoZip%{sover}
%ldconfig_scriptlets -n libPocoJWT%{sover}
%files -n libPocoActiveRecord%{sover}
%license LICENSE
%{_libdir}/libPocoActiveRecord.so.%{sover}
%post -n libPocoActiveRecord%{sover} -p /sbin/ldconfig
%postun -n libPocoActiveRecord%{sover} -p /sbin/ldconfig
%files -n libPocoCrypto%{sover}
%license LICENSE
%{_libdir}/libPocoCrypto.so.%{sover}
%post -n libPocoCrypto%{sover} -p /sbin/ldconfig
%postun -n libPocoCrypto%{sover} -p /sbin/ldconfig
%files -n libPocoCppParser%{sover}
%license LICENSE
%{_libdir}/libPocoCppParser.so.%{sover}
%post -n libPocoCppParser%{sover} -p /sbin/ldconfig
%postun -n libPocoCppParser%{sover} -p /sbin/ldconfig
%files -n libPocoData%{sover}
%license LICENSE
%{_libdir}/libPocoData.so.%{sover}
%post -n libPocoData%{sover} -p /sbin/ldconfig
%postun -n libPocoData%{sover} -p /sbin/ldconfig
%files -n libPocoDataMySQL%{sover}
%license LICENSE
%{_libdir}/libPocoDataMySQL.so.%{sover}
%post -n libPocoDataMySQL%{sover} -p /sbin/ldconfig
%postun -n libPocoDataMySQL%{sover} -p /sbin/ldconfig
%files -n libPocoDataODBC%{sover}
%license LICENSE
%{_libdir}/libPocoDataODBC.so.%{sover}
%post -n libPocoDataODBC%{sover} -p /sbin/ldconfig
%postun -n libPocoDataODBC%{sover} -p /sbin/ldconfig
%files -n libPocoDataPostgreSQL%{sover}
%license LICENSE
%{_libdir}/libPocoDataPostgreSQL.so.%{sover}
%files -n libPocoDataSQLite%{sover}
%license LICENSE
%{_libdir}/libPocoDataSQLite.so.%{sover}
%post -n libPocoDataSQLite%{sover} -p /sbin/ldconfig
%postun -n libPocoDataSQLite%{sover} -p /sbin/ldconfig
%files -n libPocoEncodings%{sover}
%license LICENSE
%{_libdir}/libPocoEncodings.so.%{sover}
%post -n libPocoEncodings%{sover} -p /sbin/ldconfig
%postun -n libPocoEncodings%{sover} -p /sbin/ldconfig
%files -n libPocoFoundation%{sover}
%license LICENSE
%{_libdir}/libPocoFoundation.so.%{sover}
%post -n libPocoFoundation%{sover} -p /sbin/ldconfig
%postun -n libPocoFoundation%{sover} -p /sbin/ldconfig
%files -n libPocoJSON%{sover}
%license LICENSE
%{_libdir}/libPocoJSON.so.%{sover}
%post -n libPocoJSON%{sover} -p /sbin/ldconfig
%postun -n libPocoJSON%{sover} -p /sbin/ldconfig
%files -n libPocoMongoDB%{sover}
%license LICENSE
%{_libdir}/libPocoMongoDB.so.%{sover}
%post -n libPocoMongoDB%{sover} -p /sbin/ldconfig
%postun -n libPocoMongoDB%{sover} -p /sbin/ldconfig
%files -n libPocoNet%{sover}
%license LICENSE
%{_libdir}/libPocoNet.so.%{sover}
%post -n libPocoNet%{sover} -p /sbin/ldconfig
%postun -n libPocoNet%{sover} -p /sbin/ldconfig
%files -n libPocoNetSSL%{sover}
%license LICENSE
%{_libdir}/libPocoNetSSL.so.%{sover}
%post -n libPocoNetSSL%{sover} -p /sbin/ldconfig
%postun -n libPocoNetSSL%{sover} -p /sbin/ldconfig
%files -n libPocoPDF%{sover}
%license LICENSE
%{_libdir}/libPocoPDF.so.%{sover}
%post -n libPocoPDF%{sover} -p /sbin/ldconfig
%postun -n libPocoPDF%{sover} -p /sbin/ldconfig
%files -n libPocoPrometheus%{sover}
%license LICENSE
%{_libdir}/libPocoPrometheus.so.%{sover}
%post -n libPocoPrometheus%{sover} -p /sbin/ldconfig
%postun -n libPocoPrometheus%{sover} -p /sbin/ldconfig
%files -n libPocoRedis%{sover}
%license LICENSE
%{_libdir}/libPocoRedis.so.%{sover}
%post -n libPocoRedis%{sover} -p /sbin/ldconfig
%postun -n libPocoRedis%{sover} -p /sbin/ldconfig
%files -n libPocoUtil%{sover}
%license LICENSE
%{_libdir}/libPocoUtil.so.%{sover}
%post -n libPocoUtil%{sover} -p /sbin/ldconfig
%postun -n libPocoUtil%{sover} -p /sbin/ldconfig
%files -n libPocoXML%{sover}
%license LICENSE
%{_libdir}/libPocoXML.so.%{sover}
%post -n libPocoXML%{sover} -p /sbin/ldconfig
%postun -n libPocoXML%{sover} -p /sbin/ldconfig
%files -n libPocoZip%{sover}
%license LICENSE
%{_libdir}/libPocoZip.so.%{sover}
%post -n libPocoZip%{sover} -p /sbin/ldconfig
%postun -n libPocoZip%{sover} -p /sbin/ldconfig
%files -n libPocoJWT%{sover}
%license LICENSE
%{_libdir}/libPocoJWT.so.%{sover}
%post -n libPocoJWT%{sover} -p /sbin/ldconfig
%postun -n libPocoJWT%{sover} -p /sbin/ldconfig
%files -n poco-devel
%files devel
%license LICENSE
%doc CHANGELOG CONTRIBUTORS README
%{_includedir}/Poco
@@ -440,7 +440,8 @@ export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}:$(pwd)/build/lib:$LD_LIBRARY_PATH
%dir %{_libdir}/cmake/Poco/
%{_libdir}/cmake/Poco/*.cmake
%files -n poco-cpspc
%files cpspc
%license LICENSE
%{_bindir}/cpspc
%{_bindir}/f2cpsp