gnu: libelf: Use archived home page and mirrored source.

* gnu/packages/elf.scm (libelf)[source]: Use mirror URLs.
[home-page]: Use archived home page.
This commit is contained in:
Tobias Geerinckx-Rice 2019-05-26 03:26:55 +02:00
parent dbe2dfa528
commit f3addff21c
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -160,13 +160,19 @@ (define-public libelf
(package (package
(name "libelf") (name "libelf")
(version "0.8.13") (version "0.8.13")
(source (origin (source
(method url-fetch) (origin
(uri (string-append "http://www.mr511.de/software/libelf-" (method url-fetch)
version ".tar.gz")) (uri (list
(sha256 ;; As of May 2019, the original URL at mr511.de redirects to a
(base32 ;; domain that doesn't resolve. Use these two mirrors instead.
"0vf7s9dwk2xkmhb79aigqm0x0yfbw1j0b9ksm51207qwr179n6jr")))) (string-append "https://fossies.org/linux/misc/old/"
"libelf-" version ".tar.gz")
(string-append "https://ftp.osuosl.org/pub/blfs/conglomeration/"
"libelf/libelf-" version ".tar.gz")))
(sha256
(base32
"0vf7s9dwk2xkmhb79aigqm0x0yfbw1j0b9ksm51207qwr179n6jr"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -183,7 +189,8 @@ (define-public libelf
(%current-system)) (%current-system))
'("--host=aarch64-unknown-linux-gnu") '("--host=aarch64-unknown-linux-gnu")
'())))))))) '()))))))))
(home-page "http://www.mr511.de/software/english.html") (home-page (string-append "https://web.archive.org/web/20181111033959/"
"http://www.mr511.de/software/english.html"))
(synopsis "ELF object file access library") (synopsis "ELF object file access library")
(description "Libelf is a C library to access ELF object files.") (description "Libelf is a C library to access ELF object files.")
(license lgpl2.0+))) (license lgpl2.0+)))