net-proxy/juicity - 0.5.0 (gentoo-zh)

Search

Package Information

Description:
juicity is a quic-based proxy protocol.
Homepage:
https://github.com/juicity/juicity
License:
AGPL-3

Ebuild Details

Version EAPI Keywords Slot
0.5.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module systemd

DESCRIPTION="juicity is a quic-based proxy protocol."
HOMEPAGE="https://github.com/juicity/juicity"
SRC_URI="https://github.com/juicity/juicity/releases/download/v${PV}/juicity-full-src.zip -> ${P}.zip"

S="$WORKDIR"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"

IUSE="+server client"

src_compile(){
	for i in server client ;do
		if use $i; then
			emake "juicity-$i"
		fi
	done
}

src_install(){
	keepdir "/etc/${PN}"
	insinto "/etc/${PN}"
	for i in server client ;do
		if use $i; then
			dobin "juicity-$i"
			systemd_dounit "install/juicity-$i.service"
			doins "install/example-$i.json"
		fi
	done
}

USE Flags

server
Default: Enabled (+)

Manifest for 0.5.0

Type File Size Source URLs
DIST juicity-0.5.0.zip 76690222 bytes https://github.com/juicity/juicity/releases/download/v0.5.0/juicity-full-src.zip