Skip to content
Snippets Groups Projects
  1. Oct 10, 2015
    • Ludovic Courtès's avatar
      system: Make service procedures non-monadic. · be1c2c54
      Ludovic Courtès authored
      * gnu/services/avahi.scm (configuration-file): Use 'plain-file' instead
        of 'text-file'.
        (avahi-service): Turn into a regular procedure that returns a <service>.
      * gnu/services/base.scm (root-file-system-service, file-system-service,
        user-unmount-service, user-processes-service, host-name-service,
        console-keymap-service, console-font-service, mingetty-service,
        nscd.conf-file, nscd-service): Likewise.
        (%default-syslog.conf): New variable.
        (syslog-service): Use it.  Turn into a regular procedure.
        (guix-service, udev-rules-union, kvm-udev-rule, udev-service,
        device-mapping-service, swap-service): Likewise.
      * gnu/services/databases.scm (%default-postgres-hba,
        %default-postgres-ident): Use 'plain-file' instead of 'text-file'.
        (%default-postgres-config): Use 'mixed-text-file' instead of
        'text-file*'.
        (postgresql-service):  Use 'program-file' instead of 'gexp->script'.
        Turn into a regular procedure.
      * gnu/services/desktop.scm (dbus-configuration-directory): Use
        'computed-file' instead of 'gexp->derivation'.
        (upower-configuration-file, geoclue-configuration-file,
        elogind-configuration-file): Use 'plain-file' instead of 'text-file'.
        (dbus-service, upower-service, colord-service, geoclue-service,
        polkit-service, elogind-service): Turn into regular procedures.
        (%desktop-services): Remove use of 'mlet' when iterating on
        %BASE-SERVICES.
      * gnu/services/lirc.scm (lirc-service): Turn into a regular procedure.
      * gnu/services/networking.scm (static-networking-service,
        dhcp-client-service, ntp-service, tor-service, bitlbee-service,
        wicd-service): Likewise.
      * gnu/services/ssh.scm (lsh-service): Likewise.
      * gnu/services/web.scm (nginx-service): Likewise.
      * gnu/services/xorg.scm (xorg-configuration-file): Use 'mixed-text-file'
        instead of 'text-file*'.
        (xorg-start-command, slim-service): Turn into regular procedures.
        (xinitrc): Use 'program-file' instead of 'gexp->script'.
      * gnu/system/install.scm (cow-store-service,
        configuration-template-service): Turn into regular procedures.
      * gnu/system.scm (other-file-system-services, device-mapping-services,
        swap-services, essential-services, operating-system-services,
        user-shells, operating-system-accounts): Remove now unnecessary
        'mlet' and turn into regular procedures.
        (operating-system-etc-directory, operating-system-activation-script,
        operating-system-boot-script): Adjust accordingly.
      * doc/guix.texi (Base Services, Networking Services, X Window, Desktop
        Services, Database Services, Web Services, Various Services, Name
        Service Switch): Adjust accordingly.
      be1c2c54
    • Ludovic Courtès's avatar
      services: 'mingetty-service' no longer takes monadic values. · ce8a6dfc
      Ludovic Courtès authored
      * gnu/services/base.scm (mingetty-service): Change default value of
        #:motd from a monadic value to a <plain-file>.  Assume MOTD to be a
        file-like object.  Assume LOGIN-PROGRAM is a gexp or #f.
        (%base-services): Use 'plain-file' instead of 'text-file' for motd.
      * gnu/system/linux.scm (unix-pam-service): Update docstring to mention
        that MOTD is a file-like object.
      * doc/guix.texi (Base Services): Adjust 'mingetty-service' documentation
        accordingly.
      * gnu/system/install.scm (installation-services): Adjust accordingly.
        (log-to-info): Use 'program-file' instead of 'gexp->script'.
      ce8a6dfc
    • Ludovic Courtès's avatar
      gexp: Add 'mixed-text-file'. · b751cde3
      Ludovic Courtès authored
      * guix/gexp.scm (mixed-text-file): New procedure.
      * tests/gexp.scm ("mixed-text-file"): New test.
      * doc/guix.texi (G-Expressions): Document it.
      b751cde3
    • Ludovic Courtès's avatar
      gexp: Add 'program-file'. · 15a01c72
      Ludovic Courtès authored
      * guix/gexp.scm (<program-file>): New record type.
        (program-file, program-file-compiler): New procedures.
      * tests/gexp.scm ("program-file"): New test.
      * doc/guix.texi (G-Expressions): Document it.
      15a01c72
    • Ludovic Courtès's avatar
      gexp: Add 'computed-file'. · 91937029
      Ludovic Courtès authored
      * guix/gexp.scm (<computed-file>): New record type.
        (computed-file, computed-file-compiler): New procedures.
      * tests/gexp.scm ("lower-object, computed-file"): New test.
      * doc/guix.texi (G-Expressions): Document 'computed-file'.
      91937029
    • David Thompson's avatar
      build: container: Fix call-with-clean-exit. · a72ccbc2
      David Thompson authored
      Before, call-with-clean-exit would *always* return an exit code of 1.
      
      * gnu/build/linux-container.scm (call-with-clean-exit): Exit with status
        code of 0 if thunk does not throw an exception.
      * tests/containers.scm: Add test.
      a72ccbc2
    • Cyril Roelandt's avatar
      gnu: Add python-bandit. · f5a21dc4
      Cyril Roelandt authored
      * gnu/packages/openstack.scm (python-bandit, python2-bandit): New variables.
      f5a21dc4
    • Cyril Roelandt's avatar
      gnu: Update python-fixtures · 7787ef76
      Cyril Roelandt authored
      * gnu/packages/python.scm (python-fixtures): Update.
      * gnu/packages/python.scm (python-fixtures-0.3.16,
        python2-fixtures-0.3.16, python-pbr-0.11,
        python2-pbr-0.11): New variables.
      * gnu/packages/python.scm (python-testrepository): Use python-fxitures-0.3.16
        instead of python-fixtures in the inputs.
      7787ef76
    • Cyril Roelandt's avatar
      gnu: Add python-pip. · 643725a1
      Cyril Roelandt authored
      * gnu/packages/python.scm (python-pip, python2-pip): New variables.
      643725a1
  2. Oct 09, 2015
    • Ludovic Courtès's avatar
      Thank Chris. · 28eb956d
      Ludovic Courtès authored
      28eb956d
    • Ludovic Courtès's avatar
      build: Fix libgcrypt detection on FHS systems. · ca34fc31
      Ludovic Courtès authored
      Reported by Christopher Allan Webber <cwebber@dustycloud.org>.
      
      * m4/guix.m4 (GUIX_LIBGCRYPT_LIBDIR): Add "grep -e -L" to the pipeline
        to account for cases where the output of "libgcrypt-config --libs"
        lacks a -L flag.
      * configure.ac: When 'GUIX_LIBGCRYPT_LIBDIR' returns the empty string,
        set LIBGCRYPT_LIBDIR to "no".
      * config-daemon.ac: Add missing space.
      ca34fc31
    • David Thompson's avatar
      scripts: environment: Use system* instead of system. · 1de2fe95
      David Thompson authored
      This allows for direct program invokation without needing a shell to act
      as a command interpreter.
      
      * guix/scripts/environment.scm (%default-shell): New variable.
        (show-help): Adjust description.  Remove '--exec' reference.
        (%default-options): Use '%default-shell'.
        (%options): Adjust '--exec' to run command via the default shell.
        (parse-args): New procedure.
        (guix-environment): Use 'parse-args'.  Use 'system*' instead of
        'system'.
      * tests/guix-environment.sh: Add test for '--' command invokation.
      * doc/guix.texi ("Invoking guix environment"): Use new syntax.  Remove
        '--exec' documentation.
      1de2fe95
    • David Thompson's avatar
      utils: Add split procedure. · bbd00d20
      David Thompson authored
      * guix/utils.scm (split): New procedure.
      * tests/utils.scm: Add tests.
      bbd00d20
    • Alex Kost's avatar
      emacs: Add 'guix-devel-lint-package' · b94ef11a
      Alex Kost authored
      Suggested by Ludovic Courtès <ludo@gnu.org>.
      
      * emacs/guix-devel.el (guix-devel-setup-repl): Add a workaround for
        'guix-warning-port'.
        (guix-devel-lint-package): New command.
        (guix-devel-keys-map): Add key binding for it.
      * doc/emacs.texi (Emacs Development): Document it.
      b94ef11a
    • Alex Kost's avatar
      lint: Export 'run-checkers'. · e04741f1
      Alex Kost authored
      * guix/scripts/lint.scm (run-checkers): Export.  Make 'checkers'
        argument optional.
      e04741f1
    • Alex Kost's avatar
      emacs: Add 'guix-devel-with-definition'. · 5952111c
      Alex Kost authored
      * emacs/guix-devel.el (guix-devel-with-definition): New macro.
        (guix-devel-build-package-definition): Use it.
        (guix-devel-emacs-font-lock-keywords): New variable.
      5952111c
    • Alex Kost's avatar
      emacs: Fix 'guix-devel-setup-repl'. · 5a60d569
      Alex Kost authored
      Setting up guix ports needs to be done in Geiser REPL synchronously,
      otherwise this operation may not be finished before the further
      evaluating of guile code.
      
      * emacs/guix-guile.el (guix-guile-prompt?): New function.
      * emacs/guix-geiser.el (guix-geiser-eval-in-repl-synchronously): New
        function.
      * emacs/guix-devel.el (guix-devel-setup-repl): Use it.
      5a60d569
    • Alex Kost's avatar
      emacs: Fix 'guix-build-log-phase-toggle-all'. · 7c786db4
      Alex Kost authored
      * emacs/guix-build-log.el (guix-build-log-phase-toggle-all): Handle the
        case when there are no characters before the first phase:
        'guix-build-log-next-phase' moves to the second phase in such a case,
        and the toggling is not done properly, so use 're-search-forward'
        instead.
      7c786db4
    • Alex Kost's avatar
      emacs: devel: Fix 'modify-phases' highlighting. · 88908d55
      Alex Kost authored
      * emacs/guix-devel.el (guix-devel-modify-phases-font-lock-pre): Handle
        the case when 'modify-phases' is commented.
      88908d55
    • Alex Kost's avatar
      emacs: devel: Highlight gexp symbols. · 1af9815d
      Alex Kost authored
      Suggested by Ludovic Courtès <ludo@gnu.org>.
      
      * emacs/guix-devel.el (guix-devel-gexp-symbol): New face.
        (guix-devel-font-lock-keywords): Adjust to handle gexp symbols.
      1af9815d
  3. Oct 08, 2015
    • Mark H Weaver's avatar
      gnu: libunwind: Add fix for CVE-2015-3239. · b5881775
      Mark H Weaver authored
      * gnu/packages/patches/libunwind-CVE-2015-3239.patch: New file.
      * gnu-system.am (dist_patch_DATA): Add it.
      * gnu/packages/libunwind.scm (libunwind)[source]: Add patch.
      b5881775
    • Mark H Weaver's avatar
      gnu: libwmf: Add fixes for several security flaws. · f956d661
      Mark H Weaver authored
      * gnu/packages/patches/libwmf-CAN-2004-0941.patch,
        gnu/packages/patches/libwmf-CVE-2007-0455.patch,
        gnu/packages/patches/libwmf-CVE-2007-2756.patch,
        gnu/packages/patches/libwmf-CVE-2007-3472.patch,
        gnu/packages/patches/libwmf-CVE-2007-3473.patch,
        gnu/packages/patches/libwmf-CVE-2007-3477.patch,
        gnu/packages/patches/libwmf-CVE-2009-3546.patch: New files.
      * gnu/packages/patches/libwmf-CVE-2015-0848+4588+4695+4696.patch: Delete
        file.  Replace with ...
      * gnu/packages/patches/libwmf-CVE-2015-0848+CVE-2015-4588.patch,
        gnu/packages/patches/libwmf-CVE-2015-4695.patch,
        gnu/packages/patches/libwmf-CVE-2015-4696.patch: ... these new files.
      * gnu-system.am (dist_patch_DATA): Adjust accordingly.
      * gnu/packages/image.scm (libwmf)[source]: Adjust set of patches.
      f956d661
    • Mark H Weaver's avatar
      gnu: unzip: Add various fixes. · 48e4a9f3
      Mark H Weaver authored
      * gnu/packages/patches/unzip-increase-size-of-cfactorstr.patch: Delete
        file.  Replace with ...
      * gnu/packages/patches/unzip-overflow-long-fsize.patch: ... this new file.
      * gnu/packages/patches/unzip-attribs-overflow.patch,
        gnu/packages/patches/unzip-fix-overflows-and-infloop.patch,
        gnu/packages/patches/unzip-format-secure.patch: New files.
      * gnu/packages/patches/unzip-CVE-2014-9636.patch: Replace contents with
        fixed patch from Fedora.
      * gnu-system.am (dist_patch_DATA): Adjust accordingly.
      * gnu/packages/zip.scm (unzip)[source]: Adjust list of patches.
      48e4a9f3
    • Mark H Weaver's avatar
      gnu: wpa-supplicant: Update to 2.5. · e91e28d6
      Mark H Weaver authored
      * gnu/packages/patches/wpa-supplicant-2015-2-fix.patch,
        gnu/packages/patches/wpa-supplicant-2015-3-fix.patch,
        gnu/packages/patches/wpa-supplicant-2015-4-fix-pt1.patch,
        gnu/packages/patches/wpa-supplicant-2015-4-fix-pt2.patch,
        gnu/packages/patches/wpa-supplicant-2015-4-fix-pt3.patch,
        gnu/packages/patches/wpa-supplicant-2015-4-fix-pt4.patch,
        gnu/packages/patches/wpa-supplicant-2015-4-fix-pt5.patch,
        gnu/packages/patches/wpa-supplicant-2015-5-fix.patch,
        gnu/packages/patches/wpa-supplicant-CVE-2015-1863.patch: Delete files.
      * gnu-system.am (dist_patch_DATA): Remove them.
      * gnu/packages/admin.scm (wpa-supplicant-minimal): Update to 2.5.
        Remove patches.
      e91e28d6
    • Ricardo Wurmus's avatar
      gnu: python-h5py: Fix path to hdf5 library. · 797e1401
      Ricardo Wurmus authored
      * gnu/packages/python.scm (python-h5py)[arguments]: Add "fix-hdf5-paths"
        phase.
      797e1401
    • Ricardo Wurmus's avatar
      gnu: python-h5py, python2-h5py: Correct inputs. · 3c4010b1
      Ricardo Wurmus authored
      * gnu/packages/python.scm (python-h5py)
        [inputs]: Remove python-cython and python-numpy.
        [propagated-inputs]: New field.
        [native-inputs]: Drop python-setuptools and add python-cython.
        (python2-h5py): Replace "inputs" with "propagated-inputs".
      3c4010b1
    • Ricardo Wurmus's avatar
      gnu: Add python-joblib. · 1285119b
      Ricardo Wurmus authored
      * gnu/packages/python.scm (python-joblib, python2-joblib): New
        variables.
      1285119b
    • Efraim Flashner's avatar
      Correct "Revert "gnu: camlp4: Remove extra input."" · fd5b2133
      Efraim Flashner authored
      This corrects a typo in 0d1c0660.
      fd5b2133
    • Efraim Flashner's avatar
      Revert "gnu: camlp4: Remove extra input." · 0d1c0660
      Efraim Flashner authored
      This reverts commit d04efa0f.
      0d1c0660
    • Mark H Weaver's avatar
      gnu: webkitgtk-2.4: Fix potential code execution vulnerability. · a606ed89
      Mark H Weaver authored
      * gnu/packages/patches/webkitgtk-2.4-sql-init-string.patch: New file.
      * gnu-system.am (dist_patch_DATA): Add it.
      * gnu/packages/webkit.scm (webkitgtk-2.4)[source]: Add patch.
      a606ed89
    • Mark H Weaver's avatar
      gnu: libvpx: Set size limit to avoid CVE-2015-1258. · 2ab5e39d
      Mark H Weaver authored
      * gnu/packages/video.scm (libvpx)[arguments]: Add "--size-limit"
        argument to configure.
      2ab5e39d
    • Mark H Weaver's avatar
      gnu: openjpeg-2.x: Add fix for CVE-2015-6581. · 7ab73c4a
      Mark H Weaver authored
      * gnu/packages/patches/openjpeg-CVE-2015-6581.patch: New file.
      * gnu-system.am (dist_patch_DATA): Add it.
      * gnu/packages/image.scm (openjpeg, openjpeg-2.0)[source]: Add patch.
      7ab73c4a
  4. Oct 07, 2015
  5. Oct 06, 2015
    • Eric Bavier's avatar
      gnu: imagemagick: Hard-code delegate paths. · 3cbf1204
      Eric Bavier authored
      If --with-frozenpaths is given, then configure will retain absolute paths
      discovered for delegate programs, otherwise they are discarded.
      
      * gnu/packages/imagemagick.scm (imagemagick)[arguments]: Add
        '--with-frozenpaths' to #:configure-flags.
      3cbf1204
Loading