From 698731e230cfebe9ff2f4fb29168e4b0f6454050 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sun, 12 Feb 2023 11:42:50 +0800 Subject: [PATCH] rosenthal: Remove smartdns. [upstreamed] * rosenthal/packages/dns.scm (smartdns): Delete variable. --- rosenthal/packages/dns.scm | 35 ----------------------------------- rosenthal/services/dns.scm | 2 +- 2 files changed, 1 insertion(+), 36 deletions(-) diff --git a/rosenthal/packages/dns.scm b/rosenthal/packages/dns.scm index 0ec2fe5..586faf6 100644 --- a/rosenthal/packages/dns.scm +++ b/rosenthal/packages/dns.scm @@ -62,38 +62,3 @@ time. @item Block ISP ads on NXDOMAIN result (like 114so). @end itemize\n") (license license:wtfpl2)))) - -(define-public smartdns - (package - (name "smartdns") - (version "40") - (source (origin - (method git-fetch) - (uri (git-reference - (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")))) - (build-system gnu-build-system) - (arguments - (list #:tests? #f ;no tests - #:make-flags - #~(list (string-append "CC=" #$(cc-for-target)) - (string-append "DESTDIR=" #$output) - "PREFIX=''") - #:phases - #~(modify-phases %standard-phases - (delete 'configure)))) - (inputs (list openssl)) - (home-page "https://github.com/pymumu/smartdns") - (synopsis "Local DNS server") - (description - "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+))) diff --git a/rosenthal/services/dns.scm b/rosenthal/services/dns.scm index 23464d7..a3c61d4 100644 --- a/rosenthal/services/dns.scm +++ b/rosenthal/services/dns.scm @@ -8,8 +8,8 @@ #:use-module (guix packages) #:use-module (gnu services) #:use-module (gnu services configuration) + #:use-module (gnu packages dns) #:use-module (gnu services shepherd) - #:use-module (rosenthal packages dns) #:export (smartdns-configuration smartdns-service-type))