commit:     48fb745db68e8ea60e401f7c1cd90b3e7457bd85
Author:     Michael Zavertkin <misha.zavertkin <AT> mail <DOT> ru>
AuthorDate: Wed Jan 15 15:49:30 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Jan 15 15:49:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=48fb745d

net-proxy/byedpi: add 0.16

Signed-off-by: Michael Zavertkin <misha.zavertkin <AT> mail.ru>

 net-proxy/byedpi/Manifest           |  1 +
 net-proxy/byedpi/byedpi-0.16.ebuild | 37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/net-proxy/byedpi/Manifest b/net-proxy/byedpi/Manifest
index adfc51ec3..e61327736 100644
--- a/net-proxy/byedpi/Manifest
+++ b/net-proxy/byedpi/Manifest
@@ -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

diff --git a/net-proxy/byedpi/byedpi-0.16.ebuild 
b/net-proxy/byedpi/byedpi-0.16.ebuild
new file mode 100644
index 000000000..14668c55c
--- /dev/null
+++ b/net-proxy/byedpi/byedpi-0.16.ebuild
@@ -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"
+}

Reply via email to