Skip to content
Snippets Groups Projects
Commit 08aa4bff authored by alice's avatar alice
Browse files

testing/lyrebird: upgrade to 0.1.0, rename from obfs4proxy

they renamed it and upgraded it in one
parent 91c2d293
No related branches found
No related tags found
No related merge requests found
# Contributor: Katie Holly <holly@fuslvz.ws>
# Maintainer: Katie Holly <holly@fuslvz.ws>
pkgname=obfs4proxy
pkgver=0.0.14
pkgrel=9
pkgname=lyrebird
pkgver=0.1.0
pkgrel=0
pkgdesc="pluggable transport proxy for Tor, implementing obfs4"
url="https://gitweb.torproject.org/pluggable-transports/obfs4.git/"
url="https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird"
arch="x86_64 x86 armv7"
license="BSD-3-Clause"
makedepends="go"
options="chmod-clean"
source="$pkgname-$pkgver.tar.gz::https://github.com/Yawning/obfs4/archive/obfs4proxy-$pkgver.tar.gz"
builddir="$srcdir"/obfs4-$pkgname-$pkgver
source="$pkgname-$pkgver.tar.bz2::https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird/-/archive/lyrebird-$pkgver/lyrebird-lyrebird-$pkgver.tar.bz2"
builddir="$srcdir/lyrebird-lyrebird-$pkgver"
# it used to be named this upstream
provides="obfs4proxy=$pkgver-r$pkgrel"
export CGO_ENABLED=0
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
go build -v -o ./$pkgname-executable ./$pkgname
go build -o lyrebird ./cmd/lyrebird
}
check() {
......@@ -25,9 +28,9 @@ check() {
}
package() {
install -Dm755 $pkgname-executable "$pkgdir"/usr/bin/$pkgname
install -Dm755 lyrebird -t "$pkgdir"/usr/bin/
}
sha512sums="
2e28516ab888485d14d7f60fc0bee9a8268faf681803c71faff49185b7870cc0c5a6df3dbbb2a4d446307997812092ca64070be978997bc82cc89ee435698feb obfs4proxy-0.0.14.tar.gz
f9b8686d1c5f9ddb41a255a1a8954e05cefd50523ada7360432b456c62475ba606872df407ba8ebd7714d4f185eef0efae63e3e53c5c1c18fd323a97912f951e lyrebird-0.1.0.tar.bz2
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment