<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
<div class="moz-cite-prefix">On 21/09/14 19:54, Olle E. Johansson
wrote:<br>
</div>
<blockquote
cite="mid:4CB89B26-6ACD-411D-88FC-F690B4B99523@edvina.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
Great work!
<div><br>
</div>
<div>Can we try to merge the patches used into the base Kamailio
distribution? I think we should be able</div>
<div>to have a port without any patches. Needing patches for
FreeBSD ports indicates that we lack portability.</div>
</blockquote>
<br>
apparently the patches are to Makefile system, to comply with
various requirements of the FreeBSD ports (e.g., skipping some gcc
compile flags). Therefore I assume there is no issue on the C code
for compiling on BSD.<br>
<br>
Anyhow, it would be good to get anything that is commonly useful in
Makefiles and eventually make the rest configurable via command line
parameter/environment variables based on detection of bsd. Or add
kind of profile switch to turn on the option required for building
the port (e.g.,: make BUILDPROFILE=FREEBSD ...).<br>
<br>
Cheers,<br>
Daniel<br>
<blockquote
cite="mid:4CB89B26-6ACD-411D-88FC-F690B4B99523@edvina.net"
type="cite">
<div><br>
</div>
<div>Cheers,</div>
<div>/O</div>
<div><br>
<div>
<div>On 21 Sep 2014, at 18:01, Oliver Mahmoudi <<a
moz-do-not-send="true"
href="mailto:olivermahmoudi@gmail.com">olivermahmoudi@gmail.com</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote">Hello,<br>
<div dir="ltr"><br>
The port has just been committed to the FreeBSD ports
tree and has been mapped to:<br>
<br>
/usr/ports/net/kamailio<br>
<br>
It can be compiled and installed with FreeBSD's
traditional:<br>
<br>
# make install clean<br>
<br>
It compiles on 8.x, 9.x and 10.x for the i386 and
x86-64 architectures. Possibly for the others archs
too, but they to my knowing haven't been thoroughly
tested so far. We'll find out on the way. The way
things look, I will be the ports defacto maintainer.<br>
<br>
After finishing my first draft of the port about a
year ago, I ran a few tests between a Kamailio server
on FreeBSD and a Windows host using <br>
MySQL as a phonebook and Jitsi as a frontend GUI. From
the Kamailio point of view, things worked fine,
however, the only problem was, that I wasn't really
able to test voice functionality, since jitsi had some
problems accessing soundcard features on FreeBSD.
Maybe things have changed since then and/or this will
give rise to new research in this area.<br>
<br>
In case you are interested and for your
cross-reference, you can find the entire discussion
that took place concerning the port here:<br>
<br>
<a moz-do-not-send="true"
href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=181301"
target="_blank">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=181301</a><br>
<br>
Moreover, to this e-mail attached, you will find a
shell archive (kamailio.shar) of the port the way it
has been mapped into the ports tree.<br>
<br>
Enjoy using Kamailio on FreeBSD!<span class="HOEnZb"><font
color="#888888"><br>
<br>
<br>
<span style=""><span
style="background-color:rgb(255,255,255)">Oliver
Mahmoudi</span></span><br>
<br>
</font></span></div>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jul 23, 2013 at
7:51 PM, Daniel-Constantin Mierla <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:miconda@gmail.com"
target="_blank">miconda@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">Hello,
<div><br>
<br>
On 7/23/13 1:31 AM, Oliver Mahmoudi wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
Hello,<br>
<br>
I am currently working on porting Kamailio
4.0.2 to the<br>
FreeBSD ports collection: /usr/ports, and
I just have a<br>
few general questions regarding
compilation with regard<br>
to the extra modules.<br>
<br>
There are 172 modules that come with
Kamailio, and most,<br>
however not all of them are compiled by
default:<br>
<br>
# gmake all<br>
<br>
The base server and the base modules
compile fine on<br>
my 9.1 release.<br>
<br>
To really compile all of the 172 modules,
Kamailio_4_0_2/INSTALL<br>
says that the following external libraries
(LIB_DEPENDS I assume)<br>
are needed:<br>
<br>
/usr/ports/databases/mysql-client-*<br>
/usr/ports/databases/postgresql-libpqxx<br>
/usr/ports/textproc/expat2<br>
/usr/ports/textproc/libxml2<br>
/usr/ports/net/radiusclient<br>
<br>
This is put down as information for
FreeBSD 5.4. Does that still hold<br>
current for 9.1?<br>
<br>
Is there an exhaustive list of all the
modules that the all target<br>
does/does not compile and - apart from
mysql, postgresql - which of the<br>
extra modules require which libraries?<br>
<br>
I would set compile time options
accordingly.<br>
<br>
This would greatly facilitate my work!<br>
</blockquote>
</div>
one file to look in is Makefile.groups, there
you will see lists with modules organized by
common dependencies. In debian, the packages
are generated for each module_group_k... Each
such group includes a list of modules defined
in the same file.<br>
<br>
There are some comments giving hints about
dependecies, but a better place is to look in
the README of the module, where is a dedicated
section for such details.<br>
<br>
We had some ports done long time ago, you find
them in sources pkg/kamailio/.If you get up to
date version, we can replace the old one in
our repository as well.<br>
<br>
Cheers,<br>
Daniel<span><font color="#888888"><br>
<br>
-- <br>
Daniel-Constantin Mierla - <a
moz-do-not-send="true"
href="http://www.asipto.com/"
target="_blank">http://www.asipto.com</a><br>
<a moz-do-not-send="true"
href="http://twitter.com/#%21/miconda"
target="_blank">http://twitter.com/#!/miconda</a>
- <a moz-do-not-send="true"
href="http://www.linkedin.com/in/miconda"
target="_blank">http://www.linkedin.com/in/miconda</a><br>
<br>
</font></span></blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
<br>
</div>
<span><kamailio.shar></span>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list<br>
<a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Next Kamailio Advanced Trainings 2014 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Sep 22-25, Berlin, Germany</pre>
</body>
</html>