Commit Graph

46769 Commits

Author SHA1 Message Date
Ludovic Courtès 5c3d44303e
guix gc: Correctly handle '--delete-generations' with no arguments.
Previously, 'guix gc --delete-generations' would crash: the "" pattern
would be passed to 'matching-generations', which would return #f instead
of returning a list.

Reported by Raghav Gururajan <rvgn@disroot.org>
in <https://bugs.gnu.org/36466>.

* guix/ui.scm (matching-generations): Raise an error when passed an
invalid pattern.
* guix/scripts/gc.scm (delete-old-generations): Check if PATTERN is
true.
(%options): Leave ARG as-is for 'delete-generations'.
(guix-gc): Use 'assq' instead of 'assoc-ref' for 'delete-generations'.
* guix/scripts/package.scm (delete-matching-generations):
Replace (string-null? pattern) with (not pattern).  Remove 'else'
clause.
(%options): Leave ARG as-is for 'delete-generations'.
* guix/scripts/pull.scm (%options): Leave ARG as-is for
'list-generations'.
(process-query): Replace (string-null? pattern) with (not pattern).
* guix/scripts/system.scm (list-generations): Likewise, and remove
'else' clause.
(process-command): Use #f instead of "" when no pattern is given.
2019-07-11 23:13:26 +02:00
Marius Bakke 878a6baa4c
Merge branch 'staging' 2019-07-11 20:33:44 +02:00
Marius Bakke 1c4b72cb34
gnu: harfbuzz: Create hb-gobject-enums.h.
* gnu/packages/gtk.scm (harfbuzz)[native-inputs]: Add GLIB:BIN.
2019-07-11 19:17:57 +02:00
Mark H Weaver 1c65b0e9d5
gnu: linux-libre: Update to 5.1.17.
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.1.17.
(%linux-libre-hash): Update hash.
2019-07-11 12:16:40 -04:00
Mark H Weaver cba1dc68da
gnu: linux-libre@4.19: Update to 4.19.58.
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.58.
(%linux-libre-4.19-hash): Update hash.
2019-07-11 12:15:47 -04:00
Mark H Weaver 783ebb961e
gnu: linux-libre@4.14: Update to 4.14.133.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.133.
(%linux-libre-4.14-hash): Update hash.
2019-07-11 12:14:56 -04:00
Mark H Weaver d6fa410c1d
gnu: linux-libre@4.9: Update to 4.9.185.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.185.
2019-07-11 12:14:16 -04:00
Mark H Weaver 17f874c594
gnu: linux-libre@4.4: Update to 4.4.185.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.185.
2019-07-11 12:13:30 -04:00
Marius Bakke dc23bb4513
gnu: python-pyicu: Update to 2.3.1.
* gnu/packages/python-xyz.scm (python-pyicu): Update to 2.3.1.
2019-07-11 15:42:42 +02:00
Marius Bakke 568d060327
gnu: libselinux: Install python bindings to separate output.
This reduces the closure size of glib from 203.1 to 111.3 MiB.

* gnu/packages/selinux.scm (libselinux)[outputs]: New field.
[arguments]: Set PYSITEDIR to the new "python" output.
2019-07-11 15:40:20 +02:00
Efraim Flashner deae64ce01
gnu: vim-airline-themes: Update to 0.0.0-2.e6f2332.
* gnu/packages/vim.scm (vim-airline-themes): Update to 0.0.0-2.e6f2332.
[version]: Use 'git-version'.
[source]: Use 'git-file-name'.
2019-07-11 14:57:38 +03:00
Efraim Flashner 34e549d813
gnu: msmtp: Install additional files.
* gnu/packages/mail.scm (msmtp)[arguments]: Rename custom phase
install-msmtpq to install-additional-files. Install vim plugins.
2019-07-11 09:56:08 +03:00
Tobias Geerinckx-Rice 78ca483a07
gnu: perl-xml-compile: Update to 1.63.
* gnu/packages/xml.scm (perl-xml-compile): Update to 1.63.
2019-07-11 00:27:27 +02:00
Tobias Geerinckx-Rice cf1b1ab007
gnu: perl-html-form: Update to 6.04.
* gnu/packages/web.scm (perl-html-form): Update to 6.04.
2019-07-11 00:27:27 +02:00
Tobias Geerinckx-Rice 4cf57c3c8d
gnu: xscreensaver: Remove CFLAG for old gcc versions.
* gnu/packages/xdisorg.scm (xscreensaver)[arguments]: Do what the
comment tells us.
2019-07-11 00:27:27 +02:00
Tobias Geerinckx-Rice 4995a40478
gnu: xscreensaver: Update to 5.43.
* gnu/packages/xdisorg.scm (xscreensaver): Update to 5.43.
2019-07-11 00:27:27 +02:00
Tobias Geerinckx-Rice 347b4c47b4
gnu: acpica: Update to 20190703.
* gnu/packages/admin.scm (acpica): Update to 20190703.
2019-07-10 23:23:45 +02:00
Tobias Geerinckx-Rice 975a0c15ea
gnu: sedsed: Edit description.
* gnu/packages/admin.scm (sedsed)[description]: Use @command{} instead
of command(n) and do some minor editing.
2019-07-10 23:23:45 +02:00
Tobias Geerinckx-Rice fbdabdad2d
gnu: sedsed: Use HTTPS home page.
* gnu/packages/admin.scm (sedsed)[home-page]: Use HTTPS.
2019-07-10 23:23:45 +02:00
Efraim Flashner bba3c48970
gnu: cvs: Rename patch file.
* gnu/packages/version-control.scm (cvs)[source]: Rename patch.
* gnu/packages/patches/cvs-2017-12836.patch: Rename to ...
* gnu/packages/patches/cvs-CVE-2018-12836.patch: ... this.
* gnu/local.mk (dist_patch_DATA): Register it.
2019-07-10 21:33:48 +03:00
Efraim Flashner 5a4e5c26cc
gnu: libexif: Fix CVE-2018-20030.
* gnu/packages/photo.scm (libexif)[source]: Add patch.
* gnu/packages/patches/libexif-CVE-2018-20030.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2019-07-10 21:33:48 +03:00
Efraim Flashner 037036cb19
gnu: strongswan: Update to 5.8.0 [fixes CVE-2018-17540, CVE-2018-2065{0,1}].
* gnu/packages/networking.scm (strongswan): Update to 5.8.0.
2019-07-10 21:33:48 +03:00
Efraim Flashner 666879604c
gnu: net-snmp: Mark package not affected by CVE-2015-8100.
* gnu/packages/networking.scm (net-snmp)[properties]: New field.
2019-07-10 21:33:34 +03:00
Marius Bakke ff1e80d791
gnu: python-cram: Fix build.
* gnu/packages/python-xyz.scm (python-cram)[arguments]: Do not require 100%
test coverage.  While here, do not move the 'check' phase, as
PYTHON-BUILD-SYSTEM now runs tests after install by default.
2019-07-10 20:25:40 +02:00
Marius Bakke fa0d5854ef
gnu: ToME4: Fix FTBFS with GCC 7.
* gnu/packages/games.scm (tome4)[arguments]: Preserve CPATH in 'set-sdl-paths'
phase..
2019-07-10 20:23:46 +02:00
Tobias Geerinckx-Rice e14c06d87a
gnu: testdisk: Download over HTTPS.
* gnu/packages/admin.scm (testdisk)[source]: Use HTTPS.
2019-07-10 17:39:28 +02:00
Tobias Geerinckx-Rice 2b336e9354
gnu: testdisk: Update to 7.1.
* gnu/packages/admin.scm (testdisk): Update to 7.1.
2019-07-10 17:39:28 +02:00
Tobias Geerinckx-Rice bde9912506
gnu: sedsed: Update to 1.1.
* gnu/packages/admin.scm (sedsed): Update to 1.1.
[arguments]: Use (default) Python (3).
2019-07-10 17:39:28 +02:00
Tobias Geerinckx-Rice b7e26ec695
gnu: sedsed: Symlink after wrapping.
Drop unused .sedsed-real symlink and avoid sedsed → sedsed.py
→ .sedsed.py-real exec chain.

* gnu/packages/admin.scm (sedsed)[arguments]: Move ‘symlink’ phase
after ‘wrap’.
2019-07-10 17:39:28 +02:00
Tobias Geerinckx-Rice ec40227b2c
gnu: mutter: Remove duplicate gtk+ input.
* gnu/packages/gnome.scm (mutter)[arguments]: Remove duplicate gtk+
from propagated-inputs.
2019-07-10 17:39:28 +02:00
Efraim Flashner 841bddb4b4
gnu: a2ps: Fix CVE-2015-8107.
* gnu/packages/pretty-print.scm (a2ps)[source]: Add patch.
* gnu/packages/patches/a2ps-CVE-2015-8107.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2019-07-10 12:47:47 +03:00
Efraim Flashner 3e4afe0298
gnu: mupdf: Update to 1.15.0 [fixes CVE-2018-18662, CVE-2018-19777,
CVE-2018-1988{1,2}, CVE-2019-613{0,1}, CVE-2019-7321].

* gnu/packages/pdf.scm (mupdf): Update to 1.15.0.
[source]: Update source snippet.
2019-07-10 12:46:02 +03:00
Efraim Flashner cb5b51498b
gnu: mujs: Update to 1.0.6 [fixes CVE-2019-1141{1,2,3}, CVE-2019-12798].
* gnu/packages/javascript.scm (mujs): Update to 1.0.6.
[source]: Download using url-fetch.
[arguments]: Update 'install-shared-library phase.
[home-page]: Update to new home-page.
2019-07-10 12:45:35 +03:00
Efraim Flashner 05f386f103
gnu: plib: Fix CVE-2011-4620, CVE-2012-4552.
* gnu/packages/game-development.scm (plib)[patches]: Add patches.
* gnu/packages/patches/plib-CVE-2011-4620.patch,
gnu/packages/patches/plib-CVE-2012-4552.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register them.
2019-07-10 12:45:34 +03:00
Efraim Flashner ba70479753
gnu: python-gnupg: Update to 0.4.4 [fixes CVE-2019-6690].
* gnu/packages/gnupg.scm (python-gnupg): Update to 0.4.4.
2019-07-10 12:45:24 +03:00
Efraim Flashner 11450f15b4
gnu: gpgme: Add updater properties.
* gnu/packages/gnupg.scm (gpgme)[properties]: New field. Add ftp-server,
ftp-directory.
2019-07-10 11:40:55 +03:00
Efraim Flashner ec3f88af7e
gnu: npth: Add updater properties.
* gnu/packages/gnupg.scm (npth)[properties]: New field. Add ftp-server,
ftp-directory.
2019-07-10 11:39:09 +03:00
Efraim Flashner ee755b702f
gnu: gpa: Update to 0.10.0.
* gnu/packages/gnupg.scm (gpa): Update to 0.10.0.
2019-07-10 11:06:32 +03:00
Efraim Flashner 9a451a6740
gnu: gpa: Add updater properties.
* gnu/packages/gnupg.scm (gpa)[properties]: New field, add ftp-server,
ftp-directory.
2019-07-10 11:06:31 +03:00
Efraim Flashner 2d775ed2d6
gnu: postgresql@9: Update to 9.6.14 [fixes CVE-2018-1058, CVE-2019-9193]
* gnu/packages/databases.scm (postgresql@9): Update to 9.6.14.
2019-07-10 11:06:15 +03:00
Efraim Flashner e5b810f755
gnu: gnupg: Update to 2.2.17.
* gnu/packages/gnupg.scm (gnupg): Update to 2.2.17.
2019-07-10 09:56:08 +03:00
Mark H Weaver 6c83c48391
gnu: icecat: Update to 60.8.0-guix1 [security fixes].
Includes fixes for CVE-2019-9811, CVE-2019-11709, CVE-2019-11711,
CVE-2019-11712, CVE-2019-11713, CVE-2019-11715, CVE-2019-11717,
CVE-2019-11719, CVE-2019-11729, and CVE-2019-11730.

* gnu/packages/gnuzilla.scm (%icecat-version): Update to 60.8.0-guix1.
(icecat-source)[upstream-firefox-source]: Update hash.
(icecat): Refresh some stale comments.
2019-07-09 19:31:36 -04:00
Marius Bakke 7a05fdd0e1
Merge branch 'master' into staging 2019-07-10 00:55:42 +02:00
Marius Bakke 760d90cc6a
gnu: ungoogled-chromium: Increase build timeout.
* gnu/packages/chromium.scm (ungoogled-chromium)[properties]: Set TIMEOUT to
40 hours.
2019-07-10 00:54:29 +02:00
Marius Bakke c1f4073ff5
gnu: rapidjson: Fix FTBFS with GCC 7.
* gnu/packages/patches/rapidjson-gcc-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/web.scm (rapidjson)[source](patches): New field.
2019-07-10 00:29:32 +02:00
Marius Bakke 78affefecc
gnu: oath-toolkit: Fix FTBFS with GCC 7.
* gnu/packages/authentication.scm (oath-toolkit)[source](patches): Add
upstream patch.
2019-07-09 23:35:30 +02:00
Tobias Geerinckx-Rice 12b1ec6617
gnu: iproute2: Update to 5.2.0.
* gnu/packages/linux.scm (iproute): Update to 5.2.0.
2019-07-09 23:08:50 +02:00
Marius Bakke 4e073dcd41
gnu: glib: Remove superfluous input.
* gnu/packages/glib.scm (glib)[inputs]: Remove BASH.
2019-07-09 22:17:39 +02:00
Marius Bakke 9e13a3e059
gnu: glib: Update to 2.60.5.
* gnu/packages/glib.scm (glib): Update to 2.60.5.
2019-07-09 22:16:30 +02:00
Marius Bakke e81b14f08d
gnu: freetype: Update to 2.10.1.
* gnu/packages/fontutils.scm (freetype): Update to 2.10.1.
[source](uri): Adjust for new tarball name.
2019-07-09 21:26:21 +02:00