Commit Graph

35865 Commits

Author SHA1 Message Date
Marius Bakke a55ebe2e3a
gnu: python2: Add upstream security fixes.
This addresses CVE-2018-{1060,1061,14647,1000802}.

* gnu/packages/patches/python2-CVE-2018-1000802.patch,
gnu/packages/patches/python2-CVE-2018-1060.patch,
gnu/packages/patches/python2-CVE-2018-1061.patch,
gnu/packages/patches/python2-CVE-2018-14647.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python.scm (python-2/fixed): New variable.
(python-2.7)[replacement]: New field.
(python2-minimal): Use PACKAGE/INHERIT.
2018-10-17 20:34:37 +02:00
Marius Bakke 90aeaee861
gnu: python: Fix CVE-2018-14647.
* gnu/packages/patches/python-CVE-2018-14647.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python.scm (python-3/fixed): New variable.
(python-3.6)[replacement]: New field.
(python-minimal, python-debug, wrap-python3): Use PACKAGE/INHERIT instead of
standard inheritance.
2018-10-17 20:34:37 +02:00
Efraim Flashner 1d43756107
gnu: strace: Check before enabling personalities.
* gnu/packages/linux.scm (strace)[arguments]: Add configure flag to
check for personality support.
2018-10-17 21:28:05 +03:00
Kei Kebreau 82402f76be
gnu: hyperrogue: Update to 10.4t.
* gnu/packages/games.scm (hyperrogue): Update to 10.4t.
[arguments]: Modify 'make-flags'. Modify 'configure' and 'install' phases.
2018-10-17 13:47:41 -04:00
Pierre Neidhardt c4d62443eb
import cran: Document "recursive" option.
* guix/scripts/import/cran.scm: (show-help): Document "recursive" option.
2018-10-17 13:06:25 +02:00
Pierre Neidhardt 05f8943f04
gnu: emacs-helm-system-packages: Add recutils to inputs.
* gnu/packages/emacs.scm (emacs-helm-system-packages)[inputs]: Use recutils.
2018-10-17 10:37:35 +02:00
Efraim Flashner 15b283e712
gnu: streamlink: Update to 0.14.2.
* gnu/packages/video.scm (streamlink): Update to 0.14.2.
[source]: Download from pypi.
2018-10-17 11:24:18 +03:00
Maxim Cournoyer 24220e0f09
gnu: emacs-nodejs-repl: Update to 0.2.0.
* gnu/packages/emacs.scm (emacs-nodejs-repl): Update to 0.2.0.
2018-10-16 23:02:50 -04:00
Eric Bavier 278f86a43f
ui: Fix port-buffering with guile@2.0.
* guix/status.scm (build-event-output-port)[guile@2.0]: Do not call 'setvbuf'
on custom binary port.
* tests/status.scm (current-build-output-port, UTF-8 + garbage)[guile@2.0]:
Use "?" in place of REPLACEMENT CHARACTER.
2018-10-16 17:12:09 -05:00
Eric Bavier 6f1ce09d79
gnu: Add guix-minimal.
* gnu/packages/guile.scm (guile-2.0.13): New variable.
* gnu/packages/package-management.scm (guix)[arguments]: Adjust 'wrap-program'
phase to handle "missing" inputs.
(guix-minimal): New variable.
2018-10-16 17:09:15 -05:00
Eric Bavier c8e3651a82
gnu: guile2.0-guix: Fix build.
* gnu/packages/gnupg.scm (guile2.0-gcrypt): New variable.
* gnu/packages/guile.scm (guile2.0-sqlite3): New variable.
* gnu/packages/package-management.scm (guile2.0-guix)[propagated-inputs]: Use
them.
2018-10-16 17:09:15 -05:00
Danny Milosavljevic ad0082afe0
import: json: Handle the error case.
* guix/import/json.scm (json-fetch-alist): Handle the error case.
2018-10-16 23:17:36 +02:00
Leo Famulari 02d5ed4a27
gnu: GStreamer plugins: Update MP3 features for GStreamer 1.14.
GStreamer moved all MPEG-1 audio (mp1, mp2, and mp3) decoders and encoders to
the group of "good" plugins in GStreamer 1.14.0. See the 'NEWS' file for more
information.

* gnu/packages/gstreamer.scm (gst-plugins-ugly)[inputs]: Remove lame, mpg123,
and twolame.
(gst-plugins-bad): Remove mpg123.
(gst-plugins-good): Add lame, mpg123, and twolame.
2018-10-16 13:40:14 -04:00
Rutger Helling 2d4a753a7c
gnu: xpra: Update to 2.4.
* gnu/packages/xorg.scm (xpra): Update to 2.4.
2018-10-16 14:27:28 +02:00
Clément Lassieur f1376bfabe
gnu: emacs-exwm: Update to 0.20.
* gnu/packages/emacs.scm (emacs-exwm): Update to 0.20.
[source]: Remove emacs-exwm-fix-fullscreen-issue.patch.
* gnu/local.mk (dist_patch_DATA): Remove patch.
* gnu/packages/patches/emacs-exwm-fix-fullscreen-issue.patch: Remove patch.
2018-10-16 11:10:04 +02:00
Clément Lassieur 503fe87098
gnu: emacs-xelb: Update to 0.16.
* gnu/packages/emacs.scm (emacs-xelb): Update to 0.16.
2018-10-16 10:57:53 +02:00
Ludovic Courtès 532f92c8f3
gnu: guix: Update to f9a8fce.
* gnu/packages/package-management.scm (guix): Update to f9a8fce.
2018-10-15 23:54:20 +02:00
Ludovic Courtès f9a8fce10f
status: Build upon multiplexed build output.
This allows for more accurate status tracking and parsing of extended
build traces.

* guix/status.scm (multiplexed-output-supported?): New procedure.
(print-build-event): Don't print \r when PRINT-LOG? is true.
Adjust 'build-log' handling for when 'multiplexed-output-supported?'
returns true.
(bytevector-index, split-lines): New procedures.
(build-event-output-port)[%build-output-pid, %build-output]
[%build-output-left]: New variables.
[process-line]: Handle "@ build-output" traces.
[process-build-output]: New procedure.
[write!]: Add case for when %BUILD-OUTPUT-PID is true.  Use
'bytevector-index' rather than 'string-index'.
(compute-status): Add #:derivation-path->output-path.  Use it.
* tests/status.scm ("compute-status, multiplexed build output"):
New test.
("build-output-port, UTF-8")
("current-build-output-port, UTF-8 + garbage"): Adjust to new
'build-log' output.
* guix/scripts/build.scm (set-build-options-from-command-line):
Pass #:multiplexed-build-output?.
(%default-options): Add 'multiplexed-build-output?'.
* guix/scripts/environment.scm (%default-options): Likewise.
* guix/scripts/pack.scm (%default-options): Likewise.
* guix/scripts/package.scm (%default-options): Likewise.
* guix/scripts/pull.scm (%default-options): Likewise.
* guix/scripts/system.scm (%default-options): Likewise.
2018-10-15 23:06:55 +02:00
Ludovic Courtès 6ef61cc4c3
daemon: Support multiplexed build output.
This allows clients to tell whether output comes from the daemon or, if
it comes from a builder, from which builder it comes.  The latter is
particularly useful when MAX-BUILD-JOBS > 1.

* nix/libstore/build.cc (DerivationGoal::tryBuildHook)
(DerivationGoal::startBuilder): Print the child's PID in "@ build-started"
traces.
(DerivationGoal::handleChildOutput): Define 'prefix', pass it to
'writeToStderr'.
* nix/libstore/globals.cc (Settings:Settings): Initialize
'multiplexedBuildOutput'.
(Settings::update): Likewise.
* nix/libstore/globals.hh (Settings)[multiplexedBuildOutput]: New field.
Update 'printBuildTrace' documentation.
* nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump to 0.163.
* nix/nix-daemon/nix-daemon.cc (performOp) <wopSetOptions>: Special-case
"multiplexed-build-output" and remove "use-ssh-substituter".
* guix/store.scm (set-build-options): Add #:multiplexed-build-output?
and honor it.
(%protocol-version): Bump to #x163.
* tests/store.scm ("multiplexed-build-output"): New test.

fixlet
2018-10-15 22:40:35 +02:00
Efraim Flashner 2ab321ca37
gnu: go@1.4: Add support for aarch64-linux.
* gnu/packages/golang.scm (go@1.4)[arguments]: Build for armhf-linux
when building for aarch64-linux.
[supported-systems]: Add aarch64-linux.
2018-10-15 14:21:07 +03:00
Rutger Helling 2c89b4b550
gnu: wine-staging: Update to 3.18.
* gnu/packages/wine.scm (wine-staging-patchset-data): Update to 3.18.
* gnu/packages/wine.scm (wine-staging): Update to 3.18.
2018-10-15 10:50:48 +02:00
Efraim Flashner b7028a16e6
gnu: x265: Fix building on armhf-linux and aarch64-linux.
* gnu/packages/video.scm (x265)[source]: Update list of patches.
[arguments]: Change configure flag to ensure PIC for all architectures.
* gnu/packages/patches/x265-arm-asm-primitives.patch: Remove file.
* gnu/packages/patches/x265-detect512-all-arches.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update patch registry.
2018-10-15 11:40:34 +03:00
Tobias Geerinckx-Rice 2d5fa80e83
gnu: audacity: Update home page.
* gnu/packages/audio.scm (audacity)[home-page]: Update.
2018-10-15 06:19:38 +02:00
Tobias Geerinckx-Rice e02013b7de
gnu: hexchat: Use HTTPS home page.
* gnu/packages/messaging.scm (hexchat)[home-page]: Use HTTPS.
2018-10-15 06:19:38 +02:00
Tobias Geerinckx-Rice 4a147986a0
gnu: haveged: Teach the controversy.
* gnu/packages/linux.scm (haveged)[description]: Suggest adding
additional entropy sources.
2018-10-15 06:19:38 +02:00
Tobias Geerinckx-Rice dfe05297f3
gnu: x265: Update to 2.9.
* gnu/packages/video.scm (x265): Update to 2.9.
[source]: Remove x265-fix-ppc64le-build.patch.
* gnu/packages/patches/x265-fix-ppc64le-build.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2018-10-15 06:19:37 +02:00
Tobias Geerinckx-Rice 4702d45280
gnu: opensm: Update to 3.3.21.
* gnu/packages/fabric-management.scm (opensm): Update to 3.3.21.
[source]: Update tarball URI.
[native-inputs]: Add autoconf, automake, and libtool.
[arguments]: Rename 'doc' phase to 'install-doc'.
Omit AUTHORS and ChangeLog files. They are more than a decade old.
2018-10-15 06:19:37 +02:00
Tobias Geerinckx-Rice 9cac043cc0
gnu: restic: Update to 0.9.3.
* gnu/packages/backup.scm (restic): Update to 0.9.3.
[arguments]: Disable 'restic self-update'.
2018-10-15 06:19:37 +02:00
Tobias Geerinckx-Rice 3a6e1fe8c8
gnu: perl-xml-feed: Update to 0.55.
* gnu/packages/xml.scm (perl-xml-feed): Update to 0.55.
2018-10-15 06:19:36 +02:00
Maxim Cournoyer 66a9f08bb9
gnu: Add python-falcon-cors.
* gnu/packages/python-web.scm (python-falcon-cors): New variable.
2018-10-14 22:50:27 -04:00
Maxim Cournoyer bb840999c8
gnu: Add python-falcon.
* gnu/packages/python-web.scm (python-falcon): New variable.
2018-10-14 22:02:40 -04:00
Maxim Cournoyer 0731fc1ce7
gnu: python-mimeparse: Update to 1.6.0.
* gnu/packages/python.scm (python-mimeparse): Update to 1.6.0.
[phases]: Enable tests with a custom check phase.
2018-10-14 22:02:40 -04:00
Mark H Weaver 614f49c49a
gnu: linux-libre: Update to 4.18.14.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.18.14.
(%linux-libre-hash): Update hash.
2018-10-14 19:27:46 -04:00
Mark H Weaver b0fe6b5785
gnu: linux-libre@4.14: Update to 4.14.76.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.76.
(%linux-libre-4.14-hash): Update hash.
2018-10-14 19:13:56 -04:00
Mark H Weaver f266e82ad2
gnu: linux-libre@4.9: Update to 4.9.133.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.133.
2018-10-14 19:09:24 -04:00
Mark H Weaver 2dd1bfcb58
gnu: linux-libre@4.4: Update to 4.4.161.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.161.
2018-10-14 19:07:35 -04:00
Ludovic Courtès 38a2f5eafb
status: Avoid "sucessfully built" messages when in quiet mode.
* guix/status.scm (print-build-event): Print "successfully built"
messages only when PRINT-LOG? is true, like we do for
'substituter-started' events.
2018-10-14 23:48:49 +02:00
Ludovic Courtès 2510bd8756
guix-install.sh: Recognize armhf-linux.
* etc/guix-install.sh (chk_sys_arch): Add "armv7l" case.
2018-10-14 23:48:49 +02:00
Ludovic Courtès e0caff9ed0
describe: Canonicalize the profile.
Fixes a regression introduced in
795d430d90 whereby 'guix describe' would
no longer display the generation number of ~/.config/guix/current.

* guix/scripts/describe.scm (guix-describe): Call 'canonicalize-profile'.
2018-10-14 23:48:49 +02:00
Efraim Flashner 89f9df6cfd
gnu: icecat: Build with rust-1.24.
* gnu/packages/gnuzilla.scm (icecat)[native-inputs]: Use the oldest
compatable rust over newer releases when building icecat.
2018-10-14 09:42:54 +03:00
Brett Gilio 40f856fae8
gnu: csound: Update to 6.11.0.
* gnu/packages/audio.scm (csound): Update to 6.11.0.
[home-page]: Change to "https://csound.com/".

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2018-10-14 10:52:12 +08:00
Leo Famulari d7814696b8
gnu: python-configargparse: Use pypi-uri.
* gnu/packages/python.scm (python-configargparse,
python2-configargparse)[source]: Use pypi-uri.
2018-10-12 23:42:43 -04:00
Leo Famulari f1be3735db
gnu: khal: Update to 0.9.10.
* gnu/packages/calendar.scm (khal): Update to 0.9.10.
2018-10-12 23:42:43 -04:00
Leo Famulari 3c4d307e86
gnu: python-icalendar: Update to 4.0.2.
* gnu/packages/python.scm (python-icalendar: Update to 4.0.2.
2018-10-12 23:42:43 -04:00
Leo Famulari 3584eeb9a1
gnu: ImageMagick: Update to 6.9.10-12.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.10-12.
2018-10-12 23:42:39 -04:00
Leo Famulari a60e868629
gnu: Wireshark: Update to 2.6.4 [fixes CVE-2018-{12086,18225,18226,18227}].
* gnu/packages/networking.scm (wireshark): Update to 2.6.4.
2018-10-12 22:18:22 -04:00
Ludovic Courtès aa227b3be3
pull: Fix target of /var/guix/profiles/per-user/USER/current-guix.
This is a followup to 8155a20907.

* guix/scripts/pull.scm (migrate-generations): Compute the right target
for /var/guix/profiles/per-user/USER/current-guix.  Previously we'd
return "current-N-link" instead of "current-guix-N-link'.
2018-10-12 16:45:34 +02:00
宋文武 6826f1e1ed
gnu: Add libpd.
* gnu/packages/music.scm (libpd): New variable.
2018-10-12 22:23:58 +08:00
Ludovic Courtès 8036b0942b
pull: Don't use rename(2) across potentially different devices.
Reported by Formbi on #guix.

* guix/scripts/pull.scm (migrate-generations): Use 'symlink' and
'delete-file' instead of 'rename-file'.  The latter could lead to EXDEV
when $HOME and /var were different partitions.
2018-10-12 15:18:41 +02:00
Ludovic Courtès dde49cfe53
build: Fine-tune the forbidden M4 patterns.
* configure.ac: Forbid "^GUILE_P", allow "^GUILE_PKG_ERRORS".
2018-10-12 15:18:41 +02:00