Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tinc1.1 Binaries #25

Open
lancethepants opened this issue Sep 14, 2014 · 6 comments
Open

Tinc1.1 Binaries #25

lancethepants opened this issue Sep 14, 2014 · 6 comments

Comments

@lancethepants
Copy link

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).

@Vilbrekin
Copy link
Owner

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: hwhw@71c351f
We might think about a pre 1.1 branch for Tinc GUI, following the mainline tinc...

@luckyhacky
Copy link
Contributor

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 ... :)

@calisro
Copy link

calisro commented Jan 13, 2015

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.

@luckyhacky
Copy link
Contributor

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.

@Vilbrekin
Copy link
Owner

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.

@calisro
Copy link

calisro commented Jan 18, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants