Skip to contentSkip to conversation

package/libupnp: disable blocking-tcp

PATCH Applied Bernd Kuhls 2 participants 3 messages Dec 29, 2025 – Jan 13

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libupnp: disable blocking-tcp

Suggested by Gerbera:
https://github.com/gerbera/gerbera/commit/fcf31472239705e7d28af81cbe326f8f416f7f7d

CMake Warning at CMakeLists.txt:583 (message):
!! It is strongly recommended to build libupnp with --disable-blocking-tcp-connections !! Without this option non-responsive control points can cause libupnp to hang.

---
 package/libupnp/libupnp.mk | 1 +
 1 file changed, 1 insertion(+)
package/libupnp/libupnp.mk +1 -0
index f29275d2b5..cfa1136db3 100644
@@ -17,6 +17,7 @@ LIBUPNP_DEPENDENCIES = host-pkgconf
 
 # Bind the internal miniserver socket with reuseaddr to allow clean restarts.
 LIBUPNP_CONF_OPTS += \
+	--disable-blocking-tcp-connections \
 	--disable-samples \
 	--enable-reuseaddr
 
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 11 lines · On Mon, 29 Dec 2025 19:59:19 +0100 Bernd Kuhls <[email protected]> wrote:

Suggested by Gerbera:
https://github.com/gerbera/gerbera/commit/fcf31472239705e7d28af81cbe326f8f416f7f7d

CMake Warning at CMakeLists.txt:583 (message):
!! It is strongly recommended to build libupnp with --disable-blocking-tcp-connections !! Without this option non-responsive control points can cause libupnp to hang.

---
 package/libupnp/libupnp.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Bernd Kuhls

In reply of:

Quoted 8 lines

Suggested by Gerbera:
https://github.com/gerbera/gerbera/commit/fcf31472239705e7d28af81cbe326f8f416f7f7d

CMake Warning at CMakeLists.txt:583 (message):
!! It is strongly recommended to build libupnp with --disable-blocking-tcp-connections !! Without this option non-responsive control points can cause libupnp to hang.

Applied to 2025.02.x and 2025.11.x. Thanks

Quoted 23 lines
---
 package/libupnp/libupnp.mk | 1 +
 1 file changed, 1 insertion(+)
package/libupnp/libupnp.mk +1 -0
index f29275d2b5..cfa1136db3 100644
@@ -17,6 +17,7 @@ LIBUPNP_DEPENDENCIES = host-pkgconf
 
 # Bind the internal miniserver socket with reuseaddr to allow clean restarts.
 LIBUPNP_CONF_OPTS += \
+	--disable-blocking-tcp-connections \
 	--disable-samples \
 	--enable-reuseaddr
 
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot