From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D386D1581EE for ; Sat, 23 Nov 2024 16:27:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB245E0824; Sat, 23 Nov 2024 16:27:47 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B02F1E0824 for ; Sat, 23 Nov 2024 16:27:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C5F1F340CBB for ; Sat, 23 Nov 2024 16:27:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 649C9130F for ; Sat, 23 Nov 2024 16:27:45 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1732379197.9b6cf3d873b71607d29ad78b8275803daac06dc0.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/lyrebird/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-proxy/lyrebird/Manifest net-proxy/lyrebird/lyrebird-0.5.0.ebuild X-VCS-Directories: net-proxy/lyrebird/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9b6cf3d873b71607d29ad78b8275803daac06dc0 X-VCS-Branch: master Date: Sat, 23 Nov 2024 16:27:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1410e138-93d6-4416-9780-ce533285ee09 X-Archives-Hash: 071e87faad90151ea44a820f32d77a4f commit: 9b6cf3d873b71607d29ad78b8275803daac06dc0 Author: Sam James gentoo org> AuthorDate: Sat Nov 23 16:26:37 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sat Nov 23 16:26:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b6cf3d8 net-proxy/lyrebird: add 0.5.0 Signed-off-by: Sam James gentoo.org> net-proxy/lyrebird/Manifest | 2 ++ net-proxy/lyrebird/lyrebird-0.5.0.ebuild | 45 ++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/net-proxy/lyrebird/Manifest b/net-proxy/lyrebird/Manifest index 7c0ff52ea34e..e8331123e1a1 100644 --- a/net-proxy/lyrebird/Manifest +++ b/net-proxy/lyrebird/Manifest @@ -2,3 +2,5 @@ DIST lyrebird-0.1.0-deps.tar.xz 88991580 BLAKE2B ba9113d847bc900ad3001e91a67ac93 DIST lyrebird-0.1.0.tar.bz2 76753 BLAKE2B af168a25093b68b10b489adc282f1ee65b70193602f79d9cc352c78e2a9c71205191dc6487ea58584f76ce1cbbf653d3fd0e1f645d7972d3e73173a90ae39361 SHA512 f9b8686d1c5f9ddb41a255a1a8954e05cefd50523ada7360432b456c62475ba606872df407ba8ebd7714d4f185eef0efae63e3e53c5c1c18fd323a97912f951e DIST lyrebird-0.4.0-deps.tar.xz 44450504 BLAKE2B 7d8010c4f2d911f26d37b7069908368ac56e4237c9cb25f7845b16cf881e2b25d30e135314b0f8cd60c42c7a34aedd17586689134b7357ff33e2673f9664c7c0 SHA512 8cf0b3e80a0d1bdc2af0d6900862fbc48d7fa02593d3c0a92f9d21598fd3df69aa312f55ae122837fa409b0ee83fc7373c2fd5d2a43c14f8d3e3bab77b8b77a4 DIST lyrebird-0.4.0.tar.bz2 80497 BLAKE2B 060ceba6389f8f6a739e43162bf6b54e410c5206348f323e83130903c9dd07622393a28a0da8cf6e59376406be10d17b003e416dba3dcca8fa9ad3e41b68d4db SHA512 406d62d7da76807ad9fa1107bb9f335fc14f54dfecda26964886869e35122172d302ccc83442b355c055d506c84a212da11ea3b1f456f6fd19674a5c1bcd1773 +DIST lyrebird-0.5.0-deps.tar.xz 49717604 BLAKE2B cb490f3c5b13512f2c9238c8ea47121627d1b77c33e637096cd466d1f59fc71b6113bb10ba2ac3cee16bf9f8c8885a8f4587384bfe6f09ff8b2bbcef087e819c SHA512 33b8ab0e4850c06720430df90ca0a174925b2c03366b1dc2b71480ed3c7c8344dee4c12145654e757d9c8c2dc583a5d44b952ed021b570b86878edfa57b1cfa5 +DIST lyrebird-0.5.0.tar.bz2 111189 BLAKE2B d534074f6db7ad190b12010ddc44889c15ae2c3dc594e30dea41ae1f092ca83481ecb51611d763b63a8b3d8d97f887fdc4e216b41dab3b219d7c2df2f7b5d84f SHA512 8059583ae6ebc121cb853600d635382c9d85b6a98a71be0f7f71bfd780d4278804b89cdaa083233dcdb47ec64ebf00a32a57b84f5cd46d42c94e6a7ff74887a8 diff --git a/net-proxy/lyrebird/lyrebird-0.5.0.ebuild b/net-proxy/lyrebird/lyrebird-0.5.0.ebuild new file mode 100644 index 000000000000..0313b779ac34 --- /dev/null +++ b/net-proxy/lyrebird/lyrebird-0.5.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="An obfuscating proxy supporting Tor's pluggable transport protocol obfs4" +HOMEPAGE="https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird" +SRC_URI="https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/${PN}/-/archive/${P}/${PN}-${P}.tar.bz2 -> ${P}.tar.bz2" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz" +S="${WORKDIR}"/${PN}-${P} + +LICENSE="BSD CC0-1.0 BZIP2 GPL-3+ MIT public-domain" +SLOT="0" +KEYWORDS="~amd64 ~arm ~riscv ~x86" +IUSE="selinux" + +RDEPEND="selinux? ( sec-policy/selinux-obfs4proxy )" +BDEPEND=">=dev-lang/go-1.21" + +DOCS=( README.md ChangeLog doc/obfs4-spec.txt ) + +src_compile() { + ego build ./cmd/${PN} +} + +src_install() { + dobin ${PN} + doman doc/${PN}.1 +} + +pkg_postinst() { + if [[ ! -z "${REPLACING_VERSIONS}" ]]; then + local oldver + for oldver in ${REPLACING_VERSIONS}; do + if ver_test "${oldver}" -lt 0.1.0; then + ewarn "Since version 0.1.0 the proxy executable is called '${PN}' rather than 'obfs4proxy'." + ewarn "Please update your Tor configuration accordingly." + ewarn + break + fi + done + fi +}