From 4c7542d97388645b632379c56d208993fb11500a Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Tue, 24 Jan 2023 14:42:20 +0800 Subject: [PATCH] rosenthal: smartdns: Correct license to GPL3+. * rosenthal/packages/dns.scm (smartdns)[source]: Add a snippet to avoid installing systemd service. [license]: Correct to GPL3+. --- rosenthal/packages/dns.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/rosenthal/packages/dns.scm b/rosenthal/packages/dns.scm index e5df8d3..0ec2fe5 100644 --- a/rosenthal/packages/dns.scm +++ b/rosenthal/packages/dns.scm @@ -73,6 +73,9 @@ time. (url "https://github.com/pymumu/smartdns") (commit (string-append "Release" version)))) (file-name (git-file-name name version)) + (modules '((guix build utils))) + (snippet '(substitute* "Makefile" + ((".*SYSTEMDSYSTEMUNITDIR.*") ""))) (sha256 (base32 "0ibbj96s40xgk6q7dsgpx65rjkknl1pn7nca5fcbbhcm2m80nzjj")))) @@ -82,8 +85,7 @@ time. #:make-flags #~(list (string-append "CC=" #$(cc-for-target)) (string-append "DESTDIR=" #$output) - "PREFIX=''" - "SYSTEMDSYSTEMUNITDIR=no-thanks") + "PREFIX=''") #:phases #~(modify-phases %standard-phases (delete 'configure)))) @@ -94,4 +96,4 @@ time. "SmartDNS accepts DNS query requests from local clients, obtains DNS query results from multiple upstream DNS servers, and returns the fastest access results to clients.") - (license license:gpl3))) + (license license:gpl3+)))