Mark H Weaver <m...@netris.org> skribis: > Mark H Weaver <m...@netris.org> writes: > >> http://0pointer.de/lennart/projects/libdaemon/ no longer exists, and >> I've been unable to easily find out what happened to it, or where it >> now lives (if at all). > > In the meantime, here are two places where it can be downloaded from: > > http://pkgs.fedoraproject.org/repo/pkgs/libdaemon/libdaemon-0.14.tar.gz/509dc27107c21bcd9fbf2f95f5669563/libdaemon-0.14.tar.gz > http://ftp.de.debian.org/debian/pool/main/libd/libdaemon/libdaemon_0.14.orig.tar.gz > > Both of these match the hash in our libdaemon recipe. The first one has > the advantage of having the filename we expect.
We can add a ‘file-name’ field to the origin record anyway. I went ahead and committed the new URLs, except for the home page. Thanks! Ludo’.
commit cae8aa0a08e6252bd6488268d51ca77de2c13511 (HEAD, refs/heads/master) Author: Ludovic Courtès <l...@gnu.org> Date: Mon Oct 6 09:45:17 2014 +0200 gnu: libdaemon: Add alternate source URLs. Fixes <http://bugs.gnu.org/18639>. Reported by Mark H Weaver <m...@netris.org>. * gnu/packages/libdaemon.scm (libdaemon)[source]: Add Debian and Fedora mirrors. Modified gnu/packages/libdaemon.scm diff --git a/gnu/packages/libdaemon.scm b/gnu/packages/libdaemon.scm index 0c77e28..24f5b51 100644 --- a/gnu/packages/libdaemon.scm +++ b/gnu/packages/libdaemon.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013 Ludovic Courtès <l...@gnu.org> +;;; Copyright © 2013, 2014 Ludovic Courtès <l...@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -28,15 +28,27 @@ (version "0.14") (source (origin (method url-fetch) - (uri (string-append - "http://0pointer.de/lennart/projects/libdaemon/libdaemon-" - version - ".tar.gz")) + (uri (list + (string-append + "mirror://debian/pool/main/libd/libdaemon/libdaemon_" + version ".orig.tar.gz") + "http://pkgs.fedoraproject.org/repo/pkgs/libdaemon/libdaemon-0.14.tar.gz/509dc27107c21bcd9fbf2f95f5669563/libdaemon-0.14.tar.gz" + + ;; This used to be the canonical URL but it vanished. + ;; See <http://bugs.gnu.org/18639>. + ;; (string-append + ;; "http://0pointer.de/lennart/projects/libdaemon/libdaemon-" + ;; version ".tar.gz") + )) (sha256 (base32 - "0d5qlq5ab95wh1xc87rqrh1vx6i8lddka1w3f1zcqvcqdxgyn8zx")))) + "0d5qlq5ab95wh1xc87rqrh1vx6i8lddka1w3f1zcqvcqdxgyn8zx")) + (file-name (string-append name "-" version ".tar.gz")))) (build-system gnu-build-system) + + ;; XXX: Stale URL, missing replacement. See <http://bugs.gnu.org/18639>. (home-page "http://0pointer.de/lennart/projects/libdaemon/") + (synopsis "Lightweight C library that eases the writing of UNIX daemons") (description "libdaemon is a lightweight C library that eases the writing of UNIX