Add freeradius-rest subpackage

Resolves: Bug#1196276
This commit is contained in:
Nikolai Kondrashov 2015-03-31 14:48:50 +03:00
parent 9bf49420c8
commit 1bb86b1eb8

View File

@ -174,6 +174,15 @@ BuildRequires: unixODBC-devel
%description unixODBC
This plugin provides the unixODBC support for the FreeRADIUS server project.
%package rest
Summary: REST support for freeradius
Group: System Environment/Daemons
Requires: %{name} = %{version}-%{release}
BuildRequires: libcurl-devel
BuildRequires: json-c-devel
%description rest
This plugin provides the REST support for the FreeRADIUS server project.
%prep
%setup -q -n %{dist_base}
@ -204,7 +213,6 @@ This plugin provides the unixODBC support for the FreeRADIUS server project.
--without-rlm_sql_firebird \
--without-rlm_sql_db2 \
--without-rlm_sql_oracle \
--without-rlm_rest \
--without-rlm_unbound
make
@ -464,7 +472,6 @@ exit 0
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/redis
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/rediswho
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/replicate
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/rest
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/smbpasswd
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/smsotp
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/soh
@ -771,11 +778,17 @@ exit 0
%files unixODBC
%{_libdir}/freeradius/rlm_sql_unixodbc.so
%files rest
%{_libdir}/freeradius/rlm_rest.so
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/rest
%changelog
* Thu Mar 19 2015 Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> - 3.0.7-1
- Upgrade to upstream v3.0.7 release.
See upstream ChangeLog for details (in freeradius-doc subpackage).
Resolves: Bug#1133959
- Add freeradius-rest package containing rlm_rest module.
Resolves: Bug#1196276
* Fri Feb 13 2015 Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> - 3.0.4-4
- Bump release number to catch up with Fedora 21.