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@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@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@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to