Skip to content

Commit

Permalink
net-proxy/byedpi: add 0.16
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Zavertkin <[email protected]>
  • Loading branch information
ProMix0 committed Jan 15, 2025
1 parent 2514820 commit 48fb745
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions net-proxy/byedpi/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
DIST byedpi-0.14.1.tar.gz 37004 BLAKE2B c14af6c2e01bf5d8c1539b5417ca2bf7cdfd501f4f1927dd7d1f643db1b2c7e26cd4bd8e3f66d885903b9349fa10f802e44039f0fc08b28143ec382a64e096b1 SHA512 5ff1d5ce03b0c824a60272130b47ba5d8ded74fdace7000780b1fff014a33cd9e42778f006d903a0dee4ec204561cd025b4788aa9bbd55b39c72d64736d6309e
DIST byedpi-0.15.tar.gz 38376 BLAKE2B adceb3106c16d8aefe2040d8f12d9118107b23d2eac57f4a295f7800b655e889e6507f8800d1f0cc46e1365df2c987c764c68f6ab3df9a0dee3a226746e195c7 SHA512 bf6e7e4047263eb0e436b05ca40244439a232cd2b81d45ad7aad12b1f76e5796e4e5c913534599650b23d148bc2f07e98d2a2637db95106de014b303edbd1a38
DIST byedpi-0.16.tar.gz 41690 BLAKE2B 7a80864864a736d68824596dbe086bb4a6f90661fd02a2231c7c023ab7b098e5b38f73fa8acb8adc5f73de16d328875d42bdd3fd5f4dd34f40d9d51fd8b22e5e SHA512 42652609fe6ea1d57cdf6d8d7df1472887372f4f9621cd5111f292aa3daa45bf952782c90ecf19df2631a88eccc7f30e3b34dcaf1186f8238c5433e453b3aea1
37 changes: 37 additions & 0 deletions net-proxy/byedpi/byedpi-0.16.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright 2024 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"

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 byedpi
newconfd "${FILESDIR}"/byedpi.confd byedpi
systemd_dounit "dist/linux/${PN}.service"

insinto /etc
newins "dist/linux/${PN}.conf" "${PN}.conf"
}

0 comments on commit 48fb745

Please sign in to comment.