From patchwork Thu Feb 3 11:16:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 5038 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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4JqGMH4LS1z3wp0 for ; Thu, 3 Feb 2022 11:16:27 +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 4JqGMC4KL5z4X1; Thu, 3 Feb 2022 11:16:23 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4JqGMC3nqgz315x; Thu, 3 Feb 2022 11:16:23 +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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4JqGMB1HKSz2xSn for ; Thu, 3 Feb 2022 11:16:22 +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 4JqGM91zM7z1Kj; Thu, 3 Feb 2022 11:16:21 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1643886981; 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=xT8cctTS8lWfCOthsVJ2WJEDuiTbDvbnAe5XnP8EZlc=; b=8Mrfd6O73OnkP5nbghVXkXAcgPxu0gyheAFvYRbIl6lAUdeuHAlzC25CtjdfzMb7L5gXAN 5Ppk6DYgeTKrOSAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1643886981; 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=xT8cctTS8lWfCOthsVJ2WJEDuiTbDvbnAe5XnP8EZlc=; b=Fdf9f/2dTy42aqcp8e/OYXwAbscnKb/Uhy/rvba08CjYiFiKLCzz4G8IzTPBmN4DT+F2tH g+enanf5eUxKpjQitcaWco42OCVHsMCjzlJL571DkW9L1astl3CpEexpjh9OcvgcA9YtZu S+s/l49dWBeLqYVx5jcrh//rYE3lBG5kN9ClIMt8Kw3JBqjvfr805gsq4TpG2U/f41T6gm q91L2W6nz+z0vyjwSWQU8TDUf3PZlRxIfhR3hf5mjuUXEjzXMzhvmG+olf+wHuJsDpMtS/ NkJvxwNNejOWX9OPxpJiQEn1YTgVWzGl90uYcTs3vx1luPH8qJdF13QmY8wERg== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 1/8] perl-Try-Tiny: New package. Date: Thu, 3 Feb 2022 12:16:06 +0100 Message-Id: <20220203111613.13632-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 Reviewed-by: Peter Müller Reviewed-by: Adolf Belka --- config/rootfiles/common/perl-Try-Tiny | 6 ++ lfs/perl-Try-Tiny | 79 +++++++++++++++++++++++++++ make.sh | 1 + 3 files changed, 86 insertions(+) create mode 100644 config/rootfiles/common/perl-Try-Tiny create mode 100644 lfs/perl-Try-Tiny diff --git a/config/rootfiles/common/perl-Try-Tiny b/config/rootfiles/common/perl-Try-Tiny new file mode 100644 index 000000000..bb259b538 --- /dev/null +++ b/config/rootfiles/common/perl-Try-Tiny @@ -0,0 +1,6 @@ +#usr/lib/perl5/site_perl/5.32.1/Try +usr/lib/perl5/site_perl/5.32.1/Try/Tiny.pm +#usr/lib/perl5/site_perl/5.32.1/xxxMACHINExxx-linux-thread-multi/auto/Try +#usr/lib/perl5/site_perl/5.32.1/xxxMACHINExxx-linux-thread-multi/auto/Try/Tiny +#usr/lib/perl5/site_perl/5.32.1/xxxMACHINExxx-linux-thread-multi/auto/Try/Tiny/.packlist +#usr/share/man/man3/Try::Tiny.3 diff --git a/lfs/perl-Try-Tiny b/lfs/perl-Try-Tiny new file mode 100644 index 000000000..abff99afb --- /dev/null +++ b/lfs/perl-Try-Tiny @@ -0,0 +1,79 @@ +############################################################################### +# # +# 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 +VER = 0.31 + +THISAPP = Try-Tiny-$(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)_MD5 = 993a29ee8a03c9bd9c2f7c53d1082a03 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# 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 378cd35eb..4ef9edb1f 100755 --- a/make.sh +++ b/make.sh @@ -1278,6 +1278,7 @@ buildipfire() { lfsmake2 perl-Apache-Htpasswd lfsmake2 perl-Parse-Yapp lfsmake2 perl-Data-UUID + lfsmake2 perl-Try-Tiny lfsmake2 gnupg lfsmake2 hdparm lfsmake2 sdparm From patchwork Thu Feb 3 11:16:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 5039 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 4JqGMH4lBSz3xfQ for ; Thu, 3 Feb 2022 11:16:27 +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 4JqGMD0fjnz4k4; Thu, 3 Feb 2022 11:16:24 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4JqGMC4cvvz2yDF; Thu, 3 Feb 2022 11:16:23 +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 4JqGMB2l5dz2xSn for ; Thu, 3 Feb 2022 11:16:22 +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 4JqGM973jQz1gD; Thu, 3 Feb 2022 11:16:21 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1643886982; 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=9en+0gc4QU8o9C+8Wb49J4118NbZ2zToOt1wjZrdykk=; b=EoyiBNhy1j1ZoinPK0nPE14LV7Pw21tKw+a/vqh6PPNqo23j9pqrBd6+CHL4VLmggUg7WK XuSJbC1L0qyWOHBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1643886982; 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=9en+0gc4QU8o9C+8Wb49J4118NbZ2zToOt1wjZrdykk=; b=FHvQG/or2pBwbXKnV5vEr5fiM/JaD5cE0TTZCUA1h3LhfXXlCcFF0bTd49djuRNSoMWQJa i1sSasjKKRGzqE13fmi/gv14VdCqbzwkude0NB6diRhZzvTN/Ogk4Wc8cbhE1C0qy+leCw rOh0sjGEFRwEsGPowdaG1Y6sEwa307uuPAZyjlgw3OI1IHhZ7XjMwyosxgWN1CP6zirZP/ 71PqNXoQbMuwmKJuuQGgzisMh+Q/6BPHDdoak4hZizr48T95uwpE1X14LRA0iF6slOG43s GZApLXgku7nJ15c/stKA0suAmkL2ZSQQh6dAwah7qOd5vEQ809nm3EjAFqB2jg== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 2/8] perl-HTTP-Message: New package. Date: Thu, 3 Feb 2022 12:16:07 +0100 Message-Id: <20220203111613.13632-2-stefan.schantl@ipfire.org> In-Reply-To: <20220203111613.13632-1-stefan.schantl@ipfire.org> References: <20220203111613.13632-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 Reviewed-by: Peter Müller Reviewed-by: Adolf Belka --- config/rootfiles/common/perl-HTTP-Message | 26 ++++++++ lfs/perl-HTTP-Message | 79 +++++++++++++++++++++++ make.sh | 1 + 3 files changed, 106 insertions(+) create mode 100644 config/rootfiles/common/perl-HTTP-Message create mode 100644 lfs/perl-HTTP-Message diff --git a/config/rootfiles/common/perl-HTTP-Message b/config/rootfiles/common/perl-HTTP-Message new file mode 100644 index 000000000..d52b1dea1 --- /dev/null +++ b/config/rootfiles/common/perl-HTTP-Message @@ -0,0 +1,26 @@ +#usr/lib/perl5/site_perl/5.32.1/HTTP +usr/lib/perl5/site_perl/5.32.1/HTTP/Config.pm +#usr/lib/perl5/site_perl/5.32.1/HTTP/Headers +usr/lib/perl5/site_perl/5.32.1/HTTP/Headers.pm +usr/lib/perl5/site_perl/5.32.1/HTTP/Headers/Auth.pm +usr/lib/perl5/site_perl/5.32.1/HTTP/Headers/ETag.pm +usr/lib/perl5/site_perl/5.32.1/HTTP/Headers/Util.pm +usr/lib/perl5/site_perl/5.32.1/HTTP/Message.pm +#usr/lib/perl5/site_perl/5.32.1/HTTP/Request +usr/lib/perl5/site_perl/5.32.1/HTTP/Request.pm +usr/lib/perl5/site_perl/5.32.1/HTTP/Request/Common.pm +usr/lib/perl5/site_perl/5.32.1/HTTP/Response.pm +usr/lib/perl5/site_perl/5.32.1/HTTP/Status.pm +#usr/lib/perl5/site_perl/5.32.1/xxxMACHINExxx-linux-thread-multi/auto/HTTP +#usr/lib/perl5/site_perl/5.32.1/xxxMACHINExxx-linux-thread-multi/auto/HTTP/Message +#usr/lib/perl5/site_perl/5.32.1/xxxMACHINExxx-linux-thread-multi/auto/HTTP/Message/.packlist +#usr/share/man/man3/HTTP::Config.3 +#usr/share/man/man3/HTTP::Headers.3 +#usr/share/man/man3/HTTP::Headers::Auth.3 +#usr/share/man/man3/HTTP::Headers::ETag.3 +#usr/share/man/man3/HTTP::Headers::Util.3 +#usr/share/man/man3/HTTP::Message.3 +#usr/share/man/man3/HTTP::Request.3 +#usr/share/man/man3/HTTP::Request::Common.3 +#usr/share/man/man3/HTTP::Response.3 +#usr/share/man/man3/HTTP::Status.3 diff --git a/lfs/perl-HTTP-Message b/lfs/perl-HTTP-Message new file mode 100644 index 000000000..8fc6cc36c --- /dev/null +++ b/lfs/perl-HTTP-Message @@ -0,0 +1,79 @@ +############################################################################### +# # +# 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 +VER = 6.36 + +THISAPP = HTTP-Message-$(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)_MD5 = e847fb3e297e740080ab6fd1ac127f7f + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# 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 4ef9edb1f..3719ef233 100755 --- a/make.sh +++ b/make.sh @@ -1279,6 +1279,7 @@ buildipfire() { lfsmake2 perl-Parse-Yapp lfsmake2 perl-Data-UUID lfsmake2 perl-Try-Tiny + lfsmake2 perl-HTTP-Message lfsmake2 gnupg lfsmake2 hdparm lfsmake2 sdparm From patchwork Thu Feb 3 11:16:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 5040 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 4JqGMH5snmz3xff for ; Thu, 3 Feb 2022 11:16:27 +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 4JqGMD0bxvz4k1; Thu, 3 Feb 2022 11:16:24 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4JqGMC51Xfz323f; Thu, 3 Feb 2022 11:16:23 +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 4JqGMB6w7mz2yDF for ; Thu, 3 Feb 2022 11:16:22 +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 4JqGMB2cDLz2Yk; Thu, 3 Feb 2022 11:16:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1643886982; 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=BBkuRXWqS0yc59Vs9axJw1TQ+WGIEWQmSG82M4YEeK0=; b=mMFX3IPG1gtNOJxIUA3Qk8HozeupQeCDOD0F6cd/jTyRVmhbKBwLZrmPpTX8L3oIczNlL6 QOe80sty6GHpC+C/ZWq9WlSouIIkcGv8grcPP9bPNvsPpOiPvv8XDtEi6JOIhW80bSzC3g 2hqSBTms5VYXTc/HdxoOIObyE/t/zApkShr6KF+rwbAROg03uS2Z09IhAScnMjzLYN52cp QXxbEQvRwXc8beXb7Sszl9Z6BpwVlPRUdoLZrNW7lIrVlVVPHrvRvWCGacLauG9OG1JSGt iecA61VnrXGafEk1ri1qHKch5xXowr4wRgY6Ohty2nQO+5zjimxysAAUxKINLw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1643886982; 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=BBkuRXWqS0yc59Vs9axJw1TQ+WGIEWQmSG82M4YEeK0=; b=1xXe0kSNkGttm9fkjgwTrjSj+mAUmWrOzv3hUuSyYeiplap+jkbtImJURybcWb6rBeuycB 4p7+H28OoLta3QAw== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 3/8] libwww-perl: Update to 6.61. Date: Thu, 3 Feb 2022 12:16:08 +0100 Message-Id: <20220203111613.13632-3-stefan.schantl@ipfire.org> In-Reply-To: <20220203111613.13632-1-stefan.schantl@ipfire.org> References: <20220203111613.13632-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 Reviewed-by: Peter Müller Reviewed-by: Adolf Belka --- config/rootfiles/common/libwww-perl | 80 ++++------------------------- lfs/libwww-perl | 6 +-- 2 files changed, 14 insertions(+), 72 deletions(-) diff --git a/config/rootfiles/common/libwww-perl b/config/rootfiles/common/libwww-perl index a3f79e4d7..38edd2f48 100644 --- a/config/rootfiles/common/libwww-perl +++ b/config/rootfiles/common/libwww-perl @@ -1,50 +1,23 @@ -#usr/lib/perl5/site_perl/5.32.1/Bundle -usr/lib/perl5/site_perl/5.32.1/Bundle/LWP.pm -#usr/lib/perl5/site_perl/5.32.1/File -usr/lib/perl5/site_perl/5.32.1/File/Listing.pm -usr/lib/perl5/site_perl/5.32.1/HTML/Form.pm -#usr/lib/perl5/site_perl/5.32.1/HTTP -#usr/lib/perl5/site_perl/5.32.1/HTTP/Cookies -usr/lib/perl5/site_perl/5.32.1/HTTP/Cookies.pm -usr/lib/perl5/site_perl/5.32.1/HTTP/Cookies/Microsoft.pm -usr/lib/perl5/site_perl/5.32.1/HTTP/Cookies/Netscape.pm -usr/lib/perl5/site_perl/5.32.1/HTTP/Daemon.pm -usr/lib/perl5/site_perl/5.32.1/HTTP/Date.pm -#usr/lib/perl5/site_perl/5.32.1/HTTP/Headers -usr/lib/perl5/site_perl/5.32.1/HTTP/Headers.pm -usr/lib/perl5/site_perl/5.32.1/HTTP/Headers/Auth.pm -usr/lib/perl5/site_perl/5.32.1/HTTP/Headers/ETag.pm -usr/lib/perl5/site_perl/5.32.1/HTTP/Headers/Util.pm -usr/lib/perl5/site_perl/5.32.1/HTTP/Message.pm -usr/lib/perl5/site_perl/5.32.1/HTTP/Negotiate.pm -#usr/lib/perl5/site_perl/5.32.1/HTTP/Request -usr/lib/perl5/site_perl/5.32.1/HTTP/Request.pm -usr/lib/perl5/site_perl/5.32.1/HTTP/Request/Common.pm -usr/lib/perl5/site_perl/5.32.1/HTTP/Response.pm -usr/lib/perl5/site_perl/5.32.1/HTTP/Status.pm #usr/lib/perl5/site_perl/5.32.1/LWP usr/lib/perl5/site_perl/5.32.1/LWP.pm -#usr/lib/perl5/site_perl/5.32.1/LWP/Authen +usr/lib/perl5/site_perl/5.32.1/LWP/Authen usr/lib/perl5/site_perl/5.32.1/LWP/Authen/Basic.pm usr/lib/perl5/site_perl/5.32.1/LWP/Authen/Digest.pm usr/lib/perl5/site_perl/5.32.1/LWP/Authen/Ntlm.pm usr/lib/perl5/site_perl/5.32.1/LWP/ConnCache.pm +#usr/lib/perl5/site_perl/5.32.1/LWP/Debug usr/lib/perl5/site_perl/5.32.1/LWP/Debug.pm +usr/lib/perl5/site_perl/5.32.1/LWP/Debug/TraceHTTP.pm usr/lib/perl5/site_perl/5.32.1/LWP/DebugFile.pm -usr/lib/perl5/site_perl/5.32.1/LWP/MediaTypes.pm usr/lib/perl5/site_perl/5.32.1/LWP/MemberMixin.pm #usr/lib/perl5/site_perl/5.32.1/LWP/Protocol usr/lib/perl5/site_perl/5.32.1/LWP/Protocol.pm -usr/lib/perl5/site_perl/5.32.1/LWP/Protocol/GHTTP.pm usr/lib/perl5/site_perl/5.32.1/LWP/Protocol/cpan.pm usr/lib/perl5/site_perl/5.32.1/LWP/Protocol/data.pm usr/lib/perl5/site_perl/5.32.1/LWP/Protocol/file.pm usr/lib/perl5/site_perl/5.32.1/LWP/Protocol/ftp.pm usr/lib/perl5/site_perl/5.32.1/LWP/Protocol/gopher.pm usr/lib/perl5/site_perl/5.32.1/LWP/Protocol/http.pm -usr/lib/perl5/site_perl/5.32.1/LWP/Protocol/http10.pm -usr/lib/perl5/site_perl/5.32.1/LWP/Protocol/https.pm -usr/lib/perl5/site_perl/5.32.1/LWP/Protocol/https10.pm usr/lib/perl5/site_perl/5.32.1/LWP/Protocol/loopback.pm usr/lib/perl5/site_perl/5.32.1/LWP/Protocol/mailto.pm usr/lib/perl5/site_perl/5.32.1/LWP/Protocol/nntp.pm @@ -52,51 +25,20 @@ usr/lib/perl5/site_perl/5.32.1/LWP/Protocol/nogo.pm usr/lib/perl5/site_perl/5.32.1/LWP/RobotUA.pm usr/lib/perl5/site_perl/5.32.1/LWP/Simple.pm usr/lib/perl5/site_perl/5.32.1/LWP/UserAgent.pm -usr/lib/perl5/site_perl/5.32.1/LWP/media.types -#usr/lib/perl5/site_perl/5.32.1/Net -#usr/lib/perl5/site_perl/5.32.1/Net/HTTP -usr/lib/perl5/site_perl/5.32.1/Net/HTTP.pm -usr/lib/perl5/site_perl/5.32.1/Net/HTTP/Methods.pm -usr/lib/perl5/site_perl/5.32.1/Net/HTTP/NB.pm -usr/lib/perl5/site_perl/5.32.1/Net/HTTPS.pm -#usr/lib/perl5/site_perl/5.32.1/WWW -#usr/lib/perl5/site_perl/5.32.1/WWW/RobotRules -usr/lib/perl5/site_perl/5.32.1/WWW/RobotRules.pm -usr/lib/perl5/site_perl/5.32.1/WWW/RobotRules/AnyDBM_File.pm -#usr/lib/perl5/site_perl/5.32.1/xxxMACHINExxx-linux-thread-multi/auto/libwww-perl -#usr/lib/perl5/site_perl/5.32.1/xxxMACHINExxx-linux-thread-multi/auto/libwww-perl/.packlist -#usr/lib/perl5/site_perl/5.32.1/lwpcook.pod -#usr/lib/perl5/site_perl/5.32.1/lwptut.pod -#usr/share/man/man3/Bundle::LWP.3 -#usr/share/man/man3/File::Listing.3 -#usr/share/man/man3/HTML::Form.3 -#usr/share/man/man3/HTTP::Cookies.3 -#usr/share/man/man3/HTTP::Cookies::Microsoft.3 -#usr/share/man/man3/HTTP::Cookies::Netscape.3 -#usr/share/man/man3/HTTP::Daemon.3 -#usr/share/man/man3/HTTP::Date.3 -#usr/share/man/man3/HTTP::Headers.3 -#usr/share/man/man3/HTTP::Headers::Util.3 -#usr/share/man/man3/HTTP::Message.3 -#usr/share/man/man3/HTTP::Negotiate.3 -#usr/share/man/man3/HTTP::Request.3 -#usr/share/man/man3/HTTP::Request::Common.3 -#usr/share/man/man3/HTTP::Response.3 -#usr/share/man/man3/HTTP::Status.3 +#usr/lib/perl5/site_perl/5.32.1/libwww +#usr/lib/perl5/site_perl/5.32.1/libwww/lwpcook.pod +#usr/lib/perl5/site_perl/5.32.1/libwww/lwptut.pod +#usr/lib/perl5/site_perl/5.32.1/xxxMACHINExxx-linux-thread-multi/auto/libwww +#usr/lib/perl5/site_perl/5.32.1/xxxMACHINExxx-linux-thread-multi/auto/libwww/perl +#usr/lib/perl5/site_perl/5.32.1/xxxMACHINExxx-linux-thread-multi/auto/libwww/perl/.packlist #usr/share/man/man3/LWP.3 #usr/share/man/man3/LWP::Authen::Ntlm.3 #usr/share/man/man3/LWP::ConnCache.3 #usr/share/man/man3/LWP::Debug.3 -#usr/share/man/man3/LWP::DebugFile.3 -#usr/share/man/man3/LWP::MediaTypes.3 #usr/share/man/man3/LWP::MemberMixin.3 #usr/share/man/man3/LWP::Protocol.3 #usr/share/man/man3/LWP::RobotUA.3 #usr/share/man/man3/LWP::Simple.3 #usr/share/man/man3/LWP::UserAgent.3 -#usr/share/man/man3/Net::HTTP.3 -#usr/share/man/man3/Net::HTTP::NB.3 -#usr/share/man/man3/WWW::RobotRules.3 -#usr/share/man/man3/WWW::RobotRules::AnyDBM_File.3 -#usr/share/man/man3/lwpcook.3 -#usr/share/man/man3/lwptut.3 +#usr/share/man/man3/libwww::lwpcook.3 +#usr/share/man/man3/libwww::lwptut.3 diff --git a/lfs/libwww-perl b/lfs/libwww-perl index 536a49769..4943ecd06 100644 --- a/lfs/libwww-perl +++ b/lfs/libwww-perl @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2018 IPFire Team # +# Copyright (C) 2007-2020 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 # @@ -24,7 +24,7 @@ include Config -VER = 5.803 +VER = 6.61 THISAPP = libwww-perl-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 3345d5f15a4f42350847254141725c8f +$(DL_FILE)_MD5 = 57223812e46c8af53ef39b4358a05e5a install : $(TARGET) From patchwork Thu Feb 3 11:16:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 5042 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 4JqGMT18zZz3wp0 for ; Thu, 3 Feb 2022 11:16: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 4JqGMF0CY5z4YT; Thu, 3 Feb 2022 11:16:25 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4JqGMD72tsz30JC; Thu, 3 Feb 2022 11:16:24 +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 4JqGMC3Gtfz2yDF for ; Thu, 3 Feb 2022 11:16:23 +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 4JqGMC08ZMz1gD; Thu, 3 Feb 2022 11:16:22 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1643886983; 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=Hh5eYleTdBzEeeoP6l9ji97tVG4oTkBbYD+/0cwlK3c=; b=gUOQf4Op09RcZYmlDUEah4FtAGXx4hEZ0tFjcP6RDX7Qi7szzsFdytb6g965rJNqaSsmKh NOJq869E9pmeArAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1643886983; 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=Hh5eYleTdBzEeeoP6l9ji97tVG4oTkBbYD+/0cwlK3c=; b=sPRRqcbjfc7NSuNjylvJIRfIaFYUSBe60Kl/7XDGGFCWsnsP83WHoKgKtamU7g3m2lwJbU kStqT/xeWJBJXg4POz0c1ZSdbBHIZM2A3amsdE739RDN/Np4A3S3G45qu8OHAApcZKl+cb EmnOExaPR+HaZJFF20RIzzDFnbltrQgRyX6KHwL307EXEw/dZP2m6HkHNqW5UKRf2sdceo DkNKt7n1dKMpzTfj4NYX1oRT3KyodVLTXjFmnym//04orsljo1AzD5cIMTCYs2iKLoJsnn 1vMo58XavUIe/xGIdGPAHxq74HbaURz7jHt6mJ3SWD+FZPI3T7p6fsjYZcUgmg== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 4/8] perl-HTTP-Date: New package. Date: Thu, 3 Feb 2022 12:16:09 +0100 Message-Id: <20220203111613.13632-4-stefan.schantl@ipfire.org> In-Reply-To: <20220203111613.13632-1-stefan.schantl@ipfire.org> References: <20220203111613.13632-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 Reviewed-by: Peter Müller Reviewed-by: Adolf Belka --- config/rootfiles/common/perl-HTTP-Date | 4 ++ lfs/perl-HTTP-Date | 79 ++++++++++++++++++++++++++ make.sh | 1 + 3 files changed, 84 insertions(+) create mode 100644 config/rootfiles/common/perl-HTTP-Date create mode 100644 lfs/perl-HTTP-Date diff --git a/config/rootfiles/common/perl-HTTP-Date b/config/rootfiles/common/perl-HTTP-Date new file mode 100644 index 000000000..75c250b7b --- /dev/null +++ b/config/rootfiles/common/perl-HTTP-Date @@ -0,0 +1,4 @@ +usr/lib/perl5/site_perl/5.32.1/HTTP/Date.pm +#usr/lib/perl5/site_perl/5.32.1/xxxMACHINExxx-linux-thread-multi/auto/HTTP/Date +#usr/lib/perl5/site_perl/5.32.1/xxxMACHINExxx-linux-thread-multi/auto/HTTP/Date/.packlist +#usr/share/man/man3/HTTP::Date.3 diff --git a/lfs/perl-HTTP-Date b/lfs/perl-HTTP-Date new file mode 100644 index 000000000..7e3571b3a --- /dev/null +++ b/lfs/perl-HTTP-Date @@ -0,0 +1,79 @@ +############################################################################### +# # +# 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 +VER = 6.05 + +THISAPP = HTTP-Date-$(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)_MD5 = 2ecbb3aedf6aef062605191813ca3027 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# 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 3719ef233..5a2650402 100755 --- a/make.sh +++ b/make.sh @@ -1280,6 +1280,7 @@ buildipfire() { lfsmake2 perl-Data-UUID lfsmake2 perl-Try-Tiny lfsmake2 perl-HTTP-Message + lfsmake2 perl-HTTP-Date lfsmake2 gnupg lfsmake2 hdparm lfsmake2 sdparm From patchwork Thu Feb 3 11:16:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 5041 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 4JqGMN4yMFz3wp0 for ; Thu, 3 Feb 2022 11:16:32 +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 4JqGMF19Wxz28p; Thu, 3 Feb 2022 11:16:25 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4JqGMF1DL9z2yRl; Thu, 3 Feb 2022 11:16:25 +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 4JqGMC6p1Cz30JB for ; Thu, 3 Feb 2022 11:16:23 +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 4JqGMC38L9z39c; Thu, 3 Feb 2022 11:16:23 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1643886983; 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=UZzkxYfdNHX652Jc4eg9hAn0Qctn8R0HLAiPXqpSfBM=; b=ev1uwDMgfai2LaIr8jXmaDlViyrBlo3vsBhl6CcZE8xPbl4j2GikJ3PVWoos9+stVYflTI T8iD324iGd5dp2Aw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1643886983; 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=UZzkxYfdNHX652Jc4eg9hAn0Qctn8R0HLAiPXqpSfBM=; b=HkhdKogaT1tiojPDuF4gHoW3mjvv4a32KTPG7YA6hBTVc2ZykTr+fu6/zrRpPRXAHbUxT+ 0hgVAuVX0ACxW5+Tb+Pw6/6JwrnxPikNZ2lHNjRXeNytSCusnl6L0WIbEV17VtRu33MW/6 puvhSEM+E35qEpCCDjbE9cKEe3DyT0qujSGPIK4M9CZ9QbrMOLo0n82+GygxUouIihhoXU NLlY8k09acfaZiMJN0AMFAzAkhvg4z6JK3+SqEJdqJn9AdOElO/WF3Uy1DkjHWo7ytTf4/ OLImDTtdztcJSKZzLiH+mVHsPiFvy7/s6yy4MuhtJKAQOpurvQzkfxs0JOeTig== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 5/8] perl-LWP-Protocol-https: New package. Date: Thu, 3 Feb 2022 12:16:10 +0100 Message-Id: <20220203111613.13632-5-stefan.schantl@ipfire.org> In-Reply-To: <20220203111613.13632-1-stefan.schantl@ipfire.org> References: <20220203111613.13632-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 Reviewed-by: Peter Müller Reviewed-by: Adolf Belka --- .../rootfiles/common/perl-LWP-Protocol-https | 6 ++ lfs/perl-LWP-Protocol-https | 79 +++++++++++++++++++ make.sh | 1 + 3 files changed, 86 insertions(+) create mode 100644 config/rootfiles/common/perl-LWP-Protocol-https create mode 100644 lfs/perl-LWP-Protocol-https diff --git a/config/rootfiles/common/perl-LWP-Protocol-https b/config/rootfiles/common/perl-LWP-Protocol-https new file mode 100644 index 000000000..9457d27e6 --- /dev/null +++ b/config/rootfiles/common/perl-LWP-Protocol-https @@ -0,0 +1,6 @@ +usr/lib/perl5/site_perl/5.32.1/LWP/Protocol/https.pm +#usr/lib/perl5/site_perl/5.32.1/xxxMACHINExxx-linux-thread-multi/auto/LWP +#usr/lib/perl5/site_perl/5.32.1/xxxMACHINExxx-linux-thread-multi/auto/LWP/Protocol +#usr/lib/perl5/site_perl/5.32.1/xxxMACHINExxx-linux-thread-multi/auto/LWP/Protocol/https +#usr/lib/perl5/site_perl/5.32.1/xxxMACHINExxx-linux-thread-multi/auto/LWP/Protocol/https/.packlist +#usr/share/man/man3/LWP::Protocol::https.3 diff --git a/lfs/perl-LWP-Protocol-https b/lfs/perl-LWP-Protocol-https new file mode 100644 index 000000000..a8cb3e07c --- /dev/null +++ b/lfs/perl-LWP-Protocol-https @@ -0,0 +1,79 @@ +############################################################################### +# # +# 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 +VER = 6.10 + +THISAPP = LWP-Protocol-https-$(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)_MD5 = cf64e4bc57a9266ac4343cdf0808c5c8 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# 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 5a2650402..1fcb1067c 100755 --- a/make.sh +++ b/make.sh @@ -1305,6 +1305,7 @@ buildipfire() { lfsmake2 Digest-SHA1 lfsmake2 Digest-HMAC lfsmake2 libwww-perl + lfsmake2 perl-LWP-Protocol-https lfsmake2 Net-DNS lfsmake2 Net-IPv4Addr lfsmake2 Net_SSLeay From patchwork Thu Feb 3 11:16:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 5043 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 4JqGMV32MDz3xfQ for ; Thu, 3 Feb 2022 11:16:38 +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 4JqGMG1k7Hz5Ll; Thu, 3 Feb 2022 11:16:26 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4JqGMG1lm8z2xyg; Thu, 3 Feb 2022 11:16:26 +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 4JqGMF1VQtz2ysy for ; Thu, 3 Feb 2022 11:16:25 +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 4JqGMC6bTzz1gD; Thu, 3 Feb 2022 11:16:23 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1643886984; 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=1GxaELKKHZ23+o1JweaGOy3yvywZUxuO8cOR4Ci2Quk=; b=WIXr7c+iKhzccdrL0vGIXy4uT9s9Mye+moJgTqCmEACxElULOpc+r4mQTuEITlC2urZqOg Dvwqp26SzROuKaCA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1643886984; 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=1GxaELKKHZ23+o1JweaGOy3yvywZUxuO8cOR4Ci2Quk=; b=uc8heE64lLWLtZ0WgfRqArvSJe2oI+UklDc2WGngGZVC0+NEHom+KAFExvYIW8ARTq6L0G v12k3r2QUjf2wl8E+DFVjmfIMpUhm8zM8VeGvVviyjfoYg03drtBcPIimBLiG1/Qp8B2Qg dqiLgcsdwzNpAMIbu/XF+qC0gkSh3HuvzLbknzWOQP427tn4Yv+tIe5lPzsivrU9ePS09p rM4S86N9URG/015sRToaMC0uPorAjuGEBBzhFXmP0h+UuyqbVDvZNeRts/Npf9bJWNL4Li RWH45tIvUcoME2/QsUBkmjMQ4LQdkD2VukvXZQbBkeh6H4NUZaSugAZ+VdNNNQ== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 6/8] perl-Net-HTTP: New package. Date: Thu, 3 Feb 2022 12:16:11 +0100 Message-Id: <20220203111613.13632-6-stefan.schantl@ipfire.org> In-Reply-To: <20220203111613.13632-1-stefan.schantl@ipfire.org> References: <20220203111613.13632-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 Reviewed-by: Peter Müller Reviewed-by: Adolf Belka --- config/rootfiles/common/perl-Net-HTTP | 11 ++++ lfs/perl-Net-HTTP | 79 +++++++++++++++++++++++++++ make.sh | 1 + 3 files changed, 91 insertions(+) create mode 100644 config/rootfiles/common/perl-Net-HTTP create mode 100644 lfs/perl-Net-HTTP diff --git a/config/rootfiles/common/perl-Net-HTTP b/config/rootfiles/common/perl-Net-HTTP new file mode 100644 index 000000000..4c09cd61f --- /dev/null +++ b/config/rootfiles/common/perl-Net-HTTP @@ -0,0 +1,11 @@ +#usr/lib/perl5/site_perl/5.32.1/Net/HTTP +usr/lib/perl5/site_perl/5.32.1/Net/HTTP.pm +usr/lib/perl5/site_perl/5.32.1/Net/HTTP/Methods.pm +usr/lib/perl5/site_perl/5.32.1/Net/HTTP/NB.pm +usr/lib/perl5/site_perl/5.32.1/Net/HTTPS.pm +#usr/lib/perl5/site_perl/5.32.1/xxxMACHINExxx-linux-thread-multi/auto/Net/HTTP +#usr/lib/perl5/site_perl/5.32.1/xxxMACHINExxx-linux-thread-multi/auto/Net/HTTP/.packlist +#usr/share/man/man3/Net::HTTP.3 +#usr/share/man/man3/Net::HTTP::Methods.3 +#usr/share/man/man3/Net::HTTP::NB.3 +#usr/share/man/man3/Net::HTTPS.3 diff --git a/lfs/perl-Net-HTTP b/lfs/perl-Net-HTTP new file mode 100644 index 000000000..a37c169f3 --- /dev/null +++ b/lfs/perl-Net-HTTP @@ -0,0 +1,79 @@ +############################################################################### +# # +# 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 +VER = 6.22 + +THISAPP = Net-HTTP-$(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)_MD5 = 1d46019fb8559070a5ec1d838b690657 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# 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 1fcb1067c..f3e2c9627 100755 --- a/make.sh +++ b/make.sh @@ -1306,6 +1306,7 @@ buildipfire() { lfsmake2 Digest-HMAC lfsmake2 libwww-perl lfsmake2 perl-LWP-Protocol-https + lfsmake2 perl-Net-HTTP lfsmake2 Net-DNS lfsmake2 Net-IPv4Addr lfsmake2 Net_SSLeay From patchwork Thu Feb 3 11:16:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 5044 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 4JqGMX4r76z3wp0 for ; Thu, 3 Feb 2022 11:16:40 +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 4JqGMJ1w0Bz2KY; Thu, 3 Feb 2022 11:16:28 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4JqGMJ26pvz30JB; Thu, 3 Feb 2022 11:16: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 (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 4JqGMH0516z2xFK for ; Thu, 3 Feb 2022 11:16:27 +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 4JqGMD26Mbz4nW; Thu, 3 Feb 2022 11:16:24 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1643886984; 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=C3OTNbSPLxmlCphwXjYJHIrGXyGfukqxq7XP+okFJtk=; b=qFIVoc4XdUxljB1ljsWyMkBJRABf4oPGBD5S0c3Kdwquo8k/7PdMiXRcu1KdR/GM0rju5E wTyse8JwfVGjwMDw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1643886984; 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=C3OTNbSPLxmlCphwXjYJHIrGXyGfukqxq7XP+okFJtk=; b=deurUON4RkY2Zhx2n3H/ksrlTO9msm8dTeCunM/ggsCqrkg5Qe7/b/82Pm82/bYhJYmqb8 yANbpv8NhSkcH0iSx6T9a+fsaeFOTtaWlGoSF4RebCgZ6OhvUPO/203LJ/A+60YHLpo5JA p7Sbj/+g442MjD/Sq6itSQvMlAj3LdUKOjn/dJQkC7G9fkGTrx5JClzzKRhcz/uFU57xwX Mb2ivPE5quwWhOY+0ys3DnzACSpLhBYd9EHDA62iUHiOdw+4weV7EPXKH8Dnfq1LffBaSg xXWGas0jVU8KgsxkKxI1KAzgZd/zODAXdom6xYZivAGyDWZu2nBOjUL3z9WLNw== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 7/8] ids-functions.pl: Adjust code to deal with new LWP::UserAgent. Date: Thu, 3 Feb 2022 12:16:12 +0100 Message-Id: <20220203111613.13632-7-stefan.schantl@ipfire.org> In-Reply-To: <20220203111613.13632-1-stefan.schantl@ipfire.org> References: <20220203111613.13632-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 Reviewed-by: Peter Müller Reviewed-by: Adolf Belka --- config/cfgroot/ids-functions.pl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/config/cfgroot/ids-functions.pl b/config/cfgroot/ids-functions.pl index 74d55def6..bf02bcbaa 100644 --- a/config/cfgroot/ids-functions.pl +++ b/config/cfgroot/ids-functions.pl @@ -281,7 +281,15 @@ sub downloadruleset ($) { use LWP::UserAgent; # Init the download module. - my $downloader = LWP::UserAgent->new; + # + # Request SSL hostname verification and specify path + # to the CA file. + my $downloader = LWP::UserAgent->new( + ssl_opts => { + SSL_ca_file => '/etc/ssl/cert.pem', + verify_hostname => 1, + } + ); # Set timeout to 10 seconds. $downloader->timeout(10); From patchwork Thu Feb 3 11:16:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 5045 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 4JqGMZ5n7Pz3wp0 for ; Thu, 3 Feb 2022 11:16:42 +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 4JqGMK2N3Nz1gD; Thu, 3 Feb 2022 11:16:29 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4JqGMK2bB6z30JB; Thu, 3 Feb 2022 11:16:29 +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 4JqGMH6blSz2xyg for ; Thu, 3 Feb 2022 11:16:27 +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 4JqGMF2lzZz5Gg; Thu, 3 Feb 2022 11:16:25 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1643886985; 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=lfBwICiA5+Uq2cs/3aTYW5Ud0CUpRBC8wZNxsvND6ao=; b=a3mkGc4RVPgybCg1Ynr9yRHAYQjoBHXzthjWjjoxbyVmkUJPG/7XsrFcL7aGKtvDBV2NVe P7TniR62s32x9aCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1643886985; 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=lfBwICiA5+Uq2cs/3aTYW5Ud0CUpRBC8wZNxsvND6ao=; b=mHHLL/nGvXDwfqpwJABDbo3NU2QjSdwFX0ua7TfkWVCf3Y7bHuQOg+YqY3JCNCwNV/TIhu C4T55YahzoQCBLbGSyOEzJ6mvV+lJ8bE3KrBfgr7hPqZ1+GZf254AU9ea9SGT98ViFp0pa /dyOCodG+eAKbjF4cXjbBlarPqIJ6i/5fXVCu2QqD22l1Y30aQinJkB/XlaAOkdNCxdziN CVFJLzRJ6c0W8T6qKvzGShcb027VIuaiJfvFGtvUE2nN1wHkGj1XdJvNkq9vjaFegbhy4X XbplWRqjelnTpg/T9XyXO5c0cg/jRU3M/gHTH6/dYaPvKu78ztAdEWmkuqhL7g== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 8/8] pakfire: Adjust code to deal with new LWP::UserAgent. Date: Thu, 3 Feb 2022 12:16:13 +0100 Message-Id: <20220203111613.13632-8-stefan.schantl@ipfire.org> In-Reply-To: <20220203111613.13632-1-stefan.schantl@ipfire.org> References: <20220203111613.13632-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 Reviewed-by: Peter Müller Reviewed-by: Adolf Belka --- src/pakfire/lib/functions.pl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/pakfire/lib/functions.pl b/src/pakfire/lib/functions.pl index 2f34763d5..37b930080 100644 --- a/src/pakfire/lib/functions.pl +++ b/src/pakfire/lib/functions.pl @@ -155,7 +155,14 @@ sub fetchfile { logger("DOWNLOAD INFO: Host: $host ($proto) - File: $file"); - my $ua = LWP::UserAgent->new; + # Init LWP::UserAgent, request SSL hostname verification + # and specify CA file. + my $ua = LWP::UserAgent->new( + ssl_opts => { + SSL_ca_file => '/etc/ssl/cert.pem', + verify_hostname => 1, + } + ); $ua->agent("Pakfire/$Conf::version"); $ua->timeout(20);