aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2025-04-11 09:52:12 +0900
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2025-04-14 10:34:52 +0900
commite365a71381067e7b2d4c3ee95e112507dbd455b6 (patch)
tree067cf0e901ea86f9a0cdfe561edf97174ea8efec
parent9cacc537a5e46311a5bf739700d829627e95dfe7 (diff)
downloadguix-e365a71381067e7b2d4c3ee95e112507dbd455b6.tar.gz
guix-e365a71381067e7b2d4c3ee95e112507dbd455b6.zip
gnu: libressl: Use gexp and drop obsolete workaround.
All of our kernels are now on the 5.x series, and other systems using 3.x kernels are EOL. * gnu/packages/tls.scm (libressl) [#:configure-flags]: Use gexps, and remove the 'ac_cv_func_getentropy=no' flag. Change-Id: If82e89d471adf3f6ea5983fa042f03dc5350c0d8
-rw-r--r--gnu/packages/tls.scm30
1 files changed, 15 insertions, 15 deletions
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 8b108d250f..ebefab0740 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -683,19 +683,19 @@ kilobytes of RAM.")
"1r518q11qwx9zr1niqjh4ci63x1s51gx6g8f3p3xzhxcy1aik12d"))))
(build-system gnu-build-system)
(arguments
- `(#:configure-flags
- (list
- ;; Do as if 'getentropy' were missing: Linux kernels before 3.17 lack its
- ;; underlying 'getrandom' system call and ENOSYS isn't properly handled.
- ;; See <https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00235.html>.
- "ac_cv_func_getentropy=no"
- ;; FIXME It's using it's own bundled certificate, instead it should
- ;; behave like OpenSSL by using environment variables.
- (string-append "--with-openssldir=" (assoc-ref %outputs "out")
- "/share/libressl-"
- ,(package-version this-package))
- ;; Provide a TLS-enabled netcat.
- "--enable-nc")))
+ (list
+ #:configure-flags
+ #~(list
+ ;; Do as if 'getentropy' were missing: Linux kernels before 3.17 lack its
+ ;; underlying 'getrandom' system call and ENOSYS isn't properly handled.
+ ;; See <https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00235.html>.
+ "ac_cv_func_getentropy=no"
+ ;; FIXME It's using it's own bundled certificate, instead it should
+ ;; behave like OpenSSL by using environment variables.
+ (string-append "--with-openssldir=" #$output
+ "/share/libressl-" #$(package-version this-package))
+ ;; Provide a TLS-enabled netcat.
+ "--enable-nc")))
(properties
`((release-monitoring-url . "https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/")))
(home-page "https://www.libressl.org/")
@@ -708,8 +708,8 @@ netcat implementation that supports TLS.")
;; non-copyleft licenses.
(license (list license:openssl
(license:non-copyleft
- "file://COPYING"
- "See COPYING in the distribution.")))))
+ "file://COPYING"
+ "See COPYING in the distribution.")))))
(define-public python-acme
(package