How to rebuild the Debian src package on ARM (Raspberry Pi)

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
Florin Andrei
OpenVpn Newbie
Posts: 6
Joined: Thu Sep 04, 2014 12:53 am
Location: California
Contact:

How to rebuild the Debian src package on ARM (Raspberry Pi)

Post by Florin Andrei » Wed Jun 21, 2017 7:30 pm

This security advisory came out recently:

https://community.openvpn.net/openvpn/w ... OpenVPN243

It is fixed in 2.4.3 and 2.3.17. Unfortunately, Raspbian Jessie (based on Debian Jessie) only includes a much older 2.3.x version. Further, the Raspberry Pi uses an ARM CPU. I could not find any recent Openvpn binary packages for this platform.

I would like to build my own package. I've built tons of RPMs from source, but DEBs not so much. Could someone provide a brief tutorial for building the latest binary deb on ARM? Ideally I'd like to use the same process that's used to build the packages provided on build.openvpn.net

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: How to rebuild the Debian src package on ARM (Raspberry Pi)

Post by TinCanTech » Wed Jun 21, 2017 8:20 pm

If you are prepared to read the docs .. you can build for ARM on Ubuntu.
https://community.openvpn.net/openvpn/w ... ericsubdir

I recently successfully tested the ARM build myself (but have no hardware to test final the binary on).

Your results would be welcome 8-)

Post Reply