Subject: [PATCH] gnu: accountsservice: Update to 0.6.49.

From: Marius Bakke <[email-masked]>
Date: Mon, 2 Jul 2018 18:18:35 +0200

Guix,

There are security fixes inbound for this popular package.  As I don't
use GNOME, I would appreciate if someone could try this out on their
system and make sure it does not break anything.

* gnu/packages/freedesktop.scm (accountsservice): Update to 0.6.49.
[arguments]: Add "--enable-elogind" and "--disable-systemd" to #:configure-flags.
[inputs]: Add ELOGIND.
---
 gnu/packages/freedesktop.scm | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 7df44dfb0..533c7efdd 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -720,19 +720,21 @@ message bus.")
 (define-public accountsservice
   (package
     (name "accountsservice")
-    (version "0.6.43")
+    (version "0.6.49")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://www.freedesktop.org/software/"
                                   name "/" name "-" version ".tar.xz"))
               (sha256
                (base32
-                "1k6n9079001sgcwlkq0bz6mkn4m8y4dwf6hs1qm85swcld5ajfzd"))))
+                "032ndvs18gla49dvc9vg35cwczg0wpv2wscp1m3yjfdqdpams7i5"))))
     (build-system gnu-build-system)
     (arguments
      '(#:tests? #f ; XXX: tests require DocBook 4.1.2
        #:configure-flags
-       '("--localstatedir=/var")
+       '("--localstatedir=/var"
+         "--disable-systemd"
+         "--enable-elogind")
        #:phases
        (modify-phases %standard-phases
          (add-before
@@ -755,8 +757,9 @@ message bus.")
        ("intltool" ,intltool)
        ("pkg-config" ,pkg-config)))
     (inputs
-     `(("shadow" ,shadow)
-       ("polkit" ,polkit)))
+     `(("elogind" ,elogind)
+       ("polkit" ,polkit)
+       ("shadow" ,shadow)))
     (home-page "https://www.freedesktop.org/wiki/Software/AccountsService/")
     (synopsis "D-Bus interface for user account query and manipulation")
     (description
-- 
2.18.0