guix-commits
[Top][All Lists]
Advanced

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

02/03: gnu: openssh: Don't create the PRIVSEP_PATH directory.


From: guix-commits
Subject: 02/03: gnu: openssh: Don't create the PRIVSEP_PATH directory.
Date: Tue, 25 Jun 2019 12:48:11 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 46475f72ab6127e7818fdea4a0ea9cc07c60a5f4
Author: Efraim Flashner <address@hidden>
Date:   Tue Jun 25 19:28:35 2019 +0300

    gnu: openssh: Don't create the PRIVSEP_PATH directory.
    
    * gnu/packages/ssh.scm (openssh)[arguments]: Modify the custom 'install
    phase to remove the /var directory.
---
 gnu/packages/ssh.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 010ed40..4bb0ad5 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -2,7 +2,7 @@
 ;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès 
<address@hidden>
 ;;; Copyright © 2013, 2014 Andreas Enge <address@hidden>
 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <address@hidden>
-;;; Copyright © 2015, 2016, 2018 Efraim Flashner <address@hidden>
+;;; Copyright © 2015, 2016, 2018, 2019 Efraim Flashner <address@hidden>
 ;;; Copyright © 2016, 2019 Leo Famulari <address@hidden>
 ;;; Copyright © 2016 Nicolas Goaziou <address@hidden>
 ;;; Copyright © 2016 Christopher Allan Webber <address@hidden>
@@ -230,6 +230,9 @@ a server that supports the SSH-2 protocol.")
            (install-file "contrib/ssh-copy-id.1"
                          (string-append (assoc-ref outputs "out")
                                         "/share/man/man1/"))
+           ;; Don't install the PRIVSEP_PATH directory.
+           (delete-file-recursively
+             (string-append (assoc-ref outputs "out") "/var"))
            #t)))))
    (synopsis "Client and server for the secure shell (ssh) protocol")
    (description



reply via email to

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