diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..59fccd4 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libnet-radius-perl (2.103+dfsg-1) unstable; urgency=low + + * Initial Release. Closes: #778988 + + -- Christopher Hoskin Mon, 04 May 2015 20:23:07 +0000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..99b4a35 --- /dev/null +++ b/debian/control @@ -0,0 +1,29 @@ +Source: libnet-radius-perl +Section: perl +Priority: optional +Maintainer: Debian Perl Group +Uploaders: Christopher Hoskin +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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f3faf5d --- /dev/null +++ b/debian/copyright @@ -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 +Upstream-Name: Net-Radius + +Files: * +Copyright: 2002-2003, Luis E. Muñoz + 1997, Christopher Masto +License: Artistic or GPL-1+ + +Files: debian/* +Copyright: 2015, Christopher Hoskin +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'. + diff --git a/debian/libnet-radius-perl.docs b/debian/libnet-radius-perl.docs new file mode 100644 index 0000000..5c851b7 --- /dev/null +++ b/debian/libnet-radius-perl.docs @@ -0,0 +1,5 @@ +README.server +README.VSA +README.broken +README.3COM +README.packets diff --git a/debian/libnet-radius-perl.examples b/debian/libnet-radius-perl.examples new file mode 100644 index 0000000..e39721e --- /dev/null +++ b/debian/libnet-radius-perl.examples @@ -0,0 +1 @@ +examples/* diff --git a/debian/patches/README.patch b/debian/patches/README.patch new file mode 100644 index 0000000..e5ad233 --- /dev/null +++ b/debian/patches/README.patch @@ -0,0 +1,16 @@ +Description: Change README to Debian paths +Author: Christopher Hoskin +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 diff --git a/debian/patches/pod-encoding.patch b/debian/patches/pod-encoding.patch new file mode 100644 index 0000000..a50f954 --- /dev/null +++ b/debian/patches/pod-encoding.patch @@ -0,0 +1,28 @@ +Description: Specify =encoding for POD (otherwise Test::Pod fails) +Author: Christopher Hoskin +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 diff --git a/debian/patches/remove-DFSG-noncompliant.patch b/debian/patches/remove-DFSG-noncompliant.patch new file mode 100644 index 0000000..f35774e --- /dev/null +++ b/debian/patches/remove-DFSG-noncompliant.patch @@ -0,0 +1,51 @@ +Description: Remove references to files removed to comply with DFSG +Author: Christopher Hoskin +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' diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..940d2ce --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,3 @@ +README.patch +remove-DFSG-noncompliant.patch +pod-encoding.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..2d33f6a --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/tests/pkg-perl/module-name b/debian/tests/pkg-perl/module-name new file mode 100644 index 0000000..04d0940 --- /dev/null +++ b/debian/tests/pkg-perl/module-name @@ -0,0 +1 @@ +Net::Radius::Packet diff --git a/debian/tests/pkg-perl/test-files b/debian/tests/pkg-perl/test-files new file mode 100644 index 0000000..b34c36f --- /dev/null +++ b/debian/tests/pkg-perl/test-files @@ -0,0 +1,3 @@ +t/ +dicts/ +packets/ diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..fbc3f44 --- /dev/null +++ b/debian/watch @@ -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)$