-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi
Attached is the patch for the NMU Thijs prepared and which I uploaded to DELAYED-7. Please upload a fixed version yourself within 7 days if you don't agree with this NMU after all. Cheers Luk - -- Luk Claes - http://people.debian.org/~luk - GPG key 1024D/9B7C328D Fingerprint: D5AF 25FB 316B 53BB 08E7 F999 E544 DE07 9B7C 328D -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDixAr5UTeB5t8Mo0RAvqVAJ9Ge3m6VbxK3UoLiwaD++bhf91i5ACfX1LL GJgkVK9YE7eJsTs2SpVOo7c= =XYJd -----END PGP SIGNATURE-----
diff -u libcgi-ssi-perl-0.88/debian/changelog libcgi-ssi-perl-0.88/debian/changelog --- libcgi-ssi-perl-0.88/debian/changelog +++ libcgi-ssi-perl-0.88/debian/changelog @@ -1,3 +1,11 @@ +libcgi-ssi-perl (0.88-1.1) unstable; urgency=high + + * NMU for release critical bug. + * Skip tests in 'make test' that try to access remote sites. + (Closes: #337391). + + -- Thijs Kinkhorst <[EMAIL PROTECTED]> Sun, 27 Nov 2005 13:33:19 +0100 + libcgi-ssi-perl (0.88-1) unstable; urgency=low * New upstream release. Closes: #329501. only in patch2: unchanged: --- 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: {