From patchwork Thu Feb 16 16:26:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 6541 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 4PHgLj6CMGz3x1n for ; Thu, 16 Feb 2023 16:26:37 +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 4PHgLj3kwXzqc; Thu, 16 Feb 2023 16:26:37 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4PHgLj1Kblz2yty; Thu, 16 Feb 2023 16:26:37 +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 4PHgLg4xJkz2xYk for ; Thu, 16 Feb 2023 16:26:35 +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 4PHgLg0YmZzRM; Thu, 16 Feb 2023 16:26:35 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1676564795; 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=yVWKAMWAbqfGyFEzllaCngTKX8n/VxpHVjk/GbgMyZc=; b=UXnuDiYpJUb16aFzo9M0JYiyGGa+PBGZf/qAOleClnxqYd3454E1Cyu9Ped/f2pffdBtKt OuAqI6/cPwsib5Cw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1676564795; 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=yVWKAMWAbqfGyFEzllaCngTKX8n/VxpHVjk/GbgMyZc=; b=nxvuwK3RpPh9eLER3KN5hve3fkqoqpYKvoQUkNBLuBQfGFXeBNoG4Txb+D2M9v5qsvh+w4 FC3IREhxj23rTKF8zMXFEFk/6MTxZq/6xu9tQD5lb/dt/rVxOFGdFKBggKpTOZ7bwfGPI7 1M+cPqNLq5TXknDYbc9s01u+CyEa+i7ZFXrOOLnKcgaAkIYuFqvbQwPdGXLEWKnJM0hl5a gfWwl6QC/lDxbmcr/j3knOd+BnUQrttIorNCqm98KV6/4T+hgZRETHejafFCqPRQxkGmoq BBcRj6ADjlrHsKP8URoL/Ha4xI4oMage9cSF6XYbXeXSA2FazomBPa6hshqbDQ== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] perl-JSON: New package Date: Thu, 16 Feb 2023 17:26:30 +0100 Message-Id: <20230216162630.1036001-1-stefan.schantl@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" Signed-off-by: Stefan Schantl --- perl-JSON/perl-JSON.nm | 48 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 perl-JSON/perl-JSON.nm diff --git a/perl-JSON/perl-JSON.nm b/perl-JSON/perl-JSON.nm new file mode 100644 index 000000000..b673ab4ca --- /dev/null +++ b/perl-JSON/perl-JSON.nm @@ -0,0 +1,48 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = perl-JSON +version = 4.10 +release = 1 +arch = noarch +thisapp = JSON-%{version} + +groups = Development/Libraries +url = http://search.cpan.org/dist/JSON/ +license = GPL+ or Artistic +summary = JSON (JavaScript Object Notation) encoder/decoder. + +description + This module is a thin wrapper for JSON::XS-compatible modules with a few + additional features. All the backend modules convert a Perl data structure + to a JSON text and vice versa. + + This module uses JSON::XS by default, and when JSON::XS is not available, + falls back on JSON::PP, which is in the Perl core since 5.14. +end + +source_dl = https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/ + +build + requires + perl(ExtUtils::MakeMaker) + perl(Test::More) + end + + build + perl Makefile.PL INSTALLDIRS=perl + make %{PARALLELISMFLAGS} + end + + test + #make test + end +end + +packages + package %{name} + filter_requires = (JSON::backportPP) + end +end