summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2023-06-27 21:59:34 +0100
committerMarek Szuba <marecki@gentoo.org>2023-06-27 22:56:23 +0100
commit926cd480d5a3251a09c6cf21daa66a4538c7fed5 (patch)
tree3622161d4897d366945d11852134c11776cfb908 /net-proxy/lyrebird
parentnet-analyzer/suricata: add 6.0.13, drop 6.0.11 (diff)
downloadgentoo-926cd480d5a3251a09c6cf21daa66a4538c7fed5.tar.gz
gentoo-926cd480d5a3251a09c6cf21daa66a4538c7fed5.tar.bz2
gentoo-926cd480d5a3251a09c6cf21daa66a4538c7fed5.zip
net-proxy/lyrebird: rename from net-proxy/obfs4proxy
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'net-proxy/lyrebird')
-rw-r--r--net-proxy/lyrebird/Manifest2
-rw-r--r--net-proxy/lyrebird/lyrebird-0.0.14.ebuild33
-rw-r--r--net-proxy/lyrebird/metadata.xml11
3 files changed, 46 insertions, 0 deletions
diff --git a/net-proxy/lyrebird/Manifest b/net-proxy/lyrebird/Manifest
new file mode 100644
index 000000000000..0c01d5d41b3e
--- /dev/null
+++ b/net-proxy/lyrebird/Manifest
@@ -0,0 +1,2 @@
+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
new file mode 100644
index 000000000000..44f0e12e63e3
--- /dev/null
+++ b/net-proxy/lyrebird/lyrebird-0.0.14.ebuild
@@ -0,0 +1,33 @@
+# 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
+}
diff --git a/net-proxy/lyrebird/metadata.xml b/net-proxy/lyrebird/metadata.xml
new file mode 100644
index 000000000000..54d2d763d12e
--- /dev/null
+++ b/net-proxy/lyrebird/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marecki@gentoo.org</email>
+ <name>Marek Szuba</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Yawning/obfs4</remote-id>
+ </upstream>
+</pkgmetadata>