gnu: stunnel: Use G-expressions.
* gnu/packages/web.scm (stunnel)[arguments]: Rewrite as G-expressions.
This commit is contained in:
parent
4a98f416d6
commit
53846e252b
1 changed files with 18 additions and 17 deletions
|
@ -5810,23 +5810,24 @@ tools like SSH (Secure Shell) to reach the outside world.")
|
||||||
("python" ,python)))
|
("python" ,python)))
|
||||||
(inputs (list openssl))
|
(inputs (list openssl))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
(list #:configure-flags
|
||||||
(list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))
|
#~(list (string-append "--with-ssl="
|
||||||
#:phases
|
#$(this-package-input "openssl")))
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(add-after 'unpack 'patch-output-directories
|
#~(modify-phases %standard-phases
|
||||||
(lambda _
|
(add-after 'unpack 'patch-output-directories
|
||||||
;; Some (not all) Makefiles have a hard-coded incorrect docdir.
|
(lambda _
|
||||||
(substitute* (list "Makefile.in"
|
;; Some (not all) Makefiles have a hard-coded incorrect docdir.
|
||||||
"doc/Makefile.in"
|
(substitute* (list "Makefile.in"
|
||||||
"tools/Makefile.in")
|
"doc/Makefile.in"
|
||||||
(("/doc/stunnel")
|
"tools/Makefile.in")
|
||||||
(string-append "/doc/" ,name "-" ,version)))))
|
(("/doc/stunnel")
|
||||||
(add-after 'install 'prune-documentation
|
(string-append "/doc/" #$name "-" #$version)))))
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(add-after 'install 'prune-documentation
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(lambda _
|
||||||
(doc (string-append out "/share/doc/" ,name "-" ,version)))
|
(let* ((doc (string-append #$output "/share/doc/"
|
||||||
(for-each delete-file (find-files doc "^INSTALL"))))))))
|
#$name "-" #$version)))
|
||||||
|
(for-each delete-file (find-files doc "^INSTALL"))))))))
|
||||||
(home-page "https://www.stunnel.org")
|
(home-page "https://www.stunnel.org")
|
||||||
(synopsis "TLS proxy for clients or servers")
|
(synopsis "TLS proxy for clients or servers")
|
||||||
(description "Stunnel is a proxy designed to add TLS encryption
|
(description "Stunnel is a proxy designed to add TLS encryption
|
||||||
|
|
Reference in a new issue