[libpoe-component-server-simplehttp-perl] 01/04: Replace override in debian/rules with a patch.

gregor herrmann gregoa at debian.org
Thu Aug 18 18:56:19 UTC 2016


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

gregoa pushed a commit to branch master
in repository libpoe-component-server-simplehttp-perl.

commit ed5bdb560e2046c37cd7b86fdadf6a9343cc6b75
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Aug 18 20:53:32 2016 +0200

    Replace override in debian/rules with a patch.
    
    Closes: #834349
---
 debian/patches/makefile.pl-defaults-yes.patch | 22 ++++++++++++++++++++++
 debian/patches/series                         |  1 +
 debian/rules                                  |  5 -----
 3 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/debian/patches/makefile.pl-defaults-yes.patch b/debian/patches/makefile.pl-defaults-yes.patch
new file mode 100644
index 0000000..f948790
--- /dev/null
+++ b/debian/patches/makefile.pl-defaults-yes.patch
@@ -0,0 +1,22 @@
+Description: change default in Makefile.PL prompts to yes
+Origin: vendor
+Forwarded: not-needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2016-08-18
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -27,11 +27,11 @@
+ build_requires	 'POE::Filter::HTTP::Parser'	=> 1.06;
+ build_requires	 'Test::POE::Client::TCP'	=> 0.10;
+ 
+-my $value = prompt( 'Do you want to test streaming ( requires POE::Component::Client::HTTP ) [y/N]?', 'N' );
++my $value = prompt( 'Do you want to test streaming ( requires POE::Component::Client::HTTP ) [y/N]?', 'Y' );
+ build_requires   'POE::Component::Client::HTTP' => 0.82 if $value =~ /^Y$/i;
+ 
+ # Ask users if they want SSL support
+-$value = prompt( 'Do you want SSL support ( requires POE::Component::SSLify ) [y/N]?', 'N' );
++$value = prompt( 'Do you want SSL support ( requires POE::Component::SSLify ) [y/N]?', 'Y' );
+ 
+ # Add to the prereqs PoCo::SSLify?
+ requires 'POE::Component::SSLify' => '0.04' if $value =~ /^Y$/i;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..125138b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+makefile.pl-defaults-yes.patch
diff --git a/debian/rules b/debian/rules
index 827fb20..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,4 @@
 #!/usr/bin/make -f
 
-PERL ?= /usr/bin/perl
-
 %:
 	dh $@
-
-override_dh_auto_configure:
-	yes | $(PERL) Makefile.PL INSTALLDIRS=vendor

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libpoe-component-server-simplehttp-perl.git



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