[php-maint] Bug#855467: php7.0-snmp generates many warnings without snmp installed.
Nishanth Aravamudan
nish.aravamudan at canonical.com
Tue Feb 21 19:30:43 UTC 2017
Package: php7.0
Followup-For: Bug #855467
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu zesty ubuntu-patch
Dear Maintainer,
I believe the following patch fixes snmp (and in theory any other
affected extensions, but there are none) to include its recommends.
Note, I think the resulting d/control file for most packages will have
an empty Recommends, but that seems ok and is dropped at build-time.
* d/php-module.control.in: add Recommends to extension substitution.
Closes: #855467.
Thanks for considering the patch.
*** /tmp/tmpiZK86k/php7.0_7.0.16-3.debdiff
diff -Nru php7.0-7.0.16/debian/php-module.control.in php7.0-7.0.16/debian/php-module.control.in
--- php7.0-7.0.16/debian/php-module.control.in 2017-02-18 04:48:34.000000000 -0800
+++ php7.0-7.0.16/debian/php-module.control.in 2017-02-21 11:20:55.000000000 -0800
@@ -13,6 +13,7 @@
Breaks: ${php- at ext@:Breaks}
Conflicts: ${php- at ext@:Conflicts}
Provides: ${php- at ext@:Provides}
+Recommends: ${php- at ext@:Recommends}
Description: @description@ module for PHP
This package provides the @description@ module(s) for PHP.
.
-- System Information:
Debian Release: stretch/sid
APT prefers zesty
APT policy: (500, 'zesty')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-15-generic (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--
Nishanth Aravamudan
Ubuntu Server
Canonical Ltd
More information about the pkg-php-maint
mailing list