aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* lint: Do not report already-patched vulnerabilities.Ludovic Courtès2015-11-28
| | | | | | * guix/scripts/lint.scm (patch-file-name): New procedure. (check-vulnerabilities): Use it to filter out patched vulnerabilities. * tests/lint.scm ("cve: one patched vulnerability"): New test.
* doc: Mention 'specification->package'.Ludovic Courtès2015-11-28
| | | | | | | Suggested by Florian Paul Schmidt <mista.tapas@gmx.net>. * doc/guix.texi (Using the Configuration System): Mention 'specification->package'.
* substitute: Warn upon store prefix mismatches.Ludovic Courtès2015-11-28
| | | | | | | | Suggested by Hynek Urban <hynek.urban@gmail.com>. * guix/scripts/substitute.scm (fetch-narinfos): Move body to... [do-fetch]: ... here. New procedure. Emit a warning when CACHE-INFO's prefix does not match.
* services: tor: Store private data under /var/lib/tor.Ludovic Courtès2015-11-27
| | | | | | | | | * gnu/services/networking.scm (tor-configuration->torrc): Add 'DataDirectory' clause. Change 'HiddenServiceDir' to /var/lib/tor/hidden-services/NAME. (tor-hidden-service-activation): Create /var/lib/tor. (tor-hidden-service): Adjust docstring. * doc/guix.texi (Networking Services): Adjust accordingly.
* services: tor: Write to syslog.Ludovic Courtès2015-11-27
| | | | | | * gnu/services/networking.scm (tor-configuration->torrc): Add "Log notice syslog". (tor-dmd-service): Add 'syslogd' to 'requirement'.
* services: Add 'tor-hidden-service'.Ludovic Courtès2015-11-27
| | | | | | | | | | | | | * gnu/services/networking.scm (<tor-configuration>, <hidden-service>): New record types. (tor-configuration->torrc): New procedure. (tor-dmd-service): Use it. (tor-hidden-service-activation): New procedure. (tor-service-type)[extensions]: Extend ACTIVATION-SERVICE-TYPE. [compose, extend]: New fields. (tor-service): Use 'tor-configuration'. (tor-hidden-service-type): New variable. (tor-hidden-service): New procedure.
* services: lsh: Correctly handle #:interfaces option.Ludovic Courtès2015-11-27
| | | | | * gnu/services/ssh.scm (lsh-dmd-service)[lsh-command]: Pass a series of --interface flags instead of the nonexistent --interfaces option.
* gnu: tor: Update to 0.2.7.5.Ludovic Courtès2015-11-27
| | | | * gnu/packages/tor.scm (tor): Update to 0.2.7.5.
* gnu: eigen: Really run tests in verbose mode.Ludovic Courtès2015-11-27
| | | | | | | Suggested by Gaël Guennebaud <gael.guennebaud@inria.fr>. * gnu/packages/algebra.scm (eigen)[arguments]: Remove #:test-target. Rename 'build-tests' phase to 'check', and have it run 'ctest -V'.
* gnu: gp2c: Update to 0.0.9pl4.Andreas Enge2015-11-27
| | | | * gnu/packages/algebra.scm (gp2c): Update to 0.0.9pl4.
* Add 'guix-daemon.conf' job for Upstart.Mario Daniel Ruiz Saavedra2015-11-26
| | | | | | | | | | | | * etc/guix-daemon.conf.in: New file. * daemon.am (CLEANFILES): Add etc/guix-daemon.conf. (upstartjobdir, nodist_upstartjob_DATA): New variables. (EXTRA_DIST): Add etc/guix-daemon.conf.in. * doc/guix.texi (Binary Installation, Build Environment Setup): Mention 'guix-daemon.conf'. Signed-off-by: Mario Daniel Ruiz Saavedra <desiderantes@rocketmail.com> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* lint: Add "cve" checker.Ludovic Courtès2015-11-26
| | | | | | | | | | Fixes <http://bugs.gnu.org/21289>. * guix/scripts/lint.scm (package-name->cpe-name, package-vulnerabilities) (check-vulnerabilities): New procedures. * guix/scripts/lint.scm (%checkers): Add "cve" checker. * tests/lint.scm ("cve", "cve: one vulnerability"): New tests. * doc/guix.texi (Invoking guix lint): Mention it.
* Add (guix cve).Ludovic Courtès2015-11-26
| | | | | | | * guix/cve.scm, tests/cve-sample.xml, tests/cve.scm: New files. * Makefile.am (MODULES): Add guix/cve.scm. (SCM_TESTS): Add tests/cve.scm. (EXTRA_DIST): Add tests/cve-sample.scm.
* http-client: 'http-fetch' and 'http-fetch/cached' support HTTPS.Ludovic Courtès2015-11-26
| | | | | * guix/http-client.scm (http-fetch): Use 'open-connection-for-uri', to support HTTPS.
* import: hackage: Assume current 'ghc' package version.Federico Beffa2015-11-26
| | | | | * guix/scripts/import/hackage.scm (%default-options): Do it. (ghc-default-version): New variable.
* import: hackage: Add new tests.Federico Beffa2015-11-26
| | | | | | * tests/hackage.scm (eval-test-with-cabal): Add optional argument. (test-cabal-3): New variable and test. (test-read-cabal-1): Exercise more parsing variants.
* import: hackage: Handle CRLF end of line style.Federico Beffa2015-11-26
| | | | | * guix/import/hackage.scm (hackage-fetch, hackage->guix-package): Use 'canonical-newline-port'.
* utils: Add 'canonical-newline-port'.Federico Beffa2015-11-26
| | | | | * guix/utils.scm (canonical-newline-port): New procedure. * tests/utils.scm ("canonical-newline-port"): New test.
* import: hackage: Make parsing of tests and fields more flexible.Federico Beffa2015-11-26
| | | | | | | * guix/import/cabal.scm (is-test): Allow spaces between keyword and parentheses. (is-id): Add argument 'port'. Allow spaces between keyword and column. (lex-word): Adjust call to 'is-id'.
* import: hackage: Make it resilient to missing final newline.Federico Beffa2015-11-26
| | | | | * guix/import/cabal.scm (peek-next-line-indent): Check for missing final newline.
* import: hackage: Imporve parsing of tests.Federico Beffa2015-11-26
| | | | | * guix/import/cabal.scm (lex-word): Add support for tests with no spaces. (impl): Rewrite.
* import: hackage: Add recognition of 'true' and 'false' symbols.Federico Beffa2015-11-26
| | | | | | | * guix/import/cabal.scm (is-true, is-false, lex-true, lex-false): New procedures. (lex-word): Use them. (make-cabal-parser): Add TRUE and FALSE tokens. (eval): Add entries for 'true and 'false symbols.
* gnu: python-pickleshare: Add python-setuptools to native-inputs.Efraim Flashner2015-11-26
| | | | | * gnu/packages/python.scm (python-pickleshare)[native-inputs]: Add python-setuptools.
* gnu: python-pathpy: Add python-setuptools to native-inputs.Efraim Flashner2015-11-26
| | | | | * gnu/packages/python.scm (python-pathpy)[native-inputs]: Add python-setuptools.
* gnu: python2-oauthlib: Override python2-cryptography in inputs.Efraim Flashner2015-11-26
| | | | | * gnu/packages/python.scm (python2-oauthlib)[inputs]: Override inherited "python2-cryptography" in inputs.
* services: Add network-manager-service.宋文武2015-11-26
| | | | | | * gnu/services/networking.scm (network-manager-service): New procedure. (network-manager-service-type, %network-manager-activation): New variables. (network-manager-dmd-service): New procedure.
* gnu: python-oauthlib: Update to 1.0.3.Efraim Flashner2015-11-25
| | | | | | | * gnu/packages/python.scm (python-oauthlib): Update to 1.0.3. [native-inputs]: Move python-setuptools, python-nose, python mock here. Add python-coverage. [inputs]: Add python-blinker, python-cryptography, python-pyjwt.
* gnu: python2-unittest2: Use python2-setuptools.Efraim Flashner2015-11-25
| | | | | * gnu/packages/python.scm (python2-unittest2)[inputs]: Switch from python-setuptools to python2-setuptools.
* services: xorg: Export additional symbols.David Thompson2015-11-25
| | | | | | | | 'slim-configuration' and 'slim-service-type' are needed if one wishes to use 'modify-services' on a service list that includes the slim service. * gnu/services/xorg.scm: Export 'slim-configuration' and 'slim-service-type'.
* gnu: Add kodi.David Thompson2015-11-25
| | | | | * gnu/packages/kodi.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu: Add jasper.David Thompson2015-11-25
| | | | * gnu/packages/image.scm (jasper): New variable.
* gnu: Add tinyxml.David Thompson2015-11-25
| | | | | | * gnu/packages/xml.scm (tinyxml): New variable. * gnu/packages/patches/tinyxml-use-stl.patch: New file. * gnu-system.am (dist_patch_DATA): Add it.
* build: Reject ARMv6 systems.Ludovic Courtès2015-11-25
| | | | | | | Fixes <http://bugs.gnu.org/21987>. Reported by Martin Vahi <martin.vahi@softf1.com>. * m4/guix.m4 (GUIX_SYSTEM_TYPE): Restrict ARM systems to arm|armv[7-9].
* gnu: Add eyeD3.Leo Famulari2015-11-25
| | | | | | * gnu/packages/mp3.scm (eyed3): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add Ragel.Ricardo Wurmus2015-11-25
| | | | | * gnu/packages/ragel.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* services: dmd: Spawn a REPL upon failure to load a service definition.Ludovic Courtès2015-11-25
| | | | | | | | Fixes <http://bugs.gnu.org/19779>. Reported by Mark H Weaver <mhw@netris.org>. * gnu/services/dmd.scm (dmd-configuration-file)[config]: Wrap 'primitive-load' calls in 'call-with-error-handling'.
* doc: Remove mention of monadic services.Ludovic Courtès2015-11-25
| | | | | * doc/guix.texi (Base Services): Remove mention of a list of monadic services.
* services: dmd: Strip the default list of modules.Ludovic Courtès2015-11-25
| | | | | | | | * gnu/services/dmd.scm (%default-imported-modules): Remove (gnu build file-systems). (%default-modules): Likewise, and remove (ice-9 ftw). * gnu/services/base.scm (file-system-service-type): Add 'modules' and 'imported-modules' fields.
* services: dmd: Add 'modules' and 'imported-modules' fields.Ludovic Courtès2015-11-25
| | | | | | | | | | | | | | * gnu/services/dmd.scm (%default-imported-modules, %default-modules): New variables. * gnu/services/dmd.scm (<dmd-service>)[modules, imported-modules]: New field. * gnu/services/dmd.scm (dmd-service-file-name, dmd-service-file): New procedures. (dmd-configuration-file)[modules]: Compute based on the 'imported-modules' field of SERVICES. (dmd-configuration-file): Remove 'use-modules' form. Use 'dmd-service-file', and call 'primitive-load' on each file. * doc/guix.texi (dmd Services): Document the new fields.
* gexp: Build text derivations locally.Ludovic Courtès2015-11-25
| | | | | * guix/gexp.scm (gexp->file): Pass #:substitutable? #f. (text-file*): Likewise, and #:local-build? #t.
* gnu: dico: Sort entries in .a files deterministically.Ludovic Courtès2015-11-25
| | | | | | | * gnu/packages/patches/dico-libtool-deterministic.patch: New file. * gnu/packages/dico.scm (dico)[source]: Use it. [arguments]: Add #:make-flags. * gnu-system.am (dist_patch_DATA): Add the patch.
* gnu: libreoffice: Update to 5.0.3.2 [fixes CVE-2015-5214].Leo Famulari2015-11-24
| | | | * gnu/packages/libreoffice.scm (libreoffice): Update to 5.0.3.2
* gnu: Add GNU Dico.Ludovic Courtès2015-11-24
| | | | | * gnu/packages/dico.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* services: dmd: Error out upon unmet dmd requirements.Ludovic Courtès2015-11-24
| | | | | | | | | * gnu/services/dmd.scm (assert-no-duplicates): Rename to... (assert-valid-graph): ... this. [provisions]: New variable. [assert-satisfied-requirements]: New procedure. Use it. * tests/guix-system.sh: Add test with unmet dmd requirements.
* gnu: python-pyjwt: Update to 1.4.0.Efraim Flashner2015-11-24
| | | | | * gnu/packages/python.scm (python-pyjwt): Update to 1.4.0. [native-inputs]: Move python-setuptools here, add python-pytest-runner.
* gnu: python-pytest-runner: Add python-setuptools as native-input.Efraim Flashner2015-11-24
| | | | | * gnu/packages/python.scm (python-pytest-runner)[native-input]: Add python-setuptools.
* gnu: python-setuptools-scm: Update to 1.9.0.Efraim Flashner2015-11-24
| | | | | * gnu/packages/python.scm (python-setuptools-scm): Update to 1.9.0. [native-inputs]: Add python-setuptools.
* gnu: gnuplot: Update to 5.0.1.Eric Bavier2015-11-24
| | | | | * gnu/packages/maths.scm (gnuplot): Update to 5.0.1. (native-inputs): 'texlive' -> 'texlive-bin'.
* guix package: Reduce startup time by ~50%.Ludovic Courtès2015-11-24
| | | | | | | | | | | | | | | | | | | As measured with: time sh -c 'for i in `seq 1 10` ; do guix package --search-paths ; done' On my machine, when running: strace -o ,,s guix package --search-paths the number returned by: grep -E '^(open|l?stat).*\.go' ,,s | wc -l drops from 1610 to 837. * guix/scripts/package.scm: Remove two unnecessary #:use-module forms. Autoload (gnu packages ...) modules.
* gnu: ruby-simplecov-html: Fix hash and disable tests.Ricardo Wurmus2015-11-24
| | | | | | * gnu/packages/ruby.scm (ruby-simplecov-html)[source]: Replace incorrect hash. [arguments]: Disable tests.