Install this version:
emerge -a =dev-libs/v2ray-rules-dat-bin-202608270248
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-libs/v2ray-rules-dat-bin-202608270248
Or alternatively:
emerge --autounmask-write -a =dev-libs/v2ray-rules-dat-bin-202608270248
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 202608270248 | 8 | ~amd64 | 0 |
# 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"
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-202608270248-geoip.dat | 17185495 bytes | https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202608270248/geoip.dat |
| DIST | v2ray-rules-dat-bin-202608270248-geosite.dat | 11014207 bytes | https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202608270248/geosite.dat |