aboutsummaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2017-09-11system: Fix typo in 'read-boot-parameters'.Ludovic Courtès
Fixes a regression introduced in commit 075681d3501082c6e22df8abf29dfe89d85effc1. * gnu/system.scm (read-boot-parameters): For 'root-device', use 'device-sexp->device', not 'device->sexp'.
2017-09-11vm: Generate a UUID to identify the root file system.Ludovic Courtès
This makes collisions less likely than when using a label to look up the partition. See <https://bugs.gnu.org/27735>. * gnu/system/vm.scm (operating-system-uuid): New procedure. (system-disk-image): Define 'root-uuid' and use it for the root file system. Pass it to 'iso9660-image' and 'qemu-image'.
2017-09-11vm: Allow users to specify a UUID for the root partition.Ludovic Courtès
* gnu/system/vm.scm (qemu-image): Add #:file-system-uuid parameter; pass it as the 'uuid' field of the root partition.
2017-09-11uuid: 'uuid' macro supports more UUID types.Ludovic Courtès
* gnu/system/uuid.scm (string->uuid): Turn 'type' into an optional argument. (uuid): Add clauses to allow for an optional 'type' parameter.
2017-09-11system: Serialize the UUID type in the "parameters" file.Ludovic Courtès
* gnu/system.scm (read-boot-parameters)[device->sexp]: New procedure. Use it for 'root-device' and 'store-device'. (device->sexp): Serialize the UUID type in addition to its bytevector.
2017-09-11system: Introduce a disjoint UUID type.Ludovic Courtès
Conceptually a UUID is just a bytevector. However, there's software out there such as GRUB that relies on the string representation of different UUID types (e.g., the string representation of DCE UUIDs differs from that of ISO-9660 UUIDs, even if they are actually bytevectors of the same length). This new <uuid> record type allows us to preserve information about the type of UUID so we can eventually convert it to a string using the right representation. * gnu/system/uuid.scm (<uuid>): New record type. (bytevector->uuid): New procedure. (uuid): Return calls to 'make-uuid'. (uuid->string): Rewrite using 'match-lambda*' to accept a single 'uuid?' argument. * gnu/bootloader/grub.scm (grub-root-search): Check for 'uuid?' instead of 'bytevector?'. * gnu/system.scm (bootable-kernel-arguments): Check whether ROOT-DEVICE is 'uuid?'. (read-boot-parameters): Use 'bytevector->uuid' when the store device is a bytevector. (read-boot-parameters-file): Check for 'uuid?' instead of 'bytevector?'. (device->sexp): New procedure. (operating-system-boot-parameters-file): Use it for 'root-device' and 'store'. (operating-system-bootcfg): Remove conditional in definition of 'root-device'. * gnu/system/file-systems.scm (file-system->spec): Check for 'uuid?' on DEVICE and take its bytevector. * gnu/system/mapped-devices.scm (open-luks-device): Likewise. * gnu/system/vm.scm (iso9660-image): Call 'uuid-bytevector' for the #:volume-uuid argument.
2017-09-11services: file-system: Use 'file-system->spec'.Ludovic Courtès
* gnu/services/base.scm (file-system-shepherd-service): Use 'file-system->spec' instead of in-line code.
2017-09-11file-systems: Introduce (gnu system uuid).Ludovic Courtès
* gnu/build/file-systems.scm (sub-bytevector) (latin1->string, %fat32-endianness, fat32-uuid->string) (%iso9660-uuid-rx, string->iso9660-uuid) (iso9660-uuid->string, %network-byte-order) (dce-uuid->string, %uuid-rx, string->dce-uuid) (string->ext2-uuid, string->ext3-uuid, string->ext4-uuid) (vhashq, %uuid-parsers, %uuid-printers, string->uuid) (uuid->string): Move to... * gnu/system/uuid.scm: ... here. New file. * gnu/system/file-systems.scm (uuid): Move to the above file. * gnu/system/vm.scm: Adjust accordingly. * gnu/local.mk (GNU_SYSTEM_MODULES): Add uuid.scm.
2017-09-11services: base: Import the closure of (gnu build file-systems).Ludovic Courtès
* gnu/services/base.scm (file-system-shepherd-service): Use 'source-module-closure' in the 'with-imported-modules' form.
2017-09-11file-systems: Add UUID type dictionaries.Ludovic Courtès
* gnu/build/file-systems.scm (uuid->string): Rename to... (dce-uuid->string): ... this. (string->uuid): Rename to... (string->dce-uuid): ... this. (vhashq): New macro. (%uuid-parsers, %uuid-printers): New variables. (uuid->string, string->uuid): New procedures.
2017-09-11vm: Allow partitions to be initialized with a given UUID.Ludovic Courtès
* gnu/build/vm.scm (<partition>)[uuid]: New field. (create-ext-file-system): Add #:uuid and honor it. (create-fat-file-system): Add #:uuid. (format-partition): Add #:uuid and honor it. (initialize-partition): Honor the 'uuid' field of PARTITION.
2017-09-11gnu: mpg123: Update to 1.25.6 [fixes CVE-2017-12797].Leo Famulari
* gnu/packages/mp3.scm (mpg123): Update to 1.25.6.
2017-09-11gnu: libchamplain: Update to 0.12.16.Tobias Geerinckx-Rice
* gnu/packages/gnome.scm (libchamplain): Update to 0.12.16.
2017-09-11gnu: gnome-online-accounts: Update to 3.24.3.Tobias Geerinckx-Rice
* gnu/packages/gnome.scm (gnome-online-accounts): Update to 3.24.3.
2017-09-11gnu: emacs: Patch message-mode enriched text translation [security fix].Ludovic Courtès
* gnu/packages/patches/emacs-unsafe-enriched-mode-translations.patch: New file. * gnu/packages/emacs.scm (emacs)[source](patches): Add it. * gnu/local.mk (dist_patch_DATA): Add it.
2017-09-11gnu: nyacc: Update to 0.82.0.Jan Nieuwenhuizen
* gnu/packages/mes.scm (nyacc): Update to 0.82.0.
2017-09-11gnu: ruby-activesupport: Update to 5.1.4.Ben Woodcroft
* gnu/packages/ruby.scm (ruby-activesupport): Update to 5.1.4.
2017-09-11gnu: icedtea-8: Install the nss.cfg file to JRE.宋文武
Before this, accessing HTTPS will throw an exception about 'nss.cfg' could not be found. * gnu/packages/java.scm (icedtea-8)[arguments]: Copy 'nss.cfg' from JDK into JRE in the install phase.
2017-09-11gnu: gdb: Update to 8.0.1.Ludovic Courtès
* gnu/packages/gdb.scm (gdb): Update to 8.0.1.
2017-09-11gnu: guix: Update snapshot.Ludovic Courtès
* gnu/packages/package-management.scm (guix): Update to a9468b4.
2017-09-11gnu: Add monero-core.Theodoros Foradis
* gnu/packages/finance.scm (monero-core): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-09-11gnu: Add monero.Theodoros Foradis
* gnu/packages/finance.scm (monero): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-09-11gnu: libffcall: Update to 2.0.Efraim Flashner
* gnu/packages/libffcall.scm (libffcall): Update to 2.0.
2017-09-11gnu: linux-libre: Update to 4.13.1.Mark H Weaver
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.13.1. (%linux-libre-hash): Update hash.
2017-09-11gnu: linux-libre@4.9: Update to 4.9.49.Mark H Weaver
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.49.
2017-09-11gnu: python-apsw: Build with all extensions.Jelle Licht
* gnu/packages/python.scm (python-apsw)[phases]: Replace build phase; add flag to build all extensions. Add build-test-helper to allow testing of extensions.
2017-09-11gnu: gnome-sudoku: Update to 3.26.0.Tobias Geerinckx-Rice
* gnu/packages/gnome.scm (gnome-sudoku): Update to 3.26.0.
2017-09-11gnu: gnome-klotski: Update to 3.22.2.Tobias Geerinckx-Rice
* gnu/packages/gnome.scm (gnome-klotski): Update to 3.22.2.
2017-09-11gnu: libgnome-games-support: Update to 1.2.3.Tobias Geerinckx-Rice
* gnu/packages/gnome.scm (libgnome-games-support): Update to 1.2.3.
2017-09-11gnu: cloc: Fix typo in description.Tobias Geerinckx-Rice
* gnu/packages/code.scm (cloc)[description]: Fix typo.
2017-09-11gnu: cloc: Update to 1.74.Tobias Geerinckx-Rice
* gnu/packages/code.scm (cloc): Update to 1.74. [source]: Update source URL.
2017-09-11gnu: youtube-dl: Update to 2017.09.10.Tobias Geerinckx-Rice
* gnu/packages/video.scm (youtube-dl): Update to 2017.09.10.
2017-09-10gnu: Fix build failures caused by commitKei Kebreau
d10092b849153dc27cfed0a9601fde6c7bdec918. * gnu/packages/bioinformatics.scm (seek)[arguments]: Restore previous phase order. * gnu/packages/ci.scm (cuirass)[arguments]: Add patch-/bin/sh phase.
2017-09-10install: Add OpenSSH to the global profile.Ludovic Courtès
Suggested by Jan Nieuwenhuizen. * gnu/system/install.scm (installation-os)[packages]: Add OPENSSH.
2017-09-10install: Add 'passwd' to $PATH.Ludovic Courtès
Suggested by Jan Nieuwenhuizen. * gnu/system/install.scm (installation-os)[setuid-programs]: Add 'passwd'.
2017-09-10gnu: Add emacs-bash-completion.Jan Nieuwenhuizen
* gnu/packages/emacs.scm (emacs-bash-completion): New variable.
2017-09-10gnu: openjpeg: Fix CVE-2017-14164.Efraim Flashner
* gnu/packages/image.scm (openjpeg)[source]: Add patch. * gnu/packages/patches/openjpeg-CVE-2017-14164.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it.
2017-09-10gnu: graphicsmagick: Fix CVE-2017-14165.Efraim Flashner
* gnu/packages/imagemagick.scm (graphicsmagick)[source]: Add patch. * gnu/packages/patches/graphicsmagick-CVE-2017-14165.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it.
2017-09-10gnu: Add emacs-wgrep.Christopher Baines
* gnu/packages/emacs.scm (emacs-wgrep): New variable.
2017-09-10gnu: Add emacs-rspec.Christopher Baines
* gnu/packages/emacs.scm (emacs-rspec): New variable.
2017-09-10gnu: graphicsmagick: Fix CVE-2017-14042.Kei Kebreau
* gnu/packages/imagemagick.scm (graphicsmagick)[source]: Add patch. * gnu/packages/patches/graphicsmagick-CVE-2017-14042.patch: New files. * gnu/local.mk (dist_patch_DATA): Register them.
2017-09-10vm: Add comment about deduplication in make-iso9660-image.Christopher Baines
* gnu/build/vm.scm (make-iso9660-image): Add comment about the use of #:deduplicate #f when calling register-closure.
2017-09-10gnu: btrfs-progs: Update to 4.13.Tobias Geerinckx-Rice
* gnu/packages/linux.scm (btrfs-progs): Update 4.13. [native-inputs]: Add acl.
2017-09-10gnu: foomatic-filters: Add missing patches.Ludovic Courtès
This is a followup to commit d02aabaf1b57eda3ef052c70df1322f915e7c736. * gnu/packages/patches/foomatic-filters-CVE-2015-8327.patch: New file. * gnu/packages/patches/foomatic-filters-CVE-2015-8560.patch: New file. * gnu/local.mk (dist_patch_DATA): Add them.
2017-09-09gnu: Add foo2zjs.Ludovic Courtès
* gnu/packages/cups.scm (foo2zjs): New variable.
2017-09-09gnu: Add foomatic-filters.Ludovic Courtès
* gnu/packages/cups.scm (foomatic-filters): New procedure.
2017-09-08gnu: python2-acme: Remove package.Leo Famulari
This package has not built successfully for a long time. Since it appears to have no users, we remove it for now. * gnu/packages/tls.scm (python2-acme): Remove variable.
2017-09-08gnu: tcpdump: Remove alternate source URL.Leo Famulari
* gnu/packages/admin.scm (tcpdump)[source]: Remove alternate URL.
2017-09-08gnu: certbot, python-acme: Update to 0.18.1.Leo Famulari
* gnu/packages/tls.scm (certbot, python-acme, python2-acme): Update to 0.18.1.
2017-09-08gnu: Add python-betamax-matchers.Oleg Pykhalov
* gnu/packages/python.scm (python-betamax-matchers, python2-betamax-matchers): New variables. Signed-off-by: Ludovic Courtès <ludo@gnu.org>