tinc_gui icon indicating copy to clipboard operation
tinc_gui copied to clipboard

Tinc1.1 Binaries

Open lancethepants opened this issue 10 years ago • 6 comments

Would be cool to have the option to pick either tinc1.0 or tinc1.1 prerelease X.

tinc1.1 for purposes of this project would only need the 'tincd' binary. The 'tinc' binary would be unnecessary. You wouldn't need the additional library dependencies ncurses and readline either, just the same as tinc 1.0; openssl, zlib, lzo.

I realize tinc1.1preX and tinc1.0 should play nice together. tinc1.1pre10 release seems to have had a lot of issues though and won't play nice with tinc_gui tinc1.0 version ( at least for me ).

Pretty minimal I think on gui changes, and then just have to pre-compile another binary to package. If your not to keen on doing it yourself, I'd be willing to give it a try if such a pull request would be favorably looked upon. (I'd like to think I could figure it out anyway).

lancethepants avatar Sep 14 '14 05:09 lancethepants

Thanks for your proposal. I'm not sure I wish supporting both versions at the same time (could become quite a mess, and it will double the size of the generated APK). My original plan was to wait until 1.1 became stable for migrating Tinc GUI. I've seen there's already hwhw fork preparing the migration: https://github.com/hwhw/tinc_gui/commit/71c351fc4a37e8decb288374dc1458ebda18f426 We might think about a pre 1.1 branch for Tinc GUI, following the mainline tinc...

Vilbrekin avatar Sep 23 '14 22:09 Vilbrekin

Who about prividing standard tinc and making and additional option field (check box) where you can choose beta release. Checking this box would call a download dialog where tinc beta release is downloaded from e.g. github repo. If this checkbox is active, tincd.beta will be called instead.

Only my suggestion ... :)

luckyhacky avatar Oct 29 '14 21:10 luckyhacky

Just my 2 cents. I run a 1.1preX (currently 11 which works great btw) server and i'm running this 1.0 version on my android devices. It would be nice to be able to install the pre releases for android to match up to my server (separate branch or selectable in GUI) or at least be able to manually download a pre-compiled tinc executable for use at my own risk of the gui not working. If not, is there a guide/doc on how to compile this on our own? I can try to figure it out, but if you have something, that would be nice. Thanks for this fork..

Disregard request for a guide/doc to compile one. Was able to compile a 1.0 binary for now. Thanks.

calisro avatar Jan 13 '15 15:01 calisro

You have to download Android NDK (not the SDK!) because you have to compile C code and not only the Java code.

Second step: see readme of Tincat https://github.com/gsliepen/tinc -> https://github.com/gsliepen/tinc/blob/master/README.android

After compiling you can simple download the new binary to your android phone.

Other option is to checkout 1.1 branch of lancethepants at https://github.com/lancethepants/tinc_gui and compile it.

luckyhacky avatar Jan 18 '15 11:01 luckyhacky

I've started merging hwhw branch into tinc-1.1. Tincd is starting, however stop functionality is not working yet, as pid file's content and rights changed with 1.1. Best way should probably be to compile and use tinc helper.

Vilbrekin avatar Jan 18 '15 18:01 Vilbrekin

Yes @luckyhacky , I cloned gsliepen's 1.1 branch and compiled tinc/tincd. Had to ifdef some code to get it to compile but it works great.

calisro avatar Jan 18 '15 20:01 calisro