--- libi18n-charset-perl-1.379.orig/debian/copyright
+++ libi18n-charset-perl-1.379/debian/copyright
@@ -0,0 +1,25 @@
+This package was debianized by Ardo van Rangelrooij <ardo@debian.org>
+on Tue, May 25, 1999, 20:40:41 +0200.
+
+It was downloaded from the Comprehensive Perl Archive Network (CPAN).
+Visit <http://www.cpan.org/> to find a CPAN site near you.
+
+Upstream Author: Martin Thurn <mthurn@cpan.org>
+
+Copyright:
+
+Copyright (c) 1998-2001 TASC, Inc.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of either:
+
+a) the GNU General Public License as published by the Free Software
+   Foundation; either version 1, or (at your option) any later
+   version, or
+
+b) the "Artistic License" which comes with Perl.
+
+On a Debian system the complete text of the GNU General Public License
+can be found in the file `/usr/share/common-licenses/GPL' and the
+complete text of the the Artistic Licence can be found in the file
+`/usr/share/common-licenses/Artistic'.
--- libi18n-charset-perl-1.379.orig/debian/rules
+++ libi18n-charset-perl-1.379/debian/rules
@@ -0,0 +1,77 @@
+#!/usr/bin/make -f
+
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc@dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP     =$(CURDIR)/debian/$(PACKAGE)
+
+# Allow disabling build optimation by setting noopt in
+# $DEB_BUILD_OPTIONS
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+        CFLAGS += -O0
+else
+        CFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="$(CFLAGS)" 
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	[ ! -f Makefile ] || $(MAKE) distclean
+	dh_clean build-stamp install-stamp
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	$(MAKE) test
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	
+	#As this is a architecture independent package, we are not supposed to install
+	#stuff to /usr/lib. MakeMaker creates the dirs, we delete them from the deb:
+	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
+
+	# We don't want this alongside the Perl module.
+	$(RM) $(TMP)/usr/share/perl5/I18N/Charset/character-sets
+
+	touch install-stamp
+
+binary-arch:
+# We have nothing to do.
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_perl
+	dh_installchangelogs Changes
+	dh_link
+	dh_strip
+	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
--- libi18n-charset-perl-1.379.orig/debian/control
+++ libi18n-charset-perl-1.379/debian/control
@@ -0,0 +1,24 @@
+Source: libi18n-charset-perl
+Section: perl
+Priority: optional
+Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
+Uploaders: Marc 'HE' Brockschmidt <he@debian.org>, Krzysztof Krzyzaniak (eloy) <eloy@debian.org>, gregor herrmann <gregor+debian@comodo.priv.at>, Niko Tyni <ntyni@iki.fi>
+Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 5.0)
+Build-Depends-Indep: perl, libio-string-perl, libtest-simple-perl, libunicode-map-perl, libunicode-maputf8-perl, libio-capture-perl
+
+Package: libi18n-charset-perl
+Section: perl
+Priority: optional
+Architecture: all
+Depends: ${perl:Depends}, libio-string-perl, ${misc:Depends}
+Suggests: libunicode-map-perl, libunicode-map8-perl, libunicode-maputf8-perl
+Description: Perl module for mapping character set names to IANA names
+ This module maps Character Set names to the names officially
+ registered with IANA.  For example, 'Shift_JIS' is the official name
+ of 'x-sjis'.
+ .
+ It also maps character set names to Unicode::Map, Unicode::Map8, and
+ Unicode::MapUTF8 conversion scheme names (if those modules are
+ installed).  For example, the Unicode::Map8 scheme name for
+ 'windows-1251' is 'cp1251'.
--- libi18n-charset-perl-1.379.orig/debian/changelog
+++ libi18n-charset-perl-1.379/debian/changelog
@@ -0,0 +1,196 @@
+libi18n-charset-perl (1.379-1) unstable; urgency=low
+
+  [ Krzysztof Krzyzaniak (eloy) ]
+  * New upstream release (closes: #329561)
+  * debian/rules: libio-capture-perl added to deps
+  * changing ChangeLog to Changes
+
+  [ gregor herrmann ]
+  * Patched the tests for Windows charsets in t/utf8.t in order to work with
+    the current version of libunicode-map8-perl.
+
+  [ Niko Tyni ]
+  * Don't ignore the return code of 'make distclean'.
+  * Cleanup of debian/rules.
+  * debian/control: upgraded to Debian Policy 3.7.2 (no changes needed)
+  * Depend on ${misc:Depends}, as recommended by debhelper.
+
+ -- Niko Tyni <ntyni@iki.fi>  Thu, 11 May 2006 22:43:28 +0300
+
+libi18n-charset-perl (1.371-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control: New maintainer: Debian Perl Group.
+  * debian/watch: Added to track new upstream versions.
+
+ -- Marc 'HE' Brockschmidt <he@debian.org>  Wed, 25 Feb 2004 16:41:04 +0100
+
+libi18n-charset-perl (1.37-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: removed obsolete (build) dependency on 'libfile-which-perl'
+  * debian/control: added build depedency on and suggests of
+    'libunicode-maputf8-perl'
+    (closes: Bug#167011)
+  * debian/copyright: updated
+  * debian/rules: moved debhelper compatibility level setting to
+    'debian/compat' per latest debhelper best practices
+  * debian/control: updated sections according to latest archive changes:
+    - 'libi18n-charset-perl' from 'interpreters' to 'perl'
+  * debian/control: changed build dependency on 'debhelper' to '(>= 4.1)'
+  * debian/control: upgraded to Debian Policy 3.6.1 (no changes)
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Sat,  7 Feb 2004 10:05:37 -0600
+
+libi18n-charset-perl (1.23-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: added (build) dependency on 'libfile-which-perl'
+  * debian/control: added (build) dependency on 'libio-string-perl'
+  * debian/rules: upgraded to debhelper v4
+  * debian/control: changed build dependency on debhelper accordingly
+  * debian/rules: migrated from 'dh_movefiles' to 'dh_install'
+  * debian/rules: split off 'install' target from 'binary-indep' target
+  * debian/copyright: added pointer to license
+    (closes: Bug#157595)
+  * debian/control: temporarily removed build dependency on and suggests
+    for 'libunicode-maputf8-perl' due to problems building against
+    perl 5.8.0 (filed wishlist for adding build dependency and suggests
+    after working properly with perl 5.8.0)
+    (closes: Bug#164928)
+  * debian/control: upgraded to Debian Policy 3.5.7 (no changes)
+  * debian/copyright: updated upstream author's email address
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Tue, 29 Oct 2002 19:26:59 -0600
+
+libi18n-charset-perl (1.17-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: added build dependency on 'libunicode-maputf8-perl'
+  * debian/control: added suggests for 'libunicode-maputf8-perl'
+  * debian/control: updated long description
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Sat,  4 May 2002 17:49:26 -0500
+
+libi18n-charset-perl (1.16-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Fri, 19 Apr 2002 21:51:03 -0500
+
+libi18n-charset-perl (1.15-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Sat, 16 Feb 2002 15:43:29 -0600
+
+libi18n-charset-perl (1.12-2) unstable; urgency=low
+
+  * debian/control: upgraded to Debian Policy 3.5.6
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Sun, 23 Dec 2001 10:50:12 -0600
+
+libi18n-charset-perl (1.12-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Sat,  8 Sep 2001 17:53:59 -0500
+
+libi18n-charset-perl (1.11-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: updated description
+  * debian/control: added suggests for 'libunicode-map-perl'
+  * debian/contorl: added build dependency on 'libunicode-map[8]-perl'
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Sat,  1 Sep 2001 10:22:18 -0500
+
+libi18n-charset-perl (1.09-1) unstable; urgency=low
+
+  * New upstream release
+  * lib/I18N/Charset.pm: fixed typo preventing proper man page generation
+  * debian/control: upgraded to Debian Policy 3.5.5
+  * debian/control: upgraded to Debian Perl Policy 1.20
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Thu,  5 Jul 2001 20:21:24 -0500
+
+libi18n-charset-perl (1.08-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Tue, 24 Apr 2001 19:56:35 -0500
+
+libi18n-charset-perl (1.07-2) unstable; urgency=low
+
+  * debian/control: updated perl dependency
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Sat, 14 Apr 2001 14:51:41 -0500
+
+libi18n-charset-perl (1.07-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/copyright: updated
+  * debian/control: updated debhelper dependency to remove dh_testversion
+  * debian/control: upgraded to Debian Policy 3.5.2
+  * debian/control: upgraded to Debian Perl Policy 1.17
+  * debian/rules: upgraded to Debian Perl Policy 1.17
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Sun,  1 Apr 2001 12:44:14 -0500
+
+libi18n-charset-perl (1.05-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: upgraded to Debian Policy 3.2.1
+  * debian/rules: upgraded to debhelper v3
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Sun, 14 Jan 2001 11:16:51 -0600
+
+libi18n-charset-perl (1.03-4) unstable; urgency=low
+
+  * debian/control: updated long description
+  * debian/control: upgraded to Debian Policy 3.1.1
+  * debian/copyright: updated
+  * debian/rules: added missing `$(MAKE) test`
+  * debian/rules: added missing build-stamp stuff
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Sat, 17 Jun 2000 17:36:38 +0200
+
+libi18n-charset-perl (1.03-3) unstable; urgency=low
+
+  * debian/control: Perl dependency changed into `${perl:Depends}'
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Fri,  5 Nov 1999 19:43:47 +0100
+
+libi18n-charset-perl (1.03-2) unstable; urgency=low
+
+  * Upgraded to Debian Perl Policy 1.1
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Sun, 10 Oct 1999 19:09:17 +0200
+
+libi18n-charset-perl (1.03-1) unstable; urgency=low
+
+  * New upstream release
+  * Upgraded to Debian Policy 3.0.1
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Thu,  7 Oct 1999 19:39:49 +0200
+
+libi18n-charset-perl (1.02-3) unstable; urgency=low
+
+  * Made almost lintian-free (except for /usr/doc): moved man manpages to
+    /usr/share/man and fixed various file and directory permissions
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Wed, 11 Aug 1999 20:25:35 -0500
+
+libi18n-charset-perl (1.02-2) unstable; urgency=low
+
+  * Complies with Perl packaging standard 1.0
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Tue, 13 Jul 1999 14:53:11 -0500
+
+libi18n-charset-perl (1.02-1) unstable; urgency=low
+
+  * Initial Release
+  * Added characters sets added to the private copy of Charset.pm in the
+    wdg-html-validator package to avoid redundancy
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Fri, 11 Jun 1999 21:47:02 +0200
--- libi18n-charset-perl-1.379.orig/debian/watch
+++ libi18n-charset-perl-1.379/debian/watch
@@ -0,0 +1,3 @@
+version=2
+http://mirrors.kernel.org/cpan/modules/by-module/I18N/I18N-Charset-([\.\d]+)\.tar\.gz
+
--- libi18n-charset-perl-1.379.orig/debian/compat
+++ libi18n-charset-perl-1.379/debian/compat
@@ -0,0 +1 @@
+5
--- libi18n-charset-perl-1.379.orig/debian/libi18n-charset-perl.docs
+++ libi18n-charset-perl-1.379/debian/libi18n-charset-perl.docs
@@ -0,0 +1 @@
+README
--- libi18n-charset-perl-1.379.orig/t/utf8.t
+++ libi18n-charset-perl-1.379/t/utf8.t
@@ -39,11 +39,11 @@
       {

       skip 'Unicode::Map8 is not installed', 7 unless eval 'require Unicode::Map8';

       # Unicode::Map8 aliases:

-      ok(umu8_charset_name("Windows-1-2-5-1") eq "cp1251", 'windows-1-2-5-1');

-      ok(umu8_charset_name("windows-1252") eq "cp1252", 'windows-1252 eq');

-      ok(umu8_charset_name("win-latin-1") eq "cp1252", 'win-latin-1');

-      ok(umu8_charset_name("windows-1252") ne "cp1253", 'windows-1252 ne');

-      ok(umu8_charset_name("windows-1253") eq "cp1253", 'windows-1253');

+      ok(umu8_charset_name("Windows-1-2-5-1") eq "windows-1251", 'windows-1-2-5-1');

+      ok(umu8_charset_name("windows-1252") eq "windows-1252", 'windows-1252 eq');

+      ok(umu8_charset_name("win-latin-1") eq "windows-1252", 'win-latin-1');

+      ok(umu8_charset_name("windows-1252") ne "windows-1253", 'windows-1252 ne');

+      ok(umu8_charset_name("windows-1253") eq "windows-1253", 'windows-1253');

       # Unicode::Map8 names with dummy mib:

       ok(umu8_charset_name("Adobe Zapf Ding Bats") eq "Adobe-Zapf-Dingbats", 'Adobe Zapf Ding Bats');

       ok(umu8_charset_name(" c p 1 0 0 7 9 ") eq "cp10079", ' c p 1 0 0 7 9 ');

