Commit Graph

33213 Commits

Author SHA1 Message Date
Leo Famulari b494bbe466
gnu: certbot, python-acme: Update to 0.25.1.
* gnu/packages/tls.scm (certbot): Update 0.25.1.
(python-acme): Update to 0.25.1.
[native-inputs]: Add python-pytest.
[propagated-inputs]: Add python-requests-toolbelt.
2018-06-14 19:38:56 -04:00
Leo Famulari 9297fc61cc
gnu: Go 1.10: Update to 1.10.3.
* gnu/packages/golang.scm (go-1.10): Update to 1.10.3.
2018-06-14 17:49:56 -04:00
Leo Famulari 96fd9a0e62
gnu: Go 1.9: Update to 1.9.7.
* gnu/packages/golang.scm (go-1.9): Update to 1.9.7.
2018-06-14 17:49:53 -04:00
Ludovic Courtès 411959bef3
linux-initrd: Module check correctly handles hyphen vs. underscore.
Fixes <https://bugs.gnu.org/31714>.
Reported by Vagrant Cascadian <vagrant@debian.org>
and Florian Pelz <pelzflorian@pelzflorian.de>.

* gnu/system/mapped-devices.scm (check-device-initrd-modules): Pass
LINUX-MODULES through 'normalize-module-name'.
* gnu/build/linux-modules.scm (normalize-module-name): Export.
2018-06-14 23:34:59 +02:00
Ludovic Courtès a9a685cc00
offload: Gracefully handle invalid results from 'machines.scm'.
* guix/scripts/offload.scm (build-machines): Check the result of FILE.
Ignore it if it's not a list of <build-machine>.
2018-06-14 23:34:59 +02:00
Konrad Hinsen 565af91acc
gnu: emacs-racket-mode: Update and bug fix.
* gnu/packages/emacs.scm (emacs-racket-mode): Update and bug fix.

- Update to the current commit
- Bug fix: include Racket files in addition to Emacs Lisp files

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-06-14 23:34:59 +02:00
Fis Trivial a8fb82a8ab
gnu: Add vowpal-wabbit.
* gnu/packages/machine-learning.scm (vowpal-wabbit): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-06-14 23:34:59 +02:00
Fis Trivial 112c2c010b
gnu: Add lightgbm.
* gnu/packages/machine-learning.scm (lightgbm): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-06-14 23:34:59 +02:00
Ludovic Courtès baed923682
self: Add 'guix-daemon' to the result.
* gnu/packages/package-management.scm (guix-daemon): New variable.
* guix/self.scm (whole-package): Add #:daemon and honor it.
(compiled-guix): Pass #:daemon to 'whole-package'.
2018-06-14 23:34:59 +02:00
Gábor Boskovits 0effadcad5
gnu: libressl: Update to 2.7.4 [fixes CVE-2018-{0495,0732}].
* gnu/packages/tls.scm (libressl): Update to 2.7.4.

Signed-off-by: Leo Famulari <leo@famulari.name>
2018-06-14 17:11:17 -04:00
Leo Famulari e3173fe18e
gnu: botan: Update to 2.6.0 [fixes CVE-2018-{9127,9860}].
* gnu/packages/crypto.scm (botan): Update to 2.6.0.
2018-06-14 16:02:52 -04:00
Julien Lepiller af09bed7dc
guix: ui: Allow translation of dates.
* guix/ui.scm (display-generation): Allow translation of dates.
The format string will show dates as month day year, but some languages use a
different convention.
2018-06-14 21:53:12 +02:00
Leo Famulari a4bae9af00
gnu: vdirsyncer: Update to 0.6.6.
* gnu/packages/dav.scm (vdirsyncer): Update to 0.6.6.
[arguments]: Simplify the man-page building.
2018-06-14 15:51:57 -04:00
Leo Famulari 44d1b9569b
gnu: python-click-log: Update to 0.3.2.
* gnu/packages/python.scm (python-click-log): Update to 0.3.2.
2018-06-14 15:51:56 -04:00
Leo Famulari b6c675c693
gnu: GnuPG 1.4: Update to 1.4.23.
* gnu/packages/gnupg.scm (gnupg-1): Update to 1.4.23.
[source]: Remove patch.
* gnu/packages/patches/gnupg-1.4-CVE-2018-12020.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2018-06-14 15:35:23 -04:00
Tobias Geerinckx-Rice ef0d765605
gnu: python-freezegun: Update to 0.3.10.
* gnu/packages/check.scm (python-freezegun): Update to 0.3.10.
2018-06-14 18:55:52 +02:00
Tobias Geerinckx-Rice 19611b7a0a
gnu: python-freezegun: Return #t from phase.
* gnu/packages/check.scm (python-freezegun)[arguments]: Substitute
INVOKE for SYSTEM*.
2018-06-14 18:55:52 +02:00
Tobias Geerinckx-Rice d518261f05
gnu: cppcheck: Update to 1.84.
* gnu/packages/check.scm (cppcheck): Update to 1.84.
2018-06-14 18:55:51 +02:00
Tobias Geerinckx-Rice 6dd5f2ea63
gnu: qrencode: Update to 4.0.2.
* gnu/packages/aidc.scm (qrencode): Update to 4.0.2.
2018-06-14 18:55:51 +02:00
Tobias Geerinckx-Rice f71619648c
gnu: perl-dbi: Update to 1.641.
* gnu/packages/databases.scm (perl-dbi): Update to 1.641.
2018-06-14 18:55:51 +02:00
Tobias Geerinckx-Rice 1ba7a62362
gnu: python-nose-timer: Update to 0.7.2.
* gnu/packages/check.scm (python-nose-timer): Update to 0.7.2.
[source]: Remove patch...
* gnu/packages/patches/python-nose-timer-drop-ordereddict.patch:
...delete file...
* gnu/local.mk (dist_patch_DATA): ...and remove it.
2018-06-14 18:55:46 +02:00
Rutger Helling ecbac51a0c
gnu: openrct2: Downgrade to 0.1.1.
* gnu/packages/games.scm (openrct2): Downgrade to 0.1.1 due to audio not
working on 0.1.2+. Needs fixing before upgrade.
[arguments]: Add "-DDOWNLOAD_TITLE_SEQUENCES=OFF" configure-flag. Remove
'fixgcc7 and 'get-rid-of-errors phases.
[native-inputs]: Remove gcc@7.
2018-06-14 18:14:30 +02:00
Clément Lassieur 43fa239717
gnu: emacs-password-store: Update to 1.7.2.
* gnu/packages/emacs.scm (emacs-password-store): Update to 1.7.2.
[propagated-inputs]: Add emacs-with-editor.
2018-06-14 17:37:04 +02:00
Clément Lassieur ab6f400531
gnu: password-store: Update to 1.7.2.
* gnu/packages/password-utils.scm (password-store): Update to 1.7.2.
[source]: Remove 'password-store-gnupg-compat.patch'.
* gnu/packages/patches/password-store-gnupg-compat.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2018-06-14 17:36:59 +02:00
Ricardo Wurmus f715f102e0
gnu: fio: Update to 3.7.
* gnu/packages/benchmark.scm (fio): Update to 3.7.
2018-06-14 15:41:09 +02:00
Ricardo Wurmus 53131eab2d
gnu: Add minimap2.
* gnu/packages/bioinformatics.scm (minimap2): New variable.
2018-06-14 13:51:15 +02:00
Ricardo Wurmus ce573b1128
gnu: pigx-bsseq: Update to 0.0.9.
* gnu/packages/bioinformatics.scm (pigx-bsseq): Update to 0.0.9.
2018-06-14 12:56:49 +02:00
Ludovic Courtès ea0a06cee2
Remove 'guix-register' and its traces.
* Makefile.am (SH_TESTS): Remove tests/guix-register.sh.
* build-aux/pre-inst-env.in (GUIX_REGISTER): Remove.
* gnu/build/install.scm (directives): Remove outdated comment.
* gnu/build/vm.scm (root-partition-initializer): Update comment.
* gnu/packages/package-management.scm (guix-register): Remove.
* guix/config.scm.in (%sbindir, %guix-register-program): Remove.
* guix/scripts/system.scm (install): Adjust docstring.
* guix/self.scm (make-config.scm): Remove #:guix.  Do not generate
%sbindir and %guix-register-program.
(specification->package): Remove "guix".
* nix/guix-register/guix-register.cc: Remove.
* nix/libstore/store-api.cc (decodeValidPathInfo): Remove.
* nix/libstore/store-api.hh (decodeValidPathInfo): Remove declaration.
* nix/local.mk (sbin_PROGRAMS, guix_register_SOURCES)
(guix_register_CPPFLAGS, guix_register_LDFLAGS): Remove.
* tests/guix-register.sh: Remove.
2018-06-14 11:17:00 +02:00
Ludovic Courtès df2f6400b1
store: Remove 'register-path'.
* guix/store.scm (register-path): Remove.
* guix/nar.scm: Use (guix store database).
* guix/scripts/system.scm: Likewise.
* tests/store-database.scm: Remove #:hide (register-path).
* tests/store.scm ("register-path"): Remove.
2018-06-14 11:17:00 +02:00
Ludovic Courtès eb9fe97495
database: Allow for deterministic database construction.
Fixes <https://bugs.gnu.org/21073>.

* guix/store/database.scm (sqlite-register): Add #:time.
(%epoch): New variable.
(register-items): Add #:registration-time.  Pass #:time to
'sqlite-register'.
* gnu/build/install.scm (register-closure): Pass #:registration-time.
2018-06-14 11:17:00 +02:00
Ludovic Courtès 078c2329c0
install: Use 'reset-timestamps' from (guix store database).
* gnu/build/install.scm (reset-timestamps): Remove.
* gnu/build/vm.scm: Use 'reset-timestamps' from (guix store database).
2018-06-14 11:17:00 +02:00
Ludovic Courtès 31a63be878
database: Add 'register-items'.
* guix/build/store-copy.scm (store-info): Export.
* guix/store/database.scm (register-items): New procedure.
(register-path): Implement in terms of 'register-items'.
* gnu/build/install.scm (register-closure): Use 'register-items' instead
of 'for-each' and 'register-path'.
2018-06-14 11:17:00 +02:00
Ludovic Courtès ef1297e8c7
database: 'sqlite-register' takes a database, not a file name.
* guix/store/database.scm (sqlite-register): Remove #:db-file and add
'db' parameter.  Remove #:schema and 'parameterize'.
(register-path): Wrap 'sqlite-register' call in 'with-database' and in
'parameterize'.
* tests/store-database.scm ("new database")
("register-path with unregistered references"): Adjust accordingly.
2018-06-14 11:17:00 +02:00
Ludovic Courtès c45477d2a1
install: Use (guix store database) instead of 'guix-register'.
* gnu/build/install.scm (register-closure): Add #:reset-timestamps? and
and #:schema; honor them.  Rewrite in terms of 'register-path'.
(populate-single-profile-directory): Add #:schema and honor it.  Make
/var/guix/profiles and /var/guix/gcroots.
* gnu/build/vm.scm (root-partition-initializer): Pass
 #:reset-timestamps? to 'register-closure'.
* gnu/system/vm.scm (not-config?): New procedure.
(guile-sqlite3&co): New variable.
(expression->derivation-in-linux-vm)[config]: New variable.
[builder]: Use 'with-extensions'.
(iso9660-image)[schema, config]: New variables.
Wrap build expression in 'with-extensions'; add 'sql-schema' call.
Remove GUIX from INPUTS.
(qemu-image)[schema, config]: New variables.
Wrap body in 'with-extensions'.
(system-docker-image)[not-config?]: Remove.
[config]: Use 'make-config.scm'.
[schema]: New variable.
[build]: Use 'with-extensions'.  Add call to 'sql-schema'.  Remove GUIX
from INPUTS.
* gnu/system/file-systems.scm (%store-prefix): Check whether
'%store-prefix' is defined.
* guix/scripts/pack.scm (self-contained-tarball)[not-config?]
[libgcrypt, schema]: New variables.
[build]: Wrap in 'with-extensions'.  Adjust imported module list to use
'make-config.scm' for (guix config).
2018-06-14 11:16:59 +02:00
Ludovic Courtès be43c08b17
vm: 'expression->derivation-in-linux-vm' code can now use dlopen.
* gnu/system/vm.scm (expression->derivation-in-linux-vm)
[user-builder]: Define in non-monadic style as 'program-file'.
[loader]: Likewise, and 'execl' USER-BUILDER instead of loading it.
(system-docker-image): Pass BUILD as the second
argument to 'expression->derivation-in-linux-vm'.
(make-iso9660-image, qemu-image): Remove call to 'reboot'.
2018-06-14 11:16:59 +02:00
Ludovic Courtès 49c393ccaa
database: 'reset-timestamps' sets file permissions as well.
* guix/store/database.scm (reset-timestamps): Add 'chmod' calls.
2018-06-14 11:16:59 +02:00
Ludovic Courtès 122a6cad7d
database: Replace existing entries in Refs.
* guix/store/database.scm (add-reference-sql): Add "OR REPLACE".
2018-06-14 11:16:59 +02:00
Ludovic Courtès 4bd86f0d62
database: Add #:reset-timestamps? to 'register-path'.
* guix/store/database.scm (register-path): Add #:reset-timestamps? and
honor it.
2018-06-14 11:16:59 +02:00
Ludovic Courtès b85e2ff484
database: Remove extra SQL parameter in 'update-or-insert'.
* guix/store/database.scm (update-or-insert): Remove extra #:path
parameter.
2018-06-14 11:16:59 +02:00
Ludovic Courtès 0d0438ed8c
deduplicate: Fix a couple of thinkos.
* guix/store/deduplication.scm (get-temp-link): Turn 'args' in the 'catch'
handler into a rest argument.
(deduplicate): Use 'lstat' instead of 'file-is-directory?' to properly
handle symlinks.  When iterating over the result of 'scandir', exclude
the ".links" sub-directory.
* tests/store-deduplication.scm ("deduplicate"): Create sub-directories
and call 'deduplicate' directly on STORE.
2018-06-14 11:16:59 +02:00
Ludovic Courtès 866ee8c66a
database: 'register-path' creates the database directory if needed.
* guix/store/database.scm (register-path): Call 'mkdir-p'.
2018-06-14 11:16:59 +02:00
Ludovic Courtès 33fddb763a
database: Provide a way to specify the schema location.
* guix/store/database.scm (sqlite-register): Add #:schema.  Parameterize
'sql-schema' based on this.
(register-path): Add #:schema and pass it to 'sqlite-register'.
2018-06-14 11:16:59 +02:00
Ludovic Courtès c5a2e1ffcb
build: Require Guile-SQLite3.
The next commits make (sqlite3) an indirect dependency of (gnu build
install), which is itself used by (guix scripts system), hence this new
requirement.

* configure.ac: Error out when $guix_cv_have_recent_guile_sqlite3 is
false.  Remove HAVE_GUILE_SQLITE3 Automake conditional.
* Makefile.am (MODULES, SCM_TESTS): Remove HAVE_GUILE_SQLITE3 conditions.
* doc/guix.texi (Requirements): Add Guile-SQLite3.
* README: Ditto.
* gnu/packages/package-management.scm (guix)[propagated-inputs]: Add
GUILE-SQLITE3.
[arguments]: In 'wrap-program' phase, take guile-sqlite3 into account.
2018-06-14 11:16:58 +02:00
Ludovic Courtès 6892f0a247
store-copy: 'read-reference-graph' returns a list of records.
The previous implementation of 'read-reference-graph' was good enough
for many use cases, but it discarded the graph structure, which is
useful information in some cases.

* guix/build/store-copy.scm (<store-info>): New record type.
(read-reference-graph): Rewrite to return a list of <store-info>.
(closure-size, populate-store): Adjust accordingly.
* gnu/services/base.scm (references-file): Adjust accordingly.
* gnu/system/vm.scm (system-docker-image): Likewise.
* guix/scripts/pack.scm (squashfs-image, docker-image): Likewise.
* tests/gexp.scm ("gexp->derivation #:references-graphs"): Likewise.
2018-06-14 11:16:58 +02:00
Ludovic Courtès f8f9f7cabc
database: Fail registration when encountering unregistered references.
* guix/store/database.scm (add-reference-sql): Remove nested SELECT.
(add-references): Expect REFERENCES to be a list of ids.
(sqlite-register): Call 'path-id' for each of REFERENCES and pass it to
'add-references'.
* tests/store-database.scm ("register-path with unregistered references"):
New test.
2018-06-14 11:16:58 +02:00
Ludovic Courtès 3931c76154
database: 'with-database' can now initialize new databases.
* nix/libstore/schema.sql: Rename to...
* guix/store/schema.sql: ... this.
* Makefile.am (nobase_dist_guilemodule_DATA): Add it.
* nix/local.mk (%D%/libstore/schema.sql.hh): Adjust accordingly.
* guix/store/database.scm (sql-schema): New variable.
(sqlite-exec, initialize-database, call-with-database): New procedures.
(with-database): Rewrite in terms of 'call-with-database'.
* tests/store-database.scm ("new database"): New test.
* guix/self.scm (compiled-guix)[*core-modules*]: Add 'schema.sql' to
 #:extra-files.
2018-06-14 11:16:58 +02:00
Efraim Flashner 03439df66f
gnu: libgcrypt: Fix CVE-2018-0495.
* gnu/packages/gnupg.scm (libgcrypt)[replacement]: New field.
(libgcrypt/fixed): New package.
2018-06-14 11:06:48 +03:00
Clément Lassieur 85d79a79e4
gnu: Add python-dns-lexicon.
* gnu/packages/python.scm (python-dns-lexicon, python2-dns-lexicon): New
variables.
2018-06-14 08:18:06 +02:00
Clément Lassieur b863b50d80
gnu: Add python-pynamecheap.
* gnu/packages/python.scm (python-pynamecheap, python2-pynamecheap): New
variables.
2018-06-14 08:18:02 +02:00
Clément Lassieur f4adbe7405
gnu: Add python-tldextract.
* gnu/packages/python.scm (python-tldextract, python2-tldextract): New
variables.
2018-06-14 08:17:59 +02:00