package/libupnp18: drop package
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 25 Jan 2021 19:49:49 +0000 (20:49 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Mon, 25 Jan 2021 21:23:22 +0000 (22:23 +0100)
Drop libupnp18 as libupnp has been bumped to 1.14.x and 1.8.x will not
been fixed against CallStranger a.k.a. CVE-2020-12695

mpd and vlc are already compliant with libupnp 1.14.x (i.e those
packages use UpnpInit2 instead of the deprecated UpnpInit)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Config.in.legacy
DEVELOPERS
package/Config.in
package/libupnp18/Config.in [deleted file]
package/libupnp18/libupnp18.hash [deleted file]
package/libupnp18/libupnp18.mk [deleted file]
package/mpd/Config.in
package/mpd/mpd.mk
package/vlc/vlc.mk

index e30f67823425d2ce90df43b9ffbc3d6f103b2fe2..2bf39d71754487097f618e1ff40b40b5c20b594f 100644 (file)
@@ -146,6 +146,16 @@ endif
 
 comment "Legacy options removed in 2021.02"
 
+config BR2_PACKAGE_LIBUPNP18
+       bool "libupnp18 package removed"
+       select BR2_LEGACY
+       select BR2_PACKAGE_LIBUPNP
+       help
+         Version 1.8.x of libupnp (i.e. libupnp18) has been removed
+         because it will never be fixed against CallStranger a.k.a.
+         CVE-2020-12695. The libupnp package (which has been updated to
+         version 1.14.x) has been selected instead.
+
 config BR2_PACKAGE_BOA
        bool "boa package removed"
        select BR2_LEGACY
index 279c37c130e6781cc966b0a59522fe68de073422..4142406b023b74534ff09e305784c40d22290329 100644 (file)
@@ -862,7 +862,6 @@ F:  package/librsync/
 F:     package/libsoup/
 F:     package/libsoxr/
 F:     package/libupnp/
-F:     package/libupnp18/
 F:     package/libv4l/
 F:     package/libxslt/
 F:     package/mbedtls/
index 12bd0608e38d1b203e02ea5be95fb9801812caad..8ff03635b0b6230f2bd87fc129b207b28de4248b 100644 (file)
@@ -1791,7 +1791,6 @@ menu "Networking"
        source "package/libuev/Config.in"
        source "package/libuhttpd/Config.in"
        source "package/libupnp/Config.in"
-       source "package/libupnp18/Config.in"
        source "package/libupnpp/Config.in"
        source "package/liburiparser/Config.in"
        source "package/libuwsc/Config.in"
diff --git a/package/libupnp18/Config.in b/package/libupnp18/Config.in
deleted file mode 100644 (file)
index 58508e4..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-config BR2_PACKAGE_LIBUPNP18
-       bool "libupnp18"
-       depends on BR2_TOOLCHAIN_HAS_THREADS
-       depends on !BR2_PACKAGE_LIBUPNP
-       help
-         The portable SDK for UPnP(tm) Devices (libupnp) provides
-         developers with an API and open source code for building
-         control points, devices, and bridges that are compliant with
-         Version 1.0 of the Universal Plug and Play Device Architecture
-         Specification
-
-         http://pupnp.sourceforge.net/
-
-comment "libupnp18 needs a toolchain w/ threads"
-       depends on !BR2_PACKAGE_LIBUPNP
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/libupnp18/libupnp18.hash b/package/libupnp18/libupnp18.hash
deleted file mode 100644 (file)
index ba9ce1b..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# From https://sourceforge.net/projects/pupnp/files/pupnp/libupnp-1.8.7/libupnp-1.8.7.tar.bz2.sha1
-sha1  2ea3011180c58b0584f0cb73cc8e685a0a1c4ec8  libupnp-1.8.7.tar.bz2
-# Locally computed:
-sha256  e38c69b2b67322e67cd53680db9b02c7c1f720a47a3cd626fd89d57d2dca93b8  libupnp-1.8.7.tar.bz2
-sha256  c8b99423cad48bb44e2cf52a496361404290865eac259a82da6d1e4331ececb3  COPYING
diff --git a/package/libupnp18/libupnp18.mk b/package/libupnp18/libupnp18.mk
deleted file mode 100644 (file)
index f17a1a7..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-################################################################################
-#
-# libupnp18
-#
-################################################################################
-
-LIBUPNP18_VERSION = 1.8.7
-LIBUPNP18_SOURCE = libupnp-$(LIBUPNP18_VERSION).tar.bz2
-LIBUPNP18_SITE = http://downloads.sourceforge.net/project/pupnp/pupnp/libupnp-$(LIBUPNP18_VERSION)
-LIBUPNP18_CONF_ENV = ac_cv_lib_compat_ftime=no
-LIBUPNP18_INSTALL_STAGING = YES
-LIBUPNP18_LICENSE = BSD-3-Clause
-LIBUPNP18_LICENSE_FILES = COPYING
-LIBUPNP18_DEPENDENCIES = host-pkgconf
-
-# Bind the internal miniserver socket with reuseaddr to allow clean restarts.
-LIBUPNP18_CONF_OPTS += --enable-reuseaddr
-
-ifeq ($(BR2_PACKAGE_OPENSSL),y)
-LIBUPNP18_CONF_OPTS += --enable-open-ssl
-LIBUPNP18_DEPENDENCIES += openssl
-else
-LIBUPNP18_CONF_OPTS += --disable-open-ssl
-endif
-
-$(eval $(autotools-package))
index b19113d8c0c736b51b9c6fff7fca91b288b4a8d6..8a8ae69982fa1a89530bb1bebad345700e2b921b 100644 (file)
@@ -390,7 +390,7 @@ config BR2_PACKAGE_MPD_TCP
 config BR2_PACKAGE_MPD_UPNP
        bool "UPnP"
        select BR2_PACKAGE_EXPAT
-       select BR2_PACKAGE_LIBUPNP18 if !BR2_PACKAGE_LIBUPNP
+       select BR2_PACKAGE_LIBUPNP
        select BR2_PACKAGE_MPD_CURL
        help
          Enable MPD UPnP client support.
index baabb6ff38b06f0dc83471383dedd696f0bfc63e..3936dfd6569b52fbe76341cd6322ac9bf23309d5 100644 (file)
@@ -304,7 +304,7 @@ endif
 ifeq ($(BR2_PACKAGE_MPD_UPNP),y)
 MPD_DEPENDENCIES += \
        expat \
-       $(if $(BR2_PACKAGE_LIBUPNP),libupnp,libupnp18)
+       libupnp
 MPD_CONF_OPTS += -Dupnp=enabled
 else
 MPD_CONF_OPTS += -Dupnp=disabled
index 95eb7d39a2ca884821f2ff1d365beb1d91b96a28..020c37aa5dec26d2e03aaf04a3dca51d41d67fa7 100644 (file)
@@ -378,9 +378,9 @@ else
 VLC_CONF_OPTS += --disable-theora
 endif
 
-ifeq ($(BR2_PACKAGE_LIBUPNP)$(BR2_PACKAGE_LIBUPNP18),y)
+ifeq ($(BR2_PACKAGE_LIBUPNP),y)
 VLC_CONF_OPTS += --enable-upnp
-VLC_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBUPNP),libupnp,libupnp18)
+VLC_DEPENDENCIES += libupnp
 else
 VLC_CONF_OPTS += --disable-upnp
 endif