<div dir="ltr"><div><div><div><div><div><div><div>Hi,<br><br></div>Yes. I can see the debian folder that contain the control and rules files.<br></div>I have managed to build and install the custom kamailio packages by updating control and rules files. <br></div>But now i am stuck with the issues that while install with<span style="font-family:monospace,monospace"> apt-get install kamailio503* </span><br><br></div>its also ask to install kamailio-* packages from public repo.<br><br></div>Like i want to install kamailio503-mysql-modules.deb but in addition to that apt-get also installs kamailio-mysql-modules:amd64<br></div><div>To prevent that, i created my own local repo and removed all other entries from /etc/apt/source.list</div><div><br></div><div><span style="font-family:monospace,monospace">echo "deb <a href="http://192.168.10.23/packages/amd64/">http://192.168.10.23/packages/amd64/</a> /" > /etc/apt/sources.list</span></div><div><br></div><div>Now getting below errors:<br></div><div><br><font size="2"><span style="font-family:monospace,monospace">dpkg: dependency problems prevent configuration of kamailio-mysql-modules:amd64:<br> kamailio-mysql-modules:amd64 depends on kamailio (= 5.0.3-1); however:<br>  Package kamailio is not configured yet.<br><br>dpkg: error processing package kamailio-mysql-modules:amd64 (--configure):<br> dependency problems - leaving unconfigured<br></span></font><br></div>How can i avoid this situation?<br></div>Where to make changes to limit to my customized packages only even public repo is available in "/etc/apt/sources.list"  <br><div><div><br></div><div>I am almost stuck here. Kindly help.<br></div><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)">--<br>regards,</span></span></font></div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)"><br>abdul basit | p: +92 32 1416 4196 | o: +92 30 0841 1445</span></span></font></div></div>
<br><div class="gmail_quote">On 6 October 2017 at 20:02, Sebastian Damm <span dir="ltr"><<a href="mailto:damm@sipgate.de" target="_blank">damm@sipgate.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
did you see that there are debian folders coming with your kamailio<br>
source code? I think all you have to do is symlink the correct folder<br>
to the root project folder so it is accessible under<br>
/path/to/kamailio-sources/<wbr>debian and you should be ready to go. Then<br>
your dpkg-buildpackage command should have everything you need.<br>
<br>
HTH<br>
<span class="HOEnZb"><font color="#888888">Sebastian<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Mon, Oct 2, 2017 at 10:31 PM, Abdul Basit <<a href="mailto:basit.engg@gmail.com">basit.engg@gmail.com</a>> wrote:<br>
> Hi All,<br>
><br>
> I am trying to compile custom .deb package from kamailio source that will<br>
> install dependencies like mysql-server, lua, rtpproxy, etc. and will install<br>
> few custom scripts along with additional db tables from tables-create.sql<br>
> files.<br>
><br>
> I am able to create kamailio_x-amd64.deb package that I installed on fresh<br>
> machine<br>
> dpkg -i  kamailio_x-amd64.deb<br>
><br>
> This package installed kamailio config files and modules in appropriate<br>
> locations but it didn't created default, init.d and kamailio.service files.<br>
> Nor it asked for installing the dependencies which I mentioned in control<br>
> file.<br>
><br>
> OS: Debian GNU/Linux 8.9 (jessie)<br>
> Kamailio: 5.0.3 through git clone<br>
><br>
> I am creating .deb package for the very 1st time. Can anyone point me to the<br>
> right direction?<br>
><br>
> --<br>
> regards,<br>
><br>
> abdul basit<br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> ______________________________<wbr>_________________<br>
> Kamailio (SER) - Users Mailing List<br>
> <a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
><br>
<br>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</div></div></blockquote></div><br></div>