commit 3c84afd6c9995254af51a4013e58d3a7b9c5b08ab78d56dc2cc17ce03b9fae85 Author: Michael Pujos Date: Thu Aug 22 09:20:46 2024 +0000 Update to 6.2.0 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libnpupnp?expand=0&rev=15 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libnpupnp-6.1.2.tar.gz b/libnpupnp-6.1.2.tar.gz new file mode 100644 index 0000000..7805dfa --- /dev/null +++ b/libnpupnp-6.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d83cadc997a5367030820de6c4a49130b38fe605bf3d0d2c939d7d1c06aa3226 +size 447271 diff --git a/libnpupnp-6.1.2.tar.gz.asc b/libnpupnp-6.1.2.tar.gz.asc new file mode 100644 index 0000000..3fe9fa5 --- /dev/null +++ b/libnpupnp-6.1.2.tar.gz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE+OM0claSKornZ2BbeAjOltOLkgEFAmYmGcEACgkQeAjOltOL +kgHOuBAAmwLMaUzlW6KsSD/fSLWJWkEpvGwNHwuOAsrtNcvsUMs3QMWGYro/hS1s +OJ0FytoTNuxMylQeHTMOPumaa0c4kD6YtLAA3RB50d7x1kIbiSvg66ShkX8CjS/L +LFWV3IYj8A4FkVIGcxwwALzNUW1jn7TVqmd34uGRFXI9zlE7mWjN8axZXZcDDxyN +4YM5urIRfl4yJpHQFJzISQVJC54Kv1o9AHe09qeGOQcFEJY/hWweAlEvE/rFoNmA +ASZJ4w4Wcr00kEOgzM23agc0L3fy8qco8WNYTX9yePZyXGxyHmOmVMerBqhfEfzm ++5oWvK95N7sHkpIYkCTqOdwFHbFXI/rMUTuShLKtg/ZgRzjbejUKFsphsJsGG3EF +Y1EvHlep/gu7UxmnVKuckgoIRn2psQWFe+78mg3HD5N5ZTEQ5XA/OJkWG25oe91S +PoQRGnORxpcW76UeUUBu1/IC2wYPBMnCWRUrqFBlWyu4GL0BPvMcgh9m+yJT1d7x +BoeYSQ9kUSLB716XMAVS4+4qS2N8VF7ldd2Q+b+rHgJH3ui9FliwblBZ7t2C68t0 +xrR88q4Pf9M0X7PkEP7Qgfc5zRVEC9qAV1M8PjglqxrD7X7LvmL29tycXsFL12Iy +aoVj51KXBc5NzDCXsd8NJMpV5bZd+cM4NrYrnBzPgDxP66MepWo= +=LreE +-----END PGP SIGNATURE----- diff --git a/libnpupnp-6.2.0.tar.gz b/libnpupnp-6.2.0.tar.gz new file mode 100644 index 0000000..1c0923f --- /dev/null +++ b/libnpupnp-6.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c8101607f32a61f2477f23fa33839aa6d64568a83ca23ba43d430290937251d +size 449563 diff --git a/libnpupnp-6.2.0.tar.gz.asc b/libnpupnp-6.2.0.tar.gz.asc new file mode 100644 index 0000000..2647852 --- /dev/null +++ b/libnpupnp-6.2.0.tar.gz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE+OM0claSKornZ2BbeAjOltOLkgEFAmbATqkACgkQeAjOltOL +kgEE2g//W8FcbFGtNKRKWEz1+n1N6bP2nDn6jnsjMXLQHNUMLeEg5JEJS7vkWtRB +VoTFXtdI5SNOJ0ffHhScw9Mlp/svcULGnVf960y4rTUY3SvYWjLjy/EO/jh+WQp9 +I9yGm1jNDAohPdCcuI7AYWf0VXC2iyuiJOZ1Rs5VRPO8hL+FyuThqoLKzCTzzx+y +LSJM8+5hkjZDjhkvLQk6t5tnnJJJ2gmHHMVLUwD6I/GUG04AH8W898mmrGZ/jUsx +TVkAxgQosowkMRk/+fQSaHUiytoJLcZsPmeQ9vcztDdMVvggKZTlDHer0Kq/0OdF +K4+g85ccaLi5UlnP2Rocwlho5sJICraQ/b13YbdPI36QQDxRlTid7c8D7oGXznuw +qjfcibRnT6v/m32keanKmIuWlEILjGBXAMgoI/ROSU0gNXPpo8HToQ+GYkPX+/WI +d6R5sxYGCXOLCjFqMZOxyhqLjbDTWPC3oAQzhYMYf90QCZYUsSNMQgodH4d9LSPe +JnxjmLWAjYeO7/YztYnSCkP5q8q+euZ/UeTNU00GbA1xy/c42SZdUbYePP3RWttA +uVQB67Iqz9b87imaUQXvRUnVmt3IKC3xso29sCfITD0NDI+hoe4iFQNnCIWRUAX+ +knT3HJq9P5TVX0ndjx/EF8brDijMreqxxdgaQZYUocdiHeouK6M= +=/aaR +-----END PGP SIGNATURE----- diff --git a/libnpupnp.changes b/libnpupnp.changes new file mode 100644 index 0000000..039e279 --- /dev/null +++ b/libnpupnp.changes @@ -0,0 +1,124 @@ +------------------------------------------------------------------- +Thu Aug 22 09:09:48 UTC 2024 - Michael Pujos + +- removed fix-version.patch +- Update to 6.2.0: + * Improved multi-interface search: send M-SEARCH on all configured + interfaces instead of relying on routing + * Add interface method to set an Access-Control-Allow-Origin header + on webserver responses + * Accept unquoted values in SOAPACTION headers + * Fix compilation with GCC 14 + * Misc small fixes + +------------------------------------------------------------------- +Sun May 12 13:57:28 UTC 2024 - Michael Pujos + +- Update to 6.1.2 + * Removed autotools build system, now using meson +- Update to 6.1.1 + * Misc internal cleanups, mostly based on automated analysis tools + (cppcheck, fanalyzer, clang-tidy) +- Update to 6.1.0 + * Misc small internal cleanups, mostly for multi-platform building + * Add interface to free the netif data memory + +------------------------------------------------------------------- +Sat Dec 23 14:29:44 UTC 2023 - Michael Pujos + +- Update to 6.0.1 + * Switch UPnP version to 1.1. + * Add bootid, configid headers to the SSDP packets, and the corresponding + init() options. Set TTL to 2 instead of 4. + * Description parser utility. Store the download URL. + * Control: schedule events for sending the search packets instead of + sleeping in the client thread. + * Control: export the minimum and maximum values for the search window in + upnp.h, the client may need them. + * Add interface to perform unicast search. +- Update to 5.1.1 + * Rebuilt for rpi 1 (armv6) compatibility + * Fix choosing interface to use for Gena callback URL: we could sometimes + choose an inactive interface. +- Update to 5.1.0 + * Control: add milliseconds timeout option to SoapSendAction(). This is + mostly intended to enable polling a device health, and implemented by + checking the the responseData previously output-only, now input/output, + argument for additional parameters given as (nm, value) string + pairs. The only parameter checked at the moment is ("timeoutms", + "value"). This change is source and ABI compatible except in the quite + unlikely case where the existing code called the function with a + non-empty output array containing a pair with a "timeoutms" first + element. + * Control: added an interface to set an HTTP timeout for the + subscribe/unsubscribe operations. The default previous fixed value of + 30 S is kept, but can now be overridden. The change does not change the + ABI for an existing program. + * Given that upplay/libupnpp is the only known user of the lib control + side, the package name or shared library major version were not + changed. +- Update to 5.0.2 + * Minuscule internal changes. Sync with Windows version. +- Update to 5.0.1 + * Web server: fixed bad HTTP protocol conformance when handling range + requests. Would bother a lot correct clients which check status codes + and headers instead of just using the data, (e.g.: vlc). + * New alternate Meson build. + * Misc small cleanups inspired by clang-tidy and other housekeeping. + +------------------------------------------------------------------- +Sat Aug 13 10:08:52 UTC 2022 - Michael Pujos + +- update to 5.0.0: + * Changed the API to avoid truncation of some long subscription IDs. + Upnp_SID is now an std::string instead of a fixed size array. + This change should be source-compatible for programs which used + the UpnpEvent_get_SID_cstr() macro for accessing the value, but the + ABI changes, hence the major version, package, and shared lib + version changes +- update to 4.2.3: + * Fix bug which could close stderr when changing the log level + * Miscellaneous mostly stylistic changes + +------------------------------------------------------------------- +Mon May 9 17:16:37 UTC 2022 - Christophe Giboudeaux + +- Update to 4.2.2 + * Partial sanitizing of the static library object name space. + +------------------------------------------------------------------- +Sun Mar 20 09:43:57 UTC 2022 - Andreas Stieger + +- update to 4.2.1: + * improved compatibility with libupnp 1.14.x +- add upstream signing key and validate source signature + +------------------------------------------------------------------- +Mon Dec 20 22:09:27 UTC 2021 - Dirk Müller + +- update to 4.1.5: + * Small fix for working in a BSD jail with single interface + * Fix vulnerability to DNS-rebind attacks. + +------------------------------------------------------------------- +Thu Apr 15 08:44:06 UTC 2021 - Michael Pujos + +- update to 4.1.3: + * Fix working with multiple ipv6 link-local interfaces by adding + RFC 6874 zone identifiers to the URLs passed to the client code + * Add UpnpGetUrlHostPortForClient() interface to help users of the + web server compute their URLs + * Small build and compat fixes: fix mingw64 build, add empty + UpnpGetServerUlaGuaPort6() call, adjust how UPNP_ENABLE_IPV6 + affects module existence to make it compatible with pupnp + * Improve source-level compatibility by defining UPNP_USING_CHUNKED + * Fix HEAD requests. Samsung TVs now work with Gerbera + libnpupnp + * Send SERVER and USER-AGENT headers in misc places where mandated or useful + * Add API for the client code to set the user-agent and server string values + * Fix building and running with --disable-ipv6 + * Misc portability fixes + +------------------------------------------------------------------- +Sun Nov 15 20:17:08 UTC 2020 - Michael Pujos + +- Initial version diff --git a/libnpupnp.keyring b/libnpupnp.keyring new file mode 100644 index 0000000..756862c --- /dev/null +++ b/libnpupnp.keyring @@ -0,0 +1,95 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFbJ6UABEADLsFg8qXTrNrYUnNS5UXlAWUH7/ZHNRgr/EIkhKAbdlzVAywTM +fX6wo9crKzlqT3IcEOFe0RVJoh0FSNEQQlUhyJAFNlbcocsDYNqk7pDjxnUBUMM2 +U3ikLEPzRxWDhVepAVQPeloD1i8b4MJrSHnLb49PMmXg+6MHA+dzOS59onE5QDcz +kw1RF0N0gl7693rOMP/ATefA2KPQyKCIweKB/3NbOcv4/T1XDyag0G7xYkT4stEl +TN2P8c6HSyhWDxp2slZ04kdf17TuoeOqMO9gKE+eEC17lllLuhSrbBdfYTYt05pN +Y1eRup+6oamoMc3ITD2U2GtY+65AHw5MxjGigpZ3kj5DwF/f2IgtDBSoXjm8aaRb +iYMvt3kXnb3Ai/oVvSlkIQMlDDpdAQmzB0FO0MCzzykq5mQVbl3Uw3i2q5vg1IIL +fGOB1USa0JOVRSq8C66ncijYO6Jafx3uYCGVdIypoLs332kGsyQaIatoJRbPkKT/ +Wu/DGE8kHOaCo5795HbRk0O/Up5wQP3N/OXGmrQPtbafRz9bkjXOKGtq660VJ67K +ttgY9L1fD7jb+zDoUaY33K8Trfqaxm5aGkI6Pj3VvQSF2CAaJuEnh/c0r9UdGn0e +e1L0yP1kUj80Qv99QFEoH2UtBrfLsXAiRvcr/PfyGTp/+Q7wkCHsHC84TwARAQAB +tCRKZWFuLUZyYW5jb2lzIERvY2tlcyA8amZAZG9ja2VzLm9yZz6JAlcEEwEKAEEC +GwMFCwkIBwMFFQoJCAsFFgIDAQACHgECF4ACGQEWIQT44zRyVpIqiudnYFt4CM6W +04uSAQUCX8zFgQUJDMVDQQAKCRB4CM6W04uSAfJQD/9hL/icI4BGCOEwjHPCmuWG +5VtxVyKmu7S1eM37rzG2eo4ImjNZNW7/ldtSxVR6+MNsYp4ggAmniG6DcnlReUFx +BUh7GDYCScKGpQ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QcC +4ji29FArKR3dxg4vxkhyoRLZ0W+HDVOIajQARP6yqKhYf2YQwsBK1b97eaDC6XzY +2H4PalKlHa5Nnx8GmHDH6eqYkvUbxHNr9Puk3b772fU+CX1nQrdDmF29e8PTu1+h +90jkOElNnZE3roD9CGzt4uxDOyeF4WIvutrACmJRkEQkZsbsHkK2LaWOviML5kuk +B5PFCB72f3+dp+Dad4ELBFkCvtFrjN8ZmRVjUFANYEQtPzjLynyB9Aka2zjzQMbU +pN11tkSBtHHc2w5qZXRnUfdre0qM6ZXC8JfglSEy+W9tNbZAIh73d6WCb5/Y2+kK +BiIxPQykrgTb5pyAJxZqCBRaYVvLPpHNiqFRv0TLwKeG7e3uPJbIP5UDH6sgG3l1 +VY299gBXiqF8YVcbiIU3cV8NKvukDeQVq4tS3TuofjveAs+kcl312yZ4xoccfA/L +Cp/kOyQsFjqnt/LmwxjO1YoPIECaSXDGb4DGY8R2LF0/y9Iwcmw3caS0nOXJbUtW +lQMrS3KmkXOfKX5BLAipiUyFjaSvKe5eGJ/cZ+RKi1ulnh8VQIV3rmRUUpHXrW+6 +LBLSp82XS2Rml2d4V2WAFsdUcf+me76/dXlESI9eGGS5e5NBJN21pMx5o60= +=prrv +-----END PGP PUBLIC KEY BLOCK----- diff --git a/libnpupnp.spec b/libnpupnp.spec new file mode 100644 index 0000000..76420a2 --- /dev/null +++ b/libnpupnp.spec @@ -0,0 +1,79 @@ +# +# spec file for package libnpupnp +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define so_ver 13 +Name: libnpupnp +Version: 6.2.0 +Release: 0 +Summary: A C++ base UPnP library, derived from Portable UPnP, a.k.a libupnp +License: GPL-2.0-or-later +Group: Development/Libraries/C and C++ +URL: https://www.lesbonscomptes.com/upmpdcli/ +Source0: https://www.lesbonscomptes.com/upmpdcli/downloads/libnpupnp-%{version}.tar.gz +Source1: https://www.lesbonscomptes.com/upmpdcli/downloads/libnpupnp-%{version}.tar.gz.asc +Source2: https://www.lesbonscomptes.com/pages/jf-at-dockes.org.pub#/%{name}.keyring +BuildRequires: gcc-c++ +BuildRequires: meson +BuildRequires: pkgconfig +BuildRequires: pkgconfig(expat) +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(libmicrohttpd) + +%description +A C++ base UPnP library, derived from Portable UPnP, a.k.a libupnp + +%package -n %{name}%{so_ver} +Summary: A C++ base UPnP library, derived from Portable UPnP, a.k.a libupnp +Group: System/Libraries + +%description -n %{name}%{so_ver} +A C++ base UPnP library, derived from Portable UPnP, a.k.a libupnp + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries/C and C++ +Requires: %{name}%{so_ver} = %{version} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%autosetup + +%build +%meson +%meson_build + +%install +%meson_install + +%post -p /sbin/ldconfig -n %{name}%{so_ver} +%postun -p /sbin/ldconfig -n %{name}%{so_ver} + +%files -n %{name}%{so_ver} +%license COPYING +%{_libdir}/*.so.* + +%files -n libnpupnp-devel +%license COPYING +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc + +%changelog