Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224717 - [voip-overlay] net-misc/openser-1.3.1: no perl and pervbd module
Summary: [voip-overlay] net-misc/openser-1.3.1: no perl and pervbd module
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-03 08:09 UTC by Cyril
Modified: 2009-04-29 20:52 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cyril 2008-06-03 08:09:29 UTC
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)
Comment 1 Cyril 2008-06-03 08:11:08 UTC
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! *******************************"
+}
Comment 2 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-02-13 19:13:27 UTC
Should be tagged "[voip-overlay]"
Comment 3 michael higgins 2009-04-24 18:07:55 UTC
(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?
Comment 4 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-04-24 19:51:42 UTC
(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 ?
Comment 5 michael higgins 2009-04-24 20:58:30 UTC
(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.
Comment 6 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-04-29 14:20:13 UTC
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/
Comment 7 Tais P. Hansen 2009-04-29 19:38:04 UTC
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.
Comment 8 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-04-29 20:52:55 UTC
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 :)