unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#50114] [PATCH] gnu: mc: Bump up to 4.8.27
@ 2021-08-18 22:42 Sergei Trofimovich
  2021-08-20  9:29 ` zimoun
  0 siblings, 1 reply; 4+ messages in thread
From: Sergei Trofimovich @ 2021-08-18 22:42 UTC (permalink / raw)
  To: 50114; +Cc: Sergei Trofimovich

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"))
       (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 . "http://ftp.midnight-commander.org/")))
     (synopsis "Graphical file manager")
     (description
      "GNU Midnight Commander is a command-line file manager laid out in a
-- 
2.33.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#50114] [PATCH] gnu: mc: Bump up to 4.8.27
  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
  0 siblings, 1 reply; 4+ messages in thread
From: zimoun @ 2021-08-20  9:29 UTC (permalink / raw)
  To: Sergei Trofimovich, 50114; +Cc: Sergei Trofimovich

Hi,

Thanks for the patch.  Usually, the header is:

  gnu: mc: Update to 4.8.27.



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?


All the best,
simon




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#50114] [PATCH] gnu: mc: Bump up to 4.8.27
  2021-08-20  9:29 ` zimoun
@ 2021-08-20 21:48   ` Sergei Trofimovich
  2021-08-26 19:29     ` bug#50114: " Brice Waegeneire
  0 siblings, 1 reply; 4+ messages in thread
From: Sergei Trofimovich @ 2021-08-20 21:48 UTC (permalink / raw)
  To: zimoun; +Cc: 50114


[-- 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 --]

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#50114: [PATCH] gnu: mc: Bump up to 4.8.27
  2021-08-20 21:48   ` Sergei Trofimovich
@ 2021-08-26 19:29     ` Brice Waegeneire
  0 siblings, 0 replies; 4+ messages in thread
From: Brice Waegeneire @ 2021-08-26 19:29 UTC (permalink / raw)
  To: Sergei Trofimovich; +Cc: 50114-done, zimoun

Hello Sergei,

Thank you for the patch. The new source domain is referenced by upstream in
doc/MIRRORS.txt¹.

Pushed as d1d9206180763f8291c82b1a6240b3640bd4f238.

¹ https://github.com/MidnightCommander/mc/blob/0aaf74777d65ac2539b73c14d2e4e2baecb13451/doc/MIRRORS.txt#L7

Cheers,
- Brice




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-26 19:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2021-08-26 19:29     ` bug#50114: " Brice Waegeneire

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).