Topic: Building wolfssl from scratch together with the python wrapper

What is the best practice for building (from scratch, given the source code tar ball) a debian package that contains both the wolfssl libraries and the python wrapper?

Share

Re: Building wolfssl from scratch together with the python wrapper

Hi fenster,

To start with, build wolfSSL with --enable-distro and any other features you wish to enable, then run "make deb", this will generate an installable Debian package.  You can alternatively run "make deb-docker" to perform this build inside of a docker container.

We don't currently support building a Debian package from wolfssl-py, only a PIP package which you'll find the instructions for here: https://github.com/wolfSSL/wolfssl-py
If you'd like us to add support for this, I can help you set up a feature request, please email us at support [AT] wolfssl [DOT] com.

Thanks,
Kareem

Share

Re: Building wolfssl from scratch together with the python wrapper

The wolfssl-py instructions discuss the usage of USE_LOCAL_WOLFSSL. Can you please clarify it's usage?
Will the wolfssl libraries be included in the resulting package? Is the usage of USE_LOCAL_WOLFSSL to control where the wolfssl-py looks for the wolfssl libraries and as a result does not include them in the build?

Share

Re: Building wolfssl from scratch together with the python wrapper

Also when running "make deb" after ./configure and a successful "make", I get the following error:
make[1]: Leaving directory '/home/fenster/tmp/z0131/wolfssl-5.7.0-commercial'
fakeroot dh_makeshlibs
dh_shlibdeps
dh_installdeb
fakeroot dh_gencontrol
cp: cannot stat 'debian/copyright': No such file or directory
make: *** [Makefile:9383: deb] Error 1

Share