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 4jdSsS6ZdXz2yLj 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) (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 Content-Transfer-Encoding: 8bit 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 -- 2.47.3