Summary: RADIUS protocol client library Name: freeradius-client Version: 1.1.7 Release: 33%{?dist} # For a breakdown of the licensing, see PACKAGE-LICENSING # Automatically converted from old format: BSD and MIT - review is highly recommended. License: LicenseRef-Callaway-BSD AND LicenseRef-Callaway-MIT URL: http://freeradius.org/freeradius-client/ Source0: ftp://ftp.freeradius.org/pub/freeradius/%{name}-%{version}.tar.gz Source1: radiusclient.conf Source2: PACKAGE-LICENSING Source3: dictionary Patch1: freeradius-client-1.1.7-size_t.patch Patch2: freeradius-client-1.1.7-ipv6-attr-fix.patch Patch3: freeradius-client-1.1.7-autoconf-c99.patch BuildRequires: gcc BuildRequires: make automake autoconf libtool BuildRequires: nettle-devel >= 2.7.1 %description FreeRADIUS Client is a library for writing RADIUS Clients. The library lets you develop a RADIUS-aware application in less than 50 lines of C code. %package devel Summary: Development files for freeradius-client Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development files for freeradius-client. %package utils Summary: Utility programs for freeradius-client Requires: %{name}%{?_isa} = %{version}-%{release} # freeradius-client supersedes radiusclient-ng Obsoletes: radiusclient-ng-utils %description utils FreeRADIUS Client is a framework and library for writing RADIUS Clients. This package includes radius client test utilities such as, radiusclient, radexample, radstatus, radembedded and radacct. %prep %setup -q rm -f lib/md5.c sed -i -e 's|sys_lib_dlsearch_path_spec="[^"]\+|& %{_libdir}|g' configure %patch -P1 -p1 -b .size_t %patch -P2 -p1 -b .attr %patch -P3 -p1 -b .autoconf-c99 %build autoreconf -vi %configure --disable-static --disable-rpath --with-nettle make %{?_smp_mflags} %install cp -a %{SOURCE2} PACKAGE-LICENSING make DESTDIR=%{buildroot} install rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_sbindir}/login.radius mkdir -p %{buildroot}%{_datadir}/radiusclient mv %{buildroot}%{_sysconfdir}/radiusclient/dictionary.* %{buildroot}%{_datadir}/radiusclient/ cp %{SOURCE1} %{buildroot}%{_sysconfdir}/radiusclient/ cp %{SOURCE3} %{buildroot}%{_sysconfdir}/radiusclient/ cp %{SOURCE3} %{buildroot}%{_datadir}/radiusclient/dictionary %ldconfig_scriptlets %files %doc README.rst README.radexample BUGS doc/ChangeLog %license COPYRIGHT PACKAGE-LICENSING %dir %{_sysconfdir}/radiusclient %config(noreplace) %{_sysconfdir}/radiusclient/issue %config(noreplace) %{_sysconfdir}/radiusclient/port-id-map %config(noreplace) %{_sysconfdir}/radiusclient/radiusclient.conf %config(noreplace) %{_sysconfdir}/radiusclient/servers %config(noreplace) %{_sysconfdir}/radiusclient/dictionary %{_libdir}/libfreeradius-client.so.* %dir %{_datadir}/radiusclient/ %{_datadir}/radiusclient/dictionary.ascend %{_datadir}/radiusclient/dictionary.compat %{_datadir}/radiusclient/dictionary.merit %{_datadir}/radiusclient/dictionary.sip %{_datadir}/radiusclient/dictionary %files devel %{_includedir}/freeradius-client.h %{_libdir}/libfreeradius-client.so %files utils %{_sbindir}/radacct %{_sbindir}/radiusclient %{_sbindir}/radstatus %{_sbindir}/radlogin %{_sbindir}/radexample %{_sbindir}/radembedded %changelog * Wed Aug 28 2024 Miroslav Suchý - 1.1.7-33 - convert license to SPDX * Wed Jul 17 2024 Fedora Release Engineering - 1.1.7-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jan 24 2024 Fedora Release Engineering - 1.1.7-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.1.7-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 1.1.7-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.1.7-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Jan 10 2023 Peter Fordham - 1.1.7-27 - Add return type to main for autoconf check for C99 compliance and add autoreconf step to build. * Thu Jul 21 2022 Fedora Release Engineering - 1.1.7-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.1.7-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 1.1.7-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.1.7-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.1.7-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 1.1.7-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.1.7-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.1.7-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 14 2019 Björn Esser - 1.1.7-18 - Rebuilt for libcrypt.so.2 (#1666033) * Fri Jul 13 2018 Fedora Release Engineering - 1.1.7-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Feb 18 2018 Athmane Madjoudj - 1.1.7-16 - Add gcc and make as BR (minimal buildroot change) * Wed Feb 07 2018 Fedora Release Engineering - 1.1.7-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Jan 20 2018 Björn Esser - 1.1.7-14 - Rebuilt for switch to libxcrypt * Wed Aug 02 2017 Fedora Release Engineering - 1.1.7-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.1.7-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.1.7-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 1.1.7-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.1.7-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jun 8 2015 Nikos Mavrogiannopoulos - 1.1.7-8 - Ship a custom dictionary; that corrects the IPv6 dictionary types. * Mon May 04 2015 Kalev Lember - 1.1.7-7 - Rebuilt for nettle soname bump * Tue Mar 24 2015 Nikos Mavrogiannopoulos - 1.1.7-6 - when sending IPv6 attributes use the correct length (#1205156) * Mon Feb 23 2015 Nikos Mavrogiannopoulos - 1.1.7-5 - Corrected paths of files includes in config file * Wed Feb 11 2015 Nikos Mavrogiannopoulos - 1.1.7-4 - Added utils subpackage * Wed Jan 28 2015 Nikos Mavrogiannopoulos - 1.1.7-3 - Line wrapped description message - Commented out the utils subpackage * Tue Jan 27 2015 Nikos Mavrogiannopoulos - 1.1.7-2 - Cleanup licensing - Link to main upstream web page - Properly obsolete radiusclient-ng-utils - Remove dependencies on autotools * Thu Jan 22 2015 Nikos Mavrogiannopoulos - 1.1.7-1 - New upstream release * Mon Dec 8 2014 Nikos Mavrogiannopoulos - 1.1.6.20141208-1.gite261681 - Rebase on git repository * Fri Dec 5 2014 Nikos Mavrogiannopoulos - 1.1.6-1 - Initial package release