Package Details: v2ray-rules-dat-autoupdate 1.3-2

Git Clone URL: https://aur.archlinux.org/v2ray-rules-dat-autoupdate.git (read-only, click to copy)
Package Base: v2ray-rules-dat-autoupdate
Description: Enhanced edition of V2Ray and Xray rules dat files, compatible with Trojan-Go. Automaitcally update.
Upstream URL: https://github.com/Loyalsoldier/v2ray-rules-dat
Keywords: domain-list geodata geoip trojan-go v2ray v2raya xray
Licenses: GPL
Conflicts: v2ray-domain-list-community, v2ray-domain-list-custom, v2ray-geoip, v2ray-geoip-custom, v2ray-rules-dat-git, vxray-rules-dat-git, xray-domain-list-community, xray-geoip
Provides: v2ray-domain-list-community, v2ray-domain-list-custom, v2ray-geoip, v2ray-geoip-custom, v2ray-rules-dat-git, vxray-rules-dat-git, xray-domain-list-community, xray-geoip
Submitter: Gzxhwq
Maintainer: Gzxhwq
Last Packager: Gzxhwq
Votes: 4
Popularity: 0.002623
First Submitted: 2021-12-24 16:32 (UTC)
Last Updated: 2022-03-23 08:32 (UTC)

Dependencies (2)

Required by (29)

Sources (7)

Latest Comments

puddings233 commented on 2024-08-16 08:34 (UTC) (edited on 2024-08-16 08:45 (UTC) by puddings233)

Could you consider changing the following in v2ray-rules-dat-autoupdate.service:

After = network.target

to

After = network-online.target
Wants = network-online.target

This will help with autoupdate in cases where you need to configure the network after boot. e.g., Web Authentication.

Lehmaning commented on 2023-01-19 13:59 (UTC) (edited on 2023-01-19 14:34 (UTC) by Lehmaning)

可否将 var/lib/v2ray-rules-dat/geosite.datvar/lib/v2ray-rules-dat/geoip.dat 加入到 PKGBUILD 的 backup 数组里面?这样应该可以避免 PKGBUILD 更新之后系统现有的规则文件被覆盖。

Gzxhwq commented on 2022-03-23 08:06 (UTC) (edited on 2022-03-23 08:28 (UTC) by Gzxhwq)

@myl7 Feel sorry to the inconvince.

I found out what happen to the symbolic links. There are no source file in building stage, so there is just a literal "*.dat" after install the package.

And the upgrade script I have limit the working directory and not to remove any dotfiles.

Thanks for your feedback.

myl7 commented on 2022-03-22 16:42 (UTC)

ln -sf "/var/lib/${_pkgname}/"*.dat "${pkgdir}/usr/share/v2ray/"
ln -sf "/var/lib/${_pkgname}/"*.dat "${pkgdir}/usr/share/xray/"

The 2 commands generates a literal *.dat soft-link file in the 2 dir in my build.

myl7 commented on 2022-03-22 12:37 (UTC)

One kind suggestion: rm -vf $(find . -maxdepth 1 -type f ! -name "geo*.dat") may require a confirmation or limiting the range.

From a sad one whose all dotfiles are deleted 😭.

Gzxhwq commented on 2022-02-03 02:18 (UTC) (edited on 2022-02-03 02:29 (UTC) by Gzxhwq)

@blacktea 就是这样设计的。使用中遇到什么问题了吗?

blacktea commented on 2022-02-02 11:58 (UTC)

链接错了:/usr/share/v2ray/*.dat被链接到了/var/lib/v2ray-rules-dat/*.dat