Commit Graph

20989 Commits

Author SHA1 Message Date
Marius Bakke fd5a30ab7b
vm: Support arbitrary partition flags.
* gnu/build/vm.scm (<partition>): Change BOOTABLE? to FLAGS.
(initialize-partition-table): Pass each flag to parted.
(initialize-hard-disk): Locate boot partition.
* gnu/system/vm.scm (qemu-image): Adjust partition flags.
2017-05-20 10:17:52 +02:00
Ludovic Courtès c383dc520f
gnu: guile-ssh: Fix potential double-free/use-after-free issue.
Fixes <http://bugs.gnu.org/26976>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/packages/patches/guile-ssh-double-free.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/ssh.scm (guile-ssh)[source](patches): Add it.
2017-05-20 10:17:49 +02:00
Ludovic Courtès 4ee6584cbf
modules: Add more source-less modules.
* guix/modules.scm (%source-less-modules): New variable.
(source-module-dependencies): Use it.
2017-05-20 10:17:43 +02:00
Ludovic Courtès 4a628d57fc
publish: Fix narinfo rendering for already-compressed items.
Fixes <http://bugs.gnu.org/26975>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/scripts/publish.scm (bake-narinfo+nar): Pass #f as the 2nd
argument to 'stat' and properly handle #f.
* tests/publish.scm (wait-for-file): New procedure.
("with cache"): Remove 'wait-for-file' procedure.
("with cache, uncompressed"): New test.
2017-05-20 10:17:36 +02:00
Ludovic Courtès 36c99429a3
union: Gracefully handle dangling symlinks in the input.
Fixes <http://bugs.gnu.org/26949>.
Reported by Pjotr Prins <pjotr.public12@thebird.nl>.

* guix/build/union.scm (file-is-directory?): Return #f when FILE does
not exist or is a dangling symlink.
(file=?): Pass #f as a second argument to 'stat'; return #f when both
ST1 or ST2 is #f.
* tests/profiles.scm (test-equalm): New macro.
("union vs. dangling symlink"): New test.
2017-05-20 10:17:14 +02:00
Ludovic Courtès 51fe9cd38d
services: user-homes: Do not create home directories marked as no-create.
Fixes a bug whereby GuixSD would create the /nonexistent directory, from
user 'nobody', even though it has 'create-home-directory?' set to #f.

* gnu/build/activation.scm (activate-users+groups): Add comment for
\#:create-home?.
(activate-user-home)[ensure-user-home]: Skip when CREATE-HOME? is #f or
SYSTEM? is #t.
* gnu/tests/base.scm (run-basic-test)["no extra home directories"]: New
tests.
2017-05-20 10:17:10 +02:00
Marius Bakke f3f8938fe0
install: Enable SSH in installation image.
* gnu/system/install.scm (%installation-services): Add OPENSSH-SERVICE-TYPE.
* doc/guix.texi (Preparing for Installation)[Networking]: Document it.
2017-05-20 10:16:37 +02:00
Marius Bakke e13b55ae79
services: openssh: Don't depend on networking.
* gnu/services/ssh.scm (openssh-shepherd-service): Drop requirement.
2017-05-20 10:16:34 +02:00
Leo Famulari a6c642ef63
maint: The 'release' target builds a VM image.
* gnu/system/examples/vm-image.tmpl: New file.
* Makefile.am (GUIXSD_VM_SYSTEMS, GUIXSD_VM_IMAGE_BASE,
GUIXSD_VM_IMAGE_SIZE): New variables.
(release): Add logic to build a VM image.
(EXAMPLES): Add 'gnu/system/examples/vm-image.tmpl'.
* doc/guix.texi (Running GuixSD in a VM, Installing GuixSD in a VM): Mention the
pre-built VM image.
2017-05-20 10:16:23 +02:00
Ludovic Courtès 56a03975eb
gnu: aspell: 'dict-dir' set to ~/.guix-profile/lib/aspell or $ASPELL_DICT_DIR.
See <https://bugs.gnu.org/25836> for background.

* gnu/packages/patches/aspell-default-dict-dir.patch: New file.
* gnu/packages/aspell.scm (aspell)[source](patches): New field.
[native-search-paths]: New field.
* gnu/local.mk (dist_patch_DATA): Add it.
2017-05-20 10:16:14 +02:00
Alex Kost 37fd956771
build: Compile stackage only if 'guile-json' is available.
Fixes <http://bugs.gnu.org/26860>.
This is a followup to commit 3089b5d3f5.

* Makefile.am (MODULES): Move "guix/scripts/import/stackage.scm" within
'if HAVE_GUILE_JSON'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-20 10:16:02 +02:00
Leo Famulari c90fd5564c
gnu: qemu: Fix CVE-2017-7493.
* gnu/packages/patches/qemu-CVE-2017-7493.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/qemu.scm (qemu)[source]: Use it.
2017-05-20 10:15:53 +02:00
Maxim Cournoyer 6d1ae43dcb
profiles: Add elapsed time to manual-database hook to output message.
* guix/profiles.scm (manual-database): Add elapsed time to manual-database
hook to output message.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-20 10:15:47 +02:00
Ricardo Wurmus d03b34cf19
gnu: glibc/hurd: Do not apply i686 patch.
This is a follow-up to commit c2e4f14ac8.

* gnu/packages/base.scm (glibc/hurd)[arguments]: Override pre-configure phase
with a copy that does not include the patch application.
2017-05-20 10:15:31 +02:00
Ricardo Wurmus 5d6e38a6c3
gnu: glibc/hurd: Use modify-phases syntax.
* gnu/packages/base.scm (glibc/hurd)[arguments]: Use modify-phases syntax.
2017-05-20 10:15:28 +02:00
Efraim Flashner ed5e3ab8ab
gnu: tor: Update to 0.3.0.7.
* gnu/packages/tor.scm (tor): Update to 0.3.0.7.
2017-05-20 10:15:00 +02:00
Ludovic Courtès 920803fbf4
maint: Add 'update-NEWS' target.
* build-aux/update-NEWS.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
(GUIX_MAINTENANCE_DIRECTORY): New variable.
(update-NEWS): New target.
(.PHONY): Add it.
2017-05-18 16:24:02 +02:00
Ricardo Wurmus 266d281d25
Update NEWS. 2017-05-17 23:04:59 +02:00
Ludovic Courtès 43e5a262aa
Update NEWS. 2017-05-16 15:18:12 +02:00
Ludovic Courtès 33ec536b90
gnu: guix: Update snapshot.
* gnu/packages/package-management.scm (guix): Update to ce92d26.
2017-05-16 15:18:12 +02:00
Ludovic Courtès ce92d269fe
ui: Disable Guile deprecation warnings by default.
* guix/ui.scm (initialize-guix): Call (debug-disable 'warn-deprecated)
when "GUILE_WARN_DEPRECATED" is not set.
2017-05-16 14:31:37 +02:00
Ludovic Courtès 5a3429bcc5
gnu: guile-ssh: Fix bug in 'node-guile-version'.
* gnu/packages/patches/guile-ssh-rexec-bug.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/ssh.scm (guile-ssh)[source](patches): New field.
2017-05-16 14:16:56 +02:00
Ludovic Courtès d116695b31
hydra: Cross-build Guile 2.2.
* build-aux/hydra/gnu-system.scm (%core-packages): Add GUILE-2.2.
2017-05-16 14:16:56 +02:00
Leo Famulari 4a3495d57c
gnu: khard: Update to 0.11.4.
* gnu/packages/mail.scm (khard): Update to 0.11.4.
2017-05-15 22:27:53 -04:00
Ludovic Courtès a068300628
gnu: bind: Rename variable to 'isc-bind'.
Reported by Leo Famulari.

* gnu/packages/dns.scm (bind): Rename to...
(isc-bind): ... this.
* gnu/packages/sssd.scm (sssd)[inputs]: Adjust accordingly.
2017-05-16 00:00:03 +02:00
Ludovic Courtès 0e2bfa3ae1
doc: Mention 'sync' after 'dd'.
Suggested by librenoob on #guix.

* doc/guix.texi (USB Stick Installation): Add 'sync' invocation.
2017-05-15 23:55:10 +02:00
Ludovic Courtès c22c9fa589
services: guix: Authorize the key for bayfront.guixsd.org.
* gnu/services/base.scm (%default-authorized-guix-keys): Add
"bayfront.guixsd.org".
2017-05-15 23:55:10 +02:00
Ludovic Courtès b7ebcfe352
doc: Mention 'GUIX_PACKAGE_PATH' in "Defining Packages".
* doc/guix.texi (Defining Packages): Mention 'GUIX_PACKAGE_PATH'.
2017-05-15 23:55:10 +02:00
Ludovic Courtès f411124321
utils: 'compressed-file?' matches ".lzma" files.
* guix/utils.scm (compressed-file?): Add "lzma" to the list.
2017-05-15 23:55:10 +02:00
Ricardo Wurmus 6d225e89db
gnu: antlr2: Minor stylistic changes.
* gnu/packages/java.scm (antlr2)[source]: Fix indentation; end snippet on #t;
add comment next to disabled tests.
2017-05-15 23:39:44 +02:00
Ricardo Wurmus 3ad9039515
gnu: antlr2: Simplify build phases.
* gnu/packages/java.scm (antl2)[arguments]: Simplify build phases.
2017-05-15 23:35:51 +02:00
Ricardo Wurmus 4511e0db23
gnu: Add non-timeline.
* gnu/packages/music.scm (non-timeline): New variable.
2017-05-15 23:01:24 +02:00
Ricardo Wurmus 46bb58b864
gnu: Add non-mixer.
* gnu/packages/music.scm (non-mixer): New variable.
2017-05-15 23:01:20 +02:00
Ricardo Wurmus a5cdcf6c09
gnu: Add java-javax-mail.
* gnu/packages/java.scm (java-javax-mail): New variable.
2017-05-15 22:33:17 +02:00
Ricardo Wurmus 095494ed6c
licenses: Add EDL 1.0.
* guix/licenses.scm (edl1.0): New variable.
2017-05-15 22:33:17 +02:00
Ricardo Wurmus 0e660c4de9
gnu: Add java-log4j-api.
* gnu/packages/java.scm (java-log4j-api): New variable.
2017-05-15 22:33:17 +02:00
Ricardo Wurmus c24d11b734
gnu: Add java-eclipse-jdt-core.
* gnu/packages/java.scm (java-eclipse-jdt-core): New variable.
2017-05-15 22:33:17 +02:00
Ricardo Wurmus bf96acf7e5
gnu: Add java-eclipse-text.
* gnu/packages/java.scm (java-eclipse-text): New variable.
2017-05-15 22:33:17 +02:00
Ricardo Wurmus 31342529b2
gnu: Add java-eclipse-core-commands.
* gnu/packages/java.scm (java-eclipse-core-commands): New variable.
2017-05-15 22:33:16 +02:00
Ricardo Wurmus 1bb191fc4b
gnu: Add java-eclipse-team-core.
* gnu/packages/java.scm (java-eclipse-team-core): New variable.
2017-05-15 22:33:16 +02:00
Ricardo Wurmus afb5858dd1
gnu: Add java-eclipse-compare-core.
* gnu/packages/java.scm (java-eclipse-compare-core): New variable.
2017-05-15 22:33:16 +02:00
Ricardo Wurmus 1d4234d4c2
gnu: Add java-icu4j.
* gnu/packages/icu4c.scm (java-icu4j): New variable.
2017-05-15 22:33:16 +02:00
Ricardo Wurmus 6636f6388f
gnu: Add java-eclipse-core-resources.
* gnu/packages/java.scm (java-eclipse-core-resources): New variable.
2017-05-15 22:33:16 +02:00
Ricardo Wurmus 7c3d479e83
gnu: Add java-eclipse-ant-core.
* gnu/packages/java.scm (java-eclipse-ant-core): New variable.
2017-05-15 22:33:16 +02:00
Ricardo Wurmus e8d0f7c8f9
gnu: Add java-eclipse-core-variables.
* gnu/packages/java.scm (java-eclipse-core-variables): New variable.
2017-05-15 22:33:16 +02:00
Ricardo Wurmus e96060de20
gnu: Add java-eclipse-core-expressions.
* gnu/packages/java.scm (java-eclipse-core-expressions): New variable.
2017-05-15 22:33:15 +02:00
Ricardo Wurmus b3806a1506
gnu: Add java-eclipse-core-filesystem.
* gnu/packages/java.scm (java-eclipse-core-filesystem): New variable.
2017-05-15 22:33:15 +02:00
Ricardo Wurmus 6a7f7e49b3
gnu: Add java-eclipse-core-runtime.
* gnu/packages/java.scm (java-eclipse-core-runtime): New variable.
2017-05-15 22:33:15 +02:00
Ricardo Wurmus 4ad3d4f337
gnu: Add java-eclipse-core-contenttype.
* gnu/packages/java.scm (java-eclipse-core-contenttype): New variable.
2017-05-15 22:33:15 +02:00
Ricardo Wurmus 3f97021441
gnu: Add java-eclipse-equinox-preferences.
* gnu/packages/java.scm (java-eclipse-equinox-preferences): New variable.
2017-05-15 22:33:15 +02:00