Forum: 

Webmin module packaging

Stas Grishin's picture

As requested by Alon, I will explain I made the webmin module deb file in TKL OpenVPN.

The good news is, webmin provides a simple script.

First download:

http://www.webmin.com/makemoduledeb.pl

This script takes a webmin module and turns it in a debian package.

I had to install fakeroot for it to work. All other requirements are already installed in TKL Core.

Here is some sample code that I used for the OpenVPN tklpatch:

apt-get install fakeroot

tar zxvf openvpn-2.5.wbm.gz

perl makemoduledeb.pl --license GPL openvpn

 

The module extracted to the openvpn directory.

The .deb package was saved to:

/tmp/webmin-openvpn_1.250_all.deb

Alon Swartz's picture

Thanks Stas, I'll get it added to our webmin source package, and update the package archive accordingly.

Post new comment