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 4jdSsZ1BX6z2ytw for ; Mon, 30 Nov 2026 15:40:50 +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 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 Content-Transfer-Encoding: 8bit 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 -- 2.47.3