diff options
author | Midori | 2022-06-06 11:39:13 +0900 |
---|---|---|
committer | Midori | 2022-06-06 11:39:13 +0900 |
commit | 24d55e4572fb51c21475a6cf1968a60bb69d6792 (patch) | |
tree | e8e310eb0dc22ef462735139874a24ed733bde7f | |
parent | a957ee355e170e72c13a3ef9ed80b3e163d62b83 (diff) | |
download | aur-24d55e4572fb51c21475a6cf1968a60bb69d6792.tar.gz |
v3.9.0-2
- upadte PKGBUILD & default remote addr
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 12 | ||||
-rw-r--r-- | config.yaml | 3 |
3 files changed, 13 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = mosdns-bin pkgdesc = Plug-in configured DNS forwarder/server pkgver = 3.9.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/IrineSistiana/mosdns/ arch = x86_64 license = GPL3 @@ -13,6 +13,10 @@ pkgbase = mosdns-bin conflicts = mosdns-git backup = etc/mosdns/config.yaml source = mosdns-bin-3.9.0.zip::https://github.com/IrineSistiana/mosdns/releases/download/v3.9.0/mosdns-linux-amd64.zip + source = service + source = config.yaml sha256sums = ddcdb7eb7d8d4783edfd7c9e60b719837407b2cf8abdc292413d03f6a7718652 + sha256sums = b73feace50f17752d7a8f3012e546a6d05bfb13ba4946c93b82d511af974719a + sha256sums = cd7f17517edead1f49b297b60ae510a7608607ea9293bbc5ecb8521163268116 pkgname = mosdns-bin @@ -2,7 +2,7 @@ _pkgname=mosdns pkgname=${_pkgname}-bin pkgver=3.9.0 -pkgrel=1 +pkgrel=2 pkgdesc="Plug-in configured DNS forwarder/server" arch=('x86_64') url="https://github.com/IrineSistiana/mosdns/" @@ -13,11 +13,13 @@ optdepends=('v2ray-domain-list-community: geosite.dat' backup=('etc/mosdns/config.yaml') provides=('mosdns') conflicts=('mosdns' 'mosdns-git') -source=("$pkgname-$pkgver.zip::https://github.com/IrineSistiana/mosdns/releases/download/v${pkgver}/mosdns-linux-amd64.zip") -sha256sums=('ddcdb7eb7d8d4783edfd7c9e60b719837407b2cf8abdc292413d03f6a7718652') +source=("$pkgname-$pkgver.zip::https://github.com/IrineSistiana/mosdns/releases/download/v${pkgver}/mosdns-linux-amd64.zip" "service" "config.yaml") +sha256sums=('ddcdb7eb7d8d4783edfd7c9e60b719837407b2cf8abdc292413d03f6a7718652' + 'b73feace50f17752d7a8f3012e546a6d05bfb13ba4946c93b82d511af974719a' + 'cd7f17517edead1f49b297b60ae510a7608607ea9293bbc5ecb8521163268116') package() { install -Dm755 mosdns "$pkgdir"/usr/bin/mosdns - install -Dm644 ../service "$pkgdir"/usr/lib/systemd/system/mosdns.service - install -Dm644 ../config.yaml "$pkgdir"/etc/mosdns/config.yaml + install -Dm644 service "$pkgdir"/usr/lib/systemd/system/mosdns.service + install -Dm644 config.yaml "$pkgdir"/etc/mosdns/config.yaml } diff --git a/config.yaml b/config.yaml index a309575e7069..31d60e90b459 100644 --- a/config.yaml +++ b/config.yaml @@ -72,8 +72,7 @@ plugin: type: "fast_forward" args: upstream: - - addr: https://doh.dns.sb/dns-query - dial_addr: 103.121.210.210 + - addr: https://45.11.45.11/dns-query ################ 匹配器插件 ################# |