No USE flag is available to add perl module support in OpenSER (comes from voip overlay). Reproducible: Always Steps to Reproduce: 1. add voip overlay through layman 2. USE="perl perlvbd" emerge net-misc/openser Actual Results: net-misc/openser is emerged but without the perl and perlvbd module (/usr/lib/openser/modules/perl.so and /usr/lib/openser/modules/perlvbd.so) Expected Results: The perl and perlvbd module are present (/usr/lib/openser/modules/perl.so and /usr/lib/openser/modules/perlvbd.so)
Solved with an update of the ebuild : --- openser-1.3.1.ebuild.old 2008-05-30 16:34:04.000000000 +0200 +++ openser-1.3.1.ebuild-with-perl 2008-06-02 14:53:16.000000000 +0200 @@ -4,7 +4,7 @@ inherit eutils flag-o-matic toolchain-funcs -IUSE="ipv6 mysql radius postgres jabber ssl odbc" +IUSE="ipv6 mysql radius postgres jabber ssl odbc perl perlvdb" DESCRIPTION="Open SIP Express Router" HOMEPAGE="http://www.openser.org/" @@ -21,7 +21,9 @@ radius? ( >=net-dialup/radiusclient-ng-0.5.0 ) postgres? ( dev-db/libpq ) jabber? ( dev-libs/expat ) - odbc? ( dev-db/unixODBC )" + odbc? ( dev-db/unixODBC ) + perl? ( >=sys-devel/libperl-5.8.8 ) + perlvdb? ( >=sys-devel/libperl-5.8.8 )" DEPEND="${RDEPEND}" @@ -55,6 +57,12 @@ use odbc && \ modules="${modules} unixodbc" + use perl && + modules="${modules} perl" + + use perlvdb && + modules="${modules} perlvdb" + # put list of modules into Makefile, we need the list # during compile and install phase... sed -i -e "s:^\(include_modules.*\):\1 ${modules} ${extmodules}:" \ @@ -106,5 +114,23 @@ ewarn " http://openser.org/dokuwiki/doku.php/install:1.2.2-to-1.3.0" ewarn ewarn "For upgrade information" + ewarn ewarn "**************************** Upgrade Warning! ******************************" -} + ewarn + ewarn "**************************** Module Warning! *******************************" + ewarn "If you set perl flag for Openser do not forget to configure your" + ewarn "openser.cfg file properly (see OpenSER perl module documentation)" + ewarn " eg.: Adding these lines to your openser.cfg file should be ok" + ewarn + ewarn " loadmodule \"perl.so\"" + ewarn + ewarn " # ----- perl param -----" + ewarn " modparam(\"perl\", \"modpath\", \"/usr/lib/openser/perl/\")" + ewarn " modparam(\"perl\", \"filename\", \"/usr/lib/openser/perl/test.pl\")" + ewarn " # test.pl must exist, even it is not used in a first time" + ewarn + ewarn "You may also need to install perl lib manually if you plan to use" + ewarn "extra function in perl. eg. : dev-perl/perl-ldap or dev-perl/IPC-ShareLite" + ewarn + ewarn "**************************** Module Warning! *******************************" +}
Should be tagged "[voip-overlay]"
(In reply to comment #2) > Should be tagged "[voip-overlay]" > That's it? No action on the bug report? Will this get fixed in < 1 year from reporting?
(In reply to comment #3) > (In reply to comment #2) > > Should be tagged "[voip-overlay]" > > > > That's it? No action on the bug report? > > Will this get fixed in < 1 year from reporting? > I did this comment when I had not enough right to do it myself nor fix the bug myself. I will mail the guy who was maintaining this ebuild in the voip overlay. Maybe he will be okay to fix it. Otherwise, someone will have to get into the package and as it is an overlay bug so not a priority it will probably not happen soon. Btw, Michael, can you tell me if the patch is working for you ?
(In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #2) > > > Should be tagged "[voip-overlay]" > > > > > > > That's it? No action on the bug report? > > > > Will this get fixed in < 1 year from reporting? > > > > I did this comment when I had not enough right to do it myself nor fix the bug > myself. > > I will mail the guy who was maintaining this ebuild in the voip overlay. Maybe > he will be okay to fix it. Otherwise, someone will have to get into the package > and as it is an overlay bug so not a priority it will probably not happen soon. > > Btw, Michael, can you tell me if the patch is working for you ? > Okay, thanks for the reply. Close this bug, the project is dead/renamed. I'll try to work up a new ebuild if there isn't one elsewhere for http://www.kamailio.org/mos/view/Kamailio-OpenSER-v1.5.0-Release-Notes Anyway, the source link for this 'openser' ebuild is ng. And this I found out after fixing the bogus postgres libpq dep... anyway... Kamailio ebuild coming, I hope.
Actually, opensips [1] is the new name for openser. As Michael said, openser SRC_URI and HOMEPAGE are dead, like the project. So, this bug will not be fixed. If you want to have opensips added to the tree, please, look at bug 107482. [1] http://www.opensips.org/
Opensips is actually a fork of openser, kamailio is the new name for openser. I have an ebuild with the perl mod stuff added but it installs it in the wrong place and I haven't had time to figure out why yet. It's based on openser-1.3.4 which is the last release with the openser name and I would use it as base for a new kamailio ebuild - when I figure out why they have to make such obscure build systems.
I don't know anything about opensips, openser and kamailio but the openser website points on opensips website. That maked me thinking it was the renamed project. Anyway, openser is not maintained anymore and there are some new packages :)