gnu: ldns: Do not depend directly on nss-certs.

If ldns depends on a particular version of nss-certs, the features that use the
certificates will eventually stop working as the certificates expire. Instead,
the certificates should be found at run-time.

* gnu/packages/dns.scm (ldns)[inputs]: Remove nss-certs.
[arguments]: Adjust the value of "--with-ca-path" in #:configure-flags.
This commit is contained in:
Leo Famulari 2021-12-26 15:42:44 -05:00
parent 3c4c356879
commit 79fe54052f
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -40,7 +40,6 @@ (define-module (gnu packages dns)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (gnu packages base) #:use-module (gnu packages base)
#:use-module (gnu packages bash) #:use-module (gnu packages bash)
#:use-module (gnu packages certs)
#:use-module (gnu packages check) #:use-module (gnu packages check)
#:use-module (gnu packages curl) #:use-module (gnu packages curl)
#:use-module (gnu packages databases) #:use-module (gnu packages databases)
@ -177,8 +176,7 @@ (define-public ldns
;; https://github.com/erikoest/DNS-LDNS.git ;; https://github.com/erikoest/DNS-LDNS.git
;; "--with-p5-dns-ldns" ;; "--with-p5-dns-ldns"
(string-append "--with-ssl=" #$(this-package-input "openssl")) (string-append "--with-ssl=" #$(this-package-input "openssl"))
(string-append "--with-ca-path=" #$(this-package-input "nss-certs") (string-append "--with-ca-path=/etc/ssl/certs"))
"/etc/ssl/certs"))
#:make-flags #:make-flags
#~(list #~(list
(string-append "drillbindir=" #$output:drill "/bin") (string-append "drillbindir=" #$output:drill "/bin")
@ -193,7 +191,7 @@ (define-public ldns
(native-inputs (native-inputs
(list doxygen perl perl-devel-checklib pkg-config swig)) (list doxygen perl perl-devel-checklib pkg-config swig))
(inputs (inputs
(list libpcap nss-certs openssl python-wrapper)) (list libpcap openssl python-wrapper))
(synopsis "DNS library that facilitates DNS tool programming") (synopsis "DNS library that facilitates DNS tool programming")
(description "LDNS aims to simplify DNS programming, it supports recent (description "LDNS aims to simplify DNS programming, it supports recent
RFCs like the DNSSEC documents, and allows developers to easily create RFCs like the DNSSEC documents, and allows developers to easily create