r43283 - in /trunk/libauthen-radius-perl/debian: changelog control copyright patches/01_radius_port.patch patches/02_use_dumper.patch rules watch
italo-guest at users.alioth.debian.org
italo-guest at users.alioth.debian.org
Sun Aug 30 03:48:49 UTC 2009
Author: italo-guest
Date: Sun Aug 30 03:48:41 2009
New Revision: 43283
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=43283
Log:
* debian/control: Set Standards-Version to 3.8.3; update homepage; update
description to make easier to find the package; update Gregor's e-mail;
bump debhelper and quilt build dependencies.
* debian/copyright: using the new copyright format.
* debian/rules: Simplified.
* debian/watch: Updated using regexp example from another package.
--E linha, e as abaixo, serão ignoradas--
M debian/control
M debian/watch
M debian/patches/02_use_dumper.patch
M debian/patches/01_radius_port.patch
M debian/changelog
M debian/copyright
M debian/rules
Modified:
trunk/libauthen-radius-perl/debian/changelog
trunk/libauthen-radius-perl/debian/control
trunk/libauthen-radius-perl/debian/copyright
trunk/libauthen-radius-perl/debian/patches/01_radius_port.patch
trunk/libauthen-radius-perl/debian/patches/02_use_dumper.patch
trunk/libauthen-radius-perl/debian/rules
trunk/libauthen-radius-perl/debian/watch
Modified: trunk/libauthen-radius-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-radius-perl/debian/changelog?rev=43283&op=diff
==============================================================================
--- trunk/libauthen-radius-perl/debian/changelog (original)
+++ trunk/libauthen-radius-perl/debian/changelog Sun Aug 30 03:48:41 2009
@@ -4,31 +4,44 @@
- Note the newest S-V version is 3.8.3, and among other changes, it
lets us drop the version dependency on perl (for versions older or
equal to the one available in oldstable, 5.8.8-7)
+ + done
- For maintainability it's useful to convert old modules to use the
new debhelper rules format. There is a page on this on the wiki.
In general using:
%:
dh --with quilt $@
should probably be sufficient. (Requires debhelper 7.0.8 and quilt 0.46-7)
+ + done
-> You should bump compat to "7" (corresponding to "debhelper 7" series)
- The patches could use some more of the headers defined in DEP3
+ + Which of them? I added 'Reviewed-by' and 'Last-Update' because...
+ + ...I noticed that the patches were obsoletes and I updated.
- Please convert to the new machine-readable copyright format; cf.
http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+ + done
- Gregor's email address has changed to gregoa at debian.org
+ + done
- Please try to wrap lines in control to 78-80 chars, to make things
easier to edit
+ + done
- The description should have "Authen::Radius" in it somewhere, so that
users can find it if they do: apt-cache search Authen::Radius
- The Description synopsis line should begin with a noun, so that you
can read it as: <pkg> is a <synopsis> (the short description). So,
something like: Perl module to authenticate users using RADIUS.
+ + done
- You may want to consider using the watch regexp from another package.
This one seems pretty old and I'm not sure it's robust enough to pick
up new releases.
+ + done
* New upstream release.
- * Set Standards-Version to 3.8.2.
- * debian/copyright: add copyright notes and separated license terms.
+ * debian/control: Set Standards-Version to 3.8.3; update homepage; update
+ description to make easier to find the package; update Gregor's e-mail;
+ bump debhelper and quilt build dependencies.
+ * debian/copyright: using the new copyright format.
+ * debian/rules: Simplified.
+ * debian/watch: Updated using regexp example from another package.
-- Italo Valcy <italo at dcc.ufba.br> Tue, 18 Aug 2009 08:41:54 -0300
Modified: trunk/libauthen-radius-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-radius-perl/debian/control?rev=43283&op=diff
==============================================================================
--- trunk/libauthen-radius-perl/debian/control (original)
+++ trunk/libauthen-radius-perl/debian/control Sun Aug 30 03:48:41 2009
@@ -2,18 +2,19 @@
Section: perl
Priority: extra
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Niko Tyni <ntyni at iki.fi>, gregor herrmann <gregor+debian at comodo.priv.at>, Italo Valcy <italo at dcc.ufba.br>
-Standards-Version: 3.8.2
-Homepage: http://search.cpan.org/dist/Authen-Radius/
+Uploaders: Niko Tyni <ntyni at iki.fi>, gregor herrmann <gregoa at debian.org>,
+ Italo Valcy <italo at dcc.ufba.br>
+Standards-Version: 3.8.3
+Homepage: http://search.cpan.org/dist/RadiusPerl/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libauthen-radius-perl/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libauthen-radius-perl/
-Build-Depends: debhelper (>= 5), quilt (>= 0.40)
+Build-Depends: debhelper (>= 7.0.8), quilt (>= 0.46-7)
Package: libauthen-radius-perl
Architecture: all
Depends: ${perl:Depends}, ${misc:Depends}
Replaces: libradius-authen-perl
Conflicts: libradius-authen-perl
-Description: user authentication against radius
+Description: Authen::Radius is a perl module to authenticate users using RADIUS
With this perl module you can check users and credentials against a
radius database, or you can change a user's settings.
Modified: trunk/libauthen-radius-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-radius-perl/debian/copyright?rev=43283&op=diff
==============================================================================
--- trunk/libauthen-radius-perl/debian/copyright (original)
+++ trunk/libauthen-radius-perl/debian/copyright Sun Aug 30 03:48:41 2009
@@ -1,21 +1,23 @@
-This package was debianized by Ivo Timmermans <ivo at debian.org> on
-Fri Jun 15 10:37:08 CEST 2001.
+Format-Specification:
+ http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Andrew Zhilenko <andrew at ti.cz>
+Upstream-Source: http://search.cpan.org/dist/RadiusPerl/
+Upstream-Name: RadiusPerl
-It was downloaded from CPAN: http://cpan.perl.org/modules/by-authors/Carl_Declerck/
+Files: *
+Copyright: 1997, Carl Declerck <carl at miskatonic.inbe.net>
+License: Artistic
-Upstream Author: Carl Declerck <carl at miskatonic.inbe.net>.
+Files: debian/*
+Copyright: 2001, Ivo Timmermans <ivo at debian.org>
+License: Artistic
-Copyright: Copyright (C) 1997 Carl Declerck <carl at miskatonic.inbe.net>.
-
-License:
-
+License: Artistic
This program is free software; you can redistribute it and/or modify it
- under the terms of the "Artistic License" which comes with Debian.
+ under the terms of the "Artistic License". On Debian GNU/Linux systems,
+ the complete text of the Artistic License can be found in
+ `/usr/share/common-licenses/Artistic'.
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES
OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
-On Debian GNU/Linux systems, the complete text of the Artistic License
-can be found in `/usr/share/common-licenses/Artistic'.
-
Modified: trunk/libauthen-radius-perl/debian/patches/01_radius_port.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-radius-perl/debian/patches/01_radius_port.patch?rev=43283&op=diff
==============================================================================
--- trunk/libauthen-radius-perl/debian/patches/01_radius_port.patch (original)
+++ trunk/libauthen-radius-perl/debian/patches/01_radius_port.patch Sun Aug 30 03:48:41 2009
@@ -1,9 +1,14 @@
Author: Stephen Quinney <sjq at debian.org>
-Description: The standard radius port on Debian is 1812 rather than
-1645 which is now "old-radius".
---- a/Radius.pm
-+++ b/Radius.pm
-@@ -75,7 +75,7 @@ sub new {
+Description: Change de standard radius port
+ The standard radius port on Debian is 1812 rather than 1645 which is
+ now "old-radius".
+Reviewed-by: Italo Valcy <italo at dcc.ufba.br>
+Last-Update: 2009-08-30
+Index: libauthen-radius-perl/Radius.pm
+===================================================================
+--- libauthen-radius-perl.orig/Radius.pm 2009-08-29 23:44:42.000000000 -0300
++++ libauthen-radius-perl/Radius.pm 2009-08-29 23:51:14.000000000 -0300
+@@ -75,7 +75,7 @@
$port = getservbyname($service, 'udp') unless $port;
unless ($port) {
@@ -12,7 +17,7 @@
'radius-acct' => 1813 );
if (exists($services{$service})) {
$port = $services{$service};
-@@ -469,7 +469,7 @@ failure. Error status may be retrieved
+@@ -481,7 +481,7 @@
The default C<Service> is C<radius>, the alternative is C<radius-acct>.
If you do not specify port in the C<Host> as a C<hostname:port>, then port
specified in your F</etc/services> will be used. If there is nothing
Modified: trunk/libauthen-radius-perl/debian/patches/02_use_dumper.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-radius-perl/debian/patches/02_use_dumper.patch?rev=43283&op=diff
==============================================================================
--- trunk/libauthen-radius-perl/debian/patches/02_use_dumper.patch (original)
+++ trunk/libauthen-radius-perl/debian/patches/02_use_dumper.patch Sun Aug 30 03:48:41 2009
@@ -1,10 +1,14 @@
Author: Stephen Quinney <sjq at debian.org>
-Description: This removes the dependency on Data::HexDump which was being
-used exclusively for debugging purposes. It is switched instead
-to using Data::Dumper (which is a core Perl module).
---- a/Radius.pm
-+++ b/Radius.pm
-@@ -22,7 +22,6 @@ use IO::Socket;
+Description: This removes the dependency on Data::HexDump
+ Data::HexDump was being used exclusively for debugging purposes. It is
+ switched instead to using Data::Dumper (which is a core Perl module).
+Reviewed-by: Italo Valcy <italo at dcc.ufba.br>
+Last-Update: 2009-08-30
+Index: libauthen-radius-perl/Radius.pm
+===================================================================
+--- libauthen-radius-perl.orig/Radius.pm 2009-08-30 00:42:51.000000000 -0300
++++ libauthen-radius-perl/Radius.pm 2009-08-30 00:42:51.000000000 -0300
+@@ -22,7 +22,6 @@
use IO::Select;
use Digest::MD5;
use Data::Dumper;
@@ -12,21 +16,34 @@
use vars qw($VERSION @ISA @EXPORT);
-@@ -116,7 +115,7 @@ sub send_packet {
- $request_id = ($request_id + 1) & 0xff;
+@@ -118,7 +117,7 @@
+ . $self->{'authenticator'} . $self->{'attributes'};
if ($debug) {
print STDERR "Sending request:\n";
- print STDERR HexDump($data);
+ print STDERR Data::Dumper::Dumper($data);
}
- $self->{'sock'}->send ($data) || $self->set_error('ESENDFAIL');
+ $self->{'sock'}->send($data) || $self->set_error('ESENDFAIL');
}
-@@ -133,7 +132,7 @@ sub recv_packet {
+@@ -135,7 +134,7 @@
$self->{'sock'}->recv ($data, 65536) or return $self->set_error('ERECVFAIL');
if ($debug) {
print STDERR "Received response:\n";
- print STDERR HexDump($data);
+ print STDERR Data::Dumper::Dumper($data);
}
- ($type, $id, $length, $auth, $self->{'attributes'}) = unpack('C C n a16 a*', $data);
- return $self->set_error('EBADAUTH') if $auth ne $self->calc_authenticator($type, $id, $length);
+ ($type, $id, $length, $auth, $resp_attributes ) = unpack('C C n a16 a*', $data);
+ if ($detect_bad_id && defined($id) && ($id != $request_id) ) {
+Index: libauthen-radius-perl/Makefile.PL
+===================================================================
+--- libauthen-radius-perl.orig/Makefile.PL 2009-08-30 00:43:49.000000000 -0300
++++ libauthen-radius-perl/Makefile.PL 2009-08-30 00:43:57.000000000 -0300
+@@ -8,7 +8,6 @@
+ 'PREREQ_PM' => {
+ 'Digest::MD5' => 2.20,
+ 'IO' => 1.12,
+- 'Data::Dumper' => 1,
+- 'Data::HexDump' => 0.02
++ 'Data::Dumper' => 1
+ }
+ );
Modified: trunk/libauthen-radius-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-radius-perl/debian/rules?rev=43283&op=diff
==============================================================================
--- trunk/libauthen-radius-perl/debian/rules (original)
+++ trunk/libauthen-radius-perl/debian/rules Sun Aug 30 03:48:41 2009
@@ -1,62 +1,4 @@
#!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-include /usr/share/quilt/quilt.make
-
-PERL ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP = $(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
- dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE)
- $(MAKE) test
- touch $@
-
-clean: unpatch
- dh_testdir
- dh_testroot
- dh_clean build-stamp install-stamp
- [ ! -f Makefile ] || $(MAKE) realclean
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- [ ! -d $(TMP)/usr/lib/perl5 ] || \
- rmdir --ignore-fail-on-non-empty --parents --verbose \
- $(TMP)/usr/lib/perl5
- touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdocs README raddb
- dh_installchangelogs Changes
- dh_perl
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+ dh --with quilt $@
Modified: trunk/libauthen-radius-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-radius-perl/debian/watch?rev=43283&op=diff
==============================================================================
--- trunk/libauthen-radius-perl/debian/watch (original)
+++ trunk/libauthen-radius-perl/debian/watch Sun Aug 30 03:48:41 2009
@@ -1,2 +1,2 @@
version=3
-http://search.cpan.org/dist/RadiusPerl/ .*/RadiusPerl-([[:digit:]].*)\.tar\.gz
+http://search.cpan.org/dist/RadiusPerl/ .*/RadiusPerl-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)
More information about the Pkg-perl-cvs-commits
mailing list