From: Douglas Silva Subject: Re: New port: lyrebird, the obfourscator To: Stuart Henderson Cc: "ports@openbsd.org" Date: Mon, 22 Dec 2025 18:35:59 +0000 Just tested that MODGO_LDFLAGS, but it's still returning "lyrebird devel". On Monday, December 22nd, 2025 at 15:05, Stuart Henderson wrote: > > > > > On 2025/12/22 17:21, Caspar Schutijser wrote: > > > Hi, > > > > On Wed, Dec 17, 2025 at 01:29:20AM +0000, Douglas Silva wrote: > > > > > Lyrebird is a fork of obfs4proxy maintained by the Tor Project. It's an obfuscator commonly used for deploying obfs4 Tor bridges. It's written in Go. > > > > > > https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird > > > > > > This is my first attempt to contribute to the ports tree, so please test it and send me your feedback. > > > > > > I used the obfs4proxy port as a starting point. It hasn't seen a release since 2022, which is around the time the fork was made — it may be considered unmaintained. > > > > > > The old project is hosted here: https://gitlab.com/yawning/obfs4 > > > > Thanks for creating a Lyrebird port. That has been on my to do list > > for a while. > > > > I'm wondering if this can be fixed easily: > > $ lyrebird -version > > lyrebird devel > > It would be better if it reported the actual version number. > > > > Upstream's Makefile > > https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird/-/blob/main/Makefile?ref_type=heads > > shows how they fix it. I don't have time to look into integrating that > > into your port right now. If you want you can have a look, or I'll have > > a look another time. > > > this ought to (untested) > > MODGO_LDFLAGS = -X 'main.lyrebirdVersion=${PKGNAME:S/lyrebird-//}' > > > I plan to do more testing when I have more time (probably in a few days) > > and then I also want to import it with sthen@'s OK. > > > > Caspar