[libmasonx-request-withapachesession-perl] 01/01: Imported Debian patch 0.30-3.1

gregor herrmann gregoa at debian.org
Sun May 24 14:20:05 UTC 2015


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libmasonx-request-withapachesession-perl.

commit cb32f7a63bb04578cd096290877645c9b851a5f1
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Sat Dec 1 09:53:08 2012 +0100

    Imported Debian patch 0.30-3.1
---
 Makefile                                   | 52 ++++++++++++++++++
 debian/changelog                           | 87 ++++++++++++++++++++++++++++++
 debian/compat                              |  1 +
 debian/control                             | 16 ++++++
 debian/copyright                           | 24 +++++++++
 debian/patches/00list                      |  3 ++
 debian/patches/01-subrequest-return.dpatch | 32 +++++++++++
 debian/patches/02-cgi-request.dpatch       | 34 ++++++++++++
 debian/patches/03-use-Digest-SHA.dpatch    | 28 ++++++++++
 debian/rules                               | 74 +++++++++++++++++++++++++
 debian/watch                               |  2 +
 11 files changed, 353 insertions(+)

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..a52e142
--- /dev/null
+++ b/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
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b196b39
--- /dev/null
+++ b/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 <ansgar at debian.org> (Closes: #694474)
+  * Don't create .packlist file.
+    Add 'create_packlist=0' in config-stamp target to perl Build.PL call.
+
+ -- Salvatore Bonaccorso <carnil at debian.org>  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 <wisq-deb at wisq.net> applied
+    (closes: #424688)
+  * debian/control - updated to be complaint with recent Standards
+
+ -- Krzysztof Krzyzaniak (eloy) <eloy at debian.org>  Sat, 29 Sep 2007 15:52:25 +0200
+
+libmasonx-request-withapachesession-perl (0.30-2) unstable; urgency=low
+
+  * patch from Adrian Irving-Beer <wisq at wisq.net> applied 
+    (closes: #328399) (closes: #326456)
+
+ -- Krzysztof Krzyzaniak (eloy) <eloy at debian.org>  Fri, 18 Nov 2005 16:25:59 +0100
+
+libmasonx-request-withapachesession-perl (0.30-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Krzysztof Krzyzaniak (eloy) <eloy at debian.org>  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) <eloy at debian.org>  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) <eloy at debian.org>  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) <eloy at debian.org>  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) <eloy at debian.org>  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) <eloy at debian.org>  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) <eloy at debian.org>  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 <sjq at debian.org> for filling bug!
+
+ -- Krzysztof Krzyzaniak (eloy) <eloy at debian.org>  Mon, 23 Jun 2003 14:09:22 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..cd89308
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,16 @@
+Source: libmasonx-request-withapachesession-perl
+Section: perl
+Priority: extra
+Maintainer: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>
+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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..918b746
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,24 @@
+This package was debianized by Krzysztof Krzyzaniak (eloy) <eloy at debian.org> 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, <autarch at urth.org>
+
+Copyright:
+
+Copyright (c) 2002 Dave Rolsky, <autarch at urth.org>. 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'.
diff --git a/debian/patches/00list b/debian/patches/00list
new file mode 100644
index 0000000..7719371
--- /dev/null
+++ b/debian/patches/00list
@@ -0,0 +1,3 @@
+01-subrequest-return
+02-cgi-request
+03-use-Digest-SHA
diff --git a/debian/patches/01-subrequest-return.dpatch b/debian/patches/01-subrequest-return.dpatch
new file mode 100644
index 0000000..f207112
--- /dev/null
+++ b/debian/patches/01-subrequest-return.dpatch
@@ -0,0 +1,32 @@
+#! /bin/sh -e
+## 01-cast.dpatch
+## (Original made by Aurelien Jarno <aurelien at aurel32.net>)
+##
+
+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
+
+ at 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} =
diff --git a/debian/patches/02-cgi-request.dpatch b/debian/patches/02-cgi-request.dpatch
new file mode 100644
index 0000000..652f731
--- /dev/null
+++ b/debian/patches/02-cgi-request.dpatch
@@ -0,0 +1,34 @@
+#! /bin/sh -e
+## 02-cgi-request.dpatch
+## (Original made by Adrian Irving-Beer <wisq-deb at wisq.net>)
+
+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
+
+ at 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,
+                  );
+     }
diff --git a/debian/patches/03-use-Digest-SHA.dpatch b/debian/patches/03-use-Digest-SHA.dpatch
new file mode 100644
index 0000000..a74f48a
--- /dev/null
+++ b/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 <carnil at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Use Digest::SHA instead of Digest::SHA1.
+
+ at 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} = {};
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..99010b4
--- /dev/null
+++ b/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
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..35f0ddd
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://www.cpan.org/modules/by-module/MasonX/MasonX-Request-WithApacheSession-([\d\.]+).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmasonx-request-withapachesession-perl.git



More information about the Pkg-perl-cvs-commits mailing list