gnu: openssl: Do not version data directory.

Rationale: the version 1.1.1u was captured in the phase gexp and carried over
in the inherited openssl 3.0.8 package.

* gnu/packages/tls.scm (openssl-1.1) [#:phases] <configure>: Remove version
from openssldir value.
<remove-miscellany>: Adjust accordingly.

Change-Id: I2795f0b57b8b8382b14e313e3741d0f1c22939ae
This commit is contained in:
Maxim Cournoyer 2025-05-22 15:17:54 +09:00 committed by Liliana Marie Prikler
parent e76ed1ab7c
commit f3b54ae31e
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -491,12 +491,10 @@ OpenSSL for TARGET."
"shared" ;build shared libraries "shared" ;build shared libraries
"--libdir=lib" "--libdir=lib"
;; The default for this catch-all directory is ;; The default for this catch-all directory is PREFIX/ssl.
;; PREFIX/ssl. Change that to something more ;; Change that to something more conventional.
;; conventional.
(string-append "--openssldir=" #$output (string-append "--openssldir=" #$output
"/share/openssl-" "/share/openssl")
#$(package-version this-package))
(string-append "--prefix=" #$output) (string-append "--prefix=" #$output)
(string-append "-Wl,-rpath," (string-append #$output "/lib")) (string-append "-Wl,-rpath," (string-append #$output "/lib"))
@ -540,8 +538,7 @@ OpenSSL for TARGET."
;; Perl scripts. Remove them to avoid retaining a reference on ;; Perl scripts. Remove them to avoid retaining a reference on
;; Perl. ;; Perl.
(delete-file-recursively (delete-file-recursively
(string-append #$output "/share/openssl-" (string-append #$output "/share/openssl/misc")))))))
#$(package-version this-package) "/misc")))))))
(native-search-paths (native-search-paths
(list $SSL_CERT_DIR $SSL_CERT_FILE)) (list $SSL_CERT_DIR $SSL_CERT_FILE))
(synopsis "SSL/TLS implementation") (synopsis "SSL/TLS implementation")