NEW: wormhole-william
Hi, This is a golang implementation of magic wormhole: https://github.com/warner/magic-wormhole The go implementation is easier to port than the Python one ;) Had to generate a vendored tarball, hence hosting the distfile. Comments? OK? -- Best Regards Edd Barrett http://www.theunixzoo.co.uk wormhole-william.tgz Description: application/tar-gz
Re: NEW: wormhole-william
On Thu, 05 Mar 2020 at 23:28:50 +, Edd Barrett wrote: > Hi, > > This is a golang implementation of magic wormhole: > https://github.com/warner/magic-wormhole > > The go implementation is easier to port than the Python one ;) > > Had to generate a vendored tarball, hence hosting the distfile. > > Comments? OK? > > -- > Best Regards > Edd Barrett > > http://www.theunixzoo.co.uk I'd whack the GH_* stuff in favor of ALL_TARGET (doing so breaks the distfile - i think it just needs to contain a directory named "wormhole-william-vendored-${V") For go apps GH_* sets ALL_TARGET which then becomes: go install ${ALL_TARGET} I prefer just setting ALL_TARGET as it's a bit more clear what's happening and makes the makefile a bit shorter (also I have a mental twinge from the GH distfile regen stuff when I see GH_* :P) MODGO_TYPE is default, so it can be removed. OK abieber@ with MODGO_TYPE removed - whacking GH_* is up to you :D -- PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A 4AF0 1F81 112D 62A9 ADCE
Re: NEW: wormhole-william
On Thu, Mar 05, 2020 at 11:28:50PM +, Edd Barrett wrote: > Hi, > > This is a golang implementation of magic wormhole: > https://github.com/warner/magic-wormhole > > The go implementation is easier to port than the Python one ;) > > Had to generate a vendored tarball, hence hosting the distfile. > > Comments? OK? > > -- > Best Regards > Edd Barrett > > http://www.theunixzoo.co.uk Hi, I've been able to try it with a file and a directory with success, but using a text message, nothing is output, can you confirm you get the same behavior? sender -- solene@t480 /usr/ports/net/wormhole-william $ wormhole-william send Text to send: foobar On the other computer, please run: wormhole receive (or wormhole-william recv) Wormhole code is: 7-sardonic-scotland text message sent receiver solene:/home/solene:573$ wormhole-william receive 7-sardonic-scotland | hexdump -C 0a|.| 0001
Re: NEW: wormhole-william
Hi Solene, On Sat, Mar 14, 2020 at 04:07:33PM +0100, Solene Rapenne wrote: > Hi, I've been able to try it with a file and a directory with success, > but using a text message, nothing is output, can you confirm you get the > same behavior? I can repro. Seems broken. Upstream fix: https://github.com/psanford/wormhole-william/commit/6d07707ace18f539ff860103b4fd625a46093c07 1.0.3, released 2 days ago, includes this commit. Here's a diff to update, OK? Index: Makefile === RCS file: /cvs/ports/net/wormhole-william/Makefile,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 Makefile --- Makefile13 Mar 2020 11:56:53 - 1.1.1.1 +++ Makefile14 Mar 2020 17:44:37 - @@ -2,7 +2,7 @@ COMMENT = magic wormhole implementation in Go -V =1.0.2 +V =1.0.3 DISTNAME = wormhole-william-vendored-${V} PKGNAME = wormhole-william-${V} Index: distinfo === RCS file: /cvs/ports/net/wormhole-william/distinfo,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 distinfo --- distinfo13 Mar 2020 11:56:53 - 1.1.1.1 +++ distinfo14 Mar 2020 17:44:40 - @@ -1,2 +1,2 @@ -SHA256 (wormhole-william-vendored-1.0.2.tar.gz) = RXJstrwzQfUNR+nm//GIQMFCxabe18akbkWGDAXJ9+M= -SIZE (wormhole-william-vendored-1.0.2.tar.gz) = 1323710 +SHA256 (wormhole-william-vendored-1.0.3.tar.gz) = yzRqicOFUcO9mqvO/lOGTK7jAy85toJZoRH4VYOZWZk= +SIZE (wormhole-william-vendored-1.0.3.tar.gz) = 1323609 -- Best Regards Edd Barrett http://www.theunixzoo.co.uk
Re: NEW: wormhole-william
On Sat, Mar 14, 2020 at 05:47:56PM +, Edd Barrett wrote: > Hi Solene, > > On Sat, Mar 14, 2020 at 04:07:33PM +0100, Solene Rapenne wrote: > > Hi, I've been able to try it with a file and a directory with success, > > but using a text message, nothing is output, can you confirm you get the > > same behavior? > > I can repro. Seems broken. > > Upstream fix: > https://github.com/psanford/wormhole-william/commit/6d07707ace18f539ff860103b4fd625a46093c07 > > 1.0.3, released 2 days ago, includes this commit. > > Here's a diff to update, OK? > > > Index: Makefile > === > RCS file: /cvs/ports/net/wormhole-william/Makefile,v > retrieving revision 1.1.1.1 > diff -u -p -r1.1.1.1 Makefile > --- Makefile 13 Mar 2020 11:56:53 - 1.1.1.1 > +++ Makefile 14 Mar 2020 17:44:37 - > @@ -2,7 +2,7 @@ > > COMMENT =magic wormhole implementation in Go > > -V = 1.0.2 > +V = 1.0.3 > DISTNAME = wormhole-william-vendored-${V} > PKGNAME =wormhole-william-${V} > > Index: distinfo > === > RCS file: /cvs/ports/net/wormhole-william/distinfo,v > retrieving revision 1.1.1.1 > diff -u -p -r1.1.1.1 distinfo > --- distinfo 13 Mar 2020 11:56:53 - 1.1.1.1 > +++ distinfo 14 Mar 2020 17:44:40 - > @@ -1,2 +1,2 @@ > -SHA256 (wormhole-william-vendored-1.0.2.tar.gz) = > RXJstrwzQfUNR+nm//GIQMFCxabe18akbkWGDAXJ9+M= > -SIZE (wormhole-william-vendored-1.0.2.tar.gz) = 1323710 > +SHA256 (wormhole-william-vendored-1.0.3.tar.gz) = > yzRqicOFUcO9mqvO/lOGTK7jAy85toJZoRH4VYOZWZk= > +SIZE (wormhole-william-vendored-1.0.3.tar.gz) = 1323609 > > -- > Best Regards > Edd Barrett > > http://www.theunixzoo.co.uk works fine for me! ok solene@