[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#823497: /usr/sbin/a2enmod: a2enmod: downgrade perl 5.16 requirements to allow Ubuntu backports



Package: apache2
Version: 2.4.10-10+deb8u4
Severity: wishlist
File: /usr/sbin/a2enmod
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

could you please apply attached patch to allow easier Ubuntu precise backports?

Cheers,
Ondrej

- -- Package-specific info:

- -- System Information:
Debian Release: 8.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-35-generic (SMP w/24 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages apache2 depends on:
ii  apache2-bin    2.4.10-10+deb8u4
ii  apache2-data   2.4.10-10+deb8u4
ii  apache2-utils  2.4.10-10+deb8u4
ii  dpkg           1.17.27
ii  lsb-base       4.1+Debian13+nmu1
ii  mime-support   3.58
ii  perl           5.20.2-3+deb8u4
ii  procps         2:3.3.9-9

Versions of packages apache2 recommends:
ii  ssl-cert  1.0.35

Versions of packages apache2 suggests:
pn  apache2-doc                                      <none>
pn  apache2-suexec-pristine | apache2-suexec-custom  <none>
pn  www-browser                                      <none>

Versions of packages apache2-bin depends on:
ii  libapr1                  1.5.1-3
ii  libaprutil1              1.5.4-1
ii  libaprutil1-dbd-sqlite3  1.5.4-1
ii  libaprutil1-ldap         1.5.4-1
ii  libc6                    2.19-18+deb8u4
ii  libldap-2.4-2            2.4.40+dfsg-1+deb8u2
ii  liblua5.1-0              5.1.5-7.1
ii  libpcre3                 2:8.35-3.3+deb8u4
ii  libssl1.0.0              1.0.1k-3+deb8u5
ii  libxml2                  2.9.1+dfsg1-5+deb8u1
ii  perl                     5.20.2-3+deb8u4
ii  zlib1g                   1:1.2.8.dfsg-2+b1

Versions of packages apache2-bin suggests:
pn  apache2-doc                                      <none>
pn  apache2-suexec-pristine | apache2-suexec-custom  <none>
pn  www-browser                                      <none>

Versions of packages apache2 is related to:
ii  apache2      2.4.10-10+deb8u4
ii  apache2-bin  2.4.10-10+deb8u4

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJXKy9FXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzMEI5MzNEODBGQ0UzRDk4MUEyRDM4RkIw
Qzk5QjcwRUY0RkNCQjA3AAoJEAyZtw70/LsHvUcQAOCv54Qi/qBR4H9qUkCmBpz3
JRdcimRSjNxoTc7r/0QDs57tJTH1pG6/ZTQhlqbjQQlX5LuPyN6bWpiaDArO3+A3
wL8AIx9s9Eq76cMX1lu3H1gewjYM1jbLcPgW8CtbP/HDktx1bpZhw+N0hvpM0jZF
HDKq7f5z7p6AR60Pe+i2ibIY1/opvnZ+1Zj3t0QMc9WiRfDpzZUk/X+cIdQ8rma6
s+JAKZy55+9GxwIijg96LnYV0UeNpc5H04hUk0JixKEmcmZCInqnl6SSdt/mMnxm
o70jRF8dtzEkc0T/t0wJsHGBK/zLyY3vDkoCW8Iarv0GFH5EEav/G0i483RmxkaX
OoWAg8Co62ugH/5HuyZYrUVthKhoV9bmSm5Fli7nM365I7NffISZ9X09Xh+gcCM2
NCLjgisZPl9BcJzQGktqj4Y/ockTaSyHziG1ET4f8IK+l5Tpbi7XJ1/4xv1qu3nZ
DEn/BC/K1zK6jXnfGqSWTnyqOYBvgvH2w15cFfRTYp1a0b1qT2ZhGe6Az6nU2Ck6
1c6EjhGqnxN+blya7odPesddz8IgXqD2UTwQHA7UGx0bCXZbWQYRM39ExAnskqLq
M8rkCePjlnB0ZP5LtlnE2FLGymBo8TJS8WmqZWoWKobTnVM6Bgd55YRZEaOM6Z/x
1Xa8XvjzyLAp/L6ckBQi
=Iu+9
-----END PGP SIGNATURE-----
>From 119ca64c1e135e06ceb17a2033ec1243aea315e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= <ondrej@sury.org>
Date: Wed, 20 Apr 2016 16:09:30 +0200
Subject: [PATCH] Don't require perl 5.16 just for 'no warnings
 experimental::smartmatch;'

---
 debian/a2enmod | 4 ++--
 1 file changed, 2 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;
-- 
2.1.4


Reply to: