Accepting request 760054 from home:dimstar:Factory

- Update to version 1.10.1:
  + Fix format string for ExtraHeaders.
  + Use higher port when reuseaddr is set and the default port is
    busy (boo#1132829).
- Drop libupnp-configure.patch: patch seems no longer needed (patch
  was added before 2013 and only ever rebased without validating
  its usefulness).
- Drop libtool BuildRequires and no longer call autoreconf: since
  we have no patch left, there is no need to bootstrap.
- Bump libpnpn defines to 15 and libixmlver to 11, following
  upstream chanes (also in baselibs.conf).

OBS-URL: https://build.opensuse.org/request/show/760054
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libupnp?expand=0&rev=29
This commit is contained in:
Jan Engelhardt 2019-12-31 23:53:40 +00:00 committed by Git OBS Bridge
parent d05792ef24
commit 89f49f4340
8 changed files with 27 additions and 43 deletions

View File

@ -1,2 +1,2 @@
libupnp13
libixml10
libupnp15
libixml11

3
libupnp-1.10.1.tar.bz2 Normal file
View File

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

View File

@ -0,0 +1 @@
0b4e9f38674b948adc2ca78165fb8d942fa46f38 libupnp-1.10.1.tar.bz2

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:188d3f786d92fe14191f17634d2d87847eee7d2b568a5257ea23262fec9973d6
size 676576

View File

@ -1 +0,0 @@
93e7b3c94cf53eb59533b4b7b137ef5cc651e28b libupnp-1.8.4.tar.bz2

View File

@ -1,28 +0,0 @@
Index: libupnp-1.8.4/configure.ac
===================================================================
--- libupnp-1.8.4.orig/configure.ac
+++ libupnp-1.8.4/configure.ac
@@ -7,7 +7,7 @@
# (C) Copyright 2005-2007 Rémi Turboult <r3mi@users.sourceforge.net>
#
-AC_PREREQ(2.60)
+AC_PREREQ([2.60])
AC_INIT([libupnp], [1.8.4], [mroberto@users.sourceforge.net])
dnl ############################################################################
@@ -546,10 +546,12 @@ RT_BOOL_ARG_ENABLE([samples], [yes], [co
#
# Checks for programs
#
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
AM_PROG_CC_C_O
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
-AC_PROG_LIBTOOL
+LT_INIT
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PROG_EGREP

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 30 14:37:16 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 1.10.1:
+ Fix format string for ExtraHeaders.
+ Use higher port when reuseaddr is set and the default port is
busy (boo#1132829).
- Drop libupnp-configure.patch: patch seems no longer needed (patch
was added before 2013 and only ever rebased without validating
its usefulness).
- Drop libtool BuildRequires and no longer call autoreconf: since
we have no patch left, there is no need to bootstrap.
- Bump libpnpn defines to 15 and libixmlver to 11, following
upstream chanes (also in baselibs.conf).
-------------------------------------------------------------------
Thu Nov 29 19:32:02 UTC 2018 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package libupnp
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2011, Sascha Peilicke <saschpe@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@ -17,19 +17,18 @@
#
%define pnpver 13
%define ixmlver 10
%define pnpver 15
%define ixmlver 11
Name: libupnp
Version: 1.8.4
Version: 1.10.1
Release: 0
Summary: An implementation of Universal Plug and Play (UPnP)
License: BSD-3-Clause
Group: Development/Libraries/C and C++
URL: https://github.com/mrjimenez/pupnp
Source0: https://downloads.sourceforge.net/pupnp/libupnp-%{version}.tar.bz2
Source1: https://downloads.sourceforge.net/pupnp/libupnp-%{version}.tar.bz2.sha1
Source0: https://github.com/pupnp/pupnp/releases/download/release-%{version}/%{name}-%{version}.tar.bz2
Source1: https://github.com/pupnp/pupnp/releases/download/release-%{version}/%{name}-%{version}.tar.bz2.sha1
Source42: baselibs.conf
Patch0: libupnp-configure.patch
BuildRequires: libtool
BuildRequires: pkgconfig
@ -68,11 +67,9 @@ systems.
%prep
%setup -q
%patch0 -p1
%build
# the openssl simply does not compile
autoreconf -fiv
%configure \
--disable-samples \
--enable-ipv6 \