WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: openVPN on piCore  (Read 2827 times)

Offline iwkse

  • Newbie
  • *
  • Posts: 8
openVPN on piCore
« on: June 19, 2020, 04:57:36 PM »
Hi,
this is a specific question, since the package is not available, would be great to build that.

The generic question is..do you have some documentation on how to compile and build piCore packages?

Regards

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11695
Re: openVPN on piCore
« Reply #1 on: June 19, 2020, 05:03:57 PM »
Hi iwkse
Welcome to the forum. Maybe the build script found here will be of some use:
http://tinycorelinux.net/8.x/armv6/tcz/src/openvpn/

Offline iwkse

  • Newbie
  • *
  • Posts: 8
Re: openVPN on piCore
« Reply #2 on: June 19, 2020, 05:10:27 PM »
Hi Rich,
thanks a lot, I will take a look.

But..I need to understand how to build it, I wonder if it's possible to cross-compile or it's required to do on the raspberry.

Regards

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11695
Re: openVPN on piCore
« Reply #3 on: June 19, 2020, 08:05:38 PM »
Hi iwkse
You should probably compile it on the raspberry. The toolchain is called  compiletc.tcz:
Code: [Select]
tce-load -wil compiletc

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1267
Re: openVPN on piCore
« Reply #4 on: June 19, 2020, 10:37:45 PM »
I'm working on updating all of the "openxxx" stuff.  I can provide the extension shortly.

That being said, it is easy to compile yourself if you wish.

Offline iwkse

  • Newbie
  • *
  • Posts: 8
Re: openVPN on piCore
« Reply #5 on: June 20, 2020, 04:03:23 AM »
Great thanks.
Yes I asked because I'd be glad to contribute new packages.
I installed a toolchain on my PC and it compiles fine when there's a configuration for cmake.
I didn't find yet the autotools port (openvpn uses that) but I should try something because I found something online.
Compiling on PC would be much faster, so if possible I would like to go that path.

Thanks again,
Regards

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14849
Re: openVPN on piCore
« Reply #6 on: June 20, 2020, 04:10:52 AM »
What do you mean by "autotools port" - autoconf, automake, gettext-dev, intltool and libtool-dev are all present in the repo?

Offline iwkse

  • Newbie
  • *
  • Posts: 8
Re: openVPN on piCore
« Reply #7 on: June 20, 2020, 04:13:57 AM »
I mean the proper configuration for autotools, settings all environment variables so that it compiles fine.
I have it for cmake, taken from here, https://github.com/Pro/raspi-toolchain and it works good.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14849

Offline iwkse

  • Newbie
  • *
  • Posts: 8
Re: openVPN on piCore
« Reply #9 on: June 20, 2020, 04:22:22 AM »
thanks!