rosenthal: smartdns: Correct license to GPL3+.

* rosenthal/packages/dns.scm (smartdns)[source]: Add a snippet to avoid
installing systemd service.
[license]: Correct to GPL3+.
remotes/origin/cloudflared-unbundle
Hilton Chain 2 years ago
parent 431a808aa5
commit 4c7542d973
No known key found for this signature in database
GPG Key ID: ACC66D09CA528292
  1. 8
      rosenthal/packages/dns.scm

@ -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+)))

Loading…
Cancel
Save