From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jdSsS2K8jz2yGC for ; Mon, 30 Nov 2026 15:40:44 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1 raw public key) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsN3VZhz2xGq for ; Mon, 30 Nov 2026 15:40:40 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4jdSsM2tBtz6mb; Mon, 30 Nov 2026 15:40:39 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1796053239; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hOcLrtnhUixtxFGOJaAPqvXu24H4E1LdFiG/InP7dbQ=; b=uuDlAK05i7GwCCs4Ph0dBOrZQYGNAmXFbdbUidFlrqRPtSjN/ssukl164Iut5AoAl+u7Vh UHEcVqnQk+XPFqAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1796053239; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hOcLrtnhUixtxFGOJaAPqvXu24H4E1LdFiG/InP7dbQ=; b=Diw0AJPVXDPD2Dg9iQGPgb3d86JTe7MLZj1RW+8PRRY9fhoHSxd7lDyZ5WiP6+Kwwhpkzy MR6ud3CVgsvpc4oPPdBhXJPdoGe8772+0Yrdop/J9Yt2EyvKBa5bE9FKFl9DgB3X8N5eC6 lLgmAPZY9661fDv/4q/k6tWuuJgphs6oz6IaHzgwrGB7NyvxbfJgNckSm+0lMyNXqpQMmL pbgQwOfzq7Jrxege38Lkx7PvSez07zXQxiu/LbVQ149SIBzheVz9wUHQlTVtdChie92NU/ C/bF0l3BWoCgRIVvJ653IcgqWLS8f69ee1TLIYgrs3evki79wYc1fLyNhEpaNw== From: Stefan Schantl To: development@lists.ipfire.org Cc: Stefan Schantl Subject: [PATCH 01/13] libupnp: New package Date: Mon, 30 Nov 2026 16:18:14 +0100 Message-ID: <20261130154031.269150-2-stefan.schantl@ipfire.org> In-Reply-To: <20261130154031.269150-1-stefan.schantl@ipfire.org> References: <20261130154031.269150-1-stefan.schantl@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Schantl --- config/rootfiles/packages/libupnp | 36 ++++++++++++ lfs/libupnp | 93 +++++++++++++++++++++++++++++++ make.sh | 1 + 3 files changed, 130 insertions(+) create mode 100644 config/rootfiles/packages/libupnp create mode 100644 lfs/libupnp diff --git a/config/rootfiles/packages/libupnp b/config/rootfiles/packages/libupnp new file mode 100644 index 0000000000..8d8b412d9b --- /dev/null +++ b/config/rootfiles/packages/libupnp @@ -0,0 +1,36 @@ +#usr/include/upnp +#usr/include/upnp/Callback.h +#usr/include/upnp/UpnpActionComplete.h +#usr/include/upnp/UpnpActionRequest.h +#usr/include/upnp/UpnpDiscovery.h +#usr/include/upnp/UpnpEvent.h +#usr/include/upnp/UpnpEventSubscribe.h +#usr/include/upnp/UpnpExtraHeaders.h +#usr/include/upnp/UpnpFileInfo.h +#usr/include/upnp/UpnpGlobal.h +#usr/include/upnp/UpnpInet.h +#usr/include/upnp/UpnpIntTypes.h +#usr/include/upnp/UpnpStateVarComplete.h +#usr/include/upnp/UpnpStateVarRequest.h +#usr/include/upnp/UpnpStdInt.h +#usr/include/upnp/UpnpString.h +#usr/include/upnp/UpnpSubscriptionRequest.h +#usr/include/upnp/UpnpUniStd.h +#usr/include/upnp/ithread.h +#usr/include/upnp/ixml.h +#usr/include/upnp/ixmldebug.h +#usr/include/upnp/list.h +#usr/include/upnp/posix_overwrites.h +#usr/include/upnp/upnp.h +#usr/include/upnp/upnpconfig.h +#usr/include/upnp/upnpdebug.h +#usr/include/upnp/upnptools.h +#usr/lib/libixml.la +#usr/lib/libixml.so +usr/lib/libixml.so.11 +usr/lib/libixml.so.11.1.3 +#usr/lib/libupnp.la +#usr/lib/libupnp.so +usr/lib/libupnp.so.17 +usr/lib/libupnp.so.17.2.5 +#usr/lib/pkgconfig/libupnp.pc diff --git a/lfs/libupnp b/lfs/libupnp new file mode 100644 index 0000000000..86c741258e --- /dev/null +++ b/lfs/libupnp @@ -0,0 +1,93 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2026 IPFire Team # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +SUMMARY = The Portable SDK for UPnP Devices + +# This is the recomendend version by the gerbera project itself. +VER = 1.14.30 + +THISAPP = libupnp-$(VER) +DL_FILE = libupnp-$(VER).tar.bz2 +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) +PROG = libupnp +PAK_VER = 1 + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_BLAKE2 = 20706204942cb2504f8c5f777ccddeff9afaacd0aa09ac1c8e64b6920d6da34697573452f3e9727fb6d855f3bca51179925c3bfd054725cf703e1e6e03aeaf5b + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +b2 : $(subst %,%_BLAKE2,$(objects)) + +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, b2sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_BLAKE2,$(objects)) : + @$(B2SUM) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + + cd $(DIR_APP) && ./configure \ + --prefix=/usr \ + --libdir=/usr/lib \ + --enable-reuseaddr \ + --disable-blocking-tcp-connections \ + --disable-static + + cd $(DIR_APP) && make $(MAKETUNING) + cd $(DIR_APP) && make install + + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index 83477ba5e8..3a9efe3e3e 100755 --- a/make.sh +++ b/make.sh @@ -2298,6 +2298,7 @@ build_system() { lfsmake2 lldpd lfsmake2 perl-Net-LibIDN2 lfsmake2 python3-zabbix-utils + lfsmake2 libupnp lfsmake2 linux lfsmake2 linux-initrd -- 2.47.3