net-proxy/byedpi: fix VariableOrderWrong

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova 2024-10-11 03:20:57 +05:00
parent 672a932a23
commit 2faf7ff6d7
No known key found for this signature in database
GPG Key ID: E7B76EDC50864BB1

View File

@ -7,12 +7,11 @@ inherit systemd toolchain-funcs
DESCRIPTION="Bypass DPI SOCKS proxy" DESCRIPTION="Bypass DPI SOCKS proxy"
HOMEPAGE="https://github.com/hufrea/byedpi/" HOMEPAGE="https://github.com/hufrea/byedpi/"
SRC_URI="https://github.com/hufrea/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" SRC_URI="https://github.com/hufrea/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
LICENSE="MIT" LICENSE="MIT"
SLOT="0" SLOT="0"
KEYWORDS="~amd64"
src_prepare() { src_prepare() {
default default
@ -31,7 +30,5 @@ src_install() {
newinitd "${FILESDIR}"/byedpi.initd byedpi newinitd "${FILESDIR}"/byedpi.initd byedpi
newconfd "${FILESDIR}"/byedpi.confd byedpi newconfd "${FILESDIR}"/byedpi.confd byedpi
# Replace distributed service file with working one
# systemd_dounit dist/linux/byedpi.service
systemd_dounit "${FILESDIR}/${PN}.service" systemd_dounit "${FILESDIR}/${PN}.service"
} }