[SR-Users] 5.4 dependency package question

Victor Seva linuxmaniac at torreviejawireless.org
Mon May 17 09:49:50 CEST 2021


On 5/14/21 2:09 PM, Andrew Chen wrote:
> Hi Daniel,
> 
> Yes.  These are the steps I took:
> 
> ## git clone kamailio repository
> cd $INSTALLDIR
> sudo git clone https://github.com/kamailio/kamailio 
> <https://github.com/kamailio/kamailio> kamailio
> cd kamailio
> sudo git checkout 5.4
> 
> ## Make config files with included modules list
> sudo make include_modules="$INCLUDE_MODULES" cfg
> 
> ## Compile Kamailio
> sudo make mode=debug
> 
> cd pkg/kamailio/deb
> 
> ## Create debian package
> sudo dpkg-buildpackage
> 
> 
> Hi Victor,
> 
> Yes, this is the version of Ubuntu we are using:
> 
> debhttp://deb.kamailio.org/kamailio54  <http://deb.kamailio.org/kamailio54>  bionic main
> deb-srchttp://deb.kamailio.org/kamailio54  <http://deb.kamailio.org/kamailio54>  bionic main

If you're using bionic, then use bionic directory at pkg/kamailio/deb as 
your debian dir.

On the root of the kamailio repository:
# cp -r pkg/kamailio/deb/bionic debian
# dpkg-buildpackage -rfakeroot -tc -uc -us

Have fun



More information about the sr-users mailing list