net-proxy/byedpi: add 0.17.3, drop old

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2025-10-05 15:27:30 +05:00
parent d08a5db9c6
commit 78ac8d707d
6 changed files with 1 additions and 117 deletions

View File

@@ -1,4 +1,2 @@
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
DIST byedpi-0.17.3.tar.gz 48271 BLAKE2B 778444e7918d2987b076e6fbb9fe43921e5d7cd837d62acb05e6bd099d63eef0cad5163644016476b2b90422e02c0337d6c0a8c60aa3e502b87115e72b687480 SHA512 ae1bba213cf4db1cfa87389323bc3cb5d9588da86a68fc73669771ea613ce49fe6085c4a836b10a4fe03c318592a8139ed25bafc55c00acfb4b9fa4cc0cdf071

View File

@@ -1,39 +0,0 @@
# 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"
SRC_URI="https://github.com/hufrea/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
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-r1 byedpi
newconfd "${FILESDIR}"/byedpi.confd byedpi
systemd_dounit "dist/linux/${PN}.service"
insinto /etc
newins "dist/linux/${PN}.conf" "${PN}.conf"
}

View File

@@ -1,39 +0,0 @@
# 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"
SRC_URI="https://github.com/hufrea/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
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/${PN}.service"
insinto /etc
newins "dist/linux/${PN}.conf" "${PN}.conf"
}

View File

@@ -1,26 +0,0 @@
#!/sbin/openrc-run
# shellcheck shell=sh
#
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
: "${BYEDPI_USER:=byedpi}"
: "${BYEDPI_GROUP:=nobody}"
: "${BYEDPI_BIND_IP:=0.0.0.0}"
: "${BYEDPI_BIND_PORT:=1080}"
: "${BYEDPI_OPTS:=--disorder 5 --auto=torst --tlsrec 6+s}"
command="/usr/bin/ciadpi"
pidfile="/run/byedpi/${RC_SVCNAME}.pid"
command_user="${BYEDPI_USER}:${BYEDPI_GROUP}"
command_args="--ip ${BYEDPI_BIND_IP} --port ${BYEDPI_BIND_PORT} ${BYEDPI_OPTS}"
command_args_background="--daemon --pidfile ${pidfile}"
depend() {
need net
}
start_pre() {
checkpath -q -do "${BYEDPI_USER}":root "$(dirname "${pidfile}")"
}

View File

@@ -1,10 +0,0 @@
[Unit]
Description=Bypass DPI SOCKS proxy
Documentation=https://github.com/hufrea/byedpi/blob/main/readme.txt
After=network-online.target
[Service]
ExecStart=/usr/bin/ciadpi --disorder 5 --auto=torst --tlsrec 6+s
[Install]
WantedBy=multi-user.target