gnu: Remove libasr.

It has been subsumed by OpenSMTPd and is otherwise unused.

See <https://issues.guix.gnu.org/64271>.

* gnu/packages/dns.scm (libasr): Delete variable.
* gnu/packages/mail.scm (opensmtpd)[inputs]: Remove it to use the
bundled ‘copy’.
This commit is contained in:
Tobias Geerinckx-Rice 2023-06-30 17:01:05 +02:00
parent 8af22b4931
commit 902a48e0d3
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79
2 changed files with 0 additions and 36 deletions

View file

@ -510,41 +510,6 @@ (define-public dnscrypt-wrapper
license:gpl2
license:gpl3))))
(define-public libasr
(package
(name "libasr")
(version "1.0.4")
(source
(origin
(method url-fetch)
(uri (string-append "https://www.opensmtpd.org/archives/"
"libasr-" version ".tar.gz"))
(sha256
(base32 "1d6s8njqhvayx2gp47409sp1fn8m608ws26hr1srfp6i23nnpyqr"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'install 'install-documentation
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(install-file "src/asr_run.3"
(string-append out "/share/man/man3"))
#t))))))
(native-inputs
(list autoconf automake libtool pkg-config))
(home-page "https://www.opensmtpd.org")
(synopsis "Asynchronous resolver library by the OpenBSD project")
(description
"libasr is a free, simple and portable asynchronous resolver library.
It runs DNS queries and performs hostname resolution in a fully
asynchronous fashion.")
(license (list license:isc
license:bsd-2 ; last part of getrrsetbyname_async.c
license:bsd-3
(license:non-copyleft "file://LICENSE") ; includes.h
license:openssl))))
(define-public nsd
(package
(name "nsd")

View file

@ -3186,7 +3186,6 @@ (define-public opensmtpd
(build-system gnu-build-system)
(inputs
(list bdb
libasr
libevent
libressl ; recommended, and supports e.g. ECDSA
linux-pam