Update to 1.6.21, remove patch committed upstream

epel8
Michael Cronenworth 8 years ago
parent fa66da999f
commit 8c6857fc40

7
.gitignore vendored

@ -1,6 +1 @@
libupnp-1.6.6.tar.bz2
/libupnp-1.6.13.tar.bz2
/libupnp-1.6.17.tar.bz2
/libupnp-1.6.18.tar.bz2
/libupnp-1.6.19.tar.bz2
/libupnp-1.6.20.tar.bz2
/libupnp-1.6.21.tar.bz2

@ -1,24 +0,0 @@
Originally:
https://github.com/mjg59/pupnp-code/commit/be0a01bdb83395d9f3a5ea09c1308a4f1a972cbd
But without the configure bits, because we're just going to leave it disabled
anyway, and I don't feel like making autoreconf work.
diff -up libupnp-1.6.20/upnp/src/genlib/net/http/webserver.c.jx libupnp-1.6.20/upnp/src/genlib/net/http/webserver.c
--- libupnp-1.6.20/upnp/src/genlib/net/http/webserver.c.jx 2016-07-07 13:05:30.000000000 -0400
+++ libupnp-1.6.20/upnp/src/genlib/net/http/webserver.c 2016-07-18 14:02:23.920747068 -0400
@@ -1367,9 +1367,13 @@ static int http_RecvPostMessage(
if (Fp == NULL)
return HTTP_INTERNAL_SERVER_ERROR;
} else {
+#ifdef UPNP_ENABLE_POST_WRITE
Fp = fopen(filename, "wb");
if (Fp == NULL)
return HTTP_UNAUTHORIZED;
+#else
+ return HTTP_NOT_FOUND;
+#endif
}
parser->position = POS_ENTITY;
do {

@ -1,7 +1,7 @@
Version: 1.6.20
Version: 1.6.21
Summary: Universal Plug and Play (UPnP) SDK
Name: libupnp
Release: 2%{?dist}
Release: 1%{?dist}
License: BSD
Group: System Environment/Libraries
URL: http://www.libupnp.org/
@ -10,8 +10,6 @@ Source: http://downloads.sourceforge.net/pupnp/%{name}-%{version}.tar.bz2
%define docdeveldir %{_docdir}/%{name}-devel-%{version}
%define docdir %{_docdir}/%{name}-%{version}
Patch0: 0001-Don-t-allow-unhandled-POSTs-to-write-to-the-filesyst.patch
%description
The Universal Plug and Play (UPnP) SDK for Linux provides
support for building UPnP-compliant control points, devices,
@ -28,7 +26,6 @@ the UPnP SDK libraries.
%prep
%setup -q
%patch0 -p1
%build
%configure --enable-static=no --enable-ipv6
@ -64,6 +61,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
rm -rf %{buildroot}
%changelog
* Tue Mar 07 2017 Michael Cronenworth <mike@cchtml.com> - 1.6.21-1
- libupnp 1.6.21
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.20-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

@ -1 +1 @@
6839c376b5ec71d2d56f7b64e829c438 libupnp-1.6.20.tar.bz2
SHA512 (libupnp-1.6.21.tar.bz2) = 65a2989497b941dfa1f7ac09fe44267de4a5231af25a304f0f6e754c7cbb578bdcb3c500188b5ebfbff9f579099db7501817d45e1724ef8e384d6d918bcdcdeb

Loading…
Cancel
Save