Install this version:
emerge -a =dev-libs/v2ray-rules-dat-bin-202611212204
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-libs/v2ray-rules-dat-bin-202611212204
Or alternatively:
emerge --autounmask-write -a =dev-libs/v2ray-rules-dat-bin-202611212204
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Enhanced edition of V2Ray rules dat files"
HOMEPAGE="https://github.com/Loyalsoldier/v2ray-rules-dat"
SRC_URI="
geosite? ( https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/${PV}/geosite.dat -> ${P}-geosite.dat )
geoip? ( https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/${PV}/geoip.dat -> ${P}-geoip.dat )
"
S="${WORKDIR}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
IUSE="+geosite +geoip"
REQUIRED_USE="|| ( geosite geoip )"
src_install() {
if use geosite; then
insinto /usr/share/geosite/
newins "${DISTDIR}/${P}-geosite.dat" loyalsoldier.dat
fi
if use geoip; then
insinto /usr/share/geoip/
newins "${DISTDIR}/${P}-geoip.dat" loyalsoldier.dat
fi
}
Manage flags for this package:
euse -i <flag> -p dev-libs/v2ray-rules-dat-bin |
euse -E <flag> -p dev-libs/v2ray-rules-dat-bin |
euse -D <flag> -p dev-libs/v2ray-rules-dat-bin
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | v2ray-rules-dat-bin-202611212204-geoip.dat | 16503149 bytes | https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202611212204/geoip.dat |
| DIST | v2ray-rules-dat-bin-202611212204-geosite.dat | 11472685 bytes | https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202611212204/geosite.dat |