From patchwork Sun Mar 8 17:31: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: 9557 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 "R12" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4fTS1l2Bgvz3wkB for ; Sun, 08 Mar 2026 17:34:19 +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 "E7" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4fTS1k2MNYz605 for ; Sun, 08 Mar 2026 17:34:18 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4fTS1j6QNTz33vV for ; Sun, 08 Mar 2026 17:34:17 +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) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4fTS1g35bDz33B6 for ; Sun, 08 Mar 2026 17:34:15 +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 4fTS1d3Rmcz34F; Sun, 08 Mar 2026 17:34:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1772991253; 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; bh=YEAR5OTaVFKsGO6rAP0olrvbJ5kF5eGHRmXS7b0zO4A=; b=vS1spJ8pNhm+PbCEmF+J+/Gh1gS2n43Sb9ctq3ck+sOpXWqVKYFCMm5G5+Dj6hv40874jK 2h/OHIGU9s4IW3Z6W6W6wi+AMB8Jj02/REOA8Qrf1+4u5tdrq/x2NkoFwrcIQOssTFVZxr y6v1qAsoU2yEewqocmteIZdic+Mw7Q1wNtWVxH/zpjLJgEf1a2mTu+xXAVWotdOySjNsKa tos4rzN5mLaisVID+pYGKqWCogEXJk9VMIG/oxtlLjjNJ1hj3SSfq8FeWCyGrKb6REVYsU IZq5KqDpakR+n7ShoVhbD+/3chtvzDqJrCP/x2zXOQCUPiPt4ZSUKXkNLLYj7w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1772991253; 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; bh=YEAR5OTaVFKsGO6rAP0olrvbJ5kF5eGHRmXS7b0zO4A=; b=h86t9JpJZ+bcvUMnY45mNIIlRfks9y7vqcw/XqFu1dA4xKmolCpe2N1UwLR7jKrdlW4he4 L2FvcRVB3O35oeAQ== From: Stefan Schantl To: development@lists.ipfire.org Cc: Stefan Schantl Subject: [PATCH 1/2] perl-Net-LibIDN2: New package Date: Sun, 8 Mar 2026 18:31:14 +0100 Message-ID: <20260308173115.105058-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 This perl package provides C bindings to the libidn2, and can be used to convert international domain names into the "idn ascii" format and vice versa. Signed-off-by: Stefan Schantl --- config/rootfiles/common/perl-Net-LibIDN2 | 6 ++ lfs/perl-Net-LibIDN2 | 77 ++++++++++++++++++++++++ make.sh | 1 + 3 files changed, 84 insertions(+) create mode 100644 config/rootfiles/common/perl-Net-LibIDN2 create mode 100644 lfs/perl-Net-LibIDN2 diff --git a/config/rootfiles/common/perl-Net-LibIDN2 b/config/rootfiles/common/perl-Net-LibIDN2 new file mode 100644 index 000000000..1d23bd083 --- /dev/null +++ b/config/rootfiles/common/perl-Net-LibIDN2 @@ -0,0 +1,6 @@ +usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/Net/LibIDN2.pm +#usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Net/LibIDN2 +#usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Net/LibIDN2/.packlist +#usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Net/LibIDN2/LibIDN2.bs +usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Net/LibIDN2/LibIDN2.so +#usr/share/man/man3/Net::LibIDN2.3 diff --git a/lfs/perl-Net-LibIDN2 b/lfs/perl-Net-LibIDN2 new file mode 100644 index 000000000..5e7afb613 --- /dev/null +++ b/lfs/perl-Net-LibIDN2 @@ -0,0 +1,77 @@ +############################################################################### +# # +# 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 + +VER = 1.02 + +THISAPP = Net-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 = 0ccbadd445fcec84d082acdc6c43566a50276fc9bb4cc5a1e954761889b2712c8fde4012e1ffacfefcea796d7d04698a74928895ce822ef84d74f44c97b36b37 + +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 zxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && perl Build.PL + cd $(DIR_APP) && perl Build + cd $(DIR_APP) && perl Build install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index 5309b5675..225767f91 100755 --- a/make.sh +++ b/make.sh @@ -2160,6 +2160,7 @@ build_system() { lfsmake2 arpwatch lfsmake2 suricata-reporter lfsmake2 lldpd + lfsmake2 perl-Net-LibIDN2 lfsmake2 linux lfsmake2 linux-initrd