| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'url-fetch/zipbomb'.
Fixes <https://bugs.gnu.org/40115>.
Previously the result of `guix build -s $system $package' would depend on the
system Guix was built for if $package or one of its dependencies used
'url-fetch/tarbomb' or 'url-fetch/zipbomb' as the origin method of its
source (e.g. `guix build -s i686-linux ffmpeg' on i686-linux would build a
different derivation than on x86_64-linux).
This patch fixes this by explicitly passing the correct system and guile to
'gexp->derivation'.
* guix/download.scm (url-fetch/tarbomb): Pass #:system system and
#:guile-for-build guile to 'gexp->derivation', where guile is the derivation
of guile for system.
(url-fetch/zipbomb): Likewise.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
|
|
|
|
| |
It issues bogus redirections instead of returning 404.
* guix/download.scm (%mirrors): Remove kvin.lv from CPAN.
|
|
|
|
|
| |
* guix/download.scm (%mirrors): Remove ramses.wh2.tu-dresden.de, which seems
to no longer work.
|
|\ |
|
| |
| |
| |
| |
| | |
* guix/download.scm (built-in-download): Pass MIRRORS and
CONTENT-ADDRESSED-MIRRORS as #:sources, not #:inputs.
|
|\| |
|
| |
| |
| |
| |
| |
| | |
* guix/build/download-nar.scm (urls-for-item): Remove
mirror.hydra.gnu.org.
* guix/download.scm (%content-addressed-mirrors): Likewise.
|
|/
|
|
|
|
|
|
| |
* guix/download.scm (built-in-download): Add #:executable? parameter.
Pass #:recursive? to 'raw-derivation' and add "executable" to the #:env-vars
alist when EXECUTABLE? is true.
(url-fetch): Add #:executable? and pass it to 'built-in-download'.
(url-fetch/executable): New procedure.
|
|
|
|
|
| |
* guix/download.scm (%content-addressed-mirrors): Change
"berlin.guixsd.org" to "ci.guix.gnu.org" and move it first.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The caching strategy introduced in
40cc850aebb497faed0a11d867d8fcee729023df was ineffective since we
regularly start from an empty object cache. For example, "guix build
inkscape -n" would make 241 'built-in-builders' RPCs.
* guix/store.scm (<store-connection>)[built-in-builders]: New field.
(open-connection): Adjust '%make-store-connection' call accordingly.
(port->connection): Likewise.
(built-in-builders): Rename to...
(%built-in-builders): ... this.
(built-in-builders): New procedure.
* guix/download.scm (built-in-builders*): Remove 'mcached' call.
|
|
|
|
| |
* guix/download.scm (%mirrors): Add mirrors for the MATE Desktop.
|
|
|
|
|
|
|
|
|
| |
The previous caching strategy, which used STORE as an 'eq?' key, would
no longer work when the functional cache is used because subsequent
store values are not 'eq?'.
* guix/download.scm (built-in-builders*): Rewrite in terms of
'mcached'.
|
|
|
|
|
|
| |
* guix/download.scm (%content-addressed-mirrors)[guix-publish]: New
procedure.
Use it for "mirror.hydra.gnu.org" and add "berlin.guixsd.org" too.
|
|
|
|
|
|
|
| |
Fixes <https://bugs.gnu.org/33542>.
Reported by Mark H Weaver <mhw@netris.org>.
* guix/download.scm (%content-addressed-mirrors): Autoload (guix base16).
|
|
|
|
|
|
|
|
| |
Bug <http://bugs.gnu.org/22774> is no longer relevant now that we use
"builtin:download" exclusively.
* guix/download.scm (%content-addressed-mirrors): Use "https", not
"http".
|
|
|
|
|
| |
* guix/download.scm (%content-addressed-mirrors): Add Software
Heritage.
|
|\ |
|
| |
| |
| |
| | |
* guix/download.scm (gnutls-package): Remove.
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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'.
|
|\| |
|
| |
| |
| |
| |
| | |
* guix/download.scm (%mirrors): Remove gd.tuwien.ac.at, which no longer
seems to exist.
|
|/
|
|
| |
* guix/download.scm (url-fetch/tarbomb, url-fetch/zipbomb): Use invoke.
|
|\ |
|
| |
| |
| |
| | |
* guix/download.scm (%mirrors)[imagemagick]: Use HTTPS for <sunsite.icm.edu.pl>.
|
| |
| |
| |
| |
| | |
* guix/download.scm (%mirrors)[savannah, kernel.org, apache, xorg, imagemagick]:
Re-arrange so that FTP is last.
|
|\| |
|
| |
| |
| |
| |
| | |
* guix/download.scm (%mirrors)[cpan]: Update the list of CPAN mirrors (of
which several are dead) with a more-or-less geographically diverse selection.
|
|\| |
|
| |
| |
| |
| | |
* guix/download.scm (%mirrors)[kde]: Add kde-attic mirror.
|
|\| |
|
| |
| |
| |
| |
| |
| | |
* guix/download.scm (%mirrors): Add missing "/gnu" in first mirror,
although that mirror would work even without it. Use https instead of
http.
|
|/
|
|
|
|
|
|
| |
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'.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* guix/download.scm (%mirrors)<gnupg>: Add https://gnupg.org.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
These sites' TLS certificates are invalid.
* guix/download.scm (%mirrors) <imagemagick>: Remove
mirrors-{au,ru,uk}.go-parts.com.
|
|
|
|
| |
* guix/download.scm (%mirrors): Add mirrors for www.netfilter.org.
|
|
|
|
| |
* guix/download.scm (%mirrors) <gnupg>: Use HTTP for TU Wien mirror.
|
|
|
|
| |
* guix/download.scm (%mirrors) <kernel.org>: Remove www.all.kernel.org.
|
|
|
|
|
| |
* guix/download.scm (%mirrors) <savannah>: Remove centervenus.com, which
seems to be broken. Add download-mirror.sv.gnu.org as a last resort.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
* guix/download.scm (%mirrors): Add "https://download.gnome.org".
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* guix/derivations.scm (raw-derivation): New procedure.
* guix/download.scm (raw-derivation): Remove.
* guix/gexp.scm (raw-derivation): Remove.
|
|
|
|
| |
* guix/download.scm (built-in-download): Pass #:local-build? #t.
|