From patchwork Fri Aug 20 21:48:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Trofimovich X-Patchwork-Id: 32217 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1BDD927BC78; Fri, 20 Aug 2021 22:49:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 99F3E27BC6B for ; Fri, 20 Aug 2021 22:49:12 +0100 (BST) Received: from localhost ([::1]:56256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHCNz-0004pn-Kt for patchwork@mira.cbaines.net; Fri, 20 Aug 2021 17:49:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHCNq-0004pd-PH for guix-patches@gnu.org; Fri, 20 Aug 2021 17:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52319) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mHCNq-0001yf-7h for guix-patches@gnu.org; Fri, 20 Aug 2021 17:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mHCNq-0001v7-3q for guix-patches@gnu.org; Fri, 20 Aug 2021 17:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50114] [PATCH] gnu: mc: Bump up to 4.8.27 Resent-From: Sergei Trofimovich Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 20 Aug 2021 21:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50114 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zimoun Cc: 50114@debbugs.gnu.org Received: via spool by 50114-submit@debbugs.gnu.org id=B50114.16294961107344 (code B ref 50114); Fri, 20 Aug 2021 21:49:02 +0000 Received: (at 50114) by debbugs.gnu.org; 20 Aug 2021 21:48:30 +0000 Received: from localhost ([127.0.0.1]:35632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHCNJ-0001uO-KE for submit@debbugs.gnu.org; Fri, 20 Aug 2021 17:48:29 -0400 Received: from mail-wr1-f43.google.com ([209.85.221.43]:41842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHCNH-0001uA-G0 for 50114@debbugs.gnu.org; Fri, 20 Aug 2021 17:48:28 -0400 Received: by mail-wr1-f43.google.com with SMTP id x10so16107058wrt.8 for <50114@debbugs.gnu.org>; Fri, 20 Aug 2021 14:48:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version; bh=0kgMopo4elwO3MuX0FSW8ceRDVttin84CqP0R+f9bDI=; b=tO7jZdMR8EPA8q9PkS9353ZuRO3CrxF2aEinIba8QQQcPaG04/SHpUlJqJ6xd377U3 UnH04WkA8gY26lwSq5zacSnro8jyiS5W4g/Ps6dmsvcyvoKvQBf20ua/A0kSq8uee7Cb aIjWCO1UKb4mCAohA+S/sa+ThgitEeZh6CmBDA+ixW7U+MZKuFZuOCKeqFRm+SVCEbeo VHereclPGeMRrbEM0GyQJgS7GbTqRec8LJwM94G++S3i58oM/rtbJ49O6ZVaJcpYfREl xRxkMVH1lDoaD3aM4rSG9nyZKTy5E4vnReW8bEmp8KaRZg1azykkT3V5idupw0LLVlYt 8NQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version; bh=0kgMopo4elwO3MuX0FSW8ceRDVttin84CqP0R+f9bDI=; b=g/vPcfNzRNPnCF7+HRUQ4AenHzMBk8opcCSm/DNIKAjQ2uROVc0vK9c9JV1FhOCHEt AkMahdIZABWlPq7z828bXWrz8Z+HCtlaiBqki81e81nPOIllOlEa29OKUp1MqX9LjUI8 2Ndc+/ordjV7x6kOSYppw7uWxtTxrIYRwXvrbPNpDihWOFkah98NgRSv5mRm1w3yOdcu qMLSgvZ1XSYZXEUbwcOKnIGk0S0Zu+P9AyjBVGOVYfC9mKlMNaT2T7037r8blMGO3xAN mO1P115aWKiAOwFh6cowszdc5tWoDe3RSNTYbkkhOe5bUIDIKOTOQZsSrh7sYAiEYLQc dE+w== X-Gm-Message-State: AOAM531V4fu3kPaapPlhluB8A7fXPPSdis/Jq+bhBx5gPAKBmovyG7f6 Lzn5YXJTbN84V6pZDDt8Mo8= X-Google-Smtp-Source: ABdhPJwTm4/OoaVGwdsrWn10LXnX2DO5M18APREaFoFnPcrfr/579kJjrwRCQxdjto3yo8qG+kb8Wg== X-Received: by 2002:a5d:680e:: with SMTP id w14mr864910wru.57.1629496101300; Fri, 20 Aug 2021 14:48:21 -0700 (PDT) Received: from zn3 (host81-129-83-184.range81-129.btcentralplus.com. [81.129.83.184]) by smtp.gmail.com with ESMTPSA id m10sm8271136wro.63.2021.08.20.14.48.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Aug 2021 14:48:20 -0700 (PDT) Date: Fri, 20 Aug 2021 22:48:14 +0100 From: Sergei Trofimovich Message-ID: <20210820224814.18887194@zn3> In-Reply-To: <86a6lcpiq9.fsf@gmail.com> References: <20210818224218.3290022-1-slyich@gmail.com> <86a6lcpiq9.fsf@gmail.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.29; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches On Fri, 20 Aug 2021 11:29:18 +0200 zimoun wrote: > ... Usually, the header is: > gnu: mc: Update to 4.8.27. Updated in v2-0001-gnu-mc-Update-to-4.8.27.patch (attached). > On Wed, 18 Aug 2021 at 23:42, Sergei Trofimovich wrote: > > While at it added 'release-monitoing-url property to allow > > 'generic-html updater to fetch latest version from correct location. > > Otherwise the only available updater is 'gnu-ftp (which forces downgrade > > to ancient 4.6.1 release). > > > > * gnu/packages/mc.scm (mc): Update to 4.8.27. Explicitly set > > release-monitoing-url to up to date location. > > --- > > gnu/packages/mc.scm | 8 +++++--- > > 1 file changed, 5 insertions(+), 3 deletions(-) > > > > diff --git a/gnu/packages/mc.scm b/gnu/packages/mc.scm > > index b9dea3b446..e19bc02e7a 100644 > > --- a/gnu/packages/mc.scm > > +++ b/gnu/packages/mc.scm > > @@ -38,14 +38,14 @@ > > (define-public mc > > (package > > (name "mc") > > - (version "4.8.26") > > + (version "4.8.27") > > (source > > (origin > > (method url-fetch) > > - (uri (string-append "https://ftp.midnight-commander.org/mc-" > > + (uri (string-append "http://ftp.midnight-commander.org/mc-" > > version ".tar.xz")) > > I get with HTTPS: > > --8<---------------cut here---------------start------------->8--- > Starting download of /tmp/guix-file.hccu6E > From https://ftp.midnight-commander.org/mc-4.8.27.tar.xz... > X.509 server certificate for 'ftp.midnight-commander.org' does not match: C=US,postalCode=97331,ST=Oregon,L=Corvallis,street=121 Valley Library,O=Oregon State University,OU=CASS,CN=*.osuosl.org > --8<---------------cut here---------------end--------------->8--- > > Maybe, is it fixable? I was on the fence of this: either use http://, but a link from home page which redirects to osuosl mirror, or use direct osuosl mirror link that provides https://. Switced to https:// osuosl link in v2-0001-gnu-mc-Update-to-4.8.27.patch From 18b3de9bb72e31e40938332eccf13e86f4f5cd00 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 18 Aug 2021 23:39:20 +0100 Subject: [PATCH v2] gnu: mc: Update to 4.8.27. Switched to direct mirror URI to match SSL certificate issuer (home page does not provide a download link over secure protocols). While at it added 'release-monitoing-url property to allow 'generic-html updater to fetch latest version from correct location. Otherwise the only available updater is 'gnu-ftp (which forces downgrade to ancient 4.6.1 release). * gnu/packages/mc.scm (mc): Update to 4.8.27. Explicitly set release-monitoing-url to up to date location. --- gnu/packages/mc.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnu/packages/mc.scm b/gnu/packages/mc.scm index b9dea3b446..e07191e344 100644 --- a/gnu/packages/mc.scm +++ b/gnu/packages/mc.scm @@ -38,14 +38,14 @@ (define-public mc (package (name "mc") - (version "4.8.26") + (version "4.8.27") (source (origin (method url-fetch) - (uri (string-append "https://ftp.midnight-commander.org/mc-" + (uri (string-append "https://ftp.osuosl.org/pub/midnightcommander/mc-" version ".tar.xz")) (sha256 - (base32 "09vc2vf6k12a8k5gdss6hcskwfcbyalrkhn65nidkwlm0p2svpn6")))) + (base32 "1x2g5ahgzg951y4ldbsgkv8icni2mgh3p2wsds0j16gsbwi5kgii")))) (build-system gnu-build-system) (native-inputs `(("perl" ,perl) ("pkg-config" ,pkg-config))) @@ -97,6 +97,8 @@ (("usr/bin") "/")) #t))))) (home-page "https://www.midnight-commander.org") + (properties + `((release-monitoring-url . "https://ftp.osuosl.org/pub/midnightcommander/"))) (synopsis "Graphical file manager") (description "GNU Midnight Commander is a command-line file manager laid out in a -- 2.33.0