Changes between Version 86 and Version 87 of BuildingUsingGenericBuildsystem


Ignore:
Timestamp:
10/19/18 11:49:36 (6 years ago)
Author:
rozmansi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingUsingGenericBuildsystem

    v86 v87  
    6464
    6565If you want to use your own, local sources (e.g. for OpenSSL or OpenVPN), put them in ''sources'' directory, so that the ''generic'' buildsystem knows not to download them from a remote site. The cached tarballs will be used even if they're of a different version than what would be downloaded. This is useful for building custom version.
     66
     67=== Building your own fork of OpenVPN hosted at GitHub ===
     681. Sources in tarballs downloaded from GitHub are packed inside {{{openvpn-<branch>/}}} subfolder, while the build process expects them inside {{{openvpn-<version>/}}}. Therefore, set the {{{OPENVPN_VERSION}}} to the branch name, replacing {{{"/"}}} with {{{"-"}}} (e.g. {{{"master"}}}, {{{"feature-msi"}}} etc.).
     692. The build process expects the downloaded tarball to be named {{{"openvpn-<numeric version>.tar.gz"}}}; GitHub delivers {{{"<branch>.tar.gz"}}}. Set the {{{OPENVPN_URL}}} to {{{"https://github.com/<username>/openvpn/archive/<branch>.tar.gz/openvpn-2.6_git.tar.gz"}}}. The extra trailing {{{"/openvpn-2.6_git.tar.gz"}}} makes the downloaded tarball named reasonable to the build process: it begins with {{{"openvpn"}}} and it contains a version in the form of {{{/-[0-9].*/}}}.
    6670
    6771== Building OpenVPN and it's dependencies ==