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