summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD6
-rwxr-xr-xvxray-rules-dat-updater2
-rw-r--r--vxray-rules-dat-updater.service4
4 files changed, 10 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 48b5e68df66..28c587d6e45 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = vxray-rules-dat-git
pkgdesc = Enhanced edition of V2Ray and Xray rules dat files, compatible with Trojan-Go. Automaitcally update. DO NOT flag out-dated.
- pkgver = r202110022209
+ pkgver = r202110222209
pkgrel = 1
url = https://github.com/Loyalsoldier/v2ray-rules-dat
install = vxray-rules-dat-git.install
@@ -27,10 +27,10 @@ pkgbase = vxray-rules-dat-git
source = vxray-rules-dat-updater.timer
sha256sums = SKIP
sha256sums = eb1d2175b8be7f9779639b2b24d8260f83116c9a743f1fb0052f056518ccfd11
- sha256sums = 88221df34a025ee77bbaeac0dcbf8d60fe20a53c1592ba52502211c904d2d80a
+ sha256sums = b3ab75e92fe5a3285be9298093b069bb41fb0b6160fc3ba583e07fa6ddaedd71
sha256sums = be8a1aa0fcb3a20387ebfc00e03466867d647de2b154c1606856e887cd8d7cf5
sha256sums = 1c3c0b854bbfd96b0d84383bfff84eb70e69ac5193b7a535f75183ca28634fc2
- sha256sums = 9742ad89797cdcba3d2f1068807a884e09f3797419c19d61125c7c93cec9212b
+ sha256sums = 62377bc329477f85639eacf634fe32c1ff735cd5a636f949addc1ec036f59607
sha256sums = 5bd55042d53d3794f27483277056f06f5e55d0e7702b0093ec6f17d7da6d548c
pkgname = vxray-rules-dat-git
diff --git a/PKGBUILD b/PKGBUILD
index 8cb32bab390..c05640638e1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=vxray-rules-dat-git
_pkgname=vxray-rules-dat
pkgdesc="Enhanced edition of V2Ray and Xray rules dat files, compatible with Trojan-Go. Automaitcally update. DO NOT flag out-dated."
-pkgver=r202110022209
+pkgver=r202110222209
pkgrel=1
arch=('any')
url="https://github.com/Loyalsoldier/v2ray-rules-dat"
@@ -28,10 +28,10 @@ source=(
sha256sums=(
'SKIP'
'eb1d2175b8be7f9779639b2b24d8260f83116c9a743f1fb0052f056518ccfd11'
- '88221df34a025ee77bbaeac0dcbf8d60fe20a53c1592ba52502211c904d2d80a'
+ 'b3ab75e92fe5a3285be9298093b069bb41fb0b6160fc3ba583e07fa6ddaedd71'
'be8a1aa0fcb3a20387ebfc00e03466867d647de2b154c1606856e887cd8d7cf5'
'1c3c0b854bbfd96b0d84383bfff84eb70e69ac5193b7a535f75183ca28634fc2'
- '9742ad89797cdcba3d2f1068807a884e09f3797419c19d61125c7c93cec9212b'
+ '62377bc329477f85639eacf634fe32c1ff735cd5a636f949addc1ec036f59607'
'5bd55042d53d3794f27483277056f06f5e55d0e7702b0093ec6f17d7da6d548c'
)
diff --git a/vxray-rules-dat-updater b/vxray-rules-dat-updater
index 80f72ccdca6..d55ed8754aa 100755
--- a/vxray-rules-dat-updater
+++ b/vxray-rules-dat-updater
@@ -20,6 +20,8 @@ download_files() {
rm -v "geosite.dat.sha256sum" "geoip.dat.sha256sum"
cp -f /var/lib/vxray-rules-dat/geoip.dat /usr/share/xray/geoip.dat && cp -f /var/lib/vxray-rules-dat/geoip.dat /usr/share/v2ray/geoip.dat && cp -f /var/lib/vxray-rules-dat/geosite.dat /usr/share/xray/geosite.dat && cp -f /var/lib/vxray-rules-dat/geosite.dat /usr/share/v2ray/geosite.dat
+ ##support for QV2Ray3.0
+ #cp -f /usr/bin/xray /usr/bin/v2ray
}
case "${1}" in
diff --git a/vxray-rules-dat-updater.service b/vxray-rules-dat-updater.service
index 80dc1ce2c61..1820e1cc42e 100644
--- a/vxray-rules-dat-updater.service
+++ b/vxray-rules-dat-updater.service
@@ -4,8 +4,8 @@ After = network.target
[Service]
Type = oneshot
-User = vxray-rules-dat
-Group = vxray-rules-dat
+User = root
+Group = root
WorkingDirectory = /var/lib/vxray-rules-dat
ExecStart = /usr/bin/vxray-rules-dat-updater github && cp -f /var/lib/vxray-rules-dat/geoip.dat /usr/share/v2ray/geoip.dat && cp -f /var/lib/vxray-rules-dat/geoip.dat /usr/share/xray/geoip.dat && cp -f /var/lib/vxray-rules-dat/geoip.dat /usr/share/v2ray/geosite.dat && cp -f /var/lib/vxray-rules-dat/geoip.dat /usr/share/xray/geosite.dat