public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-proxy/lyrebird/
@ 2023-06-27 21:56 Marek Szuba
  0 siblings, 0 replies; 8+ messages in thread
From: Marek Szuba @ 2023-06-27 21:56 UTC (permalink / raw
  To: gentoo-commits

commit:     bdb6e7716729ab6ef1a1f3aa9ada900d872c80fa
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 27 21:02:04 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Jun 27 21:56:25 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdb6e771

net-proxy/lyrebird: remove outdated remote from metadata.xml

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 net-proxy/lyrebird/metadata.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/net-proxy/lyrebird/metadata.xml b/net-proxy/lyrebird/metadata.xml
index 54d2d763d12e..beac02a9af14 100644
--- a/net-proxy/lyrebird/metadata.xml
+++ b/net-proxy/lyrebird/metadata.xml
@@ -5,7 +5,4 @@
 		<email>marecki@gentoo.org</email>
 		<name>Marek Szuba</name>
 	</maintainer>
-	<upstream>
-		<remote-id type="github">Yawning/obfs4</remote-id>
-	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-proxy/lyrebird/
@ 2023-06-27 21:56 Marek Szuba
  0 siblings, 0 replies; 8+ messages in thread
From: Marek Szuba @ 2023-06-27 21:56 UTC (permalink / raw
  To: gentoo-commits

commit:     8629ec558e63f8fd19e72147fc33fcb7bfc158ba
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 27 21:28:01 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Jun 27 21:56:26 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8629ec55

net-proxy/lyrebird: add 0.1.0

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 net-proxy/lyrebird/Manifest              |  2 ++
 net-proxy/lyrebird/lyrebird-0.1.0.ebuild | 43 ++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/net-proxy/lyrebird/Manifest b/net-proxy/lyrebird/Manifest
index 0c01d5d41b3e..fd6a45fb27d4 100644
--- a/net-proxy/lyrebird/Manifest
+++ b/net-proxy/lyrebird/Manifest
@@ -1,2 +1,4 @@
+DIST lyrebird-0.1.0-deps.tar.xz 88991580 BLAKE2B ba9113d847bc900ad3001e91a67ac939a7fbd8f7423f256be92a5fb2461604c00e05edd581a28f456f493997d31a40fa1673fead1cd15ae192e02ca480b9db5b SHA512 af6e245ac333de1c14ba1f648548123f11ceaffb894d4057e2e7ed5c1fa8cd0f023e308ccf20d74696b2ef0b8a0489fe2f73c868dc23e087f8ae04ea6688db4d
+DIST lyrebird-0.1.0.tar.bz2 76753 BLAKE2B af168a25093b68b10b489adc282f1ee65b70193602f79d9cc352c78e2a9c71205191dc6487ea58584f76ce1cbbf653d3fd0e1f645d7972d3e73173a90ae39361 SHA512 f9b8686d1c5f9ddb41a255a1a8954e05cefd50523ada7360432b456c62475ba606872df407ba8ebd7714d4f185eef0efae63e3e53c5c1c18fd323a97912f951e
 DIST obfs4proxy-0.0.14-deps.tar.xz 23134868 BLAKE2B befa45afeb9566dbf46be07ae469dca305d91584b04f6cb8529c50c2d1b3fb94e0adc6434ffa069b8fa1af6be2a29ffc550a7bcf1aa45eac0ed66252e37a31f8 SHA512 81f4bb778230c2f040dd1682ffaff3a635d4a57a5cef42b9d4ff7df486476cb037d7851d6e8ce5bb021c6a9a5116355e963eccfc2d1fd94cbc24df21bff7ff2e
 DIST obfs4proxy-0.0.14.tar.gz 88649 BLAKE2B 6d2198dee67998b1793c28d77dbfd8f922248e8acba481ea9496567652e132fe45c09061b3052dcdebe0dbc356744ea454641789dc688ed333ede73186b8c69a SHA512 2e28516ab888485d14d7f60fc0bee9a8268faf681803c71faff49185b7870cc0c5a6df3dbbb2a4d446307997812092ca64070be978997bc82cc89ee435698feb

diff --git a/net-proxy/lyrebird/lyrebird-0.1.0.ebuild b/net-proxy/lyrebird/lyrebird-0.1.0.ebuild
new file mode 100644
index 000000000000..34cb1326cb3f
--- /dev/null
+++ b/net-proxy/lyrebird/lyrebird-0.1.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2023 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
+	https://dev.gentoo.org/~marecki/dists/${CATEGORY}/${PN}/${P}-deps.tar.xz"
+
+LICENSE="BSD CC0-1.0 BZIP2 GPL-3+ MIT public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~riscv ~x86"
+
+S="${WORKDIR}"/${PN}-${P}
+
+DOCS=( README.md ChangeLog doc/obfs4-spec.txt )
+
+src_compile() {
+	go build ./cmd/${PN} || die
+}
+
+src_install() {
+	default
+	dobin ${PN}
+	newman doc/obfs4proxy.1 ${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
+}


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-proxy/lyrebird/
@ 2023-06-28  7:37 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2023-06-28  7:37 UTC (permalink / raw
  To: gentoo-commits

commit:     418eff8d77f28be77c5312573ddd6a6435dbbac8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 28 07:26:25 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 28 07:36:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=418eff8d

net-proxy/lyrebird: add missing selinux policy dep

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-proxy/lyrebird/lyrebird-0.1.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-proxy/lyrebird/lyrebird-0.1.0.ebuild b/net-proxy/lyrebird/lyrebird-0.1.0.ebuild
index 34cb1326cb3f..a6d7ea8ca8aa 100644
--- a/net-proxy/lyrebird/lyrebird-0.1.0.ebuild
+++ b/net-proxy/lyrebird/lyrebird-0.1.0.ebuild
@@ -13,6 +13,9 @@ SRC_URI="https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/
 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 )"
 
 S="${WORKDIR}"/${PN}-${P}
 


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-proxy/lyrebird/
@ 2023-08-21 17:43 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2023-08-21 17:43 UTC (permalink / raw
  To: gentoo-commits

commit:     ce4db2d9272e4e9f0d861273624112b63ab020fd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 21 17:42:42 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 21 17:42:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce4db2d9

net-proxy/lyrebird: Stabilize 0.1.0 arm, #912753

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-proxy/lyrebird/lyrebird-0.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/lyrebird/lyrebird-0.1.0.ebuild b/net-proxy/lyrebird/lyrebird-0.1.0.ebuild
index a6d7ea8ca8aa..e04999dc2752 100644
--- a/net-proxy/lyrebird/lyrebird-0.1.0.ebuild
+++ b/net-proxy/lyrebird/lyrebird-0.1.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/
 
 LICENSE="BSD CC0-1.0 BZIP2 GPL-3+ MIT public-domain"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~riscv ~x86"
+KEYWORDS="~amd64 arm ~riscv ~x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-obfs4proxy )"


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-proxy/lyrebird/
@ 2023-08-22 10:33 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2023-08-22 10:33 UTC (permalink / raw
  To: gentoo-commits

commit:     cac9823b3e5968cc7031bc240ddf5d9b96c69022
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 22 10:33:05 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 22 10:33:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cac9823b

net-proxy/lyrebird: Stabilize 0.1.0 amd64, #912753

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-proxy/lyrebird/lyrebird-0.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/lyrebird/lyrebird-0.1.0.ebuild b/net-proxy/lyrebird/lyrebird-0.1.0.ebuild
index e04999dc2752..daa9bf4d1c74 100644
--- a/net-proxy/lyrebird/lyrebird-0.1.0.ebuild
+++ b/net-proxy/lyrebird/lyrebird-0.1.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/
 
 LICENSE="BSD CC0-1.0 BZIP2 GPL-3+ MIT public-domain"
 SLOT="0"
-KEYWORDS="~amd64 arm ~riscv ~x86"
+KEYWORDS="amd64 arm ~riscv ~x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-obfs4proxy )"


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-proxy/lyrebird/
@ 2023-08-22 12:00 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2023-08-22 12:00 UTC (permalink / raw
  To: gentoo-commits

commit:     748c00e0313204544762480302a3bd775c9348a4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 22 11:59:47 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 22 11:59:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=748c00e0

net-proxy/lyrebird: Stabilize 0.1.0 x86, #912753

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-proxy/lyrebird/lyrebird-0.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/lyrebird/lyrebird-0.1.0.ebuild b/net-proxy/lyrebird/lyrebird-0.1.0.ebuild
index daa9bf4d1c74..6162ed0ab738 100644
--- a/net-proxy/lyrebird/lyrebird-0.1.0.ebuild
+++ b/net-proxy/lyrebird/lyrebird-0.1.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/
 
 LICENSE="BSD CC0-1.0 BZIP2 GPL-3+ MIT public-domain"
 SLOT="0"
-KEYWORDS="amd64 arm ~riscv ~x86"
+KEYWORDS="amd64 arm ~riscv x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-obfs4proxy )"


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-proxy/lyrebird/
@ 2023-08-22 21:35 Marek Szuba
  0 siblings, 0 replies; 8+ messages in thread
From: Marek Szuba @ 2023-08-22 21:35 UTC (permalink / raw
  To: gentoo-commits

commit:     622d62b0254e964e2a3ebb1f7c29a8ed546ea2b0
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 22 21:33:02 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Aug 22 21:35:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=622d62b0

net-proxy/lyrebird: drop 0.0.14

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 net-proxy/lyrebird/Manifest               |  2 --
 net-proxy/lyrebird/lyrebird-0.0.14.ebuild | 33 -------------------------------
 2 files changed, 35 deletions(-)

diff --git a/net-proxy/lyrebird/Manifest b/net-proxy/lyrebird/Manifest
index fd6a45fb27d4..cd5561aa4d66 100644
--- a/net-proxy/lyrebird/Manifest
+++ b/net-proxy/lyrebird/Manifest
@@ -1,4 +1,2 @@
 DIST lyrebird-0.1.0-deps.tar.xz 88991580 BLAKE2B ba9113d847bc900ad3001e91a67ac939a7fbd8f7423f256be92a5fb2461604c00e05edd581a28f456f493997d31a40fa1673fead1cd15ae192e02ca480b9db5b SHA512 af6e245ac333de1c14ba1f648548123f11ceaffb894d4057e2e7ed5c1fa8cd0f023e308ccf20d74696b2ef0b8a0489fe2f73c868dc23e087f8ae04ea6688db4d
 DIST lyrebird-0.1.0.tar.bz2 76753 BLAKE2B af168a25093b68b10b489adc282f1ee65b70193602f79d9cc352c78e2a9c71205191dc6487ea58584f76ce1cbbf653d3fd0e1f645d7972d3e73173a90ae39361 SHA512 f9b8686d1c5f9ddb41a255a1a8954e05cefd50523ada7360432b456c62475ba606872df407ba8ebd7714d4f185eef0efae63e3e53c5c1c18fd323a97912f951e
-DIST obfs4proxy-0.0.14-deps.tar.xz 23134868 BLAKE2B befa45afeb9566dbf46be07ae469dca305d91584b04f6cb8529c50c2d1b3fb94e0adc6434ffa069b8fa1af6be2a29ffc550a7bcf1aa45eac0ed66252e37a31f8 SHA512 81f4bb778230c2f040dd1682ffaff3a635d4a57a5cef42b9d4ff7df486476cb037d7851d6e8ce5bb021c6a9a5116355e963eccfc2d1fd94cbc24df21bff7ff2e
-DIST obfs4proxy-0.0.14.tar.gz 88649 BLAKE2B 6d2198dee67998b1793c28d77dbfd8f922248e8acba481ea9496567652e132fe45c09061b3052dcdebe0dbc356744ea454641789dc688ed333ede73186b8c69a SHA512 2e28516ab888485d14d7f60fc0bee9a8268faf681803c71faff49185b7870cc0c5a6df3dbbb2a4d446307997812092ca64070be978997bc82cc89ee435698feb

diff --git a/net-proxy/lyrebird/lyrebird-0.0.14.ebuild b/net-proxy/lyrebird/lyrebird-0.0.14.ebuild
deleted file mode 100644
index 44f0e12e63e3..000000000000
--- a/net-proxy/lyrebird/lyrebird-0.0.14.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module
-
-MY_PN="obfs4proxy"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="An obfuscating proxy supporting Tor's pluggable transport protocol obfs4"
-HOMEPAGE="https://gitlab.com/yawning/obfs4"
-SRC_URI="https://gitlab.com/yawning/obfs4/-/archive/${MY_P}/obfs4-${MY_P}.tar.gz -> ${MY_P}.tar.gz
-	https://dev.gentoo.org/~marecki/dists/${CATEGORY}/${PN}/${MY_P}-deps.tar.xz"
-
-# See https://gitlab.com/yawning/obfs4/-/issues/5#note_573104796 for licence clarification
-LICENSE="BSD CC0-1.0 BZIP2 GPL-3+ MIT public-domain"
-SLOT="0"
-KEYWORDS="amd64 arm ~riscv x86"
-
-S="${WORKDIR}/obfs4-${MY_P}"
-
-DOCS=( README.md ChangeLog LICENSE-GPL3.txt doc/obfs4-spec.txt )
-
-src_compile() {
-	go build -o ${MY_PN}/${MY_PN} ./${MY_PN} || die
-}
-
-src_install() {
-	default
-	dobin ${MY_PN}/${MY_PN}
-	doman doc/${MY_PN}.1
-}


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-proxy/lyrebird/
@ 2024-10-15  7:06 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2024-10-15  7:06 UTC (permalink / raw
  To: gentoo-commits

commit:     aa6c4ae57f39900b39132a2aed45fcc008d432be
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 15 07:04:47 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 15 07:04:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa6c4ae5

net-proxy/lyrebird: add 0.4.0

Closes: https://bugs.gentoo.org/938292
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-proxy/lyrebird/Manifest              |  2 ++
 net-proxy/lyrebird/lyrebird-0.4.0.ebuild | 45 ++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/net-proxy/lyrebird/Manifest b/net-proxy/lyrebird/Manifest
index cd5561aa4d66..7c0ff52ea34e 100644
--- a/net-proxy/lyrebird/Manifest
+++ b/net-proxy/lyrebird/Manifest
@@ -1,2 +1,4 @@
 DIST lyrebird-0.1.0-deps.tar.xz 88991580 BLAKE2B ba9113d847bc900ad3001e91a67ac939a7fbd8f7423f256be92a5fb2461604c00e05edd581a28f456f493997d31a40fa1673fead1cd15ae192e02ca480b9db5b SHA512 af6e245ac333de1c14ba1f648548123f11ceaffb894d4057e2e7ed5c1fa8cd0f023e308ccf20d74696b2ef0b8a0489fe2f73c868dc23e087f8ae04ea6688db4d
 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

diff --git a/net-proxy/lyrebird/lyrebird-0.4.0.ebuild b/net-proxy/lyrebird/lyrebird-0.4.0.ebuild
new file mode 100644
index 000000000000..0313b779ac34
--- /dev/null
+++ b/net-proxy/lyrebird/lyrebird-0.4.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
+}


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-10-15  7:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-27 21:56 [gentoo-commits] repo/gentoo:master commit in: net-proxy/lyrebird/ Marek Szuba
  -- strict thread matches above, loose matches on Subject: below --
2023-06-27 21:56 Marek Szuba
2023-06-28  7:37 Sam James
2023-08-21 17:43 Sam James
2023-08-22 10:33 Sam James
2023-08-22 12:00 Sam James
2023-08-22 21:35 Marek Szuba
2024-10-15  7:06 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox