Commit Graph

15789 Commits

Author SHA1 Message Date
Leo Famulari fca4ff3559
gnu: Add python-pytest-2.9.2.
* gnu/packages/python.scm (python-pytest-2.9.2): New variable.
2016-11-08 16:14:04 +00:00
Leo Famulari 667e777b4e
gnu: mupdf: Fix CVE-2016-{7504,7505,7506,7563,7564,9017,9136} in bundled mujs.
* gnu/packages/patches/mupdf-CVE-2016-7504.patch,
gnu/packages/patches/mupdf-CVE-2016-7505.patch
gnu/packages/patches/mupdf-CVE-2016-7506.patch
gnu/packages/patches/mupdf-CVE-2016-7563.patch
gnu/packages/patches/mupdf-CVE-2016-7564.patch
gnu/packages/patches/mupdf-CVE-2016-9017.patch
gnu/packages/patches/mupdf-CVE-2016-9136.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/pdf.scm (mupdf)[source]: Use them.
2016-11-08 11:03:14 -05:00
Marius Bakke 81bf2ccbc4
system: Use grub from bootloader configuration.
* gnu/system/grub.scm (gnu): Export grub-configuration-grub.
* guix/scripts/system.scm (perform-action): Use it.
(define-module): Don't import (gnu packages grub).

Co-authored-by: Danny Milosavljevic <dannym@scratchpost.org>
2016-11-08 14:35:05 +00:00
Theodoros Foradis 842a1400a7
gnu: Add plantuml.
* gnu/packages/uml.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Roel Janssen <roel@gnu.org>
2016-11-08 14:59:04 +01:00
Ludovic Courtès 64b8695cd8
guix download: Add '--no-check-certificate' option.
* guix/download.scm (download-to-store): Add #:verify-certificate?
parameter and honor it.
* guix/scripts/download.scm (%default-options): Add
'verify-certificate?' key.
(show-help, %options): Add '--no-check-certificate'.
(guix-download): Pass #:verify-certificate to 'download-to-store'.
* doc/guix.texi (Invoking guix download): Document it.
2016-11-07 23:39:01 +01:00
Ludovic Courtès bc3c41ce36
download: Verify TLS certificates unless asked not to.
Fixes <http://bugs.gnu.org/24466>.
Reported by Leo Famulari <leo@famulari.name>.

* guix/build/download.scm (%x509-certificate-directory): New variable.
(make-credendials-with-ca-trust-files, peer-certificate)
(assert-valid-server-certificate, print-tls-certificate-error): New
procedures.  Add 'print-tls-certificate-error' as an exception printer
for 'tls-certificate-error'.
(tls-wrap): Add #:verify-certificate? parameter and honor it.
(open-connection-for-uri): Likewise.
(http-fetch): Likewise.
(url-fetch): Likewise.
* guix/download.scm (url-fetch)[builder]: Pass #:verify-certificate? #f.
* guix/scripts/lint.scm (probe-uri): Add case for 'tls-certificate-error'.
(validate-uri): Likewise.
* doc/guix.texi (Invoking guix download): Mention 'SSL_CERT_DIR'.
2016-11-07 23:39:01 +01:00
Efraim Flashner a00fbe8adf
gnu: keepassx: Update to 2.0.3.
* gnu/packages/password-utils.scm (keepassx): Update to 2.0.3.
[inputs]: Add libxi.
2016-11-07 21:57:00 +02:00
Efraim Flashner 2523691a22
gnu: owncloud-client: Update to 2.2.4.
* gnu/packages/owncloud.scm (owncloud-client): Update to 2.2.4.
[arguments]: Enable tests, disable two failing tests.
[inputs]: Remove python-wrapper, qt, ruby.  Add qtbase, qtwebkit.
Move perl ...
[native-inputs]: ... to here.  Add cmocka and qttools.
2016-11-07 21:56:47 +02:00
Danny Milosavljevic 6a686b18e0
gnu: python-sqlalchemy-utils: Mention optional dependencies in description.
* gnu/packages/python.scm (python-sqlalchemy-utils,
python2-sqlalchemy-utils)[description]: Mention optional dependencies.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-11-07 12:49:03 -05:00
Marius Bakke 1581406e23
gnu: Add efibootmgr.
* gnu/packages/linux.scm (efibootmgr): New variable.
2016-11-07 12:12:59 +00:00
Marius Bakke 0d74462a5f
gnu: Add efivar.
* gnu/packages/linux.scm (efivar): New variable.
2016-11-07 12:12:56 +00:00
Ben Woodcroft 06028aed7c
gnu: ruby-tzinfo-data: Update to 1.2016.9.
* gnu/packages/ruby.scm (ruby-tzinfo-data): Update to 1.2016.9.
2016-11-07 21:36:24 +10:00
Ben Woodcroft 17ba688c49
gnu: ruby-sqlite3: Update to 1.3.12.
* gnu/packages/ruby.scm (ruby-sqlite3): Update to 1.3.12.
2016-11-07 21:35:31 +10:00
Ben Woodcroft e7d1d472cd
gnu: ruby-shoulda-context: Update to 1.2.2.
* gnu/packages/ruby.scm (ruby-shoulda-context): Update to 1.2.2.
2016-11-07 21:35:07 +10:00
Ben Woodcroft ca0839142e
gnu: ruby-domain-name: Update to 0.5.20161021.
* gnu/packages/ruby.scm (ruby-domain-name): Update to 0.5.20161021.
2016-11-07 21:34:15 +10:00
Ben Woodcroft 2a2eb07d87
gnu: ruby-http-cookie: Update to 1.0.3.
* gnu/packages/ruby.scm (ruby-http-cookie): Update to 1.0.3.
2016-11-07 21:33:41 +10:00
Ben Woodcroft 420fdfef9a
gnu: ruby-sequel: Update to 4.40.0.
* gnu/packages/ruby.scm (ruby-sequel): Update to 4.40.0.
2016-11-07 21:32:32 +10:00
Ben Woodcroft 3cf7c31720
gnu: diamond: Update to 0.8.26.
* gnu/packages/bioinformatics.scm (diamond): Update to 0.8.26.
2016-11-07 21:31:09 +10:00
Thomas Danckaert bd9174860c
gnu: texmaker: Use modular qt and qtwebkit.
* gnu/packages/tex.scm (texmaker)[inputs]: Use modular qt and qtwebkit.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-07 10:18:22 +01:00
Thomas Danckaert 47e1d280d5
gnu: Add qtwebkit.
* gnu/packages/qt.scm (qtwebkit): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-07 10:18:22 +01:00
Efraim Flashner fbc44ef2cd
gnu: nano: Update to 2.7.1.
* gnu/packages/nano.scm (nano): Update to 2.7.1.
[home-page]: Use https.
2016-11-07 07:55:01 +02:00
Leo Famulari 14ac8e4865
gnu: jansson: Update to 2.9.
* gnu/packages/web.scm (jansson): Update to 2.9.
[source]: Remove 'jansson-CVE-2016-4425.patch'.
* gnu/packages/patches/jansson-CVE-2016-4425.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2016-11-06 19:50:30 -05:00
Ludovic Courtès fd68cc2c8b
gnu: ghostscript: Add 'upstream-name' property.
This allows 'guix refresh' to do the right thing.

* gnu/packages/ghostscript.scm (ghostscript)[properties]: New field.
2016-11-06 23:52:32 +01:00
Leo Famulari 2ad0240c56
gnu: acme-client: Update to 0.1.14.
* gnu/packages/tls.scm (acme-client): Update to 0.1.14.
2016-11-06 15:58:22 -05:00
Leo Famulari 84e6d15194
nls: Update 'fr' translation. 2016-11-06 15:58:14 -05:00
Marius Bakke a95403876e
gnu: vim: Update to 8.0.0069.
* gnu/packages/vim.scm (vim): Update to 8.0.0069.
2016-11-06 20:44:43 +00:00
Efraim Flashner 63d8f08fbf
gnu: qtmultimedia: Remove bundled library.
* gnu/packages/qt.scm (qtmultimedia)[source]: Remove bundled library.
2016-11-06 22:25:11 +02:00
Efraim Flashner c04854da93
gnu: qtimageformats: Remove bundled libraries.
* gnu/packages/qt.scm (qtimagesformats)[source]: Remove bundled 3rd
party libraries.
2016-11-06 22:25:11 +02:00
Danny Milosavljevic 26d07efb79
gnu: python-sqlalchemy-utils: Use python-pytest.
* gnu/packages/python.scm (python-sqlalchemy-utils)[native-inputs]: Add
python-pytest.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-06 19:53:15 +00:00
Danny Milosavljevic c22b4f87c2
gnu: python-sqlalchemy-utils: Propagate existing inputs.
* gnu/packages/python.scm (python-sqlalchemy-utils)[inputs]: Move to ...
[propagated-inputs]: ... here.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-06 19:53:14 +00:00
Danny Milosavljevic 462bf27157
gnu: Add python-flask-babel.
* gnu/packages/python.scm (python-flask-babel, python2-flask-babel):
  New variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-06 19:53:14 +00:00
Danny Milosavljevic 9dede065ba
gnu: Add python-furl.
* gnu/packages/python.scm (python-furl, python2-furl): New variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-06 19:53:14 +00:00
Danny Milosavljevic b91912c42a
gnu: Add python-orderedmultidict.
* gnu/packages/python.scm (python-orderedmultidict, python2-orderedmultidict):
  New variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-06 19:53:13 +00:00
Danny Milosavljevic 4a0933307e
gnu: Add python-pycodestyle.
* gnu/packages/python.scm (python-pycodestyle, python2-pycodestyle):
  New variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-06 19:53:13 +00:00
John Darrington 290ad2243c
gnu: Remove comment which is factually incorrect.
* gnu/system/pam.scm: Remove incorrect comment.
2016-11-06 19:56:43 +01:00
Chris Marusich 8074b33077
system: Add 'guix system' actions: switch-generation and roll-back.
* guix/scripts/system.scm (roll-back-system, switch-to-system-generation): new
actions.
(reinstall-grub): New procedure, used by switch-to-system-generation.
(show-help, process-command, guix-system): Honor the new actions.
* doc/guix.texi (Invoking guix system) <switch-generation, roll-back>: Add the
new actions.
<reconfigure>: In the footnote, mention that the new actions also only work on
GuixSD.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-06 18:08:53 +01:00
Chris Marusich 1e17a2d5f2
install: Extract procedure: install-grub-config.
* gnu/build/install.scm (install-grub-config): New procedure.
(install-grub): Use it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-06 18:08:53 +01:00
Chris Marusich aff7280a0b
system: Optionally limit the entries returned by profile-grub-entries.
* guix/scripts/system.scm (profile-grub-entries): Add an optional parameter
which allows the caller to limit the number of returned grub entries.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-06 18:08:53 +01:00
Chris Marusich 45e39eee21
system: Rename previous-grub-entries to profile-grub-entries.
* guix/scripts/system.scm (previous-grub-entries, profile-grub-entries):
Rename previous-grub-entries to profile-grub-entries to indicate that it is
stateful and returns the entries for all profile generations, not just the
previous ones.  Update all callers.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-06 18:08:53 +01:00
Chris Marusich 9008debc54
profiles: Extract a procedure for getting relative generation numbers.
* guix/profiles.scm (relative-generation-spec->number): New procedure.
* guix/scripts/package.scm (switch-generation-action): Use it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-06 18:08:53 +01:00
Chris Marusich 3382bfe9ea
system: Avoid using device paths in <menu-entry> device field.
This fixes a regression introduced by
1ef8b72a7f, in which we would incorrectly use a
device path in a label-based grub root search command, e.g. 'search --label
--set /dev/sda4'.

* gnu/system.scm (grub-device): New procedure.
(operating-system-grub.cfg, operating-system-parameters-file): Use it.
(read-boot-parameters): Handle device paths correctly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-06 18:08:46 +01:00
Marius Bakke f4dc22bcd9
gnu: nmap: Update to 7.31.
* gnu/packages/admin.scm (nmap): Update to 7.31.
[arguments]: Add phase 'patch-Makefile' to prevent lua from being built.
2016-11-06 16:17:29 +00:00
Marius Bakke 331ef882ff
gnu: wireshark: Use lua-5.2.
* gnu/packages/networking.scm (wireshark)[inputs]: Change from 'lua' to
'lua-5.2'.
2016-11-06 16:17:27 +00:00
Marius Bakke 6dbf1fec0d
gnu: lua: Update to 5.3.3.
* gnu/packages/patches/lua52-liblua-so.patch: Rename to ...
* gnu/packages/patches/lua-liblua-so.patch: ... this. Add version comment.
* gnu/local.mk (dist_patch_DATA): Adjust patch name.
* gnu/packages/lua.scm (lua): Update to 5.3.3.
[source]: Use https URL. Use new patch name.
[home-page]: Use https URL.
(lua-5.2): New variable.
(lua-5.1)[source]: Use https URL.
2016-11-06 16:17:16 +00:00
ng0 de975de39b
gnu: build: file-system: Change url of LUKS specification.
* gnu/build/file-system.scm: Change url of LUKS specification.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-11-06 14:35:36 +02:00
ng0 f0badf98d7
gnu: pingus: Update upstream location.
* gnu/packages/games.scm (pingus)[source]: Update source uri.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-11-06 14:35:33 +02:00
ng0 73ea83f517
gnu: r-proto: Update project's home-page.
* gnu/packages/statistics.scm (r-proto)[home-page]: Update project's home-page.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-11-06 14:35:21 +02:00
Hartmut Goebel fab959d308
gnu: java-hamcrest-core: Fix build.
Since we now remove the directory "lib" from the source, we need to
create a directory where build.xml searches for .jar-files.

* gnu/packages/java.scm (java-hamcrest-core)[pahases]: New phase
  create-dummy-directories.
2016-11-06 11:49:12 +01:00
Hartmut Goebel e5213cd63b
gnu: java-hamcrest-core: Remove wrong source file-name.
The sources file-name was set to "java-hamcrest-core", while it contains
not only the "core" but all of hamcrest. Further the source archive
already has the correct name.

* gnu/packages/java.scm (java-hamcrest-core)[source]: Remove file-name.
2016-11-06 10:55:08 +01:00
Hartmut Goebel 006728966a
gnu: java-hamcrest-core: Update upstream location.
The checksum changed since the new location's archive contains no
jar-files (except those of external libraries) and line endings are
different.

* gnu/packages/java.scm (java-hamcrest-core)[source]: Update source
  uri and checksum. [snippet]: Remove directory "lib" completely.
2016-11-06 10:42:57 +01:00