dev-libs/v2ray-rules-dat-bin - 202607092306 (gentoo-zh)

Search

Install

Install this version:

emerge -a =dev-libs/v2ray-rules-dat-bin-202607092306

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-libs/v2ray-rules-dat-bin-202607092306

Or alternatively:

emerge --autounmask-write -a =dev-libs/v2ray-rules-dat-bin-202607092306

Package Information

Description:
Enhanced edition of V2Ray rules dat files.
Homepage:
https://github.com/Loyalsoldier/v2ray-rules-dat
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
202607092306 8 ~amd64 ~arm ~arm64 ~loong ~riscv ~x86 0
View Raw Ebuild
# 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 geosite; then
		insinto /usr/share/geoip/
		newins "${DISTDIR}/${P}-geoip.dat" loyalsoldier.dat
	fi
}

USE Flags

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

Global/Standard Flags

geosite
Default: Enabled (+)
geoip
Default: Enabled (+)

Manifest for 202607092306

Type File Size Source URLs
DIST v2ray-rules-dat-bin-202607092306-geoip.dat 17872715 bytes https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202607092306/geoip.dat
DIST v2ray-rules-dat-bin-202607092306-geosite.dat 10387241 bytes https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202607092306/geosite.dat