1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-07 09:45:55 +02:00

gnu: stunnel: Don't install installation instructions.

* gnu/packages/web.scm (stunnel)[arguments]: Add a 'prune-documentation
phase.
This commit is contained in:
Tobias Geerinckx-Rice
2021-10-03 22:27:03 +02:00
parent 9ef958d8a2
commit 70c186147f
+6 -1
View File
@@ -5982,7 +5982,12 @@ tools like SSH (Secure Shell) to reach the outside world.")
(("/bin/sh ")
(string-append (which "sh") " ")))
;; This test requires networking.
(delete-file "tests/recipes/055_socket_closed"))))))
(delete-file "tests/recipes/055_socket_closed")))
(add-after 'install 'prune-documentation
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(doc (string-append out "/share/doc/" ,name "-" ,version)))
(for-each delete-file (find-files doc "^INSTALL"))))))))
(home-page "https://www.stunnel.org")
(synopsis "TLS proxy for clients or servers")
(description "Stunnel is a proxy designed to add TLS encryption