Imported Debian patch 2.103+dfsg-1

This commit is contained in:
Christopher Hoskin 2015-05-04 20:23:07 +00:00 committed by Mario Fetka
parent 885cfb79ed
commit 35ab61cb64
15 changed files with 184 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
libnet-radius-perl (2.103+dfsg-1) unstable; urgency=low
* Initial Release. Closes: #778988
-- Christopher Hoskin <christopher.hoskin@gmail.com> Mon, 04 May 2015 20:23:07 +0000

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

29
debian/control vendored Normal file
View File

@ -0,0 +1,29 @@
Source: libnet-radius-perl
Section: perl
Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Christopher Hoskin <christopher.hoskin@gmail.com>
Build-Depends: debhelper (>= 9)
Build-Depends-Indep: libtest-warn-perl,
perl,
libtest-pod-perl
Standards-Version: 3.9.6
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libnet-radius-perl.git
Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libnet-radius-perl.git
Homepage: https://metacpan.org/release/Net-Radius
Testsuite: autopkgtest-pkg-perl
Package: libnet-radius-perl
Architecture: all
Depends: ${misc:Depends}, ${perl:Depends}
Suggests: freeradius-common, libwireshark-data
Description: distribution of modules interfacing to the RADIUS protocol
Net::Radius modules provide an interface to the RADIUS (RFC2138)
protocol. It consists of the following modules:
.
* Net::Radius::Packet - Deals with RADIUS packets
* Net::Radius::Dictionary - Deals with RADIUS dictionaries
.
This module is essentially the original RADIUS-1.0 distribution by
Christopher Masto plus a number of changes and fixes by Luis Muñoz and
Ian Smith.

33
debian/copyright vendored Normal file
View File

@ -0,0 +1,33 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://metacpan.org/release/Net-Radius
Repackaged to exclude RFCs with non-free license and dicts/dictionary.base
which is missing a distribution license.
Files-Excluded: docs/* dicts/dictionary.base
Upstream-Contact: Luis E. Muñoz <luismunoz@cpan.org>
Upstream-Name: Net-Radius
Files: *
Copyright: 2002-2003, Luis E. Muñoz <luismunoz@cpan.or>
1997, Christopher Masto <chris@netmonger.net>
License: Artistic or GPL-1+
Files: debian/*
Copyright: 2015, Christopher Hoskin <christopher.hoskin@gmail.com>
License: Artistic or GPL-1+
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 Perl.
.
On Debian systems, the complete text of the Artistic License can be
found in `/usr/share/common-licenses/Artistic'.
License: GPL-1+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 1, or (at your option)
any later version.
.
On Debian systems, the complete text of version 1 of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-1'.

5
debian/libnet-radius-perl.docs vendored Normal file
View File

@ -0,0 +1,5 @@
README.server
README.VSA
README.broken
README.3COM
README.packets

1
debian/libnet-radius-perl.examples vendored Normal file
View File

@ -0,0 +1 @@
examples/*

16
debian/patches/README.patch vendored Normal file
View File

@ -0,0 +1,16 @@
Description: Change README to Debian paths
Author: Christopher Hoskin <christopher.hoskin@gmail.com>
Forwarded: not-needed
Last-Update: 2015-05-04
--- a/README
+++ b/README
@@ -26,7 +26,8 @@
$ make test
$ make install
-The ./examples directory contain a number of simple examples.
+The /usr/share/doc/libnet-radius-perl/examples/ directory contain a
+number of simple examples.
This code supports the use of vendor specific attributes. This
type of attribute is defined in RFC-2138 and is used to support

28
debian/patches/pod-encoding.patch vendored Normal file
View File

@ -0,0 +1,28 @@
Description: Specify =encoding for POD (otherwise Test::Pod fails)
Author: Christopher Hoskin <christopher.hoskin@gmail.com>
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=102285
Last-Update: 2015-02-22
--- a/Radius/Dictionary.pm
+++ b/Radius/Dictionary.pm
@@ -275,6 +275,8 @@
1;
__END__
+=encoding utf8
+
=head1 NAME
Net::Radius::Dictionary - RADIUS dictionary parser
--- a/Radius/Packet.pm
+++ b/Radius/Packet.pm
@@ -651,6 +651,8 @@
1;
__END__
+=encoding utf8
+
=head1 NAME
Net::Radius::Packet - Object-oriented Perl interface to RADIUS packets

View File

@ -0,0 +1,51 @@
Description: Remove references to files removed to comply with DFSG
Author: Christopher Hoskin <christopher.hoskin@gmail.com>
Forwarded: not-needed
Last-Update: 2015-02-22
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,4 +1,3 @@
-build-stamp
Changes
contrib/bin2packet
contrib/rad-dump
@@ -13,7 +12,6 @@
dicts/dictionary.altiga
dicts/dictionary.aptis
dicts/dictionary.ascend
-dicts/dictionary.base
dicts/dictionary.bay
dicts/dictionary.bintec
dicts/dictionary.bristol
@@ -67,19 +65,12 @@
dicts/dictionary.versanet
dicts/dictionary.wispr
dicts/dictionary.xedia
-docs/rfc2865.txt
-docs/rfc2866.txt
-docs/rfc2869.txt
-docs/rfc2882.txt
-docs/rfc3575.txt
-docs/rfc3576.txt
examples/example-client.pl
examples/example-menu.pl
examples/example-unix.pl
examples/example-yes.pl
examples/radius2ldap.pl
examples/tutorial.pl
-install-stamp
Makefile.PL
MANIFEST This list of files
MANIFEST.SKIP
--- a/t/bundled.t
+++ b/t/bundled.t
@@ -10,8 +10,6 @@
my %dict =
(
- 'dicts/dictionary.base'
- => { attr => 39, vendor => undef, vsa => 0 },
'dicts/dictionary.3com-o'
=> { attr => 3, vendor => 'USR', vsa => 259 },
'dicts/dictionary'

3
debian/patches/series vendored Normal file
View File

@ -0,0 +1,3 @@
README.patch
remove-DFSG-noncompliant.patch
pod-encoding.patch

4
debian/rules vendored Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/make -f
%:
dh $@

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

1
debian/tests/pkg-perl/module-name vendored Normal file
View File

@ -0,0 +1 @@
Net::Radius::Packet

3
debian/tests/pkg-perl/test-files vendored Normal file
View File

@ -0,0 +1,3 @@
t/
dicts/
packets/

3
debian/watch vendored Normal file
View File

@ -0,0 +1,3 @@
version=3
opts=dversionmangle=s/\+dfsg$// \
https://metacpan.org/release/Net-Radius .*/Net-Radius-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$