mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
miniupnpc: Update to 2.2.8
Updated binary path, rebased patches. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
committed by
Rosen Penev
parent
2d00a149c6
commit
7224e0ff04
@@ -8,12 +8,12 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=miniupnpc
|
PKG_NAME:=miniupnpc
|
||||||
PKG_VERSION:=2.2.3
|
PKG_VERSION:=2.2.8
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://miniupnp.tuxfamily.org/files
|
PKG_SOURCE_URL:=https://miniupnp.tuxfamily.org/files
|
||||||
PKG_HASH:=dce41b4a4f08521c53a0ab163ad2007d18b5e1aa173ea5803bd47a1be3159c24
|
PKG_HASH:=05b929679091b9921b6b6c1f25e39e4c8d1f4d46c8feb55a412aa697aee03a93
|
||||||
|
|
||||||
PKG_MAINTAINER:=
|
PKG_MAINTAINER:=
|
||||||
PKG_LICENSE:=BSD-3-Clause
|
PKG_LICENSE:=BSD-3-Clause
|
||||||
@@ -58,8 +58,8 @@ endef
|
|||||||
|
|
||||||
define Package/miniupnpc/install
|
define Package/miniupnpc/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/upnpc-shared $(1)/usr/bin/upnpc
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/upnpc-shared $(1)/usr/bin/upnpc
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/listdevices $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/upnp-listdevices-shared $(1)/usr/bin/upnp-listdevices
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libminiupnpc/install
|
define Package/libminiupnpc/install
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- a/CMakeLists.txt
|
--- a/CMakeLists.txt
|
||||||
+++ b/CMakeLists.txt
|
+++ b/CMakeLists.txt
|
||||||
@@ -41,12 +41,6 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
@@ -51,12 +51,6 @@ if (APPLE)
|
||||||
target_compile_definitions(miniupnpc-private INTERFACE _DARWIN_C_SOURCE)
|
target_compile_definitions(miniupnpc-private INTERFACE _DARWIN_C_SOURCE)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
@@ -12,31 +12,4 @@
|
|||||||
-
|
-
|
||||||
# Suppress noise warnings
|
# Suppress noise warnings
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
target_compile_definitions(miniupnpc-private INTERFACE _CRT_SECURE_NO_WARNINGS)
|
target_compile_definitions(miniupnpc-private INTERFACE _CRT_SECURE_NO_WARNINGS _WINSOCK_DEPRECATED_NO_WARNINGS)
|
||||||
@@ -221,16 +215,16 @@ endif ()
|
|
||||||
|
|
||||||
if (NOT UPNPC_NO_INSTALL)
|
|
||||||
install (FILES
|
|
||||||
- miniupnpc.h
|
|
||||||
- miniwget.h
|
|
||||||
- upnpcommands.h
|
|
||||||
- igd_desc_parse.h
|
|
||||||
- upnpreplyparse.h
|
|
||||||
- upnperrors.h
|
|
||||||
- upnpdev.h
|
|
||||||
- miniupnpctypes.h
|
|
||||||
- portlistingparse.h
|
|
||||||
- miniupnpc_declspec.h
|
|
||||||
+ include/miniupnpc.h
|
|
||||||
+ include/miniwget.h
|
|
||||||
+ include/upnpcommands.h
|
|
||||||
+ include/igd_desc_parse.h
|
|
||||||
+ include/upnpreplyparse.h
|
|
||||||
+ include/upnperrors.h
|
|
||||||
+ include/upnpdev.h
|
|
||||||
+ include/miniupnpctypes.h
|
|
||||||
+ include/portlistingparse.h
|
|
||||||
+ include/miniupnpc_declspec.h
|
|
||||||
DESTINATION include/miniupnpc
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user