--- libcgi-ssi-perl-0.92.orig/debian/control
+++ libcgi-ssi-perl-0.92/debian/control
@@ -0,0 +1,25 @@
+Source: libcgi-ssi-perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
+Uploaders: Piotr Roszatycki <dexter@debian.org>,
+ Tim Retout <tim@retout.co.uk>
+Section: perl
+Priority: extra
+Standards-Version: 3.8.2
+Homepage: http://search.cpan.org/dist/CGI-SSI/
+Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libcgi-ssi-perl/
+Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libcgi-ssi-perl/
+Build-Depends: debhelper (>= 7.0.8), quilt (>= 0.46-7)
+Build-Depends-Indep: perl, libhtml-simpleparse-perl, libwww-perl,
+ liburi-perl, libtimedate-perl
+
+Package: libcgi-ssi-perl
+Architecture: all
+Depends: ${misc:Depends}, ${perl:Depends}, libhtml-simpleparse-perl,
+ libwww-perl, liburi-perl, libtimedate-perl
+Description: Perl module to use SSI from CGI scripts
+ CGI::SSI is meant to be used as an easy way to filter shtml through CGI
+ scripts in a loose imitation of Apache's mod_include. If you're using
+ Apache, you may want to use either mod_include or the Apache::SSI module
+ instead of CGI::SSI. Limitations in a CGI script's knowledge of how the
+ server behaves make some SSI directives impossible to imitate from a CGI
+ script.
--- libcgi-ssi-perl-0.92.orig/debian/copyright
+++ libcgi-ssi-perl-0.92/debian/copyright
@@ -0,0 +1,31 @@
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: James Tolley <james@bitperfect.com>
+Upstream-Source: http://search.cpan.org/dist/CGI-SSI/
+Upstream-Name: CGI-SSI
+
+Files: *
+Copyright: (c) 2000-2007 James Tolley <james@bitperfect.com> All Rights Reserved.
+License-Alias: Perl
+License: Artistic | GPL-1+
+
+Files: debian/*
+Copyright: 2001, 2004, 2005, 2006, 2007, Piotr Roszatycki <dexter@debian.org>
+ 2008, Damyan Ivanov <dmn@debian.org>
+ 2008, 2009, gregor herrmann <gregoa@debian.org>
+ 2009, Tim Retout <tim@retout.co.uk>
+License: Artistic | 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 GNU/Linux 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 GNU/Linux systems, the complete text of the GNU General
+    Public License can be found in `/usr/share/common-licenses/GPL'
--- libcgi-ssi-perl-0.92.orig/debian/watch
+++ libcgi-ssi-perl-0.92/debian/watch
@@ -0,0 +1,4 @@
+# format version number, currently 2; this line is compulsory!
+version=3
+
+http://search.cpan.org/dist/CGI-SSI/   .*/CGI-SSI-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
--- libcgi-ssi-perl-0.92.orig/debian/compat
+++ libcgi-ssi-perl-0.92/debian/compat
@@ -0,0 +1 @@
+7
--- libcgi-ssi-perl-0.92.orig/debian/README.source
+++ libcgi-ssi-perl-0.92/debian/README.source
@@ -0,0 +1,5 @@
+This package uses quilt to manage all modifications to the upstream
+source.  Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+See /usr/share/doc/quilt/README.source for a detailed explanation.
--- libcgi-ssi-perl-0.92.orig/debian/changelog
+++ libcgi-ssi-perl-0.92/debian/changelog
@@ -0,0 +1,91 @@
+libcgi-ssi-perl (0.92-2) unstable; urgency=low
+
+  [ Damyan Ivanov ]
+  * Take over for the Debian Perl Group on maintainer's request
+    (http://lists.debian.org/debian-perl/2008/09/msg00111.html)
+
+  [ gregor herrmann ]
+  * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
+    field (source stanza).
+  * debian/control: Added: ${misc:Depends} to Depends: field.
+  * debian/control: Added: Homepage field (source stanza).
+  * debian/control: Changed: Maintainer set to Debian Perl Group <pkg-
+    perl-maintainers@lists.alioth.debian.org> (was: Piotr Roszatycki
+    <dexter@debian.org>); Piotr Roszatycki <dexter@debian.org> moved to
+    Uploaders.
+  * debian/control: make short description a noun phrase.
+  * debian/watch: use dist-based URL.
+
+  [ Tim Retout ]
+  * Use short format dh7/quilt rules file.  Remove old yada files.
+  * Add quilt series file, debhelper compat file and README.source.
+  * debian/control:
+    + Remove yada from Build-Depends.
+    + B-D-I: Remove version from perl, remove perl-modules and tofrodos.
+    + Add debhelper/quilt to Build-Depends.
+    + Depends: Replace ${libcgi-ssi-perl:Depends} with ${perl:Depends},
+      remove perl-modules.
+    + Bump Standards-Version to 3.8.2.
+    + Add self to Uploaders.
+  * debian/copyright: Add new copyright file.
+  * Add author/description headers to debian patch.
+
+ -- Tim Retout <tim@retout.co.uk>  Sat, 08 Aug 2009 17:14:02 +0100
+
+libcgi-ssi-perl (0.92-1) unstable; urgency=low
+
+  * New usptream release.
+  * debian/packages:
+    - Convert LF/CR to LF in *.pm.
+    - Remove executable bit for *.pm.
+
+ -- Piotr Roszatycki <dexter@debian.org>  Mon, 10 Sep 2007 13:44:13 +0200
+
+libcgi-ssi-perl (0.88-2) unstable; urgency=low
+
+  * Applied NMU patch. Thanks Thijs Kinkhorst,
+  * Skip tests in 'make test' that try to access remote sites.
+    Closes: #337391.
+
+ -- Piotr Roszatycki <dexter@debian.org>  Mon,  3 Apr 2006 21:51:30 +0200
+
+libcgi-ssi-perl (0.88-1) unstable; urgency=low
+
+  * New upstream release. Closes: #329501.
+
+ -- Piotr Roszatycki <dexter@debian.org>  Tue,  4 Oct 2005 11:32:50 +0200
+
+libcgi-ssi-perl (0.53-5) unstable; urgency=low
+
+  * Remove Origin field and make lintian happy.
+
+ -- Piotr Roszatycki <dexter@debian.org>  Mon,  9 Aug 2004 11:16:17 +0200
+
+libcgi-ssi-perl (0.53-4) unstable; urgency=low
+
+  * Fix wrong case in Origin field, closes: #154414.
+  * Remove Bugs field, closes: #220082.
+  * Section: perl
+  * Tweaked dependencies.
+  * `make test' on build.
+
+ -- Piotr Roszatycki <dexter@debian.org>  Thu, 11 Mar 2004 20:33:23 +0100
+
+libcgi-ssi-perl (0.53-3) unstable; urgency=low
+
+  * Architecture: all
+
+ -- Piotr Roszatycki <dexter@debian.org>  Wed, 19 Dec 2001 10:12:00 +0100
+
+libcgi-ssi-perl (0.53-2) unstable; urgency=low
+
+  * Build-Depends-Indep in debian/control
+
+ -- Piotr Roszatycki <dexter@debian.org>  Wed, 17 Oct 2001 14:46:49 +0200
+
+libcgi-ssi-perl (0.53-1) unstable; urgency=low
+
+  * Initial Debian version, closes: #104050
+
+ -- Piotr Roszatycki <dexter@debian.org>  Mon,  9 Jul 2001 12:59:35 +0200
+
--- libcgi-ssi-perl-0.92.orig/debian/rules
+++ libcgi-ssi-perl-0.92/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+	dh --with quilt $@
--- libcgi-ssi-perl-0.92.orig/debian/patches/010-test_without_network.patch
+++ libcgi-ssi-perl-0.92/debian/patches/010-test_without_network.patch
@@ -0,0 +1,62 @@
+Author: Thijs Kinkhorst <thijs@debian.org>
+Description: Disable tests that require network access.
+
+--- libcgi-ssi-perl-0.88.orig/test.pl
++++ libcgi-ssi-perl-0.88/test.pl
+@@ -101,10 +101,12 @@
+ # include file - with many types of input
+ # include virtual - with different types of input
+ 
+-{
+-    my $ssi = CGI::SSI->new();
+-    my $html = $ssi->process(q[<!--#include virtual="http://www.yahoo.com" -->]);
+-    ok($html =~ /yahoo/i && $html =~ /mail/i,'include virtual 1');
++SKIP: {
++# Thijs Kinkhorst: disable tests that require network access
++#    my $ssi = CGI::SSI->new();
++#    my $html = $ssi->process(q[<!--#include virtual="http://www.yahoo.com" -->]);
++#    ok($html =~ /yahoo/i && $html =~ /mail/i,'include virtual 1');
++    skip("skipping include virtual 1, remote test",1);
+ }
+ 
+     # tough to do these well, without more info...
+@@ -119,10 +121,12 @@
+ 
+ # exec cgi - with different input
+ 
+-{
+-    my $ssi = CGI::SSI->new();
+-    my $html = $ssi->process(q[<!--#exec cgi="http://www.yahoo.com/" -->]);
+-    ok($html =~ /yahoo/i,'exec cgi');
++SKIP: {
++# Thijs Kinkhorst: disable tests that require network access
++#    my $ssi = CGI::SSI->new();
++#    my $html = $ssi->process(q[<!--#exec cgi="http://www.yahoo.com/" -->]);
++#    ok($html =~ /yahoo/i,'exec cgi');
++    skip("skipping exec cgi, remote test",1);
+ }
+ 
+ # exec cmd - with different input
+@@ -267,13 +271,15 @@
+ 
+ # test cookie support
+ SKIP: {
+-	eval "use HTTP::Cookies; 1" or skip("HTTP::Cookies not installed", 1);
+-	my $jar = HTTP::Cookies->new({});
+-	$jar->set_cookie(1,'mycookie','COOKIEVAL','/','www.bitperfect.com',80,0,0,100);
+-
+-	my $ssi = CGI::SSI->new(COOKIE_JAR => $jar);
+-	my $html = $ssi->process(qq[<!--#include virtual="http://www.bitperfect.com/cgi-bin/cgi-ssi/cookietest.cgi"-->]);
+-	ok($html =~ m'COOKIEVAL', "cookie support");
++# Thijs Kinkhorst: disable tests that require network access
++#	eval "use HTTP::Cookies; 1" or skip("HTTP::Cookies not installed", 1);
++#	my $jar = HTTP::Cookies->new({});
++#	$jar->set_cookie(1,'mycookie','COOKIEVAL','/','www.bitperfect.com',80,0,0,100);
++#
++#	my $ssi = CGI::SSI->new(COOKIE_JAR => $jar);
++#	my $html = $ssi->process(qq[<!--#include virtual="http://www.bitperfect.com/cgi-bin/cgi-ssi/cookietest.cgi"-->]);
++#	ok($html =~ m'COOKIEVAL', "cookie support");
++	skip("skipping cookie test, remote test", 1);
+ }
+ 
+ SKIP: {
--- libcgi-ssi-perl-0.92.orig/debian/patches/series
+++ libcgi-ssi-perl-0.92/debian/patches/series
@@ -0,0 +1 @@
+010-test_without_network.patch
