unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sergei Trofimovich <slyich@gmail.com>
To: zimoun <zimon.toutoune@gmail.com>
Cc: 50114@debbugs.gnu.org
Subject: [bug#50114] [PATCH] gnu: mc: Bump up to 4.8.27
Date: Fri, 20 Aug 2021 22:48:14 +0100	[thread overview]
Message-ID: <20210820224814.18887194@zn3> (raw)
In-Reply-To: <86a6lcpiq9.fsf@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2105 bytes --]

On Fri, 20 Aug 2021 11:29:18 +0200
zimoun <zimon.toutoune@gmail.com> 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 <slyich@gmail.com> 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

-- 

  Sergei

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: v2-0001-gnu-mc-Update-to-4.8.27.patch --]
[-- Type: text/x-patch, Size: 1982 bytes --]

From 18b3de9bb72e31e40938332eccf13e86f4f5cd00 Mon Sep 17 00:00:00 2001
From: Sergei Trofimovich <slyich@gmail.com>
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


[-- Attachment #2: Цифровая подпись OpenPGP --]
[-- Type: application/pgp-signature, Size: 981 bytes --]

  reply	other threads:[~2021-08-20 21:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-18 22:42 [bug#50114] [PATCH] gnu: mc: Bump up to 4.8.27 Sergei Trofimovich
2021-08-20  9:29 ` zimoun
2021-08-20 21:48   ` Sergei Trofimovich [this message]
2021-08-26 19:29     ` bug#50114: " Brice Waegeneire

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210820224814.18887194@zn3 \
    --to=slyich@gmail.com \
    --cc=50114@debbugs.gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).