rosenthal: smartdns: Correct license to GPL3+.

* rosenthal/packages/dns.scm (smartdns)[source]: Add a snippet to avoid
installing systemd service.
[license]: Correct to GPL3+.
This commit is contained in:
Hilton Chain committed 2023-01-24 14:42:20 +08:00
1 parent 431a808aa5
commit 4c7542d973
1 file changed
+5 -3
+5 -3
View File
@@ -73,6 +73,9 @@ time.
(url "https://github.com/pymumu/smartdns") (url "https://github.com/pymumu/smartdns")
(commit (string-append "Release" version)))) (commit (string-append "Release" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(modules '((guix build utils)))
(snippet '(substitute* "Makefile"
((".*SYSTEMDSYSTEMUNITDIR.*") "")))
(sha256 (sha256
(base32 (base32
"0ibbj96s40xgk6q7dsgpx65rjkknl1pn7nca5fcbbhcm2m80nzjj")))) "0ibbj96s40xgk6q7dsgpx65rjkknl1pn7nca5fcbbhcm2m80nzjj"))))
@@ -82,8 +85,7 @@ time.
#:make-flags #:make-flags
#~(list (string-append "CC=" #$(cc-for-target)) #~(list (string-append "CC=" #$(cc-for-target))
(string-append "DESTDIR=" #$output) (string-append "DESTDIR=" #$output)
"PREFIX=''" "PREFIX=''")
"SYSTEMDSYSTEMUNITDIR=no-thanks")
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(delete 'configure)))) (delete 'configure))))
@@ -94,4 +96,4 @@ time.
"SmartDNS accepts DNS query requests from local clients, obtains DNS "SmartDNS accepts DNS query requests from local clients, obtains DNS
query results from multiple upstream DNS servers, and returns the fastest query results from multiple upstream DNS servers, and returns the fastest
access results to clients.") access results to clients.")
(license license:gpl3))) (license license:gpl3+)))