From patchwork Mon Nov 30 15:18:14 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 10921 Return-Path: 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 web04.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsT6MYWz3wjn for ; Mon, 30 Nov 2026 15:40:45 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jdSsT2MYwz7DS for ; Mon, 30 Nov 2026 15:40:45 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jdSsR2fMbz2yGj for ; Mon, 30 Nov 2026 15:40:43 +0000 (UTC) X-Original-To: development@lists.ipfire.org 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 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 From patchwork Mon Nov 30 15:18:15 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 10923 Return-Path: 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) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsV0TWXz3x2w for ; Mon, 30 Nov 2026 15:40:46 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jdSsT56Vtz7D6 for ; Mon, 30 Nov 2026 15:40:45 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jdSsR58W6z2yG3 for ; Mon, 30 Nov 2026 15:40:43 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (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 4jdSsN5nyzz2xhW 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 4jdSsN0JGYz6qj; 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=1796053240; 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=ys8yOUiJ+KCi4zbE6440cM5rAHqOP8rhYEXzKp30iys=; b=iMqw/SE877RTgLNukZNx79jjqQbXW5MXeLcv+lWmJF023F48TaGUsrAeXDAlhxJY8cmAkJ +/ZmzjtaR/xAnRCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1796053240; 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=ys8yOUiJ+KCi4zbE6440cM5rAHqOP8rhYEXzKp30iys=; b=U4jxWp1IBlq6VU1upr9u8lm5RR12oEhR898yX8HBjgKZJ+FZX6VrJOkThZEaYM7B6ZCMN1 CLruqS/O+msTaGZEqsUf72VmoLgQbKZZoTk5WljcZJi+wx0FVL/QOdj4NkPxZv6CvpQ+u4 kpTwlreNQrseAtyvIEPyC1BP8SjoWi1eZanfCErfKI1yKST+bKRGa9SHI1eBLBFAfgwLHM GEaHEe2z22lDIYasSHljcplmt2m8Q4HO9Tc3j7OlXb0qo7enXW+gBLtxoTwbESpQNwni5g U8t/weyAwf0u2+N5EruouMM0+XKyqfeq4JPMmBZTn665dtN8CydL/QpdMZZ01A== From: Stefan Schantl To: development@lists.ipfire.org Cc: Stefan Schantl Subject: [PATCH 02/13] spdlog: New package Date: Mon, 30 Nov 2026 16:18:15 +0100 Message-ID: <20261130154031.269150-3-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 Signed-off-by: Stefan Schantl --- config/rootfiles/packages/spdlog | 104 +++++++++++++++++++++++++++++++ lfs/spdlog | 98 +++++++++++++++++++++++++++++ make.sh | 1 + 3 files changed, 203 insertions(+) create mode 100644 config/rootfiles/packages/spdlog create mode 100644 lfs/spdlog diff --git a/config/rootfiles/packages/spdlog b/config/rootfiles/packages/spdlog new file mode 100644 index 0000000000..f08e42dc18 --- /dev/null +++ b/config/rootfiles/packages/spdlog @@ -0,0 +1,104 @@ +#usr/include/spdlog +#usr/include/spdlog/async.h +#usr/include/spdlog/async_logger-inl.h +#usr/include/spdlog/async_logger.h +#usr/include/spdlog/cfg +#usr/include/spdlog/cfg/argv.h +#usr/include/spdlog/cfg/env.h +#usr/include/spdlog/cfg/helpers-inl.h +#usr/include/spdlog/cfg/helpers.h +#usr/include/spdlog/common-inl.h +#usr/include/spdlog/common.h +#usr/include/spdlog/details +#usr/include/spdlog/details/backtracer-inl.h +#usr/include/spdlog/details/backtracer.h +#usr/include/spdlog/details/circular_q.h +#usr/include/spdlog/details/console_globals.h +#usr/include/spdlog/details/file_helper-inl.h +#usr/include/spdlog/details/file_helper.h +#usr/include/spdlog/details/fmt_helper.h +#usr/include/spdlog/details/log_msg-inl.h +#usr/include/spdlog/details/log_msg.h +#usr/include/spdlog/details/log_msg_buffer-inl.h +#usr/include/spdlog/details/log_msg_buffer.h +#usr/include/spdlog/details/mpmc_blocking_q.h +#usr/include/spdlog/details/null_mutex.h +#usr/include/spdlog/details/os-inl.h +#usr/include/spdlog/details/os.h +#usr/include/spdlog/details/periodic_worker-inl.h +#usr/include/spdlog/details/periodic_worker.h +#usr/include/spdlog/details/registry-inl.h +#usr/include/spdlog/details/registry.h +#usr/include/spdlog/details/synchronous_factory.h +#usr/include/spdlog/details/tcp_client-windows.h +#usr/include/spdlog/details/tcp_client.h +#usr/include/spdlog/details/thread_pool-inl.h +#usr/include/spdlog/details/thread_pool.h +#usr/include/spdlog/details/udp_client-windows.h +#usr/include/spdlog/details/udp_client.h +#usr/include/spdlog/details/windows_include.h +#usr/include/spdlog/fmt +#usr/include/spdlog/fmt/bin_to_hex.h +#usr/include/spdlog/fmt/chrono.h +#usr/include/spdlog/fmt/compile.h +#usr/include/spdlog/fmt/fmt.h +#usr/include/spdlog/fmt/ostr.h +#usr/include/spdlog/fmt/ranges.h +#usr/include/spdlog/fmt/std.h +#usr/include/spdlog/fmt/xchar.h +#usr/include/spdlog/formatter.h +#usr/include/spdlog/fwd.h +#usr/include/spdlog/logger-inl.h +#usr/include/spdlog/logger.h +#usr/include/spdlog/mdc.h +#usr/include/spdlog/pattern_formatter-inl.h +#usr/include/spdlog/pattern_formatter.h +#usr/include/spdlog/sinks +#usr/include/spdlog/sinks/android_sink.h +#usr/include/spdlog/sinks/ansicolor_sink-inl.h +#usr/include/spdlog/sinks/ansicolor_sink.h +#usr/include/spdlog/sinks/base_sink-inl.h +#usr/include/spdlog/sinks/base_sink.h +#usr/include/spdlog/sinks/basic_file_sink-inl.h +#usr/include/spdlog/sinks/basic_file_sink.h +#usr/include/spdlog/sinks/callback_sink.h +#usr/include/spdlog/sinks/daily_file_sink.h +#usr/include/spdlog/sinks/dist_sink.h +#usr/include/spdlog/sinks/dup_filter_sink.h +#usr/include/spdlog/sinks/hourly_file_sink.h +#usr/include/spdlog/sinks/kafka_sink.h +#usr/include/spdlog/sinks/mongo_sink.h +#usr/include/spdlog/sinks/msvc_sink.h +#usr/include/spdlog/sinks/null_sink.h +#usr/include/spdlog/sinks/ostream_sink.h +#usr/include/spdlog/sinks/qt_sinks.h +#usr/include/spdlog/sinks/ringbuffer_sink.h +#usr/include/spdlog/sinks/rotating_file_sink-inl.h +#usr/include/spdlog/sinks/rotating_file_sink.h +#usr/include/spdlog/sinks/sink-inl.h +#usr/include/spdlog/sinks/sink.h +#usr/include/spdlog/sinks/stdout_color_sinks-inl.h +#usr/include/spdlog/sinks/stdout_color_sinks.h +#usr/include/spdlog/sinks/stdout_sinks-inl.h +#usr/include/spdlog/sinks/stdout_sinks.h +#usr/include/spdlog/sinks/syslog_sink.h +#usr/include/spdlog/sinks/systemd_sink.h +#usr/include/spdlog/sinks/tcp_sink.h +#usr/include/spdlog/sinks/udp_sink.h +#usr/include/spdlog/sinks/win_eventlog_sink.h +#usr/include/spdlog/sinks/wincolor_sink-inl.h +#usr/include/spdlog/sinks/wincolor_sink.h +#usr/include/spdlog/spdlog-inl.h +#usr/include/spdlog/spdlog.h +#usr/include/spdlog/stopwatch.h +#usr/include/spdlog/tweakme.h +#usr/include/spdlog/version.h +#usr/lib/cmake/spdlog +#usr/lib/cmake/spdlog/spdlogConfig.cmake +#usr/lib/cmake/spdlog/spdlogConfigTargets-release.cmake +#usr/lib/cmake/spdlog/spdlogConfigTargets.cmake +#usr/lib/cmake/spdlog/spdlogConfigVersion.cmake +#usr/lib/libspdlog.so +usr/lib/libspdlog.so.1.16 +usr/lib/libspdlog.so.1.16.0 +#usr/lib/pkgconfig/spdlog.pc diff --git a/lfs/spdlog b/lfs/spdlog new file mode 100644 index 0000000000..b63407e396 --- /dev/null +++ b/lfs/spdlog @@ -0,0 +1,98 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2025 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 = Fast C++ logging library + +VER = 1.16.0 + +THISAPP = spdlog-$(VER) +DL_FILE = spdlog-$(VER).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) +PROG = spdlog +PAK_VER = 1 + +DEPS = fmt + +SERVICES = + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_BLAKE2 = 13585387e06135677f187d247fda09d350778becdf8017329d0b8cf0bb30bdd4e09985db48df46e0dcb34444a12a1b3134f565d02109c1b446018ab134e93d00 + +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) && mkdir -pv build + cd $(DIR_APP)/build && cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DSPDLOG_BUILD_BENCH=OFF \ + -DSPDLOG_BUILD_EXAMPLE=OFF \ + -DSPDLOG_BUILD_TESTS=OFF \ + -DSPDLOG_BUILD_SHARED=ON \ + -DSPDLOG_FMT_EXTERNAL=ON + + cd $(DIR_APP)/build && make $(MAKETUNING) + cd $(DIR_APP)/build && make install + + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index 3a9efe3e3e..7b482dac62 100755 --- a/make.sh +++ b/make.sh @@ -2299,6 +2299,7 @@ build_system() { lfsmake2 perl-Net-LibIDN2 lfsmake2 python3-zabbix-utils lfsmake2 libupnp + lfsmake2 spdlog lfsmake2 linux lfsmake2 linux-initrd From patchwork Mon Nov 30 15:18:16 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 10922 Return-Path: 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) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsT70RJz3wqM for ; Mon, 30 Nov 2026 15:40:45 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jdSsT2Zxmz7B3 for ; Mon, 30 Nov 2026 15:40:45 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jdSsR391Gz2yGr for ; Mon, 30 Nov 2026 15:40:43 +0000 (UTC) X-Original-To: development@lists.ipfire.org 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) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsN4sfBz2xgB 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 4jdSsN2pffz6rQ; Mon, 30 Nov 2026 15:40:40 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1796053240; 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=4fFEtvYiwfro5j4cKsc+974P+4+8B0DJ1mpdZ6OFl5E=; b=vH+Or8zUihO7OqbHGqlDUAt4JseDE8BVtoLTX0aR9T73UiHVBW4C+ss6hrXU4eiYJsv+77 R/cBUkPaK9a04tAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1796053240; 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=4fFEtvYiwfro5j4cKsc+974P+4+8B0DJ1mpdZ6OFl5E=; b=E0T/Pn6NV2P9u2vBrimdQl14/uSFucoxbAPaZfN4lnkMATFBWif9oFtLuwxPMHjmDQxfOr 1/YNChNOYBP8EcoNL5f/I3OhlPk+0ut38YpnrA9QdAKZcOB+JTJpxCk8e/MTVgJcXAugyB TN6he0ubxrC6QXZMcSdyuUw5jgpGqV5JAMCMdhpnSiRr33XcNmcWm/fcgumMq99tytL6o9 Z23EeBnDykUVG8nng77eCXc+ad56Ww0ClDHqdjtC5HUf6z7F+0sTJFKwUw5QW09d6mcsyn yZBJXttKEEuxGQLIc+GbPOvWgUcivSsGdFQHo1gz6yv6iJio2mrYpc9ZMMUzbA== From: Stefan Schantl To: development@lists.ipfire.org Cc: Stefan Schantl Subject: [PATCH 03/13] jsoncpp: New package Date: Mon, 30 Nov 2026 16:18:16 +0100 Message-ID: <20261130154031.269150-4-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 Signed-off-by: Stefan Schantl --- config/rootfiles/packages/jsoncpp | 27 +++++++++ lfs/jsoncpp | 94 +++++++++++++++++++++++++++++++ make.sh | 1 + 3 files changed, 122 insertions(+) create mode 100644 config/rootfiles/packages/jsoncpp create mode 100644 lfs/jsoncpp diff --git a/config/rootfiles/packages/jsoncpp b/config/rootfiles/packages/jsoncpp new file mode 100644 index 0000000000..8d9e5ad6e2 --- /dev/null +++ b/config/rootfiles/packages/jsoncpp @@ -0,0 +1,27 @@ +#usr/include/json +#usr/include/json/allocator.h +#usr/include/json/assertions.h +#usr/include/json/config.h +#usr/include/json/forwards.h +#usr/include/json/json.h +#usr/include/json/json_features.h +#usr/include/json/reader.h +#usr/include/json/value.h +#usr/include/json/version.h +#usr/include/json/writer.h +#usr/lib/cmake/jsoncpp +#usr/lib/cmake/jsoncpp/jsoncpp-namespaced-targets.cmake +#usr/lib/cmake/jsoncpp/jsoncpp-targets-release.cmake +#usr/lib/cmake/jsoncpp/jsoncpp-targets.cmake +#usr/lib/cmake/jsoncpp/jsoncppConfig.cmake +#usr/lib/cmake/jsoncpp/jsoncppConfigVersion.cmake +#usr/lib/libjsoncpp.a +#usr/lib/libjsoncpp.so +usr/lib/libjsoncpp.so.1.9.6 +usr/lib/libjsoncpp.so.26 +#usr/lib/objects-Release +#usr/lib/objects-Release/jsoncpp_object +#usr/lib/objects-Release/jsoncpp_object/json_reader.cpp.o +#usr/lib/objects-Release/jsoncpp_object/json_value.cpp.o +#usr/lib/objects-Release/jsoncpp_object/json_writer.cpp.o +#usr/lib/pkgconfig/jsoncpp.pc diff --git a/lfs/jsoncpp b/lfs/jsoncpp new file mode 100644 index 0000000000..63918840e4 --- /dev/null +++ b/lfs/jsoncpp @@ -0,0 +1,94 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2025 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 = C++ library for interacting with JSON + +VER = 1.9.6 + +THISAPP = jsoncpp-$(VER) +DL_FILE = jsoncpp-$(VER).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) +PROG = jsoncpp +PAK_VER = 1 + +DEPS = + +SERVICES = + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_BLAKE2 = efa5dea68ddc175391200077666204f7ec66cd1f96a889a2a3c53d0e22e1f96ead1a2e7a871940f60dbd4261650f133b83de428b9c8b663fa13bd7ab4b9fdffe + +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) && mkdir -pv build + cd $(DIR_APP)/build && cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + + cd $(DIR_APP)/build && make $(MAKETUNING) + cd $(DIR_APP)/build && make install + + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index 7b482dac62..ed1fa584dd 100755 --- a/make.sh +++ b/make.sh @@ -2300,6 +2300,7 @@ build_system() { lfsmake2 python3-zabbix-utils lfsmake2 libupnp lfsmake2 spdlog + lfsmake2 jsoncpp lfsmake2 linux lfsmake2 linux-initrd From patchwork Mon Nov 30 15:18:17 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 10924 Return-Path: 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) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsV4jbYz3x30 for ; Mon, 30 Nov 2026 15:40:46 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jdSsV0zT2z7sT for ; Mon, 30 Nov 2026 15:40:46 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jdSsS03tCz2yGw for ; Mon, 30 Nov 2026 15:40:44 +0000 (UTC) X-Original-To: development@lists.ipfire.org 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) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsP0HPLz2xvB for ; Mon, 30 Nov 2026 15:40:41 +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 4jdSsN5Gdwz6mb; Mon, 30 Nov 2026 15:40:40 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1796053240; 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=QczwB+k8tztvqh5Gp8+jJ++t2rBxoV/PYq8CKfB4ntI=; b=Fkxwx4NXVui+XUvWLdaSVjIF1LruorWSGVr73/7W5AJa+KP7og3AvSOlPFVbIUD4O4wZsV 7Y05BNR0WfM2B9Bg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1796053240; 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=QczwB+k8tztvqh5Gp8+jJ++t2rBxoV/PYq8CKfB4ntI=; b=R+AUCt3d/cYLSnUuf8Lun9Q5e7suTgeseir6vPtHDAaVjJcgduk8vNQKC0qqcI4ZFWPBPp FTS9WtE/AAaMrzRreULoM5npTug2waKAJ2fCb3DcxQ1l4wVJLRnd7HcuK1LPN0/j0tbC/+ N02z5+ChvvJlTyF653w2vVW/QlRJ94NbwNkKjHpEm1W8Q96pGFdzWB6mnRx49UUkuvy9er BY/Ur8x8IkV+M/a+Nl4CLfpAMLaOh64IOFrktoL5Xo4DwOuF3XbmMPE+PEbqql8VN4o/Ju xZsmiPi9D/pjmSSJLLiPSUXJt5m7mgTSgB81y9g3OscfBttNTf9tMos4VJEG5A== From: Stefan Schantl To: development@lists.ipfire.org Cc: Stefan Schantl Subject: [PATCH 04/13] pugixml: New package Date: Mon, 30 Nov 2026 16:18:17 +0100 Message-ID: <20261130154031.269150-5-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 Signed-off-by: Stefan Schantl --- config/rootfiles/packages/pugixml | 11 ++++ lfs/pugixml | 94 +++++++++++++++++++++++++++++++ make.sh | 1 + 3 files changed, 106 insertions(+) create mode 100644 config/rootfiles/packages/pugixml create mode 100644 lfs/pugixml diff --git a/config/rootfiles/packages/pugixml b/config/rootfiles/packages/pugixml new file mode 100644 index 0000000000..6efbb7e3b2 --- /dev/null +++ b/config/rootfiles/packages/pugixml @@ -0,0 +1,11 @@ +#usr/include/pugiconfig.hpp +#usr/include/pugixml.hpp +#usr/lib/cmake/pugixml +#usr/lib/cmake/pugixml/pugixml-config-version.cmake +#usr/lib/cmake/pugixml/pugixml-config.cmake +#usr/lib/cmake/pugixml/pugixml-targets-noconfig.cmake +#usr/lib/cmake/pugixml/pugixml-targets.cmake +#usr/lib/libpugixml.so +usr/lib/libpugixml.so.1 +usr/lib/libpugixml.so.1.15 +#usr/lib/pkgconfig/pugixml.pc diff --git a/lfs/pugixml b/lfs/pugixml new file mode 100644 index 0000000000..cf6cd1e564 --- /dev/null +++ b/lfs/pugixml @@ -0,0 +1,94 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2025 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 = Light-weight, simple and fast XML parser + +VER = 1.15 + +THISAPP = pugixml-$(VER) +DL_FILE = pugixml-$(VER).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) +PROG = pugixml +PAK_VER = 1 + +DEPS = + +SERVICES = + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_BLAKE2 = 94f3e33d225a6cc4cf57b353704a5e1bfea989fecf4616958db85be1d2a73ef1b7bb0667998576134b820d7c0e9ea30691caad91e67aca7c26f558ed3b31ebf8 + +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) && mkdir -pv build + cd $(DIR_APP)/build && cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_SHARED_LIBS=ON \ + + cd $(DIR_APP)/build && make $(MAKETUNING) + cd $(DIR_APP)/build && make install + + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index ed1fa584dd..8d560991e3 100755 --- a/make.sh +++ b/make.sh @@ -2301,6 +2301,7 @@ build_system() { lfsmake2 libupnp lfsmake2 spdlog lfsmake2 jsoncpp + lfsmake2 pugixml lfsmake2 linux lfsmake2 linux-initrd From patchwork Mon Nov 30 15:18:18 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 10927 Return-Path: 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) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsh2mv0z3wqM for ; Mon, 30 Nov 2026 15:40:56 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jdSsg2MGxz8Yw for ; Mon, 30 Nov 2026 15:40:55 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jdSsY1h1Fz2yjw for ; Mon, 30 Nov 2026 15:40:49 +0000 (UTC) X-Original-To: development@lists.ipfire.org 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) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsP2f1Nz2y4p for ; Mon, 30 Nov 2026 15:40:41 +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 4jdSsP0dvnz6vc; Mon, 30 Nov 2026 15:40:41 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1796053241; 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=MEqPPkDbuAnv9qlrPj5+aLrrPHhUdnEe0OiOehdBDig=; b=lFQOfaQsvsN16cY+YtJCfj/AlSv/Io52OTFqzgMIbTUypW3kx2csF2tWKlSwfIue1yNjNJ YBtizmzNYMEvo8Dw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1796053241; 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=MEqPPkDbuAnv9qlrPj5+aLrrPHhUdnEe0OiOehdBDig=; b=DkSMC+qw0aHfexyslzObBlXpJQv1a2kMsuy4biw2G+BePThPhdEmjaU/Lt7rh7B5puniMA njL/YIANty4814tcr+V7p07JjH5d1AiztVbxJb4P9XJtOvke/qqyKh6UOQtUW5fhxtq0gT sSTyVMAqnQMbU6lsm8HY/sBb43nPbmZuphz5UbiZFYjRhRjvJB12FMzntY8Q1fAvR6c+uw 0fNZ9jkhlIUOHF9qp6/d0PTS/C+GXoRD6+Ry+gRR2Ed1qg5f4PoNpEmIA3P64KJRD1rg7v yjPlXmqGO7NRhtb510sAE4NnNbEtSIu/WT1E0ESdzPVpzH24y87wi8jP4j6w4Q== From: Stefan Schantl To: development@lists.ipfire.org Cc: Stefan Schantl Subject: [PATCH 05/13] duktape: New package Date: Mon, 30 Nov 2026 16:18:18 +0100 Message-ID: <20261130154031.269150-6-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 Signed-off-by: Stefan Schantl --- config/rootfiles/packages/duktape | 9 +++ lfs/duktape | 95 +++++++++++++++++++++++++++++++ make.sh | 1 + 3 files changed, 105 insertions(+) create mode 100644 config/rootfiles/packages/duktape create mode 100644 lfs/duktape diff --git a/config/rootfiles/packages/duktape b/config/rootfiles/packages/duktape new file mode 100644 index 0000000000..31024dfbf6 --- /dev/null +++ b/config/rootfiles/packages/duktape @@ -0,0 +1,9 @@ +#usr/include/duk_config.h +#usr/include/duktape.h +#usr/lib/libduktape.so +usr/lib/libduktape.so.207 +usr/lib/libduktape.so.207.20700 +#usr/lib/libduktaped.so +usr/lib/libduktaped.so.207 +usr/lib/libduktaped.so.207.20700 +#usr/lib/pkgconfig/duktape.pc diff --git a/lfs/duktape b/lfs/duktape new file mode 100644 index 0000000000..8e9711014a --- /dev/null +++ b/lfs/duktape @@ -0,0 +1,95 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2025 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 = Embeddable Javascript engine + +VER = 2.7.0 + +THISAPP = duktape-$(VER) +DL_FILE = duktape-$(VER).tar.xz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) +PROG = duktape +PAK_VER = 1 + +DEPS = + +SERVICES = + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_BLAKE2 = da5eea88758201177f32c5611a3757433ef1b0173d6430eff1f067abd7535f3e4b9c3717290fbd8475827a53f7a2a74818287a65e563f14e91761f5cd0fe30d5 + +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) && make -f Makefile.sharedlibrary \ + LIBDIR=/usr/lib \ + $(MAKETUNING) + + cd $(DIR_APP) && make -f Makefile.sharedlibrary \ + INSTALL_PREFIX=/usr \ + LIBDIR=/lib \ + install + + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index 8d560991e3..f0ab9a4bbb 100755 --- a/make.sh +++ b/make.sh @@ -2302,6 +2302,7 @@ build_system() { lfsmake2 spdlog lfsmake2 jsoncpp lfsmake2 pugixml + lfsmake2 duktape lfsmake2 linux lfsmake2 linux-initrd From patchwork Mon Nov 30 15:18:19 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 10926 Return-Path: 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) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsh2jPnz3wph for ; Mon, 30 Nov 2026 15:40:56 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jdSsg2LNQz8Yv for ; Mon, 30 Nov 2026 15:40:55 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jdSsY2Ptbz2y1f for ; Mon, 30 Nov 2026 15:40:49 +0000 (UTC) X-Original-To: development@lists.ipfire.org 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) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsP67yfz2yFm for ; Mon, 30 Nov 2026 15:40:41 +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 4jdSsP2nFlz70P; Mon, 30 Nov 2026 15:40:41 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1796053241; 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=/g1r3fOHErTeGYS4ajSOmTn2nNXBKYULFxJW6rbChZI=; b=DxmPXB7rWB+czMuNicqJFReDJjFs/64Pk5hECEtOqfuyMrhq6ySGnRHPZc+Iamv5XA/taD HPfMoQVZ+ROuk7BA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1796053241; 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=/g1r3fOHErTeGYS4ajSOmTn2nNXBKYULFxJW6rbChZI=; b=P678+LVkK6CLsB2O2So9SRjwzfEv/JDPyWC2mGfw0R8bd+Fg8IMim2IYbBvxelUp5otjV9 +QyFI6qTZXh2nr2OImHsoCqoCQrzCFz3/Itekgud2UVW+bGj+YM2VM8fqqLLAvy9IO37pE tfoSFDzL1WslXnEKillPV6XvOJUBTTAy1rss0KWpU0DJoHvYNpF4kqPhhmvm2DSQ97HQOi SOm1jfZX3tnV3lfJPw2lmJ8EETy/8X0qeWmBKGsMX3lKCjFWk3RPSJMb8Ahm+CfLWhH9h4 rf+IDOjqiF3NQkY3PZWr/H0AWsNP8dkX/gqvlypxE9hcfkxV+oG+klpDIBGNDA== From: Stefan Schantl To: development@lists.ipfire.org Cc: Stefan Schantl Subject: [PATCH 06/13] gerbera: New package Date: Mon, 30 Nov 2026 16:18:19 +0100 Message-ID: <20261130154031.269150-7-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 Signed-off-by: Stefan Schantl --- config/rootfiles/packages/gerbera | 115 +++++++++++++++++++++++++++++ lfs/gerbera | 119 ++++++++++++++++++++++++++++++ make.sh | 1 + 3 files changed, 235 insertions(+) create mode 100644 config/rootfiles/packages/gerbera create mode 100644 lfs/gerbera diff --git a/config/rootfiles/packages/gerbera b/config/rootfiles/packages/gerbera new file mode 100644 index 0000000000..7600c967e0 --- /dev/null +++ b/config/rootfiles/packages/gerbera @@ -0,0 +1,115 @@ +usr/bin/gerbera +#usr/share/bash-completion/completions/gerbera +#usr/share/gerbera +usr/share/gerbera/config2.xsd +#usr/share/gerbera/js +usr/share/gerbera/js/audio.js +usr/share/gerbera/js/common.js +usr/share/gerbera/js/image.js +usr/share/gerbera/js/import.js +usr/share/gerbera/js/metadata.js +usr/share/gerbera/js/playlists.js +usr/share/gerbera/js/trailer.js +usr/share/gerbera/js/video.js +#usr/share/gerbera/mysql-drop.sql +#usr/share/gerbera/mysql-upgrade.xml +#usr/share/gerbera/mysql.sql +#usr/share/gerbera/postgres-drop.sql +#usr/share/gerbera/postgres-upgrade.xml +#usr/share/gerbera/postgres.sql +usr/share/gerbera/sqlite3-drop.sql +usr/share/gerbera/sqlite3-upgrade.xml +usr/share/gerbera/sqlite3.sql +usr/share/gerbera/web +#usr/share/gerbera/web/.gitignore +#usr/share/gerbera/web/README.md +#usr/share/gerbera/web/assets +usr/share/gerbera/web/assets/gerbera-config-expert.json +usr/share/gerbera/web/assets/gerbera-config-minimal.json +usr/share/gerbera/web/assets/gerbera-config-standard.json +usr/share/gerbera/web/assets/theme +usr/share/gerbera/web/assets/theme/colors.css +usr/share/gerbera/web/assets/theme/gerbera-logo-white.png +usr/share/gerbera/web/assets/theme/gerbera.css +usr/share/gerbera/web/assets/theme/home-bg.jpg +#usr/share/gerbera/web/css +usr/share/gerbera/web/css/upnp.css +usr/share/gerbera/web/disabled.html +usr/share/gerbera/web/favicon.ico +#usr/share/gerbera/web/icons +usr/share/gerbera/web/icons/mt-icon120.bmp +usr/share/gerbera/web/icons/mt-icon120.jpg +usr/share/gerbera/web/icons/mt-icon120.png +usr/share/gerbera/web/icons/mt-icon32.bmp +usr/share/gerbera/web/icons/mt-icon32.jpg +usr/share/gerbera/web/icons/mt-icon32.png +usr/share/gerbera/web/icons/mt-icon48.bmp +usr/share/gerbera/web/icons/mt-icon48.jpg +usr/share/gerbera/web/icons/mt-icon48.png +usr/share/gerbera/web/index.html +#usr/share/gerbera/web/js +usr/share/gerbera/web/js/gerbera-app.module.js +usr/share/gerbera/web/js/gerbera-auth.module.js +usr/share/gerbera/web/js/gerbera-autoscan.module.js +usr/share/gerbera/web/js/gerbera-clients.module.js +usr/share/gerbera/web/js/gerbera-config.module.js +usr/share/gerbera/web/js/gerbera-items.module.js +usr/share/gerbera/web/js/gerbera-menu.module.js +usr/share/gerbera/web/js/gerbera-trail.module.js +usr/share/gerbera/web/js/gerbera-tree.module.js +usr/share/gerbera/web/js/gerbera-tweak.module.js +usr/share/gerbera/web/js/gerbera-updates.module.js +usr/share/gerbera/web/js/jquery.gerbera.autoscan.js +usr/share/gerbera/web/js/jquery.gerbera.clients.js +usr/share/gerbera/web/js/jquery.gerbera.config.js +usr/share/gerbera/web/js/jquery.gerbera.editor.js +usr/share/gerbera/web/js/jquery.gerbera.items.js +usr/share/gerbera/web/js/jquery.gerbera.toast.js +usr/share/gerbera/web/js/jquery.gerbera.trail.js +usr/share/gerbera/web/js/jquery.gerbera.tree.js +#usr/share/gerbera/web/js/jquery.gerbera.tweak.js +#usr/share/gerbera/web/upnp +usr/share/gerbera/web/upnp/cds.xml +usr/share/gerbera/web/upnp/cm.xml +usr/share/gerbera/web/upnp/mr_reg.xml +#usr/share/gerbera/web/vendor +usr/share/gerbera/web/vendor/bootstrap-4.6.2 +usr/share/gerbera/web/vendor/bootstrap-4.6.2/css +usr/share/gerbera/web/vendor/bootstrap-4.6.2/css/bootstrap-grid.min.css +usr/share/gerbera/web/vendor/bootstrap-4.6.2/css/bootstrap-grid.min.css.map +usr/share/gerbera/web/vendor/bootstrap-4.6.2/css/bootstrap-reboot.min.css +usr/share/gerbera/web/vendor/bootstrap-4.6.2/css/bootstrap-reboot.min.css.map +usr/share/gerbera/web/vendor/bootstrap-4.6.2/css/bootstrap.min.css +usr/share/gerbera/web/vendor/bootstrap-4.6.2/css/bootstrap.min.css.map +#usr/share/gerbera/web/vendor/bootstrap-4.6.2/js +usr/share/gerbera/web/vendor/bootstrap-4.6.2/js/bootstrap.min.js +usr/share/gerbera/web/vendor/bootstrap-4.6.2/js/bootstrap.min.js.map +#usr/share/gerbera/web/vendor/font-awesome +#usr/share/gerbera/web/vendor/font-awesome/css +usr/share/gerbera/web/vendor/font-awesome/css/font-awesome.css +usr/share/gerbera/web/vendor/font-awesome/css/font-awesome.min.css +#usr/share/gerbera/web/vendor/font-awesome/fonts +usr/share/gerbera/web/vendor/font-awesome/fonts/FontAwesome.otf +usr/share/gerbera/web/vendor/font-awesome/fonts/fontawesome-webfont.eot +usr/share/gerbera/web/vendor/font-awesome/fonts/fontawesome-webfont.svg +usr/share/gerbera/web/vendor/font-awesome/fonts/fontawesome-webfont.ttf +usr/share/gerbera/web/vendor/font-awesome/fonts/fontawesome-webfont.woff +usr/share/gerbera/web/vendor/font-awesome/fonts/fontawesome-webfont.woff2 +#usr/share/gerbera/web/vendor/jquery +usr/share/gerbera/web/vendor/jquery/jquery-3.7.1.min.js +usr/share/gerbera/web/vendor/jquery/jquery-3.7.1.min.map +usr/share/gerbera/web/vendor/jquery/jquery-ui.min.js +usr/share/gerbera/web/vendor/js-cookie.min.js +#usr/share/gerbera/web/vendor/lato +#usr/share/gerbera/web/vendor/lato/LICENCE.md +usr/share/gerbera/web/vendor/lato/lato-v14-latin-ext_latin-regular.woff +usr/share/gerbera/web/vendor/lato/lato-v14-latin-ext_latin-regular.woff2 +usr/share/gerbera/web/vendor/md5.min.js +usr/share/gerbera/web/vendor/md5.min.js.map +#usr/share/gerbera/web/vendor/popper +usr/share/gerbera/web/vendor/popper/popper.min.js +usr/share/gerbera/web/vendor/popper/popper.min.js.map +#usr/share/gerbera/web/vendor/tether-2.0.0 +usr/share/gerbera/web/vendor/tether-2.0.0/tether.min.css +usr/share/gerbera/web/vendor/tether-2.0.0/tether.min.js +#usr/share/man/man1/gerbera.1 diff --git a/lfs/gerbera b/lfs/gerbera new file mode 100644 index 0000000000..4db8c681bf --- /dev/null +++ b/lfs/gerbera @@ -0,0 +1,119 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2024 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 = UPnP/DLNA Media Server + +VER = 3.0.0 + +THISAPP = gerbera-$(VER) +DL_FILE = gerbera-$(VER).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) +PROG = gerbera +PAK_VER = 1 + +DEPS = duktape ffmpeg fmt libexif libupnp pugixml taglib + +SERVICES = gerbera + +CFLAGS += -fcommon + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_BLAKE2 = 94fa4416359e58fbd74a5d25c59b5371fdfa1145d5ba78f6a3e4d932c2e18b9e8291c8bdec81f6e6ef13c99f10e90d0a2e639b335f120501bbc0abf7e7f7a189 + +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) && mkdir -pv build + cd $(DIR_APP)/build && cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DWITH_MAGIC=1 \ + -DWITH_MYSQL=0 \ + -DWITH_CURL=1 \ + -DWITH_JS=1 \ + -DWITH_TAGLIB=1 \ + -DWITH_AVCODEC=1 \ + -DWITH_FFMPEGTHUMBNAILER=0 \ + -DWITH_EXIF=1 \ + -DWITH_EXIV2=0 \ + -DWITH_LASTFM=0 \ + -DWITH_SYSTEMD=0 \ + -DWITH_ICU=0\ + -DWITH_MATROSKA=0 + + cd $(DIR_APP)/build && make $(MAKETUNING) + + cd $(DIR_APP)/build && make install + + # Install configuration. + #install -m 644 $(DIR_SRC)/config/minidlna/minidlna.conf /etc + + #install initscripts + #$(call INSTALL_INITSCRIPTS,$(SERVICES)) + + #install backup definition + #install -v -m 644 ${DIR_SRC}/config/backup/includes/minidlna \ + # /var/ipfire/backup/addons/includes/minidlna + + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index f0ab9a4bbb..e12e166623 100755 --- a/make.sh +++ b/make.sh @@ -2303,6 +2303,7 @@ build_system() { lfsmake2 jsoncpp lfsmake2 pugixml lfsmake2 duktape + lfsmake2 gerbera lfsmake2 linux lfsmake2 linux-initrd From patchwork Mon Nov 30 15:18:20 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 10930 Return-Path: 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) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsh4rBVz3x4c for ; Mon, 30 Nov 2026 15:40:56 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jdSsg5pHlz6lW for ; Mon, 30 Nov 2026 15:40:55 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jdSsY3M74z2ylt for ; Mon, 30 Nov 2026 15:40:49 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsR2wfqz2yGl for ; Mon, 30 Nov 2026 15:40:43 +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 4jdSsP5LG6z77w; Mon, 30 Nov 2026 15:40:41 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1796053242; 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=ltMlESuEJ5ncDX1jZVdK+8cLAGvNU/rbpJsF7ty6HD8=; b=qe0XjpMb/Hg+VnZ20EqKXZ4ys3LR9cP68mXfJj6V1JDdN+O/1tjJBxlHwBDz1oGkT8/Sm/ cAQJWSyMWoBtdABQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1796053242; 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=ltMlESuEJ5ncDX1jZVdK+8cLAGvNU/rbpJsF7ty6HD8=; b=b8rstC607pIpJVtKD2BFEt4usTOgCldrR71jFWgagYitkVACJwN/8BaqgoB6bYuc2sBwwv vSGIK5g//C1Hpzxw1Zmh2o5nKcc0Ko9Of4EKHdoZsItZ7BLtzoLd6whQgOZJAfazn42Z8Y jd7hL+KNnR7Pxg0lxydLBpwM3ms8fCHqlBeab//ge9qkzz4/vgwgR/NolFIhLKjtdmORKO MFanExXkvimLMSXDHmzL1VftGI1h211D5iPHqplXdV5bacgpCTAAcf1kBwWvOkg8KogmDU JYyDwZgCLnL/lxVScdw8qysh2FJQCjxQRdmUQ5LmrCy6XISpQTJP1F7loHDLJQ== From: Stefan Schantl To: development@lists.ipfire.org Cc: Stefan Schantl Subject: [PATCH 07/13] gerbera: Ship default config file Date: Mon, 30 Nov 2026 16:18:20 +0100 Message-ID: <20261130154031.269150-8-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 Signed-off-by: Stefan Schantl --- config/gerbera/config.xml | 441 ++++++++++++++++++++++++++++++ config/rootfiles/packages/gerbera | 1 + lfs/gerbera | 6 +- 3 files changed, 447 insertions(+), 1 deletion(-) create mode 100644 config/gerbera/config.xml diff --git a/config/gerbera/config.xml b/config/gerbera/config.xml new file mode 100644 index 0000000000..4637ee2f29 --- /dev/null +++ b/config/gerbera/config.xml @@ -0,0 +1,441 @@ + + + + + + + + + + + + + + + default-src %HOSTS% 'unsafe-eval' 'unsafe-inline'; img-src *; media-src *; child-src 'none'; + + + + + + + + https://docs.gerbera.io/en/stable/ + + Gerbera + uuid:f028042b-f643-4ff2-afb6-eac9c8123d45 + /var/ipfire/gerbera + /usr/share/gerbera/web + 0 + + + Gerbera Contributors + https://gerbera.io/ + Gerbera + Free UPnP AV MediaServer, GNU GPL + 42 + + 1 + + /tmp/ + + gerbera.html + -1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 180 + + + gerbera.db + off + WAL + restore + /usr/share/gerbera/sqlite3.sql + /usr/share/gerbera/sqlite3-upgrade.xml + /usr/share/gerbera/sqlite3-drop.sql + + + + + + upnp:class derivedfrom "object.item" and last_updated > "@last7" + + + upnp:class derivedfrom "object.item" and last_modified > "@last7" + + + upnp:class derivedfrom "object.item.audioItem" and upnp:lastPlaybackTime > "@last7" + + + + + * + + video + + + + + + + + + + + + + + UTF-8 + UTF-8 + UTF-8 + + + /usr/share/gerbera/js + /root/js + + + importPlaylist + importMetadata + importAudio + importVideo + importImage + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + audio/mpeg + no + yes + no + + + + + video/mpeg + yes + yes + yes + -1 + -1 + no + no + MP4 + + XVID + DX50 + + + + + + + + diff --git a/config/rootfiles/packages/gerbera b/config/rootfiles/packages/gerbera index 7600c967e0..4fa9d61b83 100644 --- a/config/rootfiles/packages/gerbera +++ b/config/rootfiles/packages/gerbera @@ -113,3 +113,4 @@ usr/share/gerbera/web/vendor/popper/popper.min.js.map usr/share/gerbera/web/vendor/tether-2.0.0/tether.min.css usr/share/gerbera/web/vendor/tether-2.0.0/tether.min.js #usr/share/man/man1/gerbera.1 +var/lib/gerbera diff --git a/lfs/gerbera b/lfs/gerbera index 4db8c681bf..41b979f4b6 100644 --- a/lfs/gerbera +++ b/lfs/gerbera @@ -106,7 +106,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP)/build && make install # Install configuration. - #install -m 644 $(DIR_SRC)/config/minidlna/minidlna.conf /etc + install -m 644 $(DIR_SRC)/config/gerbera/config.xml /etc/gerbera + + # Create gerbera home dir. + mkdir -pv /var/lib/gerbera + chown nobody:nobody /var/lib/gerbera #install initscripts #$(call INSTALL_INITSCRIPTS,$(SERVICES)) From patchwork Mon Nov 30 15:18:21 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 10925 Return-Path: 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) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsh284Pz3wjn for ; Mon, 30 Nov 2026 15:40:56 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jdSsg2D3Jz8Yg for ; Mon, 30 Nov 2026 15:40:55 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jdSsY1gpQz2yjl for ; Mon, 30 Nov 2026 15:40:49 +0000 (UTC) X-Original-To: development@lists.ipfire.org 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) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsS1RLVz2y3W for ; Mon, 30 Nov 2026 15:40:44 +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 4jdSsQ72Wdz7HF; Mon, 30 Nov 2026 15:40:42 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1796053243; 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=Vj2y8Vq6ZocaCWEX+YUTIzJGRB20I/vA3dxM7QgFgN8=; b=HbB3oL4pPIyQAEhissjBFMEfG1fL0nsxdOcMh747cttoQupW+DNa4JFRDY0Me/d8YwCvx2 EP1VttN9uVf+TmBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1796053243; 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=Vj2y8Vq6ZocaCWEX+YUTIzJGRB20I/vA3dxM7QgFgN8=; b=ZZqiZPZyQZYJ2jjpSkLFbmDQgsWHk8z3gTqElgdJWDPS4tDGuPaydk/E1QRQ/e9Gr4ROtN K0y7o4KDQxZEyOtnqlmXUX+c6TEBrM9vY7455+OBgaN7dkInU7Ie/bYsJoxNs+hQODjX/c ae4oDoSs1f01Z4WLFv52pKwzWWjuJ5dsyHndcdqXUmp+VQMHk1S0mI+cU7lPS7YnU55dhS sWu0zniZwHeJ2i7tGU3oeptE8wn1CK9YERiBlUi563WLeYgtHbYhwZkpxqOEe5URZbeD4s ooGJ8LRWP3icqQYWBJdFa9qLhoTWYJuGfr10gKk27qaZklhUeuhSAnGbHCK8+w== From: Stefan Schantl To: development@lists.ipfire.org Cc: Stefan Schantl Subject: [PATCH 08/13] gerbera: Add initscript Date: Mon, 30 Nov 2026 16:18:21 +0100 Message-ID: <20261130154031.269150-9-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 Signed-off-by: Stefan Schantl --- lfs/gerbera | 2 +- src/initscripts/packages/gerbera | 55 ++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 src/initscripts/packages/gerbera diff --git a/lfs/gerbera b/lfs/gerbera index 41b979f4b6..86b70019db 100644 --- a/lfs/gerbera +++ b/lfs/gerbera @@ -113,7 +113,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) chown nobody:nobody /var/lib/gerbera #install initscripts - #$(call INSTALL_INITSCRIPTS,$(SERVICES)) + $(call INSTALL_INITSCRIPTS,$(SERVICES)) #install backup definition #install -v -m 644 ${DIR_SRC}/config/backup/includes/minidlna \ diff --git a/src/initscripts/packages/gerbera b/src/initscripts/packages/gerbera new file mode 100644 index 0000000000..f8884b3666 --- /dev/null +++ b/src/initscripts/packages/gerbera @@ -0,0 +1,55 @@ +#!/bin/sh +######################################################################## +# Begin $rc_base/init.d/ +# +# Description : gerbera initscript +# +# Authors : Arne Fitzenreiter +# Stefan Schantl +# +# Version : 01.00 +# +# Notes : for www.ipfire.org - GPLv3 +# +######################################################################## + +. /etc/sysconfig/rc +. ${rc_functions} + +case "$1" in + start) + boot_mesg "Starting gerbera uPnP Mediaserver..." + route add -net 239.0.0.0 netmask 255.0.0.0 green0 + loadproc /usr/bin/gerbera -u nobody \ + -c /etc/gerbera/config.xml \ + -l /var/log/gerbera.log \ + -m /var/lib/gerbera \ + -e green0 $2 $3 $4 $5 $6 $7 -d + evaluate_retval + ;; + + + stop) + boot_mesg "Stopping gerbera uPnP Mediaserver..." + killproc /usr/bin/gerbera + evaluate_retval + route del -net 239.0.0.0 netmask 255.0.0.0 green0 + ;; + + restart) + ${0} stop + sleep 1 + ${0} start + + ;; + status) + statusproc /usr/bin/gerbera + ;; + + *) + echo "Usage: ${0} {start|stop|init|status}" + exit 1 + ;; +esac + +# End $rc_base/init.d/ From patchwork Mon Nov 30 15:18:22 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 10929 Return-Path: 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) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsh4VFHz3x30 for ; Mon, 30 Nov 2026 15:40:56 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jdSsg4BRkz820 for ; Mon, 30 Nov 2026 15:40:55 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jdSsY3FRtz2ykn for ; Mon, 30 Nov 2026 15:40:49 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsS45ldz2yLR for ; Mon, 30 Nov 2026 15:40:44 +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 4jdSsR47xHz7Cb; Mon, 30 Nov 2026 15:40:43 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1796053243; 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=wvdBDD/m8T/AlNWfK0k7NnhS9ul0MPbqGzpYms9Re4I=; b=DmHQC4+Y0L3YZGHZ66yRU4IuQQz5SfwluzLRZU460BrAhJGySWGrulDm6jCN65HnrVwj76 1b581keZBAxUUsCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1796053243; 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=wvdBDD/m8T/AlNWfK0k7NnhS9ul0MPbqGzpYms9Re4I=; b=ZzD8mqVvEVpQtWi6mo0l5btGYa+CoWWEtChRenO8suYAjjg+nuO2oVc/clFroTCXX2KvF4 veucvGWaljx6sKBDbAblOcG0AfgqibEVatmtUHUPnPv0VVr/7D6ug8FKAcUu/+b7qjBcbN aiOIhU9ZT/EARrrv+CAftdpV4WBwkqIb/FovzV/5nsAqxrtzLsurPTsHleAbWmkRxmE0tu AtatiAXVvYLgVrWe4n3CZ6nbiBWXJCeW9bygWbT9+5zvGfy2rmP6Eg8hluyf80xbzO3c7c pE8JBUzEV25+Z8qg0tGAuia/x9DktvhSV1fVokwII8F+b08FifJRXP4SqtxFHA== From: Stefan Schantl To: development@lists.ipfire.org Cc: Stefan Schantl Subject: [PATCH 09/13] gerbera: Add backup definitions Date: Mon, 30 Nov 2026 16:18:22 +0100 Message-ID: <20261130154031.269150-10-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 Signed-off-by: Stefan Schantl --- config/backup/includes/gerbera | 2 ++ lfs/gerbera | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 config/backup/includes/gerbera diff --git a/config/backup/includes/gerbera b/config/backup/includes/gerbera new file mode 100644 index 0000000000..3fb1208fa0 --- /dev/null +++ b/config/backup/includes/gerbera @@ -0,0 +1,2 @@ +/etc/gerbera/config.xml +/var/lib/gerbera/* diff --git a/lfs/gerbera b/lfs/gerbera index 86b70019db..34041b9a51 100644 --- a/lfs/gerbera +++ b/lfs/gerbera @@ -116,8 +116,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) $(call INSTALL_INITSCRIPTS,$(SERVICES)) #install backup definition - #install -v -m 644 ${DIR_SRC}/config/backup/includes/minidlna \ - # /var/ipfire/backup/addons/includes/minidlna + install -v -m 644 ${DIR_SRC}/config/backup/includes/gerbera \ + /var/ipfire/backup/addons/includes/gerbera @rm -rf $(DIR_APP) @$(POSTBUILD) From patchwork Mon Nov 30 15:18:23 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 10928 Return-Path: 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) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsh4T7dz3x2w for ; Mon, 30 Nov 2026 15:40:56 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jdSsg49HCz8Z8 for ; Mon, 30 Nov 2026 15:40:55 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jdSsY3HKVz2ylP for ; Mon, 30 Nov 2026 15:40:49 +0000 (UTC) X-Original-To: development@lists.ipfire.org 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) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsT0ydHz2yGW for ; Mon, 30 Nov 2026 15:40:45 +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 4jdSsS0qSpz7FT; Mon, 30 Nov 2026 15:40:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1796053244; 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=OMPBbf6fdlMPJntSN9fpk9sn2q6DdjyQMh2Xl2RUkho=; b=q2RiB96jQHrE9LsGxoywlQqs/SATGxPy03C2vcEBdBfGRuqKyT945zwlfoCKrhEmKPMtko CruwkkqRTs9Wd5fgAhOgW1BnBG2C/P8Y5saXb76qoH7LCmCw7s8oi3RB311f4nRWWDPXy1 JVw1J/zJ6Rondgy4CeT4gLH02V/pTFB/Q2XlKVjWmw59a2Ot3uvDPbIYceyFzwkAb/pNw5 jkrTRyo/hAjinYP542qG7d+tFDX/cSO4xBErp4SKghTKdc5jzNV5hArzfHSBItgaQckrqS GmiSsZ53TBUFlGE0em0KMT6Kv2sku2vfji4BmbSkP/7oekICGCeKXSZD+bmYWg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1796053244; 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=OMPBbf6fdlMPJntSN9fpk9sn2q6DdjyQMh2Xl2RUkho=; b=AfbRxAGmOOKmpNzIWCdWlL0zKhD4MejZuHX4ufuIT7eS/7rlEWi/d2xArp8ntdWeT8o/BF 4qTs684UidSPlQCA== From: Stefan Schantl To: development@lists.ipfire.org Cc: Stefan Schantl Subject: [PATCH 10/13] gerbera: Update to 3.3.0 Date: Mon, 30 Nov 2026 16:18:23 +0100 Message-ID: <20261130154031.269150-11-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 Signed-off-by: Stefan Schantl --- config/rootfiles/packages/gerbera | 5 +++++ lfs/gerbera | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/config/rootfiles/packages/gerbera b/config/rootfiles/packages/gerbera index 4fa9d61b83..31a0c21cb1 100644 --- a/config/rootfiles/packages/gerbera +++ b/config/rootfiles/packages/gerbera @@ -1,3 +1,5 @@ +etc/gerbera +etc/rc.d/init.d/gerbera usr/bin/gerbera #usr/share/bash-completion/completions/gerbera #usr/share/gerbera @@ -5,10 +7,12 @@ usr/share/gerbera/config2.xsd #usr/share/gerbera/js usr/share/gerbera/js/audio.js usr/share/gerbera/js/common.js +usr/share/gerbera/js/cuesheet.js usr/share/gerbera/js/image.js usr/share/gerbera/js/import.js usr/share/gerbera/js/metadata.js usr/share/gerbera/js/playlists.js +usr/share/gerbera/js/shared.js usr/share/gerbera/js/trailer.js usr/share/gerbera/js/video.js #usr/share/gerbera/mysql-drop.sql @@ -113,4 +117,5 @@ usr/share/gerbera/web/vendor/popper/popper.min.js.map usr/share/gerbera/web/vendor/tether-2.0.0/tether.min.css usr/share/gerbera/web/vendor/tether-2.0.0/tether.min.js #usr/share/man/man1/gerbera.1 +var/ipfire/backup/addons/includes/gerbera var/lib/gerbera diff --git a/lfs/gerbera b/lfs/gerbera index 34041b9a51..50abbde451 100644 --- a/lfs/gerbera +++ b/lfs/gerbera @@ -26,7 +26,7 @@ include Config SUMMARY = UPnP/DLNA Media Server -VER = 3.0.0 +VER = 3.3.0 THISAPP = gerbera-$(VER) DL_FILE = gerbera-$(VER).tar.gz @@ -50,7 +50,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 94fa4416359e58fbd74a5d25c59b5371fdfa1145d5ba78f6a3e4d932c2e18b9e8291c8bdec81f6e6ef13c99f10e90d0a2e639b335f120501bbc0abf7e7f7a189 +$(DL_FILE)_BLAKE2 = cc90463b85990d7d01dec31d9060f8ee927e815a535d7dd24c2071e4f9233b19af9f858262ea40a7204ea323b9bd6066922104cf054f0134bf809388905f0f20 install : $(TARGET) @@ -98,8 +98,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) -DWITH_EXIV2=0 \ -DWITH_LASTFM=0 \ -DWITH_SYSTEMD=0 \ - -DWITH_ICU=0\ - -DWITH_MATROSKA=0 + -DWITH_ICU=0 \ + -DWITH_MATROSKA=0 \ + -DWITH_ZIP=0 cd $(DIR_APP)/build && make $(MAKETUNING) From patchwork Mon Nov 30 15:18:24 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 10931 Return-Path: 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) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsh4xfSz3x4g for ; Mon, 30 Nov 2026 15:40:56 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jdSsg67QWz6vc for ; Mon, 30 Nov 2026 15:40:55 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jdSsY3mtDz2ynn for ; Mon, 30 Nov 2026 15:40:49 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsT2wJzz2yGG for ; Mon, 30 Nov 2026 15:40:45 +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 4jdSsS5M7fz6mb; Mon, 30 Nov 2026 15:40:44 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1796053244; 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=11q9lOegaTV867DwHNa1iIKEL4sGiVKn3kfh+D9P12s=; b=SuLUg6M8QfJkZwqycDXldIYq6wv/LYAXENpdKaYhtsLchtyUoFzgDS52a2RwMJhi9DCvOj l+3ZLdeQk9nGp7Ag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1796053244; 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=11q9lOegaTV867DwHNa1iIKEL4sGiVKn3kfh+D9P12s=; b=N/LXzk3aJafRrM/4Vv3zzPIgybzjvu2xZs1bH4Re84xz+1mASzbTOAjA+oZ04/RfhaKDZK 2AQPvfnsNWxZnTziez4rhy0C/PLDfMDde1lj74O1C+uLspHehLITMWKDdD9AEdnVjjGk+4 eNj1qFBVAngq2uK2gAD75qgUSZ+qJ/qCY2u4XyKR2//gqYm+0KQk95vmfQTZJ7XD9IFrmP GO+mfcjeLXOR4aqTkrgIZfZdFH69nGNF6fg4iu7mhiC0ZcdqTIi1UVgoJ8XvX+TDDYHEB1 NGOr4a/8KTcZZHv6nX+fY13AoypiHzZCyQk2fJc4tR6BgA3D/FoX8oinlpb9gQ== From: Stefan Schantl To: development@lists.ipfire.org Cc: Stefan Schantl Subject: [PATCH 11/13] libupnp: Rootfile update Date: Mon, 30 Nov 2026 16:18:24 +0100 Message-ID: <20261130154031.269150-12-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 Signed-off-by: Stefan Schantl --- config/rootfiles/packages/libupnp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/rootfiles/packages/libupnp b/config/rootfiles/packages/libupnp index 8d8b412d9b..b90830bd77 100644 --- a/config/rootfiles/packages/libupnp +++ b/config/rootfiles/packages/libupnp @@ -28,9 +28,9 @@ #usr/lib/libixml.la #usr/lib/libixml.so usr/lib/libixml.so.11 -usr/lib/libixml.so.11.1.3 +usr/lib/libixml.so.11.1.7 #usr/lib/libupnp.la #usr/lib/libupnp.so usr/lib/libupnp.so.17 -usr/lib/libupnp.so.17.2.5 +usr/lib/libupnp.so.17.2.10 #usr/lib/pkgconfig/libupnp.pc From patchwork Mon Nov 30 15:18:25 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 10932 Return-Path: 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) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsh5XdPz3x4h for ; Mon, 30 Nov 2026 15:40:56 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jdSsg6Hc5z8Y6 for ; Mon, 30 Nov 2026 15:40:55 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jdSsY4Brdz2yqK for ; Mon, 30 Nov 2026 15:40:49 +0000 (UTC) X-Original-To: development@lists.ipfire.org 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) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsT578Dz2xkP for ; Mon, 30 Nov 2026 15:40:45 +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 4jdSsT0zJQz79k; Mon, 30 Nov 2026 15:40:45 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1796053245; 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=A2PJ5mlTc8kUDGTJZflu4p6ZmPjprm3rVkKfZXJw1i0=; b=+vJc4J6t5hZtsCyPADKXsqdEG4HIvA8JmmzTi5scWWR6H9kJojcKaO29+3JgkI1F5bSr4q sqZIyIQlDBeOczAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1796053245; 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=A2PJ5mlTc8kUDGTJZflu4p6ZmPjprm3rVkKfZXJw1i0=; b=djpBj6kwTDAfY+85DyuXdKx0CZ7IJSYos4lEerCq1s+T2cfj3Ikm9BW6aACfI1FuQaxqg4 Sp7G9ECg9fBj2fJE+d8hQcy0GYlsn8TNFACzJkcPJlz6yMb3+3ERy6hSvfsq84UA2aEbry 842u1h5RRbWjGcGboFZ+skNM0ZVcvx9/FGXBHZ7RRTGnAZXlfzNP0CPY+mYZtsCm9JOeHf AHSsgDotluK3jGZqatk1VaTNph6QIMW/gBWYjiGsw3FdWDLytN43BzUT7O6A/1mfl7Bc6w CRIx1gwbu2M4Nm/vw0/VJeoazfIcPj7mZTh6lbrgB0X3dAedO4OanQsVdQCpyA== From: Stefan Schantl To: development@lists.ipfire.org Cc: Stefan Schantl Subject: [PATCH 12/13] gerbera: Fix installing config file Date: Mon, 30 Nov 2026 16:18:25 +0100 Message-ID: <20261130154031.269150-13-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 Signed-off-by: Stefan Schantl --- config/rootfiles/packages/gerbera | 3 ++- lfs/gerbera | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/rootfiles/packages/gerbera b/config/rootfiles/packages/gerbera index 31a0c21cb1..57a209590e 100644 --- a/config/rootfiles/packages/gerbera +++ b/config/rootfiles/packages/gerbera @@ -1,4 +1,5 @@ -etc/gerbera +#etc/gerbera +etc/gerbera/config.xml etc/rc.d/init.d/gerbera usr/bin/gerbera #usr/share/bash-completion/completions/gerbera diff --git a/lfs/gerbera b/lfs/gerbera index 50abbde451..e62cce9208 100644 --- a/lfs/gerbera +++ b/lfs/gerbera @@ -106,7 +106,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP)/build && make install + # Install configuration. + cd $(DIR_APP) && mkdir -pv /etc/gerbera install -m 644 $(DIR_SRC)/config/gerbera/config.xml /etc/gerbera # Create gerbera home dir. From patchwork Mon Nov 30 15:18:26 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 10933 Return-Path: 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) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsj1h78z3x4j for ; Mon, 30 Nov 2026 15:40:57 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jdSsh39rTz7FW for ; Mon, 30 Nov 2026 15:40:56 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jdSsY5sR1z2yrj for ; Mon, 30 Nov 2026 15:40:49 +0000 (UTC) X-Original-To: development@lists.ipfire.org 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) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jdSsV1CcDz2yG0 for ; Mon, 30 Nov 2026 15:40:46 +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 4jdSsT4XBdz6rZ; Mon, 30 Nov 2026 15:40:45 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1796053245; 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=GgMptm26xTWLdxVWCeD9KcXRAIjX6qKPiM5ul88mabI=; b=avNmQF/6qb3ggronuW3BOtSGwn59tRI2ZTaLdqRDyhtxfhQ2R3K5eWWFWwMzQ6BGYk3Ur+ 7uE76JzIY4Oc5rDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1796053245; 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=GgMptm26xTWLdxVWCeD9KcXRAIjX6qKPiM5ul88mabI=; b=gi8igKSgn42EnozUGUWmDaXyehe4C21d6UtduvHpxBMecNQYK9tULif/cpQ8NZZYEolvw9 ht2mWE5ga5nwZFmI5A17EJFxTqilLUw2f+O5Ne7uyAZER20bTx8dfkyYmTq/eW8/jqb78V zic1hpTkJGkDquskmiGlQPpnbVK1m6bUw3irAYCSqX4Qu4j4aUGMJ6pd5D816FmnhqU2zX 3o4KxC91oAUzXPPOIMjs+YFpT7wrQaVma7uPmMlmZRbtpYqpmWVOCHrqL9ovNs4B9CKJBm SOQicgrpAPYJEwcjg6EPghi1nI2QEkTxAWtIvBJ3a9w+7hvU7yOmMxAMb/o8pw== From: Stefan Schantl To: development@lists.ipfire.org Cc: Stefan Schantl Subject: [PATCH 13/13] gerbera: Add rc symlinks for autostart on boot Date: Mon, 30 Nov 2026 16:18:26 +0100 Message-ID: <20261130154031.269150-14-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 Signed-off-by: Stefan Schantl --- config/rootfiles/packages/gerbera | 3 +++ lfs/gerbera | 9 +++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/config/rootfiles/packages/gerbera b/config/rootfiles/packages/gerbera index 57a209590e..2cf7bef9bc 100644 --- a/config/rootfiles/packages/gerbera +++ b/config/rootfiles/packages/gerbera @@ -1,6 +1,9 @@ #etc/gerbera etc/gerbera/config.xml etc/rc.d/init.d/gerbera +etc/rc.d/rc0.d/K01gerbera +etc/rc.d/rc3.d/S70gerbera +etc/rc.d/rc6.d/K01gerbera usr/bin/gerbera #usr/share/bash-completion/completions/gerbera #usr/share/gerbera diff --git a/lfs/gerbera b/lfs/gerbera index e62cce9208..36a517466b 100644 --- a/lfs/gerbera +++ b/lfs/gerbera @@ -115,10 +115,15 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) mkdir -pv /var/lib/gerbera chown nobody:nobody /var/lib/gerbera - #install initscripts + # Install initscripts $(call INSTALL_INITSCRIPTS,$(SERVICES)) - #install backup definition + # Create symlinks for runlevel interaction. + ln -svf /etc/rc.d/init.d/gerbera /etc/rc.d/rc3.d/S70gerbera + ln -svf /etc/rc.d/init.d/gerbera /etc/rc.d/rc0.d/K01gerbera + ln -svf /etc/rc.d/init.d/gerbera /etc/rc.d/rc6.d/K01gerbera + + # Install backup definition install -v -m 644 ${DIR_SRC}/config/backup/includes/gerbera \ /var/ipfire/backup/addons/includes/gerbera