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:
parent
31440e4b78
commit
eda6775cc1
@ -1 +1 @@
|
|||||||
libminiupnpc10
|
libminiupnpc15
|
||||||
|
3
miniupnpc-1.9.20151026.tar.gz
Normal file
3
miniupnpc-1.9.20151026.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f3cf9a5a31588a917d4d9237e5bc50f84d00c5aa48e27ed50d9b88dfa6a25d47
|
||||||
|
size 84208
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2923e453e880bb949e3d4da9f83dd3cb6f08946d35de0b864d0339cf70934464
|
|
||||||
size 74230
|
|
@ -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
|
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
|
* Update Makefile to use JNAerator version 0.11
|
||||||
* Fix testminiwget.sh for use with dash
|
* Fix testminiwget.sh for use with dash
|
||||||
Use $(DESTDIR) in Makefile
|
Use $(DESTDIR) in Makefile
|
||||||
|
- Use optflags for building
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 6 07:37:52 UTC 2013 - joop.boonen@opensuse.org
|
Thu Jun 6 07:37:52 UTC 2013 - joop.boonen@opensuse.org
|
||||||
|
@ -16,20 +16,19 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define soname 10
|
%define soname 15
|
||||||
|
|
||||||
Name: miniupnpc
|
Name: miniupnpc
|
||||||
Version: 1.9
|
Version: 1.9.20151026
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Universal Plug'n'Play (UPnP) Client
|
Summary: Universal Plug'n'Play (UPnP) Client
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Productivity/Networking/Other
|
Group: Productivity/Networking/Other
|
||||||
|
Url: http://miniupnp.free.fr/
|
||||||
Source: http://miniupnp.free.fr/files/miniupnpc-%{version}.tar.gz
|
Source: http://miniupnp.free.fr/files/miniupnpc-%{version}.tar.gz
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
Url: http://miniupnp.free.fr/
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
Requires: libminiupnpc%{soname} = %{version}-%{release}
|
Requires: libminiupnpc%{soname} = %{version}-%{release}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The MiniUPnP project offers software which supports the UPnP Internet Gateway
|
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
|
The MiniUPnP project offers software which supports the UPnP Internet Gateway
|
||||||
Device (IGD) specifications.
|
Device (IGD) specifications.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export CFLAGS="%{optflags}"
|
||||||
make %{?_smp_mflags} \
|
make %{?_smp_mflags} \
|
||||||
CC="%__cc" \
|
CC="gcc" \
|
||||||
OPTFLAGS="%{optflags}" \
|
OPTFLAGS="%{optflags}" \
|
||||||
PYTHON="%__python"
|
PYTHON="python"
|
||||||
|
|
||||||
%__python ./setup.py build
|
python ./setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%__make \
|
make \
|
||||||
INSTALLPREFIX="%{buildroot}%{_prefix}" \
|
INSTALLPREFIX="%{buildroot}%{_prefix}" \
|
||||||
INSTALLDIRINC="%{buildroot}%{_includedir}/miniupnpc" \
|
INSTALLDIRINC="%{buildroot}%{_includedir}/miniupnpc" \
|
||||||
INSTALLDIRLIB="%{buildroot}%{_libdir}" \
|
INSTALLDIRLIB="%{buildroot}%{_libdir}" \
|
||||||
INSTALLDIRBIN="%{buildroot}%{_bindir}" \
|
INSTALLDIRBIN="%{buildroot}%{_bindir}" \
|
||||||
INSTALL="%__install" \
|
INSTALL="install" \
|
||||||
install
|
install
|
||||||
|
|
||||||
%__python ./setup.py install \
|
python ./setup.py install \
|
||||||
--prefix="%{_prefix}" \
|
--prefix="%{_prefix}" \
|
||||||
--root="%{buildroot}" \
|
--root=%{buildroot} \
|
||||||
--record-rpm="rpmfiles.lst"
|
--record-rpm="rpmfiles.lst"
|
||||||
# Remove static libs
|
# Remove static libs
|
||||||
rm -f %{buildroot}%{_libdir}/*.a
|
rm -f %{buildroot}%{_libdir}/*.a
|
||||||
@ -100,7 +99,7 @@ chmod -x %{buildroot}%{_mandir}/man3/miniupnpc.3.gz
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/upnpc
|
%{_bindir}/upnpc
|
||||||
%{_bindir}/external-ip
|
%{_bindir}/external-ip
|
||||||
%{_mandir}/man3/miniupnpc.3.gz
|
%{_mandir}/man3/miniupnpc.3.*
|
||||||
|
|
||||||
%files -n libminiupnpc%{soname}
|
%files -n libminiupnpc%{soname}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user