[perl-Authen-Radius] Update to 0.23

Paul Howarth pghmcfc at fedoraproject.org
Thu Oct 31 10:06:15 UTC 2013


commit 131534e4dae65507266df9b854f6cd9005e1a8d5
Author: Paul Howarth <paul at city-fan.org>
Date:   Thu Oct 31 10:05:18 2013 +0000

    Update to 0.23
    
    - New upstream release 0.23
      - Authen::Radius is now distributed under the Perl Artistic License v2.0
      - Support for RADIUS retransmits
      - For the "check_pwd" method, place the local socket's "real" IP address into
        the NAS-IP-Address attribute instead of 127.0.0.1
      - Bugfixes in error handling
      - Generate random authenticators
      - Support for CoA request
      - Ability to specify the source IP/port for outgoing packets
      - Support for RFC3579 - Message-Authenticator
      - Support for a list of multiple RADIUS servers (RADIUS cluster)
      - Ability to work with dictionaries in FreeRADIUS format
      - Support (partial) for WIMAX attributes
      - Fixed the bug with the incorrect encoding of Cisco AVPair attributes
      - Added support for attribute values for byte and short attribute types
      - Fix the excessive "types mismatch" warnings on PoD packets
      - Clear authenticator as a part of clear_attibutes(), so multiple requests,
        sent using the same object, will have different authenticators (as they
        should)
    - Specify all dependencies
    - Drop %defattr, redundant since rpm 4.4
    - Package upstream's new LICENSE file
    - Make %files list more explicit
    - Use %{_fixperms} macro rather than our own chmod incantation
    - Don't need to remove empty directories from the buildroot
    - Use DESTDIR rather than PERL_INSTALL_ROOT
    - Don't use macros for commands
    - Run the test suite now that it skips tests that require a Radius server

 .gitignore              |    2 +-
 LICENSING.txt           |  208 -----------------------------------------------
 perl-Authen-Radius.spec |   91 ++++++++++++++-------
 sources                 |    2 +-
 4 files changed, 65 insertions(+), 238 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fa49e25..62fd2b0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-RadiusPerl-0.13.tar.gz
+/Authen-Radius-[0-9.]*.tar.gz
diff --git a/perl-Authen-Radius.spec b/perl-Authen-Radius.spec
index b371728..12e1cb0 100644
--- a/perl-Authen-Radius.spec
+++ b/perl-Authen-Radius.spec
@@ -1,57 +1,92 @@
 Name:           perl-Authen-Radius
-Version:        0.13
-Release:        16%{?dist}
-Summary:        Perl Authen::Radius modules
-# See LICENSING.txt
+Version:        0.23
+Release:        1%{?dist}
+Summary:        Provide simple Radius client facilities
 License:        Artistic 2.0
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/RadiusPerl/
-Source0:        http://www.cpan.org/modules/by-module/Authen/RadiusPerl-%{version}.tar.gz
-Source1:	LICENSING.txt
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://www.cpan.org/modules/by-module/Authen/Authen-Radius-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:      noarch
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Data::Dumper) >= 1
 BuildRequires:  perl(Data::HexDump) >= 0.02
-BuildRequires:  perl(Digest::MD5) >= 2.20, perl(IO) >= 1.12, perl-devel
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(Digest::MD5) >= 2.20
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(FileHandle)
+BuildRequires:  perl(Getopt::Long)
+BuildRequires:  perl(IO) >= 1.12
+BuildRequires:  perl(IO::Select)
+BuildRequires:  perl(IO::Socket)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
-RadiusPerl is a Perl 5 module (Radius.pm) which allows you to 
-communicate with a Radius server from Perl. You can just authenticate 
-usernames/passwords via Radius, or completely imitate AAA requests and 
-process server response.
+The Authen::Radius module provides a simple class that allows you to
+send/receive Radius requests/responses to/from a Radius server.
+
+You can just authenticate usernames/passwords via Radius, or completely
+imitate AAA requests and process server responses.
 
 %prep
 %setup -q -n Authen-Radius-%{version}
-cp %{SOURCE1} .
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null \;
-
-chmod -R u+rwX,go+rX,go-w %{buildroot}/*
+%{_fixperms} %{buildroot}
 
 %check
-# Disabled check, as a running Radius-server is needed
-#make test
+make test
 
 %clean
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
-%doc Changes README LICENSING.txt
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%doc Changes LICENSE README
+%{perl_vendorlib}/Authen/
+%{_mandir}/man3/Authen::Radius.3pm*
 
 %changelog
+* Thu Oct 31 2013 Paul Howarth <paul at city-fan.org> - 0.23-1
+- Update to 0.23
+  - Authen::Radius is now distributed under the Perl Artistic License v2.0
+  - Support for RADIUS retransmits
+  - For the "check_pwd" method, place the local socket's "real" IP address into
+    the NAS-IP-Address attribute instead of 127.0.0.1
+  - Bugfixes in error handling
+  - Generate random authenticators
+  - Support for CoA request
+  - Ability to specify the source IP/port for outgoing packets
+  - Support for RFC3579 - Message-Authenticator
+  - Support for a list of multiple RADIUS servers (RADIUS cluster)
+  - Ability to work with dictionaries in FreeRADIUS format
+  - Support (partial) for WIMAX attributes
+  - Fixed the bug with the incorrect encoding of Cisco AVPair attributes
+  - Added support for attribute values for byte and short attribute types
+  - Fix the excessive "types mismatch" warnings on PoD packets
+  - Clear authenticator as a part of clear_attibutes(), so multiple requests,
+    sent using the same object, will have different authenticators (as they
+    should)
+- Specify all dependencies
+- Drop %%defattr, redundant since rpm 4.4
+- Package upstream's new LICENSE file
+- Make %%files list more explicit
+- Use %%{_fixperms} macro rather than our own chmod incantation
+- Don't need to remove empty directories from the buildroot
+- Use DESTDIR rather than PERL_INSTALL_ROOT
+- Don't use macros for commands
+- Run the test suite now that it skips tests that require a Radius server
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.13-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
@@ -77,7 +112,7 @@ rm -rf %{buildroot}
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
 * Wed Dec 15 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.13-8
-- 661697 rebuild for fixing problems with vendorach/lib
+- Rebuild to fix problems with vendorarch/lib (#661697)
 
 * Thu Apr 29 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.13-7
 - Mass rebuild with perl-5.12.0
diff --git a/sources b/sources
index 33937bc..190d67c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bbe01758d4af1ccbdcb83fe061eb2799  RadiusPerl-0.13.tar.gz
+556c5bea85f67ab83ec247a74c65e27e  Authen-Radius-0.23.tar.gz


More information about the scm-commits mailing list