From patchwork Thu Apr 21 07:51:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 5525 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 (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4KkVB51Rc3z3xfS for ; Thu, 21 Apr 2022 07:52:13 +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 ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4KkVB444PNz4jw; Thu, 21 Apr 2022 07:52:12 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4KkVB43r5kz2ypK; Thu, 21 Apr 2022 07:52:12 +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 (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4KkVB36HFHz2xbW for ; Thu, 21 Apr 2022 07:52:11 +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 ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4KkVB33CfCz3gR; Thu, 21 Apr 2022 07:52:11 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1650527531; 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=7mMAzjO76hog/8pIWz886aS8+SWW5qu+QTuU3YyM6BI=; b=ygdiS77djrOq5N/3wecZIrna/alss4vQr+YDLCvBWBOaspXDKIuiCxtBNkf9zwSiyz9THV +jOgiIIonzfWXdCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1650527531; 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=7mMAzjO76hog/8pIWz886aS8+SWW5qu+QTuU3YyM6BI=; b=Ldj3bNQbZ34ySW1QtX8ivYzp09pO9Hi1TqeEThTNtCs5lPl07PS7TeoojLhj78MtljDQnO Ig3gVB/ZxCLOvHrst3YNRNHoO21D26athCh6Chp+yhT4oe7AwbNshQSt3XVWttBr15TObz 7iSMnqamb4DRPfCj8Mu3uA9+f0O62Zp/bkMzFpQT2AQWkA9WmegiFbfWXqUip0Q0Gd4SKG Pk51sNaIqk0//t576JoLTKHxn+yaI+hLV816/DgdzXTRgbrNbQYpyprEQTzyGkkJYa26uy H8VG5cXN/qORxGh1QucNuZDS7MvMO+QhH/0/mUl/rjx+a/ceDyGZh2URWJWjlA== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 2/2] perl-JSON: Installation of new package required by samba Date: Thu, 21 Apr 2022 09:51:46 +0200 Message-Id: <20220421075146.3076-2-adolf.belka@ipfire.org> In-Reply-To: <20220421075146.3076-1-adolf.belka@ipfire.org> References: <20220421075146.3076-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - Installation of lfs and rootfile for perl-JSON - required by samba-4.16.0 Signed-off-by: Adolf Belka --- config/rootfiles/packages/perl-JSON | 14 +++++ lfs/perl-JSON | 88 +++++++++++++++++++++++++++++ make.sh | 1 + 3 files changed, 103 insertions(+) create mode 100644 config/rootfiles/packages/perl-JSON create mode 100644 lfs/perl-JSON diff --git a/config/rootfiles/packages/perl-JSON b/config/rootfiles/packages/perl-JSON new file mode 100644 index 000000000..e6c4dbb94 --- /dev/null +++ b/config/rootfiles/packages/perl-JSON @@ -0,0 +1,14 @@ +#usr/lib/perl5/site_perl/5.32.1/JSON +usr/lib/perl5/site_perl/5.32.1/JSON.pm +#usr/lib/perl5/site_perl/5.32.1/JSON/backportPP +usr/lib/perl5/site_perl/5.32.1/JSON/backportPP.pm +usr/lib/perl5/site_perl/5.32.1/JSON/backportPP/Boolean.pm +usr/lib/perl5/site_perl/5.32.1/JSON/backportPP/Compat5005.pm +usr/lib/perl5/site_perl/5.32.1/JSON/backportPP/Compat5006.pm +#usr/lib/perl5/site_perl/5.32.1/xxxMACHINExxx-linux-thread-multi/auto/JSON +#usr/lib/perl5/site_perl/5.32.1/xxxMACHINExxx-linux-thread-multi/auto/JSON/.packlist +#usr/share/man/man3/JSON.3 +#usr/share/man/man3/JSON::backportPP.3 +#usr/share/man/man3/JSON::backportPP::Boolean.3 +#usr/share/man/man3/JSON::backportPP::Compat5005.3 +#usr/share/man/man3/JSON::backportPP::Compat5006.3 diff --git a/lfs/perl-JSON b/lfs/perl-JSON new file mode 100644 index 000000000..796c1f034 --- /dev/null +++ b/lfs/perl-JSON @@ -0,0 +1,88 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2019 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 = JSON (JavaScript Object Notation) encoder/decoder + +VER = 4.05 + +THISAPP = JSON-$(VER) +DL_FILE = ${THISAPP}.tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +PROG = perl-JSON +DEPS = +PAK_VER = 1 + +SERVICES = + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_BLAKE2 = 0ecf27b15a780833fe6cb12bece6eaa5a75de92a02f901014105d1435857867d86ccad94e2666195fc66ed41f45f8f91061a06b1e5e05f3a332803b46bb4b53e + +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 zxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && perl Makefile.PL + cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE) + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index 95e6e89db..5d79c803f 100755 --- a/make.sh +++ b/make.sh @@ -1421,6 +1421,7 @@ buildipfire() { lfsmake2 perl-XML-Parser lfsmake2 perl-Crypt-PasswdMD5 lfsmake2 perl-Net-Telnet + lfsmake2 perl-JSON lfsmake2 python3-setuptools lfsmake2 python3-inotify lfsmake2 python3-docutils