mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
net-proxy/byedpi: add 0.17.2
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST byedpi-0.16.6.tar.gz 42399 BLAKE2B d276699e30c701645655b04a84811d1b33fc7aa63f7a5abd7883ccd83d22aeed1ca2c94b0bd5be55ef8da02f0ed4c398f7d0e83860c5d54a45fd9006d3fe3a3f SHA512 8511f7e85b5fc840c84bf5093149632bb0b8d34b2fe5f9430cb675ef3235b4e5feff9e6b0c65a2fa509f6e3aa0cc90b2c07c2ef3ebc0f555f390bae5e02446dd
|
||||
DIST byedpi-0.17.1.tar.gz 46089 BLAKE2B 85c948815e372a6c1fd7a28c7cf5495c30c38339dffdcc653b12a01168b114b3010036b3a11095bf1a41ef99ca40f8fc59d1aa315c2a014d877fe5eeb0955c0a SHA512 c910adaef996dc4af83793ce2e6302236c48a7fabead3b5fa8f834c613d560c31b7aab02e4b8763d242cee9890e3b2bc1a255b092b0f69f3258a9f520df5ff7b
|
||||
DIST byedpi-0.17.2.tar.gz 46096 BLAKE2B e60d3ca1ee202b369cb25d7e8d36577907515d448495146b545138281d73bf7f09567c293371ccb7bf7607c602486d3c16c0a0665729dfd78f4f46c02197729b SHA512 3e06498c95ffac895c4ad68bf1d45db5ed4ea028a068da71473cb7583f23b499f963f59028f5541d6381c265893d47245cd8e62ea76d36c44910f05199f1a407
|
||||
DIST byedpi-0.17.tar.gz 44633 BLAKE2B fb3ce55bb0fb40ad10837eff031fd7fd0f472baac9e44366590fddfd4293f07c7509987938aaeb7674690286120aa8e9b1c35b7eec2af8580d59944aa202bc04 SHA512 10fc6c936bdc78ce3f87ee17d7828527894974534bb1f97e1ea1eb180d89d9300fd051512d655b4bb203df83c97576ef56c5f8cebc332f631df99dde08bb996c
|
||||
|
||||
45
net-proxy/byedpi/byedpi-0.17.2.ebuild
Normal file
45
net-proxy/byedpi/byedpi-0.17.2.ebuild
Normal file
@@ -0,0 +1,45 @@
|
||||
# Copyright 2024-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="Bypass DPI SOCKS proxy"
|
||||
HOMEPAGE="https://github.com/hufrea/byedpi"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/hufrea/byedpi.git"
|
||||
else
|
||||
SRC_URI="https://github.com/hufrea/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="acct-user/byedpi"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# respect optimization level
|
||||
sed -i 's/ -O.\b/ /' Makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ciadpi
|
||||
einstalldocs
|
||||
|
||||
newinitd "${FILESDIR}"/byedpi.initd-r2 byedpi
|
||||
newconfd "${FILESDIR}"/byedpi.confd byedpi
|
||||
systemd_dounit dist/linux/byedpi.service
|
||||
|
||||
insinto /etc
|
||||
doins dist/linux/byedpi.conf
|
||||
}
|
||||
Reference in New Issue
Block a user