mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
net-proxy/snowflake: drop 2.10.1
Signed-off-by: Filip Kobierski <fkobi@pm.me>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST snowflake-v2.10.1.tar.gz 24567717 BLAKE2B 3bf84e1ee4c03b91ff76638f3a8bc38276829244ce3eda1582d708ce0b7a85d13f2301a2f409246bfcad5ff2010f713bbf01d7026e8c79b6320d346ee2e4dc6b SHA512 2ec50eb18b6d1469b26fa24b670d055ce58ed38bdc82a34938e34b925806ac3921ca292ac638758981f8a095106f94433a103644785b570d89c12bfded6225c9
|
||||
DIST snowflake-v2.11.0.tar.gz 24974351 BLAKE2B 9d9876cd98e2346dde99be2fe134057743a68e9b4cb1480fa477839386188acc8c9ba789f80360ea17bdb2c995c07f76bb6782e36610bcb09cb88424fd36dc8c SHA512 801a78845cbd65967f4995b98015ddf2b2518f280beb179da6cf233d51c3dc16d0384255771f8f4e768d1c21bc8924299b541299c28eea510dcb14cdc0cb7356
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module systemd
|
||||
|
||||
MY_P="${PN}-v${PV}"
|
||||
JOB_ID="749935"
|
||||
DESCRIPTION="Pluggable Transport using WebRTC, inspired by Flashproxy"
|
||||
HOMEPAGE="
|
||||
https://snowflake.torproject.org/
|
||||
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake
|
||||
"
|
||||
SRC_URI="https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/${PN}/-/jobs/${JOB_ID}/artifacts/raw/${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND=">=dev-lang/go-1.21"
|
||||
|
||||
src_configure() {
|
||||
COMPONENTS=(
|
||||
broker
|
||||
client
|
||||
probetest
|
||||
proxy
|
||||
server
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
for component in "${COMPONENTS[@]}"; do
|
||||
pushd ${component} || die
|
||||
einfo "Building ${component}"
|
||||
nonfatal ego build || die "${component}: build failed"
|
||||
popd || die
|
||||
done
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ego test ./...
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local component
|
||||
for component in "${COMPONENTS[@]}"; do
|
||||
newbin ${component}/${component} snowflake-${component}
|
||||
newdoc ${component}/README.md README_${component}.md
|
||||
done
|
||||
|
||||
systemd_dounit "${FILESDIR}"/snowflake-proxy.service
|
||||
newinitd "${FILESDIR}"/snowflake-proxy.initd snowflake-proxy
|
||||
|
||||
einstalldocs
|
||||
dodoc doc/*.txt doc/*.md
|
||||
doman doc/*.1
|
||||
}
|
||||
Reference in New Issue
Block a user