--- libmasonx-request-withapachesession-perl-0.30.orig/Makefile +++ libmasonx-request-withapachesession-perl-0.30/Makefile @@ -0,0 +1,52 @@ +# PREREQ_PM => { Apache::Cookie=>q[0], HTML::Mason=>q[1.16], Apache::Session=>q[1.54] } + +all : force_do_it + /usr/bin/perl Build +realclean : force_do_it + /usr/bin/perl Build realclean + /usr/bin/perl -e unlink -e shift Makefile + +force_do_it : + +build : force_do_it + /usr/bin/perl Build build +clean : force_do_it + /usr/bin/perl Build clean +code : force_do_it + /usr/bin/perl Build code +diff : force_do_it + /usr/bin/perl Build diff +dist : force_do_it + /usr/bin/perl Build dist +distcheck : force_do_it + /usr/bin/perl Build distcheck +distclean : force_do_it + /usr/bin/perl Build distclean +distdir : force_do_it + /usr/bin/perl Build distdir +distmeta : force_do_it + /usr/bin/perl Build distmeta +distsign : force_do_it + /usr/bin/perl Build distsign +disttest : force_do_it + /usr/bin/perl Build disttest +docs : force_do_it + /usr/bin/perl Build docs +fakeinstall : force_do_it + /usr/bin/perl Build fakeinstall +help : force_do_it + /usr/bin/perl Build help +install : force_do_it + /usr/bin/perl Build install +manifest : force_do_it + /usr/bin/perl Build manifest +ppd : force_do_it + /usr/bin/perl Build ppd +skipcheck : force_do_it + /usr/bin/perl Build skipcheck +test : force_do_it + /usr/bin/perl Build test +testdb : force_do_it + /usr/bin/perl Build testdb +versioninstall : force_do_it + /usr/bin/perl Build versioninstall --- libmasonx-request-withapachesession-perl-0.30.orig/debian/copyright +++ libmasonx-request-withapachesession-perl-0.30/debian/copyright @@ -0,0 +1,24 @@ +This package was debianized by Krzysztof Krzyzaniak (eloy) on +Mon, 23 Jun 2003 14:09:22 +0200. + +It was downloaded from +http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/MasonX-Request-WithApacheSession-0.21.tar.gz + +Upstream Author: Dave Rolsky, + +Copyright: + +Copyright (c) 2002 Dave Rolsky, . All rights reserved. + +This library 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 Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in /usr/share/common-licenses/GPL' and +the Artistic Licence in /usr/share/common-licenses/Artistic'. --- libmasonx-request-withapachesession-perl-0.30.orig/debian/watch +++ libmasonx-request-withapachesession-perl-0.30/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.cpan.org/modules/by-module/MasonX/MasonX-Request-WithApacheSession-([\d\.]+).tar.gz --- libmasonx-request-withapachesession-perl-0.30.orig/debian/control +++ libmasonx-request-withapachesession-perl-0.30/debian/control @@ -0,0 +1,16 @@ +Source: libmasonx-request-withapachesession-perl +Section: perl +Priority: extra +Maintainer: Krzysztof Krzyzaniak (eloy) +Build-Depends: debhelper (>> 5), libmodule-build-perl, dpatch +Build-Depends-Indep: libtest-pod-perl, perl-modules (>= 5.6.0) | libapache2-mod-perl2, libapache-session-perl (>= 1.54), libhtml-mason-perl (>= 1.16), perl5, libapache-session-wrapper-perl, libfile-find-rule-perl +Standards-Version: 3.7.2.1 + +Package: libmasonx-request-withapachesession-perl +Architecture: all +Depends: libapache-session-perl (>= 1.54), libhtml-mason-perl (>= 1.16), perl5, libapache-session-wrapper-perl +Recommends: libapache2-mod-perl2 +Description: Session handler in the Mason Request object + MasonX::Request::WithApacheSession takes advantage of the new flexibility in + Mason 1.09_01 and newer to integrate an Apache::Session session directly into + Mason's Request object. --- libmasonx-request-withapachesession-perl-0.30.orig/debian/changelog +++ libmasonx-request-withapachesession-perl-0.30/debian/changelog @@ -0,0 +1,87 @@ +libmasonx-request-withapachesession-perl (0.30-3.1) unstable; urgency=low + + * Non-maintainer upload. + * Use Digest::SHA instead of Digest::SHA1 + libdigest-sha1-perl package was removed from Debian. Digest::SHA is part of + Perl core modules included with the perl interpreter since 5.10. + Thanks to Ansgar Burchardt (Closes: #694474) + * Don't create .packlist file. + Add 'create_packlist=0' in config-stamp target to perl Build.PL call. + + -- Salvatore Bonaccorso Sat, 01 Dec 2012 09:53:08 +0100 + +libmasonx-request-withapachesession-perl (0.30-3) unstable; urgency=low + + * debian/control - removed libapache-request-perl from dependencies + (closes: #444560) + * patch from Adrian Irving-Beer applied + (closes: #424688) + * debian/control - updated to be complaint with recent Standards + + -- Krzysztof Krzyzaniak (eloy) Sat, 29 Sep 2007 15:52:25 +0200 + +libmasonx-request-withapachesession-perl (0.30-2) unstable; urgency=low + + * patch from Adrian Irving-Beer applied + (closes: #328399) (closes: #326456) + + -- Krzysztof Krzyzaniak (eloy) Fri, 18 Nov 2005 16:25:59 +0100 + +libmasonx-request-withapachesession-perl (0.30-1) unstable; urgency=low + + * New upstream release + + -- Krzysztof Krzyzaniak (eloy) Sat, 4 Sep 2004 22:53:13 +0200 + +libmasonx-request-withapachesession-perl (0.25-2) unstable; urgency=low + + * debian/control - Changed Section to perl + + -- Krzysztof Krzyzaniak (eloy) Fri, 5 Mar 2004 10:57:53 +0100 + +libmasonx-request-withapachesession-perl (0.25-1) unstable; urgency=low + + * New upstream release + * debian/control - libapache-mod-perl2 added to dependency + * debian/control - Standards-Version updated to 3.6.1.0 + + -- Krzysztof Krzyzaniak (eloy) Fri, 5 Mar 2004 10:30:18 +0100 + +libmasonx-request-withapachesession-perl (0.24-4) unstable; urgency=low + + * debian/rules: more polishing, _build directory is removed in section + cleaning + + -- Krzysztof Krzyzaniak (eloy) Sun, 16 Nov 2003 22:54:29 +0100 + +libmasonx-request-withapachesession-perl (0.24-3) unstable; urgency=low + + * debian/rules: Build file is removed in section clean + (Closes: #221066) + + -- Krzysztof Krzyzaniak (eloy) Sun, 16 Nov 2003 22:48:56 +0100 + +libmasonx-request-withapachesession-perl (0.24-2) unstable; urgency=low + + * debian/control: Section changed from interpreters to perl + + -- Krzysztof Krzyzaniak (eloy) Thu, 6 Nov 2003 15:38:20 +0100 + +libmasonx-request-withapachesession-perl (0.24-1) unstable; urgency=low + + * New upstream release + * debian/rules - rewritten for use Module::Build + * debian/control - added dependency from Module::Build + + -- Krzysztof Krzyzaniak (eloy) Thu, 6 Nov 2003 10:40:13 +0100 + +libmasonx-request-withapachesession-perl (0.21-1) unstable; urgency=low + + * Initial Release. + * This package is made to replace bad-named-package + libmasonx-request-withapachesession. I know - it's my fault but this + name is so long that I didn't notice wrong name. Shame on me! + Thank Stephen Quinney for filling bug! + + -- Krzysztof Krzyzaniak (eloy) Mon, 23 Jun 2003 14:09:22 +0200 + --- libmasonx-request-withapachesession-perl-0.30.orig/debian/rules +++ libmasonx-request-withapachesession-perl-0.30/debian/rules @@ -0,0 +1,74 @@ +#!/usr/bin/make -f +# -*- Makefile -*- + +PACKAGE=libmasonx-request-withapachesession-perl +include /usr/share/dpatch/dpatch.make + +# Make sure perl is defined (allow overriding from the command line +PERL ?= /usr/bin/perl + +# Set our build directory +b := $(shell pwd)/debian/libmasonx-request-withapachesession-perl + +arrange: arrange-stamp +arrange-stamp: install + dh_testdir + dh_installdirs + touch arrange-stamp + +binary: binary-stamp +binary-stamp: binary-indep binary-arch + dh_testdir + touch binary-stamp + +binary-arch: binary-arch-stamp +binary-arch-stamp: arrange + dh_testdir + touch binary-arch-stamp + +binary-indep: binary-indep-stamp +binary-indep-stamp: arrange + dh_testdir + dh_testroot + dh_installdocs README + dh_installchangelogs Changes + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + touch binary-indep-stamp + +build: patch build-stamp +build-stamp: config + dh_testdir + $(PERL) Build + -$(PERL) Build test + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + -$(PERL) Build distclean + -rm -rf _build mason_tests + -rm Build + dh_clean arrange-stamp binary-stamp binary-arch-stamp binary-indep-stamp build-stamp config-stamp install-stamp + +config: config-stamp +config-stamp: + dh_testdir + $(PERL) Build.PL installdirs=vendor destdir=$(b) create_packlist=0 + touch config-stamp + +install: install-stamp +install-stamp: build + dh_testdir + $(PERL) Build install + touch install-stamp + +.PHONY: arrange binary binary-arch binary-indep build clean config install patch unpatch --- libmasonx-request-withapachesession-perl-0.30.orig/debian/compat +++ libmasonx-request-withapachesession-perl-0.30/debian/compat @@ -0,0 +1 @@ +5 --- libmasonx-request-withapachesession-perl-0.30.orig/debian/patches/02-cgi-request.dpatch +++ libmasonx-request-withapachesession-perl-0.30/debian/patches/02-cgi-request.dpatch @@ -0,0 +1,34 @@ +#! /bin/sh -e +## 02-cgi-request.dpatch +## (Original made by Adrian Irving-Beer ) + +if [ $# -ne 1 ]; then + echo >&2 "basename $0: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p0 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p0 < $0;; + *) + echo >&2 "basename $0: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ + +--- /usr/share/perl5/MasonX/Request/WithApacheSession.pm 2005-11-18 10:47:31.000000000 -0500 ++++ lib/MasonX/Request/WithApacheSession.pm 2007-05-16 15:00:50.000000000 -0400 +@@ -87,9 +87,9 @@ + param_object => $self->apache_req, + ); + } +- elsif ( $self->can('cgi_object') ) ++ elsif ( $self->can('cgi_request') && $self->can('cgi_object') ) + { +- %extra = ( header_object => $self->cgi_object, ++ %extra = ( header_object => $self->cgi_request, + param_object => $self->cgi_object, + ); + } --- libmasonx-request-withapachesession-perl-0.30.orig/debian/patches/00list +++ libmasonx-request-withapachesession-perl-0.30/debian/patches/00list @@ -0,0 +1,3 @@ +01-subrequest-return +02-cgi-request +03-use-Digest-SHA --- libmasonx-request-withapachesession-perl-0.30.orig/debian/patches/03-use-Digest-SHA.dpatch +++ libmasonx-request-withapachesession-perl-0.30/debian/patches/03-use-Digest-SHA.dpatch @@ -0,0 +1,28 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 03-use-Digest-SHA.dpatch by Salvatore Bonaccorso +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Use Digest::SHA instead of Digest::SHA1. + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' libmasonx-request-withapachesession-perl~/lib/MasonX/Request/WithMultiSession.pm libmasonx-request-withapachesession-perl/lib/MasonX/Request/WithMultiSession.pm +--- libmasonx-request-withapachesession-perl~/lib/MasonX/Request/WithMultiSession.pm 2012-11-28 16:03:44.000000000 +0100 ++++ libmasonx-request-withapachesession-perl/lib/MasonX/Request/WithMultiSession.pm 2012-11-28 16:09:35.108569438 +0100 +@@ -2,7 +2,7 @@ + + use strict; + +-use Digest::SHA1 (); ++use Digest::SHA (); + use Time::HiRes; + + use base qw(MasonX::Request::WithApacheSession); +@@ -114,7 +114,7 @@ + # using Time::HiRes means that we get times with very high + # floating point resolutions (to 10 or 11 decimal places), so + # this is a good seed for a hashing algorithm +- $new_id = Digest::SHA1::sha1_hex( time() . {} . rand() . $$ ); ++ $new_id = Digest::SHA::sha1_hex( time() . {} . rand() . $$ ); + } while ( exists $session->{sub_session_ids}{$new_id} ); + + $session->{sub_sessions}{$new_id} = {}; --- libmasonx-request-withapachesession-perl-0.30.orig/debian/patches/01-subrequest-return.dpatch +++ libmasonx-request-withapachesession-perl-0.30/debian/patches/01-subrequest-return.dpatch @@ -0,0 +1,32 @@ +#! /bin/sh -e +## 01-cast.dpatch +## (Original made by Aurelien Jarno ) +## + +if [ $# -ne 1 ]; then + echo >&2 "basename $0: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p0 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p0 < $0;; + *) + echo >&2 "basename $0: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ + +--- /tmp/WithApacheSession.pm.old 2005-09-14 23:27:49.648664936 -0400 ++++ ./lib/MasonX/Request/WithApacheSession.pm 2005-09-14 23:03:09.795603823 -0400 +@@ -74,7 +74,7 @@ + + my $self = $class->SUPER::new(@_); + +- return if $self->is_subrequest; ++ return $self if $self->is_subrequest; + + # backwards compatibility + $self->{session_param_name} =