[apache2] 02/02: Fix a2enmod to run on perl 5.14 to simplify backports

Stefan Fritsch sf at moszumanska.debian.org
Sat May 28 09:57:27 UTC 2016


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

sf pushed a commit to branch master
in repository apache2.

commit 6aaca09e1759c4072d301dbd5e91a20eb0dfb112
Author: Stefan Fritsch <sf at sfritsch.de>
Date:   Sat May 28 11:51:44 2016 +0200

    Fix a2enmod to run on perl 5.14 to simplify backports
---
 debian/a2enmod   | 4 ++--
 debian/changelog | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/a2enmod b/debian/a2enmod
index 196b22d..350a285 100755
--- a/debian/a2enmod
+++ b/debian/a2enmod
@@ -11,8 +11,8 @@ use File::Spec;
 use File::Basename;
 use File::Path;
 use Getopt::Long;
-use feature ':5.16';
-no warnings "experimental::smartmatch";
+use 5.014;
+no if $] >= 5.017011, warnings => 'experimental::smartmatch';
 
 my $quiet;
 my $force;
diff --git a/debian/changelog b/debian/changelog
index 19c9a11..a023ac7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ apache2 (2.4.20-2) UNRELEASED; urgency=medium
     Stangner for the patch. Closes: #822144
   * Remove links to manpages.debian.org in default index.html to avoid
     broken robots doing a DoS on the site. Closes: #821313
+  * Fix a2enmod to run on perl 5.14 to simplify backports. Closes: #821956
 
  -- Stefan Fritsch <sf at debian.org>  Sat, 28 May 2016 10:58:26 +0200
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-apache/apache2.git



More information about the Pkg-apache-commits mailing list