libsqlite3-dev,
libssl-dev,
libtalloc-dev,
+ libunbound-dev,
libwbclient-dev,
libykclient-dev,
libyubikey-dev,
The FreeRADIUS server can cache data in memcached and this package
contains the required module.
+Package: freeradius-unbound
+Architecture: any
+Depends: freeradius (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, ${dist:Depends}
+Description: Unbound module for FreeRADIUS server
+ This package is required to add libunbound DNS functionality to the
+ FreeRADIUS server.
+
Package: freeradius-yubikey
Architecture: any
Depends: freeradius (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, ${dist:Depends}
# Build without Python
%bcond_without rlm_python
+# Build without unbound
+%bcond_without rlm_unbound
+
# Many distributions have extremely old versions of OpenSSL
# if you'd like to build with the FreeRADIUS openssl packages
# which are installed in /opt/openssl you should pass
%description rest
This plugin provides the ability to interact with REST APIs for the FreeRADIUS server project.
+%if %{with rlm_unbound}
+%package unbound
+Summary: Unbound DNS support for FreeRADIUS
+Group: System Environment/Daemons
+Requires: %{name} = %{version}-%{release}
+Requires: unbound
+BuildRequires: unbound-devel
+
+%description unbound
+This plugin provides unbound DNS support for the FreeRADIUS server project.
+%endif
+
%if %{with rlm_lua}
%package lua
Summary: Lua support for FreeRADIUS
%{autoconf_mod_with rlm_securid} \
%{autoconf_mod_with rlm_sigtran} \
%{autoconf_mod_with rlm_sql_oracle} \
+ %{autoconf_mod_with rlm_unbound} \
%{autoconf_mod_with rlm_yubikey} \
%if %{without ldap}
--without-libfreeradius-ldap \
%__rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/mods-config/sql/main/oracle
%__rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/mods-config/sql/driver/oracle
%endif
-%if %{without rlm_unbound}
-%__rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/mods-config/unbound
-%endif
%__rm -rf $RPM_BUILD_ROOT/%{_libdir}/freeradius/rlm_test.so
# remove header files, we don't ship a devel package and the
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/driver/oracle
%endif
+%if %{with rlm_unbound}
+%config(noreplace) %{_sysconfdir}/raddb/mods-config/unbound/default.conf
+%endif
+
%files utils
%exclude /usr/bin/*_tests
%exclude /usr/bin/unit_test_*
%defattr(-,root,root)
%{_libdir}/freeradius/rlm_rest.so
+%if %{with rlm_unbound}
+%files unbound
+%defattr(-,root,root)
+%{_libdir}/freeradius/rlm_unbound.so
+%doc %{_mandir}/man5/rlm_unbound.5.gz
+%endif
+
%if %{with rlm_sigtran}
%files sigtran
%defattr(-,root,root)