r2126 - in packages/libauthen-radius-perl/trunk: . debian debian/patches

Niko Tyni ntyni-guest at costa.debian.org
Mon Feb 13 18:41:00 UTC 2006


Author: ntyni-guest
Date: 2006-02-13 18:40:59 +0000 (Mon, 13 Feb 2006)
New Revision: 2126

Added:
   packages/libauthen-radius-perl/trunk/debian/
   packages/libauthen-radius-perl/trunk/debian/README.Debian
   packages/libauthen-radius-perl/trunk/debian/changelog
   packages/libauthen-radius-perl/trunk/debian/compat
   packages/libauthen-radius-perl/trunk/debian/control
   packages/libauthen-radius-perl/trunk/debian/copyright
   packages/libauthen-radius-perl/trunk/debian/patches/
   packages/libauthen-radius-perl/trunk/debian/patches/00list
   packages/libauthen-radius-perl/trunk/debian/patches/01_radius_port.dpatch
   packages/libauthen-radius-perl/trunk/debian/patches/02_use_dumper.dpatch
   packages/libauthen-radius-perl/trunk/debian/rules
   packages/libauthen-radius-perl/trunk/debian/watch
Modified:
   packages/libauthen-radius-perl/trunk/install-radius-db.PL
Log:
Load libauthen-radius-perl-0.12 into
packages/libauthen-radius-perl/trunk.


Added: packages/libauthen-radius-perl/trunk/debian/README.Debian
===================================================================
--- packages/libauthen-radius-perl/trunk/debian/README.Debian	2006-02-13 18:40:44 UTC (rev 2125)
+++ packages/libauthen-radius-perl/trunk/debian/README.Debian	2006-02-13 18:40:59 UTC (rev 2126)
@@ -0,0 +1,16 @@
+libauthen-radius-perl (0.12-1) unstable; urgency=low
+
+upstream now provides a set of radius dictionaries so that you can use
+this module without having to install extra components of the RADIUS
+server onto your client machine.
+
+They are not installed into the standard location as in many
+situations they are not required. If they were installed this package
+would conflict with radiusd-cistron and xtradius which is not a good
+thing. They are provided by this package in the directory
+/usr/share/doc/libauthen-radius-perl/raddb. If you need any of these
+dictionaries you should copy the relevant files into somewhere where
+the code using this module can read them. By default the module will
+look for dictionaries in the directory named /etc/raddb/dictionary.
+
+ -- Stephen Quinney <sjq at debian.org>, Sat Jul  9 12:42:24 2005

Added: packages/libauthen-radius-perl/trunk/debian/changelog
===================================================================
--- packages/libauthen-radius-perl/trunk/debian/changelog	2006-02-13 18:40:44 UTC (rev 2125)
+++ packages/libauthen-radius-perl/trunk/debian/changelog	2006-02-13 18:40:59 UTC (rev 2126)
@@ -0,0 +1,87 @@
+libauthen-radius-perl (0.12-1) unstable; urgency=low
+
+  * QA Group Upload
+  * New upstream release, closes: #296563, #234505.
+  * debian/control - Added build-dependency on dpatch
+  * debian/rules:
+      - Completely replaced with something more standard that works with
+        the latest upstream version.
+      - Added dpatch bits.
+  * Moved Debian changes to dpatch for easier maintenance. There are now
+    01_radius_port and 02_use_dumper to separate out the two different
+    changes that have been made previously.
+  * debian/watch - Added
+  * debian/README.Debian - Added to explain about the RADIUS dictionaries
+    now provided by upstream.
+    
+ -- Stephen Quinney <sjq at debian.org>  Sat,  9 Jul 2005 12:44:24 +0100
+
+libauthen-radius-perl (0.09-2) unstable; urgency=low
+
+  * Orphaning: set maintainer to QA.
+
+ -- Ivo Timmermans <ivo at debian.org>  Mon, 20 Jun 2005 17:31:13 +0200
+
+libauthen-radius-perl (0.09-1) unstable; urgency=low
+
+  * New upstream release.
+  * Radius.pm: Use Data::Dumper instead of Data::Hexdump.
+    (Closes: #200835)
+
+ -- Ivo Timmermans <ivo at debian.org>  Sun, 28 Dec 2003 23:27:28 +0100
+
+libauthen-radius-perl (0.08-1) unstable; urgency=low
+
+  * New upstream release.
+  * Radius.pm: Change default port number to 1812 (radius).
+    (Closes: #197765)
+  * debian/control:
+      - Changed section to perl.
+      - Updated debhelper build dependency.
+
+ -- Ivo Timmermans <ivo at debian.org>  Tue, 17 Jun 2003 13:58:48 +0200
+
+libauthen-radius-perl (0.05-3) unstable; urgency=low
+
+  * Fix "Use of uninitialized value in numeric eq". (Closes: #153017)
+
+ -- Ivo Timmermans <ivo at debian.org>  Sun, 11 Aug 2002 03:14:06 +0200
+
+libauthen-radius-perl (0.05-2) unstable; urgency=low
+
+  * Applied patch from Craig Sanders to make it work with newer perl
+    packages. (Closes: 139950)
+
+ -- Ivo Timmermans <ivo at debian.org>  Sun,  7 Apr 2002 10:56:22 +0200
+
+libauthen-radius-perl (0.05-1) unstable; urgency=low
+
+  * Took over the packaging from those amateurs :-)  (Closes: #100865)
+  * Changed name to libauthen-radius-perl to satisfy common perl package
+    naming conventions.
+  * Add build dependencies.
+  * Rebuild from original upstream sources.
+  * Radius.pm uses Digest::MD5 rather than MD5.
+  * Redo of rules, starting from dh-make's template.
+  * Change the package's description.
+  * Added Replaces,Conflicts: libradius-authen-perl.
+
+ -- Ivo Timmermans <ivo at debian.org>  Fri, 15 Jun 2001 11:54:19 +0200
+
+libradius-authen-perl (1.0-1.1.1) unstable; urgency=low
+
+  * Built on potato.
+
+ -- J.H.M. Dassen (Ray) <jdassen at cistron.nl>  Thu, 15 Feb 2001 18:53:59 +0100
+
+libradius-authen-perl (1.0-1.1) unstable; urgency=low
+
+  * Include "build" rule so "debuild" etc. work.
+
+ -- J.H.M. Dassen (Ray) <jdassen at cistron.nl>  Thu, 15 Feb 2001 18:53:03 +0100
+
+libradius-authen-perl (1.0-1) unstable; urgency=low
+
+  * Initial packaging
+
+ -- Pieter Jansen <pj at cistron.nl>  Thu, 22 Jun 2000 13:30:18 +0200

Added: packages/libauthen-radius-perl/trunk/debian/compat
===================================================================
--- packages/libauthen-radius-perl/trunk/debian/compat	2006-02-13 18:40:44 UTC (rev 2125)
+++ packages/libauthen-radius-perl/trunk/debian/compat	2006-02-13 18:40:59 UTC (rev 2126)
@@ -0,0 +1 @@
+4

Added: packages/libauthen-radius-perl/trunk/debian/control
===================================================================
--- packages/libauthen-radius-perl/trunk/debian/control	2006-02-13 18:40:44 UTC (rev 2125)
+++ packages/libauthen-radius-perl/trunk/debian/control	2006-02-13 18:40:59 UTC (rev 2126)
@@ -0,0 +1,15 @@
+Source: libauthen-radius-perl
+Section: perl
+Priority: extra
+Maintainer: Debian QA Group <packages at qa.debian.org>
+Standards-Version: 3.6.2
+Build-Depends-Indep: debhelper (>> 4.0), dpatch
+
+Package: libauthen-radius-perl
+Architecture: all
+Depends: ${perl:Depends}
+Replaces: libradius-authen-perl
+Conflicts: libradius-authen-perl
+Description: user authentication against radius
+ With this perl module you can check users and credentials against a
+ radius database, or you can change a user's settings.

Added: packages/libauthen-radius-perl/trunk/debian/copyright
===================================================================
--- packages/libauthen-radius-perl/trunk/debian/copyright	2006-02-13 18:40:44 UTC (rev 2125)
+++ packages/libauthen-radius-perl/trunk/debian/copyright	2006-02-13 18:40:59 UTC (rev 2126)
@@ -0,0 +1,19 @@
+This package was debianized by Ivo Timmermans <ivo at debian.org> on
+Fri Jun 15 10:37:08 CEST 2001.
+
+It was downloaded from CPAN: http://cpan.perl.org/modules/by-authors/Carl_Declerck/
+
+Upstream Author: Carl Declerck <carl at miskatonic.inbe.net>.
+
+Copyright:
+
+    This program is free software; you can redistribute it and/or modify it
+    under the terms of the "Artistic License" which comes with Debian.
+
+    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'.
+

Added: packages/libauthen-radius-perl/trunk/debian/patches/00list
===================================================================
--- packages/libauthen-radius-perl/trunk/debian/patches/00list	2006-02-13 18:40:44 UTC (rev 2125)
+++ packages/libauthen-radius-perl/trunk/debian/patches/00list	2006-02-13 18:40:59 UTC (rev 2126)
@@ -0,0 +1,2 @@
+01_radius_port
+02_use_dumper

Added: packages/libauthen-radius-perl/trunk/debian/patches/01_radius_port.dpatch
===================================================================
--- packages/libauthen-radius-perl/trunk/debian/patches/01_radius_port.dpatch	2006-02-13 18:40:44 UTC (rev 2125)
+++ packages/libauthen-radius-perl/trunk/debian/patches/01_radius_port.dpatch	2006-02-13 18:40:59 UTC (rev 2126)
@@ -0,0 +1,29 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_radius_port.dpatch by Stephen Quinney <sjq at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: The standard radius port on Debian is 1812 rather than
+## DP: 1645 which is now "old-radius".
+
+ at DPATCH@
+diff -urNad --exclude=CVS --exclude=.svn ./Radius.pm /tmp/dpep-work.2C18Ag/libauthen-radius-perl-0.12/Radius.pm
+--- ./Radius.pm	2004-12-18 04:46:44.000000000 +0000
++++ /tmp/dpep-work.2C18Ag/libauthen-radius-perl-0.12/Radius.pm	2005-07-09 12:19:38.000000000 +0100
+@@ -73,7 +73,7 @@
+ 	$port = getservbyname($service, 'udp') unless $port;
+ 
+ 	unless ($port) {
+-		my %services = ( radius => 1645, radacct => 1646,
++		my %services = ( radius => 1812, radacct => 1646,
+ 						 'radius-acct' => 1813 );
+ 		if (exists($services{$service})) {
+ 			$port = $services{$service};
+@@ -467,7 +467,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
+-there, and you did not specify port either then default is 1645 for
++there, and you did not specify port either then default is 1812 for
+ C<radius> and 1813 for C<radius-acct>.
+ 
+ Optional parameter C<Debug> with a Perl "true" value turns on debugging


Property changes on: packages/libauthen-radius-perl/trunk/debian/patches/01_radius_port.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/libauthen-radius-perl/trunk/debian/patches/02_use_dumper.dpatch
===================================================================
--- packages/libauthen-radius-perl/trunk/debian/patches/02_use_dumper.dpatch	2006-02-13 18:40:44 UTC (rev 2125)
+++ packages/libauthen-radius-perl/trunk/debian/patches/02_use_dumper.dpatch	2006-02-13 18:40:59 UTC (rev 2126)
@@ -0,0 +1,38 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_use_dumper.dpatch by Stephen Quinney <sjq at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: This removes the dependency on Data::HexDump which was being
+## DP: used exclusively for debugging purposes. It is switched instead
+## DP: to using Data::Dumper (which is a core Perl module).
+
+ at DPATCH@
+diff -urNad --exclude=CVS --exclude=.svn ./Radius.pm /tmp/dpep-work.kAk2ft/libauthen-radius-perl-0.12/Radius.pm
+--- ./Radius.pm	2005-07-09 12:21:20.000000000 +0100
++++ /tmp/dpep-work.kAk2ft/libauthen-radius-perl-0.12/Radius.pm	2005-07-09 12:22:24.000000000 +0100
+@@ -22,7 +22,6 @@
+ use IO::Select;
+ use Digest::MD5;
+ use Data::Dumper;
+-use Data::HexDump;
+ 
+ use vars qw($VERSION @ISA @EXPORT);
+ 
+@@ -114,7 +113,7 @@
+ 	$request_id = ($request_id + 1) & 0xff;
+ 	if ($debug) {
+ 		print STDERR "Sending request:\n";
+-		print HexDump $data;
++		print STDERR Data::Dumper::Dumper($data);
+ 	}
+ 	$self->{'sock'}->send ($data) || $self->set_error('ESENDFAIL');
+ }
+@@ -131,7 +130,7 @@
+ 	$self->{'sock'}->recv ($data, 65536) or return $self->set_error('ERECVFAIL');
+ 	if ($debug) {
+ 		print STDERR "Received response:\n";
+-		print 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);


Property changes on: packages/libauthen-radius-perl/trunk/debian/patches/02_use_dumper.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/libauthen-radius-perl/trunk/debian/rules
===================================================================
--- packages/libauthen-radius-perl/trunk/debian/rules	2006-02-13 18:40:44 UTC (rev 2125)
+++ packages/libauthen-radius-perl/trunk/debian/rules	2006-02-13 18:40:59 UTC (rev 2126)
@@ -0,0 +1,74 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# Define the perl interpreter
+
+include /usr/share/dpatch/dpatch.make
+
+PACKAGE = $(shell dh_listpackages)
+
+TMP     =`pwd`/debian/$(PACKAGE)
+
+PERL = /usr/bin/perl
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+
+	perl Makefile.PL verbose INSTALLDIRS=vendor
+
+	touch configure-stamp
+
+build: patch build-stamp
+build-stamp: configure-stamp 
+	dh_testdir
+
+	$(MAKE)
+
+	touch build-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+
+	-[ ! -e Makefile ] || $(MAKE) distclean
+
+	dh_clean build-stamp configure-stamp
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) install PREFIX=$(TMP)/usr
+
+	# Remove any empty directories
+
+	find $(TMP)/usr -type d -empty -print0 | xargs --no-run-if-empty --null rmdir -p --ignore-fail-on-non-empty
+
+# Build architecture-independent files here.
+binary-arch: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_perl
+	dh_installdocs README raddb
+	dh_installman
+	dh_installchangelogs Changes
+	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 configure


Property changes on: packages/libauthen-radius-perl/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/libauthen-radius-perl/trunk/debian/watch
===================================================================
--- packages/libauthen-radius-perl/trunk/debian/watch	2006-02-13 18:40:44 UTC (rev 2125)
+++ packages/libauthen-radius-perl/trunk/debian/watch	2006-02-13 18:40:59 UTC (rev 2126)
@@ -0,0 +1,7 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site		Directory		Pattern			Version	Script
+version=2
+http://www.cpan.org/authors/id/M/MA/MANOWAR/RadiusPerl-(\d+\.\d+)\.tar\.gz debian uupdate
+


Property changes on: packages/libauthen-radius-perl/trunk/install-radius-db.PL
___________________________________________________________________
Name: svn:executable
   - 
   + *




More information about the Pkg-perl-cvs-commits mailing list