[SR-Users] 5.4 dependency package question

Andrew Chen achen at fuze.com
Mon May 17 13:59:20 CEST 2021


Thanks guys!  I will try these out today.

On Mon, May 17, 2021 at 5:08 AM Daniel-Constantin Mierla <miconda at gmail.com>
wrote:

>
> On 17.05.21 09:49, Victor Seva wrote:
> > 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
>
> For what it worth, we have also a target in the Makefile for building
> debs, next is what I typically use to test debs building before a release:
>
> ln -s pkg/kamailio/deb/bionic debian
> make deb
>
> Note that debian symlink is deleted after 'make deb' completes or fails,
> so needs to be recreated if the command has to be run again.
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla -- www.asipto.com
> www.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio Advanced Training - Online
> May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
>   * https://www.asipto.com/sw/kamailio-advanced-training-online/
>
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ <achen at thinkingphones.com>fuze.com

-- 
*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210517/a11bf494/attachment.htm>


More information about the sr-users mailing list