Archived
1
0
Fork 0

gnu: smartdns: Update to 45.

* gnu/packages/dns.scm (smartdns): Update to 45.
[arguments]<#:make-flags>: Obtain version with ‘package-version’.
[native-inputs]: Add which.

Change-Id: I1b572753cba53f6e8f8105541c1292e03dec9053
This commit is contained in:
Hilton Chain 2024-03-09 19:26:02 +08:00
parent b6835ef462
commit 6b195fc7c4
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -1273,7 +1273,7 @@ nameservers other than libc.")
(define-public smartdns (define-public smartdns
(package (package
(name "smartdns") (name "smartdns")
(version "43") (version "45")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -1285,7 +1285,7 @@ nameservers other than libc.")
((".*SYSTEMDSYSTEMUNITDIR.*") ""))) ((".*SYSTEMDSYSTEMUNITDIR.*") "")))
(sha256 (sha256
(base32 (base32
"0s789l6i4yirmarg80mknc1pp65rz01ky9f7gidgclkfcwzz41l3")))) "1f0j6d8vz1x2f4nr2w3q7azkjh8hlkj81v61a8sw1kq5160qhlb9"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
(list #:test-target "test" (list #:test-target "test"
@ -1293,7 +1293,7 @@ nameservers other than libc.")
#~(list (string-append "CC=" #$(cc-for-target)) #~(list (string-append "CC=" #$(cc-for-target))
(string-append "DESTDIR=" #$output) (string-append "DESTDIR=" #$output)
"PREFIX=''" "PREFIX=''"
(string-append "VER=" #$version)) (string-append "VER=" #$(package-version this-package)))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(delete 'configure) (delete 'configure)
@ -1321,7 +1321,7 @@ nameservers other than libc.")
(lambda _ (lambda _
(chdir "../../source")))))) (chdir "../../source"))))))
(inputs (list openssl)) (inputs (list openssl))
(native-inputs (list googletest `(,isc-bind "utils"))) (native-inputs (list googletest `(,isc-bind "utils") which))
(home-page "https://github.com/pymumu/smartdns") (home-page "https://github.com/pymumu/smartdns")
(synopsis "Local DNS server") (synopsis "Local DNS server")
(description (description