Hi,
did you see that there are debian folders coming with your kamailio source code? I think all you have to do is symlink the correct folder to the root project folder so it is accessible under /path/to/kamailio-sources/debian and you should be ready to go. Then your dpkg-buildpackage command should have everything you need.
HTH Sebastian
On Mon, Oct 2, 2017 at 10:31 PM, Abdul Basit basit.engg@gmail.com wrote:
Hi All,
I am trying to compile custom .deb package from kamailio source that will install dependencies like mysql-server, lua, rtpproxy, etc. and will install few custom scripts along with additional db tables from tables-create.sql files.
I am able to create kamailio_x-amd64.deb package that I installed on fresh machine dpkg -i kamailio_x-amd64.deb
This package installed kamailio config files and modules in appropriate locations but it didn't created default, init.d and kamailio.service files. Nor it asked for installing the dependencies which I mentioned in control file.
OS: Debian GNU/Linux 8.9 (jessie) Kamailio: 5.0.3 through git clone
I am creating .deb package for the very 1st time. Can anyone point me to the right direction?
-- regards,
abdul basit
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users