Hi,

> My intention is to learn how to build OpenVPN for Debian/Ubuntu from source 
> and who is better placed to show me the method except you.

A good starting place for learning Debian packaging is this:

<https://wiki.debian.org/Packaging>

You should also be familiar with sbuild and schroot:

<http://sbuild.org/>
<https://wiki.debian.org/sbuild>
<https://launchpad.net/schroot>

Without some basic knowledge of these technologies/tools you won't get 
very far. So start by reading the above and doing some simpler things 
like creating a small Debian package manually. If you jump right into 
sbuild_wrapper and you encounter any problems - which is very likely - 
you will be ill-equipped to deal with it. Learning all the stuff above 
will take quite a bit of time, so better be ready for it :).

> I have a question for you: What exactly are Debian control files that you had 
> mentioned in one of your earlier posts? You do not provide a definition of 
> the term in your guide to the packaging/build system on GitHub.

This is explained in the above articles. "Control" files is probably a 
misnomer, because there's only one "control" file. Perhaps "packaging 
files" would be a better name. In any case, here they are for Debian Jessie:

<https://github.com/mattock/sbuild_wrapper/tree/master/packaging/jessie/debian>

Most of the distros I build for have a (slightly) different set of these 
files. I tend to take whatever is in the distribution's own repository 
and adapt it slightly, instead of reinventing the wheel.

>> If you setup your own sbuild_wrapper instance, I suggest basing it on Debian 
>> 8 or a very recent Ubuntu version (15.10). This helps avoid issues with 
>> missing (pre-)build dependencies on the build rig
>> itself.
>
> Would you like to add the above advice to your guide on GitHub?

You make too much sense. Added.

-- 
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock

------------------------------------------------------------------------------
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to