Compare commits

...

18 Commits
epel8 ... epel9

Author SHA1 Message Date
Nicolas Chauvet 582ca60f63 Merge remote-tracking branch 'origin/rawhide' into epel9
3 years ago
Nicolas Chauvet 028b57bda9 Update to 1.14.12
3 years ago
Nicolas Chauvet 1f65042300 Update to 1.14.10
4 years ago
Nicolas Chauvet f02a1a557c Update to 1.14.9
4 years ago
Gwyn Ciesla 45fd53e60c Fix FTBFS.
4 years ago
Fedora Release Engineering 070003be1c - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
4 years ago
Nicolas Chauvet 6d546482f9 Update to 1.14.7
4 years ago
Nicolas Chauvet c1f0ce1846 Update to 1.14.6
4 years ago
Nicolas Chauvet bbaeaf2d9c Update to 1.14.5
4 years ago
Nicolas Chauvet 9f610da675 Update to 1.14.4
4 years ago
Nicolas Chauvet 8f016fe526 Update to 1.14.2
4 years ago
Nicolas Chauvet 5c05b8482d Update to 1.14.1
4 years ago
Fedora Release Engineering cb75cd684b - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
4 years ago
Tom Stellard affee19527 Add BuildRequires: make
4 years ago
Nicolas Chauvet 7a904cac56 Update to 1.14.0
4 years ago
Fedora Release Engineering a080bc0662 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5 years ago
Gwyn Ciesla f2873b77e1 1.12.1
5 years ago
Fedora Release Engineering bb87ccccc7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
5 years ago

1
.gitignore vendored

@ -1 +1,2 @@
libupnp-*.tar.bz2
libupnp-*.tar.gz

@ -1,68 +0,0 @@
From c17d66e5dce011acef34435598eddf7122458b33 Mon Sep 17 00:00:00 2001
From: Jean-Francois Dockes <jf@dockes.org>
Date: Thu, 13 Dec 2018 18:39:43 +0100
Subject: [PATCH] Ensure that the samples use the same largefile options as the
library
Create a configuration file specific to the samples, to mimick what a
regular application would have to do.
---
.gitignore | 2 ++
configure.ac | 2 +-
upnp/sample/common/config_sample.h.in | 21 +++++++++++++++++++++
upnp/sample/common/sample_util.h | 1 +
4 files changed, 25 insertions(+), 1 deletion(-)
create mode 100644 upnp/sample/common/config_sample.h.in
diff --git a/configure.ac b/configure.ac
index 108ad7bf..670d3632 100644
--- a/configure.ac
+++ b/configure.ac
@@ -432,7 +432,7 @@ AC_CANONICAL_HOST
# libraries : it contains information on the configuration of the
# installed libraries.
#
-AC_CONFIG_HEADERS([autoconfig.h upnp/inc/upnpconfig.h])
+AC_CONFIG_HEADERS([autoconfig.h upnp/inc/upnpconfig.h upnp/sample/common/config_sample.h])
AX_SYS_LARGEFILE_SENSITIVE
if test "x$ac_cv_sys_largefile_sensitive" = "xyes"; then
diff --git a/upnp/sample/common/config_sample.h.in b/upnp/sample/common/config_sample.h.in
new file mode 100644
index 00000000..8fbc38e3
--- /dev/null
+++ b/upnp/sample/common/config_sample.h.in
@@ -0,0 +1,21 @@
+/*
+ * On systems where the size of off_t depends on compile flags, libupnp needs
+ * the programs which use it to be built with the same options as itself.
+ * This is checked at compile time, but the actual variables (such as
+ * _FILE_OFFSET_BITS) are not exported by the library (to avoid surprises in
+ * applications).
+ * A "normal" application would need to explicitely configure large file
+ * support depending on how libupnp was built, using its own configure
+ * routines. For the samples, we equivalently let the main libupnp configure
+ * create this file.
+ */
+
+/* Number of bits in a file offset, on hosts where this is settable. */
+#undef _FILE_OFFSET_BITS
+
+/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
+#undef _LARGEFILE_SOURCE
+
+/* Define for large files, on AIX-style hosts. */
+#undef _LARGE_FILES
+
diff --git a/upnp/sample/common/sample_util.h b/upnp/sample/common/sample_util.h
index 2bca04ff..6d853efb 100644
--- a/upnp/sample/common/sample_util.h
+++ b/upnp/sample/common/sample_util.h
@@ -44,6 +44,7 @@
extern "C" {
#endif /* __cplusplus */
+#include "config_sample.h"
#include "ithread.h"
#include "ixml.h" /* for IXML_Document, IXML_Element */
#include "upnp.h" /* for Upnp_EventType */

@ -1,12 +0,0 @@
diff -up libupnp-1.8.4/configure.ac.nobump libupnp-1.8.4/configure.ac
--- libupnp-1.8.4/configure.ac.nobump 2018-10-25 16:54:52.000000000 +0200
+++ libupnp-1.8.4/configure.ac 2019-01-08 15:17:39.420358079 +0100
@@ -388,7 +388,7 @@ dnl #AC_SUBST([LT_VERSION_UPNP], [
dnl #
dnl ############################################################################
AC_SUBST([LT_VERSION_IXML], [10:1:0])
-AC_SUBST([LT_VERSION_UPNP], [13:0:0])
+AC_SUBST([LT_VERSION_UPNP], [12:0:2])
dnl ############################################################################
dnl # Repeating the algorithm to place it closer to the modificatin place:
dnl # - library code modified: revision++

@ -1,14 +1,14 @@
Version: 1.8.4
Version: 1.14.12
Summary: Universal Plug and Play (UPnP) SDK
Name: libupnp
Release: 3%{?dist}
Release: 1%{?dist}
License: BSD
URL: https://sourceforge.net/projects/pupnp
Source: https://downloads.sourceforge.net/pupnp/%{name}-%{version}.tar.bz2
Patch0: libupnp-1.8.4-nobump.patch
Patch1: 96.patch
URL: https://github.com/pupnp/pupnp
Source: %{url}/archive/release-%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc autoconf automake
BuildRequires: gcc
BuildRequires: make
BuildRequires: libtool
%description
@ -25,12 +25,11 @@ The libupnp-devel package contains the files necessary for development with
the UPnP SDK libraries.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
autoreconf
%autosetup -p1 -n pupnp-release-%{version}
%build
autoreconf -vif
%configure \
--enable-static=no \
--enable-ipv6
@ -51,8 +50,8 @@ sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%files
%license COPYING
%doc THANKS
%{_libdir}/libixml.so.10*
%{_libdir}/libupnp.so.10*
%{_libdir}/libixml.so.11*
%{_libdir}/libupnp.so.17*
%files devel
%{_includedir}/upnp/
@ -61,6 +60,51 @@ sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%{_libdir}/pkgconfig/libupnp.pc
%changelog
* Thu Nov 04 2021 Nicolas Chauvet <kwizart@gmail.com> - 1.14.12-1
- Update to 1.14.12
* Thu Aug 19 2021 Nicolas Chauvet <kwizart@gmail.com> - 1.14.10-1
- Update to 1.14.10
* Mon Aug 16 2021 Nicolas Chauvet <kwizart@gmail.com> - 1.14.9-1
- Update to 1.14.9
* Mon Aug 02 2021 Gwyn Ciesla <gwync@protonmail.com> - 1.14.7-3
- Upstream patch to fix FTBFS.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jun 02 2021 Nicolas Chauvet <kwizart@gmail.com> - 1.14.7-1
- Update to 1.14.7
* Wed Apr 21 2021 Nicolas Chauvet <kwizart@gmail.com> - 1.14.6-1
- Update to 1.14.6
* Tue Apr 06 2021 Nicolas Chauvet <kwizart@gmail.com> - 1.14.5-1
- Update to 1.14.5
* Tue Mar 30 2021 Nicolas Chauvet <kwizart@gmail.com> - 1.14.4-1
- Update to 1.14.4
* Mon Mar 01 2021 Nicolas Chauvet <kwizart@gmail.com> - 1.14.2-1
- Update to 1.14.2
* Tue Feb 09 2021 Nicolas Chauvet <kwizart@gmail.com> - 1.14.1-1
- Update to 1.14.1
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jul 16 2020 Gwyn Ciesla <gwync@protonmail.com> - 1.12.1-1
- 1.12.1
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

@ -1 +1 @@
SHA512 (libupnp-1.8.4.tar.bz2) = 403d7b6408a33330fc59fbe6284cc7bca10a675c41b323bba6b9c6461c8a82fbb39f4a1a07d1a3b55f049c637830ebf21bd825cd6c2f4eb17265018ccee9cbb6
SHA512 (libupnp-1.14.12.tar.gz) = aab17aa12f15d110bfab20cbcbae5f54926b6ca7a30bce10b9287cd39919a06a5e9f1493405e1d561c0d58ba46926f87009df891e4e4f37097df1c3c67635ca9

Loading…
Cancel
Save