summaryrefslogtreecommitdiff
path: root/guix/download.scm
AgeCommit message (Expand)Author
2018-04-30Merge branch 'master' into core-updatesMark H Weaver
2018-04-23download: Use ungrafted tools in 'url-fetch/tarbomb' and 'url-fetch/zipbomb'....Fixes <https://bugs.gnu.org/31085>. Reported by Diego Nicola Barbato <dnbarbato@posteo.de>. * guix/download.scm (url-fetch/tarbomb): Pass #:graft? #f to 'gexp->derivation'. (url-fetch/zipbomb): Likewise. Ludovic Courtès
2018-04-17download: Fix 'url-fetch/tarbomb' and 'url-fetch/zipbomb'....Fixes a regression introduced in 20927c9331b493eaf94211ad9f8a5055e11b4588. Reported by Eric Bavier <ericbavier@centurylink.net>. * guix/download.scm (url-fetch/tarbomb, url-fetch/zipbomb): Within the gexp, import (guix build utils) for 'invoke'. Mark H Weaver
2018-03-20Merge branch 'master' into core-updatesMark H Weaver
2018-03-17download: Remove TU Wien mirror....* guix/download.scm (%mirrors): Remove gd.tuwien.ac.at, which no longer seems to exist. Mark H Weaver
2018-03-16download: Use invoke instead of system*....* guix/download.scm (url-fetch/tarbomb, url-fetch/zipbomb): Use invoke. Mark H Weaver
2017-11-19Merge branch 'master' into core-updatesMarius Bakke
2017-11-12download: Use HTTPS for the first ImageMagick mirror....* guix/download.scm (%mirrors)[imagemagick]: Use HTTPS for <sunsite.icm.edu.pl>. Leo Famulari
2017-11-12download: Try FTP servers last....* guix/download.scm (%mirrors)[savannah, kernel.org, apache, xorg, imagemagick]: Re-arrange so that FTP is last. Leo Famulari
2017-11-01Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner
2017-11-01download: Refresh the cpan.org mirror list....* guix/download.scm (%mirrors)[cpan]: Update the list of CPAN mirrors (of which several are dead) with a more-or-less geographically diverse selection. Tobias Geerinckx-Rice
2017-10-10Merge branch 'master' into core-updatesMarius Bakke
2017-10-10guix: mirrors: Add kde archive mirror....* guix/download.scm (%mirrors)[kde]: Add kde-attic mirror. Efraim Flashner
2017-10-01Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner
2017-09-11download: Adjust main ftp.gnu.org mirror....* guix/download.scm (%mirrors): Add missing "/gnu" in first mirror, although that mirror would work even without it. Use https instead of http. Ludovic Courtès
2017-08-28download: Assume the "download" built-in builder is available....This is a followup to 05ceb8dcaf480a47cddf94ac979070b76df6556c. * guix/download.scm (in-band-download): Remove. (url-fetch): Call 'error' when BUILTINS lacks "download"; remove call to 'in-band-download'. Ludovic Courtès
2017-08-25download: Remove a SourceForge mirror that never returns 404....* guix/download.scm (%mirrors)[sourceforge]: Remove nbtelecom.dl.sourceforge.net, which never returns 404 responses. This causes download failures due to hash mismatch, effectively preventing secondary source URLs from being queried. Mark H Weaver
2017-08-09download: Add the canonical GnuPG download site....* guix/download.scm (%mirrors)<gnupg>: Add https://gnupg.org. Leo Famulari
2017-07-19download: Add OpenBSD mirrors....* guix/download.scm (%mirrors) <openbsd>: Add HTTPS OpenBSD mirrors. * gnu/packages/ntp.scm (openntpd)[source]: Use them. * gnu/packages/ssh.scm (openssh)[source]: Likewise. * gnu/packages/tls.scm (libressl)[source]: Likewise. Tobias Geerinckx-Rice
2017-06-20gnu: Move contents of zip module into compression module....* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to... * gnu/packages/compression.scm: ...here. * gnu/packages/zip.scm: Delete file. * gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file. * po/packages/POTFILES.in: Unregister deleted file. * gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression, docbook, documentation, fonts, fpga, game-development, games, gl, gnome, gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice, markup, maths, mc, monitoring, music, php, pretty-print, python, scheme, smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml, zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm: Adapt module import. Arun Isaac
2017-05-20download: Prune the ImageMagick mirror list....These sites' TLS certificates are invalid. * guix/download.scm (%mirrors) <imagemagick>: Remove mirrors-{au,ru,uk}.go-parts.com. Leo Famulari
2017-04-17download: Add netfilter mirror....* guix/download.scm (%mirrors): Add mirrors for www.netfilter.org. Marius Bakke
2017-04-05download: Update the GnuPG mirror list....* guix/download.scm (%mirrors) <gnupg>: Use HTTP for TU Wien mirror. Leo Famulari
2017-03-19download: Remove non-existent kernel mirror....* guix/download.scm (%mirrors) <kernel.org>: Remove www.all.kernel.org. Mark H Weaver
2017-03-08download: Update the Savannah mirror list....* guix/download.scm (%mirrors) <savannah>: Remove centervenus.com, which seems to be broken. Add download-mirror.sv.gnu.org as a last resort. Ludovic Courtès
2017-03-07gnu: bash: Use the bootstrap Guile in 'url-fetch/reset-patch-level'....Fixes <http://bugs.gnu.org/25775>. Reported by Sirgazil, Ricardo Wurmus, Andy Wingo, and others. * guix/download.scm (in-band-download): Always use GUILE. This reverts 9f05908fb1e3707cae593d94688748294717a546. * gnu/packages/bash.scm (url-fetch/reset-patch-level): Remove #:guile. Pass %BOOTSTRAP-GUILE as #:guile to 'url-fetch'. Remove #:guile-for-build argument in 'gexp->derivation' call. Ludovic Courtès
2017-02-23download: Provide a fall-back guile for older daemons....Fixes <http://bugs.gnu.org/25775>. * guix/download.scm (in-band-download): Use %bootstrap-guile as a fall-back when using older daemons that do not have a built-in downloader. Written-by: Ricardo Wurmus <rekado@elephly.net> Leo Famulari
2017-02-01download: Add GNOME mirror....* guix/download.scm (%mirrors): Add "https://download.gnome.org". Ludovic Courtès
2017-02-01download: Add ‘url-fetch/zipbomb’....From this suggestion by Ludovic Courtès: <http://lists.gnu.org/archive/html/guix-devel/2016-09/msg01983.html> * guix/download.scm (url-fetch/zipbomb): New procedure. Tobias Geerinckx-Rice
2017-02-01download: url-fetch/tarball: Make ‘name’ truly optional....* guix/download.scm (url-fetch/tarbomb): Fall back to ‘file-name’ if ‘name’ is #f, like the regular ‘url-fetch’ does. * gnu/packages/bioinformatics.scm (muscle)[source]: Remove ‘file-name’. * gnu/packages/engineering.scm (fastcap)[source]: Likewise. * gnu/packages/scheme.scm (scmutils)[source]: Likewise. Tobias Geerinckx-Rice
2016-11-19derivations: Add 'raw-derivation'....* guix/derivations.scm (raw-derivation): New procedure. * guix/download.scm (raw-derivation): Remove. * guix/gexp.scm (raw-derivation): Remove. Ludovic Courtès
2016-11-18download: Do not offload 'builtin:download' derivations....* guix/download.scm (built-in-download): Pass #:local-build? #t. Ludovic Courtès
2016-11-16download: Use the built-in 'download' builder when available....Fixes <http://bugs.gnu.org/22774>. Reported by Christopher W Carpenter. * guix/download.scm (built-in-builders*, raw-derivation) (built-in-download): New procedures. (in-band-download): New procedure, with code formerly in 'url-fetch'. (url-fetch): Call 'built-in-builders*' and dispatch between 'built-in-download' and 'in-band-download'. Ludovic Courtès
2016-11-07guix download: Add '--no-check-certificate' option....* guix/download.scm (download-to-store): Add #:verify-certificate? parameter and honor it. * guix/scripts/download.scm (%default-options): Add 'verify-certificate?' key. (show-help, %options): Add '--no-check-certificate'. (guix-download): Pass #:verify-certificate to 'download-to-store'. * doc/guix.texi (Invoking guix download): Document it. Ludovic Courtès
2016-11-07download: Verify TLS certificates unless asked not to....Fixes <http://bugs.gnu.org/24466>. Reported by Leo Famulari <leo@famulari.name>. * guix/build/download.scm (%x509-certificate-directory): New variable. (make-credendials-with-ca-trust-files, peer-certificate) (assert-valid-server-certificate, print-tls-certificate-error): New procedures. Add 'print-tls-certificate-error' as an exception printer for 'tls-certificate-error'. (tls-wrap): Add #:verify-certificate? parameter and honor it. (open-connection-for-uri): Likewise. (http-fetch): Likewise. (url-fetch): Likewise. * guix/download.scm (url-fetch)[builder]: Pass #:verify-certificate? #f. * guix/scripts/lint.scm (probe-uri): Add case for 'tls-certificate-error'. (validate-uri): Likewise. * doc/guix.texi (Invoking guix download): Mention 'SSL_CERT_DIR'. Ludovic Courtès
2016-11-01guix: Update hackage mirror....* guix/download.scm (%mirrors)[hackage]: Don't use https. Efraim Flashner
2016-10-31download: Add Hackage mirrors....* guix/download.scm [%mirrors]: Add Hackage mirrors. Federico Beffa
2016-08-05download: Add download.kde.org to kde mirrors....* guix/download.scm (%mirrors)[kde]: Add download.kde.org. David Craven
2016-08-04Merge branch 'core-updates'Mark H Weaver
2016-08-04Revert "Merge branch 'core-updates'"...This reverts commit 455859a50f88f625d13fc2f304111f02369b366b. Mark H Weaver
2016-08-02gnu-maintenance: Add KDE updater....* guix/gnu-maintenance.scm (kde-package?, latest-kde-release): New private functions. (%kde-updater): New public variable. * guix/scripts/refresh.scm (list-updaters): Add %kde-updater. * doc/guix.texi (Invoking guix refresh): Mention the new updater. David Craven
2016-08-02download: Add KDE mirrors....* guix/download.scm (%mirrors)[kde]: Add kde mirrors. David Craven
2016-08-01Merge branch 'core-updates'Ludovic Courtès
2016-07-31download: Add mirror.hydra.gnu.org as a content-addressed mirror....* guix/download.scm (%content-addressed-mirrors): Add 'mirror.hydra.gnu.org'. Ludovic Courtès
2016-07-24download: Add SourceForge load balancer....* guix/download.scm (%mirrors)[sourceforge]: Add canonical load balancer for sourceforge.net. Signed-off-by: Leo Famulari <leo@famulari.name> Alex Griffin
2016-07-20download: Prepare to support the 'guix publish' /file URLs....* guix/download.scm (%content-addressed-mirrors): Add 'file' parameter to the lambda. * guix/build/download.scm (url-fetch)[content-addressed-uris]: Adjust accordingly. Ludovic Courtès
2016-07-13download: Attempt to update SourceForge mirror URLs....* guix/download.scm (%mirrors)[sourceforge]: End in "/project" instead of "/sourceforge". Remove a couple of dangling URLs. Ludovic Courtès
2016-07-12download: Use 'with-imported-modules'....* guix/cvs-download.scm (cvs-fetch): Use 'with-imported-modules' instead of the #:modules argument of 'gexp->derivation'. * guix/download.scm (url-fetch): Likewise. * guix/git-download.scm (git-fetch): Likewise. * guix/hg-download.scm (hg-fetch): Likewise. * guix/svn-download.scm (svn-fetch): Likewise. Ludovic Courtès
2016-07-02download: Update CPAN mirrors....* guix/download.scm (%mirrors)[cpan]: Remove enstimac.fr, which seems dead; add ibcp.fr. Ludovic Courtès
2016-06-29download: Use basic authentication when userinfo is present in URI....* guix/download.scm (url-fetch): Include (guix base64) module on the build-side. * guix/build/download.scm (http-fetch): Add "Authorization" header when userinfo is present in the URI. David Thompson