From 2920190e8d3b86f0a3e8abfb23cce6789c4a7df108b28ee96bf38822b71f3739 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 9 Sep 2008 20:09:38 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/freeradius-server?expand=0&rev=8 --- freeradius-server-2.0.5.tar.bz2 | 3 -- ... freeradius-server-2.1.0-codecleanup.patch | 2 +- ...freeradius-server-2.1.0-dialup_admin.patch | 6 +-- ...atch => freeradius-server-2.1.0-ltdl.patch | 8 ++-- ...=> freeradius-server-2.1.0-rcradiusd.patch | 0 freeradius-server-2.1.0.tar.bz2 | 3 ++ freeradius-server.changes | 40 ++++++++++++++++- freeradius-server.spec | 44 +++++++++++++++++-- 8 files changed, 90 insertions(+), 16 deletions(-) delete mode 100644 freeradius-server-2.0.5.tar.bz2 rename freeradius-server-2.0.5-codecleanup.patch => freeradius-server-2.1.0-codecleanup.patch (95%) rename freeradius-server-2.0.5-dialup_admin.patch => freeradius-server-2.1.0-dialup_admin.patch (97%) rename freeradius-server-2.0.5-ltdl.patch => freeradius-server-2.1.0-ltdl.patch (87%) rename freeradius-server-2.0.5-rcradiusd.patch => freeradius-server-2.1.0-rcradiusd.patch (100%) create mode 100644 freeradius-server-2.1.0.tar.bz2 diff --git a/freeradius-server-2.0.5.tar.bz2 b/freeradius-server-2.0.5.tar.bz2 deleted file mode 100644 index 4a9a245..0000000 --- a/freeradius-server-2.0.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9eab7d8bfa89196a28ed65a76f647edd5e666dd9edc6e29384381d72139ed6e2 -size 2323968 diff --git a/freeradius-server-2.0.5-codecleanup.patch b/freeradius-server-2.1.0-codecleanup.patch similarity index 95% rename from freeradius-server-2.0.5-codecleanup.patch rename to freeradius-server-2.1.0-codecleanup.patch index 7f4b263..7da6ca6 100644 --- a/freeradius-server-2.0.5-codecleanup.patch +++ b/freeradius-server-2.1.0-codecleanup.patch @@ -47,7 +47,7 @@ --- src/modules/rlm_smb/smbencrypt.c +++ src/modules/rlm_smb/smbencrypt.c @@ -25,6 +25,7 @@ - RCSID("$Id: smbencrypt.c,v 1.7 2007/04/02 14:48:35 nbk Exp $") + RCSID("$Id$") #include +#include diff --git a/freeradius-server-2.0.5-dialup_admin.patch b/freeradius-server-2.1.0-dialup_admin.patch similarity index 97% rename from freeradius-server-2.0.5-dialup_admin.patch rename to freeradius-server-2.1.0-dialup_admin.patch index b0e2664..caa4aea 100644 --- a/freeradius-server-2.0.5-dialup_admin.patch +++ b/freeradius-server-2.1.0-dialup_admin.patch @@ -1,8 +1,8 @@ --- dialup_admin/bin/backup_radacct +++ dialup_admin/bin/backup_radacct -@@ -1,7 +1,7 @@ - #!/usr/bin/perl +@@ -2,7 +2,7 @@ use POSIX; + use File::Temp; -$conf=shift||'/data/local/dialupadmin/conf/admin.conf'; +$conf=shift||'/usr/share/dialup_admin/conf/admin.conf'; @@ -11,7 +11,7 @@ @@ -48,4 +48,4 @@ $command = "$sqlcmd $sql_username/$pass" . "@" . "$sql_database <$tmpfile.$server" if ($sql_type eq 'oracle'); - $command = "$sqlcmd '$sql_server' '$sql_port' '' '$sql_username' '$sql_password' $backup_directory/$date3" if ($sql_type eq 'sqlrelay'); + $command = "$sqlcmd '$sql_server' '$sql_port' '' '$sql_username' '$sql_password' < $tmp_filename >$backup_directory/$date3" if ($sql_type eq 'sqlrelay'); `$comm`; -`/usr/local/bin/gzip -9 $backup_directory/$date3`; +`/usr/bin/gzip -9 $backup_directory/$date3`; diff --git a/freeradius-server-2.0.5-ltdl.patch b/freeradius-server-2.1.0-ltdl.patch similarity index 87% rename from freeradius-server-2.0.5-ltdl.patch rename to freeradius-server-2.1.0-ltdl.patch index aaa6954..a6007a5 100644 --- a/freeradius-server-2.0.5-ltdl.patch +++ b/freeradius-server-2.1.0-ltdl.patch @@ -1,6 +1,6 @@ --- src/main/modules.c +++ src/main/modules.c -@@ -202,7 +202,11 @@ +@@ -294,7 +294,11 @@ /* * Keep the handle around so we can dlclose() it. */ @@ -30,7 +30,7 @@ eaptype_name, lt_dlerror()); --- src/modules/rlm_sql/rlm_sql.c +++ src/modules/rlm_sql/rlm_sql.c -@@ -820,7 +820,11 @@ +@@ -821,7 +821,11 @@ return -1; } @@ -41,5 +41,5 @@ + inst->handle = lt_dlopenext(tmp); + free(tmp); if (inst->handle == NULL) { - radlog(L_ERR, "rlm_sql (%s): Could not link driver %s: %s", - inst->config->xlat_name, inst->config->sql_driver, + radlog(L_ERR, "Could not link driver %s: %s", + inst->config->sql_driver, diff --git a/freeradius-server-2.0.5-rcradiusd.patch b/freeradius-server-2.1.0-rcradiusd.patch similarity index 100% rename from freeradius-server-2.0.5-rcradiusd.patch rename to freeradius-server-2.1.0-rcradiusd.patch diff --git a/freeradius-server-2.1.0.tar.bz2 b/freeradius-server-2.1.0.tar.bz2 new file mode 100644 index 0000000..49a1330 --- /dev/null +++ b/freeradius-server-2.1.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:03e950b1de76a0753ef6b387bcdf1d618552e32ea78abbf97b6158c64df54928 +size 2333292 diff --git a/freeradius-server.changes b/freeradius-server.changes index e2bed32..7830b38 100644 --- a/freeradius-server.changes +++ b/freeradius-server.changes @@ -1,7 +1,45 @@ +------------------------------------------------------------------- +Tue Sep 9 19:49:08 CEST 2008 - prusnak@suse.cz + +- updated to 2.1.0 + o Feature Improvements + * Clients may now be defined dynamically, based on IP address. + See raddb/sites-available/dynamic-clients. + * SNMP support is now available through an experimental Perl script. + See scripts/snmp-proxy/README + * SNMP statistics are also available through Status-Server packets. + See raddb/sites-available/status + * Added more Microsoft attributes from bug #568. + * The linelog module has more functionality and flexibility. + See raddb/modules/linelog. + * The debugging output has been sanitized. It should be much more + readable. + * Debug logs can now be turned on/off while the server is running, + for a user, group, realm, etc. See the log section of raddb/radiusd.conf. + * Added support for WiMAX Forum attributes. The dynamic keys are + not yet calculated. See share/dictionary.wimax + * Added session resumption for PEAP and TTLS. + See raddb/eap.conf, and the cache sub-section. + * Added radmin command-line tool for administering a running server. + See man radmin and raddb/sites-available/control-socket. + o Bug Fixes + * Double escaping of '\\' in the users (and some other) files + has been fixed. If you have '\\' in the users file, your + configuration will need to be checked, and fixed! + * Parse security section of radiusd.conf. This was accidentally + deleted in 2.0.5. Closes bug #566. + * Bind to interface before IP, which allows DHCP sockets to listen + on "*" for multiple interfaces. + * Fix handling of giaddr in DHCP responses. + * Corrected parsing of status_check in home_server so that it works. + * Fix hints so that "Puser" works again. + * Removed length restrictions on attribute names in the dictionaries. + * Update socket code to avoid C compiler optimizations. + ------------------------------------------------------------------- Thu Aug 28 01:31:33 CEST 2008 - ro@suse.de -- remove deprecated startvar from fillup_and_insserv call +- remove deprecated startvar from fillup_and_insserv call ------------------------------------------------------------------- Tue Aug 26 12:01:12 CEST 2008 - pth@suse.de diff --git a/freeradius-server.spec b/freeradius-server.spec index 00fbf2e..2d1f406 100644 --- a/freeradius-server.spec +++ b/freeradius-server.spec @@ -1,5 +1,5 @@ # -# spec file for package freeradius-server (Version 2.0.5) +# spec file for package freeradius-server (Version 2.1.0) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,8 +18,8 @@ Name: freeradius-server -Version: 2.0.5 -Release: 20 +Version: 2.1.0 +Release: 1 License: GPL v2 only; LGPL v2.1 only Group: Productivity/Networking/Radius/Servers Provides: radiusd @@ -338,7 +338,7 @@ rm -rf $RPM_BUILD_ROOT %attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/preproxy_users %attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/proxy.conf %attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/radiusd.conf -%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/snmp.conf +# %attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/snmp.conf %attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sql.conf %dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/modules %attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/modules/* @@ -375,6 +375,7 @@ rm -rf $RPM_BUILD_ROOT # %{_sbindir}/check-radiusd-config %{_sbindir}/checkrad %{_sbindir}/radiusd +%{_sbindir}/radmin %{_sbindir}/radrelay %{_sbindir}/radwatch # man-pages @@ -432,6 +433,41 @@ rm -rf $RPM_BUILD_ROOT %attr(644,root,root) %{_includedir}/freeradius/*.h %changelog +* Tue Sep 09 2008 prusnak@suse.cz +- updated to 2.1.0 + o Feature Improvements + * Clients may now be defined dynamically, based on IP address. + See raddb/sites-available/dynamic-clients. + * SNMP support is now available through an experimental Perl script. + See scripts/snmp-proxy/README + * SNMP statistics are also available through Status-Server packets. + See raddb/sites-available/status + * Added more Microsoft attributes from bug #568. + * The linelog module has more functionality and flexibility. + See raddb/modules/linelog. + * The debugging output has been sanitized. It should be much more + readable. + * Debug logs can now be turned on/off while the server is running, + for a user, group, realm, etc. See the log section of raddb/radiusd.conf. + * Added support for WiMAX Forum attributes. The dynamic keys are + not yet calculated. See share/dictionary.wimax + * Added session resumption for PEAP and TTLS. + See raddb/eap.conf, and the cache sub-section. + * Added radmin command-line tool for administering a running server. + See man radmin and raddb/sites-available/control-socket. + o Bug Fixes + * Double escaping of '\\' in the users (and some other) files + has been fixed. If you have '\\' in the users file, your + configuration will need to be checked, and fixed! + * Parse security section of radiusd.conf. This was accidentally + deleted in 2.0.5. Closes bug #566. + * Bind to interface before IP, which allows DHCP sockets to listen + on "*" for multiple interfaces. + * Fix handling of giaddr in DHCP responses. + * Corrected parsing of status_check in home_server so that it works. + * Fix hints so that "Puser" works again. + * Removed length restrictions on attribute names in the dictionaries. + * Update socket code to avoid C compiler optimizations. * Thu Aug 28 2008 ro@suse.de - remove deprecated startvar from fillup_and_insserv call * Tue Aug 26 2008 pth@suse.de