guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/16: gnu: tigervnc-server: Adjust PAM config.


From: guix-commits
Subject: 03/16: gnu: tigervnc-server: Adjust PAM config.
Date: Fri, 7 Oct 2022 10:13:39 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit a7bfc9d68f0dc5775df53fb6e5c81c6a1b3b5dcd
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Jul 28 14:02:25 2022 -0400

    gnu: tigervnc-server: Adjust PAM config.
    
    * gnu/packages/vnc.scm (tigervnc-server)
    [phases]{adjust-pam-config}: New phase.
---
 gnu/packages/vnc.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/vnc.scm b/gnu/packages/vnc.scm
index e06dbcceb9..4795ccc72a 100644
--- a/gnu/packages/vnc.scm
+++ b/gnu/packages/vnc.scm
@@ -283,6 +283,11 @@ application which is needed to connect to VNC servers.")
        ((#:phases phases)
         #~(modify-phases #$phases
             (delete 'check)             ;no test suite
+            (add-after 'unpack 'adjust-pam-config
+              (lambda _
+                (substitute* "tigervnc-client/unix/vncserver/tigervnc.pam"
+                  (("pam_systemd.so")
+                   "pam_elogind.so"))))
             (add-before 'build 'build-tigervnc
               (lambda* (#:key parallel-build? #:allow-other-keys)
                 (mkdir-p "tigervnc-client/build")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]