SHA256
1
0
forked from pool/libupnp

Update libupnp to 1.14.25 #1

Closed
adkorte wants to merge 1 commits from factory into factory
4 changed files with 58 additions and 15 deletions

Binary file not shown.

BIN
libupnp-1.14.25.tar.bz2 LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,40 @@
-------------------------------------------------------------------
Sun Nov 9 16:16:04 UTC 2025 - Arjen de Korte <suse+build@de-korte.org>
- Update to release 1.14.25
* no changelog
- Update to release 1.14.24
* Fix possible close() on non-initialized socket.
* ssdp_device.c: Fix missing casts in setsockopt()
* Windows thinks argument 4 of setsockopt() is a const char *. Add casts
to avoid build errors with GCC.
* Fixes: 52cb6b52d2 ("ssdp_device.c: Bind SSDP UDP response to 1900")
- Update to release 1.14.23
* Improve SSDP initialization and error handling (#486)
* It was possible for some uninitialized garbage to cause getaddrinfo() to
fail on glibc 2.41, which would crash the client program. Instead,
zero the whole struct, and gracefully handle getaddrinfo() failures.
- Update to release 1.14.22
* Fix broken compilation on Alpine 3.21 / gcc-14.2
- Update to release 1.14.21
* Fix subs not working on Windows due to missing netmask
* Lots of IXML fuzzer fixes
* ssdp_device.c: Bind SSDP UDP response to 1900
- Update to release 1.14.20
* ixml has its own version
* Add CORS header to avoid browser warnings
* Add new API call
* Add internal function
* Implement setting allow-origin in header
* Implement new API call
* Headers do not have to be quoted
* Allow setting MaxJobsTotal for ThreadPools
* fix formats under newer newer MSVC
* fix 32-bit format warnings
* Fixes broken cmake regex
* Fixes cmake redefinition warnings
- Change to cmake in order to provide .cmake in addition to .pc file
-------------------------------------------------------------------
Mon Apr 22 21:50:57 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libupnp
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2011, Sascha Peilicke <saschpe@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -20,7 +20,7 @@
%define pnpver 17
%define ixmlver 11
Name: libupnp
Version: 1.14.19
Version: 1.14.25
Release: 0
Summary: An implementation of Universal Plug and Play (UPnP)
License: BSD-3-Clause
@@ -28,7 +28,8 @@ Group: Development/Libraries/C and C++
URL: https://github.com/pupnp/pupnp
Source: https://github.com/pupnp/pupnp/releases/download/release-%version/%name-%version.tar.bz2
Source3: baselibs.conf
BuildRequires: libtool
BuildRequires: cmake >= 3.11
BuildRequires: gcc-c++
BuildRequires: pkg-config
%description
@@ -69,17 +70,18 @@ systems.
%build
# the openssl simply does not compile
%configure \
--disable-samples \
--enable-ipv6 \
--disable-static \
--enable-reuseaddr \
--disable-open_ssl \
--enable-unspecified_server
%make_build
%cmake \
-DUPNP_BUILD_SAMPLES=OFF \
-DUPNP_ENABLE_IPV6=ON \
-DUPNP_BUILD_STATIC=OFF \
-DUPNP_MINISERVER_REUSEADDR=ON \
-DUPNP_ENABLE_OPEN_SSL=OFF \
-DUPNP_ENABLE_UNSPECIFIED_SERVER=ON \
-DBUILD_TESTING=ON
%cmake_build
%install
%make_install
%cmake_install
find "%buildroot" -type f -name "*.la" -delete -print
%ldconfig_scriptlets -n %name%pnpver
@@ -99,5 +101,9 @@ find "%buildroot" -type f -name "*.la" -delete -print
%_libdir/libixml.so
%_libdir/libupnp.so
%_includedir/upnp/
%dir %_libdir/cmake/IXML
%_libdir/cmake/IXML/*.cmake
%dir %_libdir/cmake/UPNP
%_libdir/cmake/UPNP/*.cmake
%changelog