From patchwork Fri Nov 15 21:37:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 8236 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) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4Xqr2x3x4wz3wx3 for ; Fri, 15 Nov 2024 21:37:29 +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 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E6" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Xqr2x1ZgYz2Pq; Fri, 15 Nov 2024 21:37:29 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Xqr2w6c7Pz3496; Fri, 15 Nov 2024 21:37:28 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Xqr2t6WLvz32sM for ; Fri, 15 Nov 2024 21:37:26 +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 4Xqr2t37fTz13c; Fri, 15 Nov 2024 21:37:26 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1731706646; 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=K8+jBrja5R2cM0j3nw0HFmR8ktTVuxbvIWX/luw/Xmo=; b=7hwbW0hHVVexuqTwV9gAFZF3BMON5anKafRrpE/O8t56sKoypVn1/GgxuE/IMLzh5q7zJE aKLt4jsTOjy6VYDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1731706646; 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=K8+jBrja5R2cM0j3nw0HFmR8ktTVuxbvIWX/luw/Xmo=; b=b57HqWd6Cv0F/IsIvdQpTJK/m91Lv5jqo+WKUR6WdGB7YTdldyzo9MXqsK9B3AF9xu4JFk l37oeCH/H457Pw/fZwsmS18fQlldfz4O50Cn4amPWmfLx193iyBxDZyHcJzGhB+5sb7N3s LXIB8DPNVZX/v7Dt9gLJ0cQn+6I+saTSZaP/vy87hWMP+AxhIOjAK2/umlz9r+H/Qvs9b8 0q72CxbtrBg4cKSuf7ieCw73pgq5sDHY5xMUWVxzEDJCT8TnfX168BdR3L4Ddg5RFmgnCU mhm8mWSvuAdA/gPpDekG/T9zPae7ztDhIgPAIVziDGJyM98JwZ6z/FFWNZPdow== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 2/2] libidn2: Required for elinks in place of libidn Date: Fri, 15 Nov 2024 22:37:20 +0100 Message-ID: <20241115213720.899284-2-adolf.belka@ipfire.org> In-Reply-To: <20241115213720.899284-1-adolf.belka@ipfire.org> References: <20241115213720.899284-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: G7BLTKLETWIQWUXSGG6YRIVFTGYW6FOW X-Message-ID-Hash: G7BLTKLETWIQWUXSGG6YRIVFTGYW6FOW X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Signed-off-by: Adolf Belka --- config/rootfiles/common/libidn2 | 7 +++ lfs/libidn2 | 82 +++++++++++++++++++++++++++++++++ make.sh | 1 + 3 files changed, 90 insertions(+) create mode 100644 config/rootfiles/common/libidn2 create mode 100644 lfs/libidn2 diff --git a/config/rootfiles/common/libidn2 b/config/rootfiles/common/libidn2 new file mode 100644 index 000000000..45a4c84ea --- /dev/null +++ b/config/rootfiles/common/libidn2 @@ -0,0 +1,7 @@ +usr/bin/idn2 +#usr/include/idn2.h +#usr/lib/libidn2.la +#usr/lib/libidn2.so +usr/lib/libidn2.so.0 +usr/lib/libidn2.so.0.4.0 +#usr/lib/pkgconfig/libidn2.pc diff --git a/lfs/libidn2 b/lfs/libidn2 new file mode 100644 index 000000000..b0e51e1e9 --- /dev/null +++ b/lfs/libidn2 @@ -0,0 +1,82 @@ +############################################################################### +# # +# 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 + +VER = 2.3.7 + +THISAPP = libidn2-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_BLAKE2 = 40fde88e6be1e4665738855608a65c949834728463a3fb466192403f1076e99f7d399b9631308ff6776a28915251a0136ddfe6a67e8e010c7ccdb7fc64125d39 + + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +b2 : $(subst %,%_BLAKE2,$(objects)) + +############################################################################### +# 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 \ + --disable-nls \ + --disable-doc \ + --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 35a602f62..9092b8da9 100755 --- a/make.sh +++ b/make.sh @@ -1659,6 +1659,7 @@ build_system() { lfsmake2 libnet lfsmake2 libnl-3 lfsmake2 libidn + lfsmake2 libidn2 lfsmake2 nasm lfsmake2 libjpeg lfsmake2 openjpeg