Your message dated Sun, 08 May 2016 16:42:47 +0000
with message-id <[email protected]>
and subject line Bug#819338: fixed in php-net-imap 1:1.1.3-2
has caused the Debian Bug report #819338,
regarding php-net-imap: Please update for php5-style class constructors
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
819338: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819338
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: php-net-imap
Version: 1:1.1.3-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu xenial ubuntu-patch
Hi Dario,
The php-net-imap package uses an old-style, PHP4 class constructor. This
results in a deprecation warning, which among other things causes the
php-horde-kolab-storage package to fail its autopkgtests.
Attached is a patch that updates php-net-imap to the current supported style
of constructor ('__construct()').
Thanks for considering the patch.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
[email protected] [email protected]
diff -Nru php-net-imap-1.1.3/debian/patches/php7-constructors.patch php-net-imap-1.1.3/debian/patches/php7-constructors.patch
--- php-net-imap-1.1.3/debian/patches/php7-constructors.patch 1969-12-31 16:00:00.000000000 -0800
+++ php-net-imap-1.1.3/debian/patches/php7-constructors.patch 2016-03-26 17:15:26.000000000 -0700
@@ -0,0 +1,17 @@
+Description: Support php7-style constructors
+ Constructors with the same name as the class are deprecated in php7.
+ Update to the new style __construct() for compatibility.
+Author: Steve Langasek <[email protected]>
+Index: php-net-imap-1.1.3/Net_IMAP-1.1.3/Net/IMAP.php
+===================================================================
+--- php-net-imap-1.1.3.orig/Net_IMAP-1.1.3/Net/IMAP.php
++++ php-net-imap-1.1.3/Net_IMAP-1.1.3/Net/IMAP.php
+@@ -43,7 +43,7 @@
+ * @param bool $enableSTARTTLS Enable STARTTLS support
+ * @param string $encoding Character encoding
+ */
+- function Net_IMAP($host = 'localhost',
++ function __construct($host = 'localhost',
+ $port = 143,
+ $enableSTARTTLS = true,
+ $encoding = 'ISO-8859-1')
diff -Nru php-net-imap-1.1.3/debian/patches/series php-net-imap-1.1.3/debian/patches/series
--- php-net-imap-1.1.3/debian/patches/series 2014-04-06 06:23:31.000000000 -0700
+++ php-net-imap-1.1.3/debian/patches/series 2016-03-26 17:13:18.000000000 -0700
@@ -0,0 +1 @@
+php7-constructors.patch
--- End Message ---
--- Begin Message ---
Source: php-net-imap
Source-Version: 1:1.1.3-2
We believe that the bug you reported is fixed in the latest version of
php-net-imap, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mathieu Parent <[email protected]> (supplier of updated php-net-imap package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 28 Apr 2016 16:21:34 +0200
Source: php-net-imap
Binary: php-net-imap
Architecture: source all
Version: 1:1.1.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian PHP PEAR Maintainers <[email protected]>
Changed-By: Mathieu Parent <[email protected]>
Description:
php-net-imap - ${phppear:summary}
Closes: 819338 821594
Changes:
php-net-imap (1:1.1.3-2) unstable; urgency=medium
.
* Team upload
* Rebuilt for PHP 7 (Closes: #821594)
* Use PHP5-style constructor (Closes: #819338)
* Package moved to Debian PHP PEAR Maintainers team
* Updated Vcs-* to new home, and secure URIs
* Standards-Version: 3.9.8: no change
* Remove outdated README.Debian
* Remove unneeded debian/dirs
* Use ${phppear:summary} and ${phppear:description} substvars
* Fixed d/copyright
* Remove references to LICENSE
Checksums-Sha1:
e28ba215996809044c1f854bce42e6b27959a371 1957 php-net-imap_1.1.3-2.dsc
3ed936e8114d82f70d956da6006a31d634d1fe90 4544
php-net-imap_1.1.3-2.debian.tar.xz
f2e63435a6854a87d02ba5f8a7b7c4b45aa8b552 45068 php-net-imap_1.1.3-2_all.deb
Checksums-Sha256:
45af7849bd9215e333989e5bf0549d04bdadf38d8f3651c112cf348e34bb72c9 1957
php-net-imap_1.1.3-2.dsc
5a6ae1fbe0a7dc95fa3239d1e1e0e86448aacd97756bcd32fe6bb971ef818638 4544
php-net-imap_1.1.3-2.debian.tar.xz
f2197eb6772e8e5bd777adf143b77c5a758ac0b0fa9ae879070a615e73446e3c 45068
php-net-imap_1.1.3-2_all.deb
Files:
2a866a8bac60d1541a015e2cc8dabb7a 1957 php optional php-net-imap_1.1.3-2.dsc
4d6cc990c6d3490bc5c4b929a721ad0d 4544 php optional
php-net-imap_1.1.3-2.debian.tar.xz
1976591515ba56187e771d209c22ca82 45068 php optional
php-net-imap_1.1.3-2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJXIimSAAoJEK4DmARmaB+lXsgQAJBw5O8Gqo3mUvGV+qq+HZ+g
H6wuRbDmB12Iy6L46o9srCX0LB5NZ1TTr9tSu+7L5r3QK6CxxzbYxX+coEMY2JCe
Cva0yzsf2/ly2qppFwZha3wIb2BygHTITkR9jASr7l4FUxBx6ghsSnhQoXYPRNEM
I7TYINeAquUFVTLN4B2Y5SePssHPyf7VLcibY0p3ySEzbRGYNqtK+7jDZH388WO0
9/JRcXU1BjYxm7+PSWJ0nVdcAnnrOp1/1H5FPUO4rwdtGJYcjJlA4DqyTwWc3Qb/
MjyWua8hgQoRbdUhWrOsRJ1QGK9wAWe8YaTcc29MCLWEoDmGymvjffysKWLeD04X
4BpnA4vJBu2dRo15VotlCrqjHRd/BHErWMtnXxtYn9Q9A1QciAGyJvUUjT7WmZxx
aZ99ybIGAZLbFYEnpvUsDZbAG+O/NnGDgQ3ysMYFA3pj7iqHCuu04/a/LpgA2fr2
lzz6mpslRo/8IrCl1KlF8DB1Nqlql034h6FUTjOhEF/BDu/74cltZds382dVnKL6
33KMe4dKvZzMu6NdNhJtlsYdlkvz0m9q40bHv6lwt2hJv1LsOFBW0hJu7QzjGVBN
yEtfZfExhHo7uqsgN0OcQIvrREq+L+hmrFGIIFYn0+4y8v9CQvoaWcjiSH//3ImS
AlX1uLOqmPCRzcuUdU4J
=rCw5
-----END PGP SIGNATURE-----
--- End Message ---