Accepting request 344963 from home:pluskalm:branches:devel:libraries:c_c++

- Update to 1.9.20151026
  * snprintf() overflow check. check overflow in simpleUPnPcommand2()
	* fix compilation with old macs
  * fix compilation with mingw32 (for Appveyor)
  * fix python module for python <= 2.3
  * Change sameport to localport
    see https://github.com/miniupnp/miniupnp/pull/120
  * increments API_VERSION to 15
  * Fix buffer overflow in igd_desc_parse.c/IGDstartelt()
    Discovered by Aleksandar Nikolic of Cisco Talos
  * move ssdpDiscoverDevices() to minissdpc.c
  * avoid unix socket leak in getDevicesFromMiniSSDPD()
  * Also accept "Up" as ConnectionStatus value
  * split getDevicesFromMiniSSDPD
  * add ttl argument to upnpDiscover() functions
  * increments API_VERSION to 14
  * Read USN from SSDP messages.
  * Check malloc/calloc
  * update getDevicesFromMiniSSDPD() to process longer minissdpd
    responses
  * add searchalltypes param to upnpDiscoverDevices()
  * increments API_VERSION to 13
  * upnpc: output version on the terminal
    _BSD_SOURCE is deprecated in favor of _DEFAULT_SOURCE
  * fix CMakeLists.txt COMPILE_DEFINITIONS
  * fix getDevicesFromMiniSSDPD() not setting scope_id
  * improve -r command of upnpc command line tool
  * search all :
    upnpDiscoverDevices() / upnpDiscoverAll() functions
    listdevices executable

OBS-URL: https://build.opensuse.org/request/show/344963
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/miniupnpc?expand=0&rev=15
This commit is contained in:
Ismail Dönmez 2015-11-18 11:20:33 +00:00 committed by Git OBS Bridge
parent 31440e4b78
commit eda6775cc1
5 changed files with 63 additions and 18 deletions

View File

@ -1 +1 @@
libminiupnpc10
libminiupnpc15

View File

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

View File

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

View File

@ -1,3 +1,48 @@
-------------------------------------------------------------------
Tue Nov 17 21:24:51 UTC 2015 - mpluskal@suse.com
- Update to 1.9.20151026
* snprintf() overflow check. check overflow in simpleUPnPcommand2()
* fix compilation with old macs
* fix compilation with mingw32 (for Appveyor)
* fix python module for python <= 2.3
* Change sameport to localport
see https://github.com/miniupnp/miniupnp/pull/120
* increments API_VERSION to 15
* Fix buffer overflow in igd_desc_parse.c/IGDstartelt()
Discovered by Aleksandar Nikolic of Cisco Talos
* move ssdpDiscoverDevices() to minissdpc.c
* avoid unix socket leak in getDevicesFromMiniSSDPD()
* Also accept "Up" as ConnectionStatus value
* split getDevicesFromMiniSSDPD
* add ttl argument to upnpDiscover() functions
* increments API_VERSION to 14
* Read USN from SSDP messages.
* Check malloc/calloc
* update getDevicesFromMiniSSDPD() to process longer minissdpd
responses
* add searchalltypes param to upnpDiscoverDevices()
* increments API_VERSION to 13
* upnpc: output version on the terminal
_BSD_SOURCE is deprecated in favor of _DEFAULT_SOURCE
* fix CMakeLists.txt COMPILE_DEFINITIONS
* fix getDevicesFromMiniSSDPD() not setting scope_id
* improve -r command of upnpc command line tool
* search all :
upnpDiscoverDevices() / upnpDiscoverAll() functions
listdevices executable
* increment API_VERSION to 12
* validate igd_desc_parse
* increment API_VERSION to 11
simplified function GetUPNPUrls()
* use remoteHost arg of DeletePortMapping
* Fix python3 build
* Fix parsing of IGD2 root descriptions
* rename LIBSPEC to MINIUPNP_LIBSPEC
* Add support for IGD2 AddAnyPortMapping and DeletePortMappingRange
* handle EINPROGRESS after connect()
* minixml now handle XML comments
-------------------------------------------------------------------
Wed Jul 29 09:51:49 UTC 2015 - dimstar@opensuse.org
@ -25,6 +70,7 @@ Wed Jun 11 07:34:30 UTC 2014 - joop.boonen@opensuse.org
* Update Makefile to use JNAerator version 0.11
* Fix testminiwget.sh for use with dash
Use $(DESTDIR) in Makefile
- Use optflags for building
-------------------------------------------------------------------
Thu Jun 6 07:37:52 UTC 2013 - joop.boonen@opensuse.org

View File

@ -16,20 +16,19 @@
#
%define soname 10
%define soname 15
Name: miniupnpc
Version: 1.9
Version: 1.9.20151026
Release: 0
Summary: Universal Plug'n'Play (UPnP) Client
License: BSD-3-Clause
Group: Productivity/Networking/Other
Url: http://miniupnp.free.fr/
Source: http://miniupnp.free.fr/files/miniupnpc-%{version}.tar.gz
Source99: baselibs.conf
Url: http://miniupnp.free.fr/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
Requires: libminiupnpc%{soname} = %{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The MiniUPnP project offers software which supports the UPnP Internet Gateway
@ -62,30 +61,30 @@ Requires: libminiupnpc%{soname} = %{version}-%{release}
The MiniUPnP project offers software which supports the UPnP Internet Gateway
Device (IGD) specifications.
%prep
%setup -q
%build
export CFLAGS="%{optflags}"
make %{?_smp_mflags} \
CC="%__cc" \
CC="gcc" \
OPTFLAGS="%{optflags}" \
PYTHON="%__python"
PYTHON="python"
%__python ./setup.py build
python ./setup.py build
%install
%__make \
make \
INSTALLPREFIX="%{buildroot}%{_prefix}" \
INSTALLDIRINC="%{buildroot}%{_includedir}/miniupnpc" \
INSTALLDIRLIB="%{buildroot}%{_libdir}" \
INSTALLDIRBIN="%{buildroot}%{_bindir}" \
INSTALL="%__install" \
INSTALL="install" \
install
%__python ./setup.py install \
python ./setup.py install \
--prefix="%{_prefix}" \
--root="%{buildroot}" \
--root=%{buildroot} \
--record-rpm="rpmfiles.lst"
# Remove static libs
rm -f %{buildroot}%{_libdir}/*.a
@ -100,7 +99,7 @@ chmod -x %{buildroot}%{_mandir}/man3/miniupnpc.3.gz
%defattr(-,root,root)
%{_bindir}/upnpc
%{_bindir}/external-ip
%{_mandir}/man3/miniupnpc.3.gz
%{_mandir}/man3/miniupnpc.3.*
%files -n libminiupnpc%{soname}
%defattr(-,root,root)