[SR-Users] kamailio-radius RPM for Centos

Daniel-Constantin Mierla miconda at gmail.com
Thu Apr 28 17:46:14 CEST 2016


Hello,

thanks for pursuing further on this!

I granted you (user r4ndomx) access to kamailio project on opensuse
build service. You can make there the same setting as you did for your
repo to get the radius packages built.

Let me know if you need anything else.

Cheers,
Daniel

On 27/04/16 19:44, Antonio Reale wrote:
> Hi Daniel,
> I was able to build kamailio with radius package on OBS just using the
> spec file of your project with %define _with_radius 1 for centos and
> redhat and creating a new package for radiusclient-ng in the same project.
> For the radiusclient-ng package I linked to the repoforge src.rpm:
> http://pkgs.repoforge.org/radiusclient-ng/radiusclient-ng-0.5.6-5.rf.src.rpm
>
> The test project I used is
> https://build.opensuse.org/project/show/home:r4ndomx
>
> Thanks for the hints.
>
> Regards,
> Antonio.
>
>
> Il 27/04/2016 15:02, Antonio Reale ha scritto:
>> Thanks Daniel,
>> I'm not an expert but I'm happy to help with rpms building.
>> I'm going to create an account on Opensuse Building Service to
>> familiarize with it and I'll get back to you soon.
>>
>> Antonio.
>>
>>
>> Il 27/04/2016 12:41, Daniel-Constantin Mierla ha scritto:
>>>
>>> I added quickly the dependency on epel-release to the opensuse build
>>> service, but it results in dependency issue:
>>>
>>> "nothing provides epel-release, nothing provides radiusclient-ng-devel"
>>>
>>> The spec from kamailio sources was not much maintained lately,
>>> perhaps those for fedora and centos are a bit more recent. Then one
>>> for opensuse build service is specific for it, as it has those
>>> conditions on distros.
>>>
>>> If you want to take over or at least help with rpms building, I can
>>> give you access to the opensuse build service project so you can
>>> play with and adjust as needed. Also, if you want to submit updates
>>> to the specs from the source tree, we will accept them.
>>>
>>> We can also provide a server where to mirror rpm packages built by
>>> community members, if someone wants to take care of maintaining the
>>> builds and rpm repos.
>>>
>>> Cheers,
>>> Daniel
>>>
>>>
>>> On 27/04/16 12:21, Antonio Reale wrote:
>>>> Daniel I downloaded the src.rpm from opensuse repository and I see
>>>> that the .spec file is different from that provided in the kamailio
>>>> source.
>>>> Reading the .spec from kamailio-4.4.0_src.tar.gz I see:
>>>>
>>>> %package    radius
>>>> Summary:    RADIUS modules for Kamailio.
>>>> Group:        System Environment/Daemons
>>>> Requires:    epel-release, radiusclient-ng, kamailio = %ver
>>>> BuildRequires:    epel-release, radiusclient-ng-devel
>>>>
>>>> In effect, epel-release is a package in the official repo extras:
>>>>
>>>> # yum info epel-release
>>>> ...
>>>> Available Packages
>>>> Name        : epel-release
>>>> Arch        : noarch
>>>> Version     : 7
>>>> Release     : 5
>>>> Size        : 14 k
>>>> Repo        : extras/7/x86_64
>>>> Summary     : Extra Packages for Enterprise Linux repository
>>>> configuration
>>>> URL         : http://download.fedoraproject.org/pub/epel
>>>> License     : GPLv2
>>>> Description : This package contains the Extra Packages for
>>>> Enterprise Linux (EPEL) repository
>>>>             : GPG key as well as configuration for yum.
>>>>
>>>> Probably is enough to %define _with_radius 1  and add epel-release
>>>> as dependency in the .spec file used on opensuse build service also
>>>> for rhel >= 7.
>>>>
>>>> Regards,
>>>> Antonio.
>>>>
>>>>
>>>> Il 27/04/2016 11:43, Antonio Reale ha scritto:
>>>>> Daniel, if I'm not wrong Download on Demand Repository (DOD)
>>>>> feature can be used for dependencies resolution using external
>>>>> repository:
>>>>>
>>>>> http://openbuildservice.org/help/manuals/obs-best-practices/cha.obs.best-practices.webuiusage.html#idm140343052158624
>>>>> http://openbuildservice.org/help/manuals/obs-reference-guide/cha.obs.concepts.html#concept_dod
>>>>>
>>>>> Thanks.
>>>>> Antonio
>>>>>
>>>>>
>>>>> Il 27/04/2016 10:45, Daniel-Constantin Mierla ha scritto:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I am not sure there is a way to enable EPEL in the opensuse build
>>>>>> portal -- that is managed by opensuse community.
>>>>>>
>>>>>> Maybe you have a bit of time to investigate the docs of opensuse
>>>>>> build service or search on the web for this topic. If there is a
>>>>>> way, I can enable it or give access to someone that wants to
>>>>>> manage the building of RPMs.
>>>>>>
>>>>>> Cheers,
>>>>>> Daniel
>>>>>>
>>>>>>
>>>>>> On 27/04/16 10:20, Antonio Reale wrote:
>>>>>>> Hi Daniel,
>>>>>>> you're right. Both radiusclient-ng and freeradius-client are in
>>>>>>> EPEL repository, not in the official ones. Is not possible to
>>>>>>> provide these client library packages also on the kamailio
>>>>>>> centos rpm repo?
>>>>>>>
>>>>>>> Thanks.
>>>>>>> Regards.
>>>>>>>
>>>>>>> Antonio
>>>>>>>
>>>>>>>
>>>>>>> Il 27/04/2016 08:54, Daniel-Constantin Mierla ha scritto:
>>>>>>>>
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> I think the dependency is missing -- does centos official repo
>>>>>>>> provide libradius client library?
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Daniel
>>>>>>>>
>>>>>>>> On 26/04/16 17:27, Antonio Reale wrote:
>>>>>>>>> Hi all,
>>>>>>>>> I see that the kamailio-radius rpm package is available only
>>>>>>>>> for Opensuse.
>>>>>>>>> Is there a particular reason that it is unavailable for Centos?
>>>>>>>>>
>>>>>>>>> Thanks.
>>>>>>>>> Regards.
>>>>>>>>>
>>>>>>>>> Antonio
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
>>>>>>>>> mailing list
>>>>>>>>> sr-users at lists.sip-router.org
>>>>>>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> Daniel-Constantin Mierla
>>>>>>>> http://www.asipto.com
>>>>>>>> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>>>>>>>> Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>>>>>> sr-users at lists.sip-router.org
>>>>>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> Daniel-Constantin Mierla
>>>>>> http://www.asipto.com
>>>>>> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>>>>>> Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com
>>>>>
>>>>
>>>
>>> -- 
>>> Daniel-Constantin Mierla
>>> http://www.asipto.com
>>> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>>> Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com
>>
>

-- 
Daniel-Constantin Mierla
http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160428/2c650816/attachment.html>


More information about the sr-users mailing list