r25691 - in /trunk/libhttp-server-simple-perl: ./ debian/ debian/patches/ lib/HTTP/Server/

ansgar-guest at users.alioth.debian.org ansgar-guest at users.alioth.debian.org
Fri Sep 26 23:17:05 UTC 2008


Author: ansgar-guest
Date: Fri Sep 26 23:17:02 2008
New Revision: 25691

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=25691
Log:
* New upstream release.
  + Refresh patches
* Refresh debian/rules for debhelper 7
* Add myself to Uploaders.
* Replace debian/README.source with slightly longer version
* debian/copyright: Update to rev. 228 of proposed format
* debian/copyright: do not list Debian Perl Group as copyright holder,
  instead list all contributors (taken from debian/changelog)

Added:
    trunk/libhttp-server-simple-perl/debian/libhttp-server-simple-perl.examples
Modified:
    trunk/libhttp-server-simple-perl/Changes
    trunk/libhttp-server-simple-perl/SIGNATURE
    trunk/libhttp-server-simple-perl/debian/README.source
    trunk/libhttp-server-simple-perl/debian/changelog
    trunk/libhttp-server-simple-perl/debian/compat
    trunk/libhttp-server-simple-perl/debian/control
    trunk/libhttp-server-simple-perl/debian/copyright
    trunk/libhttp-server-simple-perl/debian/patches/0002-Pipe-version-parent-waits-for-the-child-to-say-OK.patch
    trunk/libhttp-server-simple-perl/debian/rules
    trunk/libhttp-server-simple-perl/lib/HTTP/Server/Simple.pm

Modified: trunk/libhttp-server-simple-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-server-simple-perl/Changes?rev=25691&op=diff
==============================================================================
--- trunk/libhttp-server-simple-perl/Changes (original)
+++ trunk/libhttp-server-simple-perl/Changes Fri Sep 26 23:17:02 2008
@@ -1,3 +1,7 @@
+0.35
+
+* Pass arguments to ->run through to Net::Server->run
+
 0.34
 
 * Call setup_environment if a Net::Server is being used, for consistency.

Modified: trunk/libhttp-server-simple-perl/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-server-simple-perl/SIGNATURE?rev=25691&op=diff
==============================================================================
--- trunk/libhttp-server-simple-perl/SIGNATURE (original)
+++ trunk/libhttp-server-simple-perl/SIGNATURE Fri Sep 26 23:17:02 2008
@@ -14,7 +14,7 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 9a45ee78f36f1167cfe442dcf9206cba941ebdda Changes
+SHA1 7b03368caeaf04a1584735e0fe874d4008fc84e6 Changes
 SHA1 0ac508c50476dcc2bf8fe3094cb341425291e1ee MANIFEST
 SHA1 7812a1c898acbf76fcccb52068b2a9c23cb86bbf META.yml
 SHA1 3a02ba613b11b07dd1fa97e2a6b962ee3e039c98 Makefile.PL
@@ -28,7 +28,7 @@
 SHA1 7d3be9b158e37b2b2c22084740099955623b1d56 inc/Module/Install/Metadata.pm
 SHA1 0a8b66180229ba2f9deaea1fedd0aacf7a7ace6b inc/Module/Install/Win32.pm
 SHA1 d3352eb33fe43a5f3ead513f645224fe34d73bc9 inc/Module/Install/WriteAll.pm
-SHA1 26a3441bde56ccec42b282612bee896c928ddd94 lib/HTTP/Server/Simple.pm
+SHA1 25a12297b6480dc17861d2c294dd8357732d6350 lib/HTTP/Server/Simple.pm
 SHA1 40f24374f2b5845a3025e14ca4b91bd58298de03 lib/HTTP/Server/Simple/CGI.pm
 SHA1 99ec6998826486bbc5775b222408e6baf40dc885 lib/HTTP/Server/Simple/CGI/Environment.pm
 SHA1 db064af54cab345a71daec576e32e64b8fb1033d t/00smoke.t
@@ -37,9 +37,9 @@
 SHA1 a7024d0d8e7b80d26f75a3551a1406a797b382f8 t/03podcoverage.t
 SHA1 e19b6afffd4ced1f89832080822686f49a155688 t/04cgi.t
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.8 (Darwin)
+Version: GnuPG v2.0.9 (GNU/Linux)
 
-iD8DBQFITfvoEi9d9xCOQEYRAuzMAJ9LvWoC67trNPv/lJgdLWmOKh+uXwCgr/7E
-wOpC3KXbIoS9HMFCHBaRQdc=
-=jcKb
+iEYEARECAAYFAkjb9vEACgkQMflWJZZAbqBJfQCfanhxRlw+b1pXLDn5kG1Dztqs
+hxEAoKrQOkRZMbMmtf5otR/k5WuEgyFl
+=XzP2
 -----END PGP SIGNATURE-----

Modified: trunk/libhttp-server-simple-perl/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-server-simple-perl/debian/README.source?rev=25691&op=diff
==============================================================================
--- trunk/libhttp-server-simple-perl/debian/README.source (original)
+++ trunk/libhttp-server-simple-perl/debian/README.source Fri Sep 26 23:17:02 2008
@@ -1,4 +1,6 @@
-This packages uses quilt for managing patches against the upstream code.
+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.
 
-For informations on quilt and Debian packages please take a look at
-/usr/share/doc/quilt/README.source.
+See /usr/share/doc/quilt/README.source for a detailed explanation.
+

Modified: trunk/libhttp-server-simple-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-server-simple-perl/debian/changelog?rev=25691&op=diff
==============================================================================
--- trunk/libhttp-server-simple-perl/debian/changelog (original)
+++ trunk/libhttp-server-simple-perl/debian/changelog Fri Sep 26 23:17:02 2008
@@ -1,3 +1,16 @@
+libhttp-server-simple-perl (0.35-1) unstable; urgency=low
+
+  * New upstream release.
+    + Refresh patches
+  * Refresh debian/rules for debhelper 7
+  * Add myself to Uploaders.
+  * Replace debian/README.source with slightly longer version
+  * debian/copyright: Update to rev. 228 of proposed format
+  * debian/copyright: do not list Debian Perl Group as copyright holder,
+    instead list all contributors (taken from debian/changelog)
+
+ -- Ansgar Burchardt <ansgar at 43-1.org>  Sat, 27 Sep 2008 01:13:09 +0200
+
 libhttp-server-simple-perl (0.34-1) unstable; urgency=low
 
   [ Jose Luis Rivas ]

Modified: trunk/libhttp-server-simple-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-server-simple-perl/debian/compat?rev=25691&op=diff
==============================================================================
--- trunk/libhttp-server-simple-perl/debian/compat (original)
+++ trunk/libhttp-server-simple-perl/debian/compat Fri Sep 26 23:17:02 2008
@@ -1,1 +1,1 @@
-6
+7

Modified: trunk/libhttp-server-simple-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-server-simple-perl/debian/control?rev=25691&op=diff
==============================================================================
--- trunk/libhttp-server-simple-perl/debian/control (original)
+++ trunk/libhttp-server-simple-perl/debian/control Fri Sep 26 23:17:02 2008
@@ -1,7 +1,7 @@
 Source: libhttp-server-simple-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 6), quilt (>= 0.40)
+Build-Depends: debhelper (>= 7), quilt (>= 0.40)
 Build-Depends-Indep: perl (>= 5.8.0-7), netbase, libtest-pod-perl, 
  libtest-pod-coverage-perl, liburi-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
@@ -9,7 +9,8 @@
  Krzysztof Krzyzaniak (eloy) <eloy at debian.org>, 
  gregor herrmann <gregoa at debian.org>,
  Martín Ferrari <tincho at debian.org>,
- Jose Luis Rivas <ghostbar38 at gmail.com>
+ Jose Luis Rivas <ghostbar38 at gmail.com>,
+ Ansgar Burchardt <ansgar at 43-1.org>
 Standards-Version: 3.8.0
 Homepage: http://search.cpan.org/dist/HTTP-Server-Simple/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libhttp-server-simple-perl/

Modified: trunk/libhttp-server-simple-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-server-simple-perl/debian/copyright?rev=25691&op=diff
==============================================================================
--- trunk/libhttp-server-simple-perl/debian/copyright (original)
+++ trunk/libhttp-server-simple-perl/debian/copyright Fri Sep 26 23:17:02 2008
@@ -1,4 +1,7 @@
-Upstream source location: http://search.cpan.org/dist/HTTP-Server-Simple/
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=228
+Upstream-Name: HTTP-Server-Simple
+Upstream-Maintainer: Alex Vandiver
+Upstream-Source: http://search.cpan.org/dist/HTTP-Server-Simple/
 
 Files: *
 Copyright: © 2004-2008 Jesse Vincent <jesse at bestpractical.com>
@@ -6,16 +9,23 @@
 License: GPL-1+ | Artistic
  This library is free software; you can redistribute it and/or modify
  it under the same terms as Perl itself.
+ .
+ Perl is distributed under your choice of the GNU General Public License or
+ the Artistic License.  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'.
 
 Files: debian/*
-Copyright: © 2005 Chip Salzenberg <chip at debian.org>
-           © 2006 Don Armstrong <don at debian.org>
-           © 2006-2008 Debian Perl Group
+Copyright: © 2005, Chip Salzenberg <chip at debian.org>
+           © 2006, Don Armstrong <don at debian.org>
+           © 2006, Niko Tyni <ntyni at iki.fi>
+	   © 2006-2008, gregor herrmann <gregor+debian at comodo.priv.at>
+	   © 2006-2007, Krzysztof Krzyzaniak (eloy) <eloy at debian.org>
+	   © 2007, Roberto C. Sanchez <roberto at debian.org>
+	   © 2008, Martín Ferrari <tincho at debian.org>
+	   © 2008, Jose Luis Rivas <ghostbar38 at gmail.com>
+	   © 2008, Ansgar Burchardt <ansgar at 43-1.org>
 License: GPL-1+ | Artistic
  It is assumed that all contributors put their work under the same license
  as the module itself.
 
-Perl is distributed under your choice of the GNU General Public License or
-the Artistic License.  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'.

Added: trunk/libhttp-server-simple-perl/debian/libhttp-server-simple-perl.examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-server-simple-perl/debian/libhttp-server-simple-perl.examples?rev=25691&op=file
==============================================================================
--- trunk/libhttp-server-simple-perl/debian/libhttp-server-simple-perl.examples (added)
+++ trunk/libhttp-server-simple-perl/debian/libhttp-server-simple-perl.examples Fri Sep 26 23:17:02 2008
@@ -1,0 +1,1 @@
+ex/sample_server

Modified: trunk/libhttp-server-simple-perl/debian/patches/0002-Pipe-version-parent-waits-for-the-child-to-say-OK.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-server-simple-perl/debian/patches/0002-Pipe-version-parent-waits-for-the-child-to-say-OK.patch?rev=25691&op=diff
==============================================================================
--- trunk/libhttp-server-simple-perl/debian/patches/0002-Pipe-version-parent-waits-for-the-child-to-say-OK.patch (original)
+++ trunk/libhttp-server-simple-perl/debian/patches/0002-Pipe-version-parent-waits-for-the-child-to-say-OK.patch Fri Sep 26 23:17:02 2008
@@ -1,17 +1,17 @@
 From: Niko Tyni <ntyni at iki.fi>
 Subject: [PATCH] Pipe version: parent waits for the child to say "OK" via a pipe.
 
---- a/lib/HTTP/Server/Simple.pm
-+++ b/lib/HTTP/Server/Simple.pm
-@@ -6,6 +6,7 @@ use FileHandle;
+--- libhttp-server-simple-perl.orig/lib/HTTP/Server/Simple.pm
++++ libhttp-server-simple-perl/lib/HTTP/Server/Simple.pm
+@@ -6,6 +6,7 @@
  use Socket;
  use Carp;
  use URI::Escape;
 +use IO::Select;
  
  use vars qw($VERSION $bad_request_doc);
- $VERSION = '0.34';
-@@ -215,15 +216,36 @@ Run the server in the background. return
+ $VERSION = '0.35';
+@@ -215,15 +216,36 @@
  
  sub background {
      my $self  = shift;
@@ -46,10 +46,10 @@
              or die "Can't start a new session: $!";
      }
 +    $self->{_parent_handle} = $writefh;
-     $self->run();
+     $self->run(@_);
  }
  
-@@ -270,6 +292,7 @@ sub run {
+@@ -270,6 +292,7 @@
  	$self->after_setup_listener();
          *{"$pkg\::run"} = $self->_default_run;
      }
@@ -57,7 +57,7 @@
  
      local $SIG{HUP} = sub { $SERVER_SHOULD_RUN = 0; };
  
-@@ -407,6 +430,15 @@ sub _process_request {
+@@ -407,6 +430,15 @@
          }
  }
  

Modified: trunk/libhttp-server-simple-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-server-simple-perl/debian/rules?rev=25691&op=diff
==============================================================================
--- trunk/libhttp-server-simple-perl/debian/rules (original)
+++ trunk/libhttp-server-simple-perl/debian/rules Fri Sep 26 23:17:02 2008
@@ -1,58 +1,25 @@
 #!/usr/bin/make -f
+
 include /usr/share/quilt/quilt.make
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PACKAGE = $(shell dh_listpackages)
-PERL   ?= /usr/bin/perl
-TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
 build-stamp: $(QUILT_STAMPFN)
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
+	dh build
 	touch $@
 
 clean: unpatch
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) distclean
+	dh $@
 
 install: install-stamp
 install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || \
-		rmdir --ignore-fail-on-non-empty --parents --verbose \
-		$(TMP)/usr/lib/perl5
+	dh install
 	touch $@
 
 binary-arch:
-# We have nothing to do here for an architecture-independent package
 
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installexamples ex/*
-	dh_installdocs
-	dh_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-indep: install
+	dh $@
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+binary: binary-arch binary-indep
+
+.PHONY: binary binary-arch binary-indep install clean build

Modified: trunk/libhttp-server-simple-perl/lib/HTTP/Server/Simple.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-server-simple-perl/lib/HTTP/Server/Simple.pm?rev=25691&op=diff
==============================================================================
--- trunk/libhttp-server-simple-perl/lib/HTTP/Server/Simple.pm (original)
+++ trunk/libhttp-server-simple-perl/lib/HTTP/Server/Simple.pm Fri Sep 26 23:17:02 2008
@@ -8,7 +8,7 @@
 use URI::Escape;
 
 use vars qw($VERSION $bad_request_doc);
-$VERSION = '0.34';
+$VERSION = '0.35';
 
 
 =head1 NAME
@@ -224,7 +224,7 @@
         POSIX::setsid()
             or die "Can't start a new session: $!";
     }
-    $self->run();
+    $self->run(@_);
 }
 
 =head2 run
@@ -273,7 +273,7 @@
 
     local $SIG{HUP} = sub { $SERVER_SHOULD_RUN = 0; };
 
-    $pkg->run( port => $self->port );
+    $pkg->run( port => $self->port, @_ );
 }
 
 =head2 net_server




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