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.
This commit is contained in:
Sergei Trofimovich 2021-08-18 23:39:20 +01:00 committed by Brice Waegeneire
parent 4b51d045a8
commit d1d9206180
No known key found for this signature in database
GPG key ID: A94903A166A18FAE

View file

@ -38,14 +38,14 @@ (define-module (gnu packages mc)
(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 @@ (define-public mc
(("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