Your message dated Sat, 15 Apr 2017 10:50:10 +0000
with message-id <e1czlho-000eze...@fasolo.debian.org>
and subject line Bug#839789: fixed in loganalyzer 4.1.5+dfsg-1
has caused the Debian Bug report #839789,
regarding loganalyzer: update for syntax removals in PHP7.0
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 ow...@bugs.debian.org
immediately.)
--
839789: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839789
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: loganalyzer
Version: 3.6.6+dfsg-3
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu yakkety ubuntu-patch
Dear Maintainer,
In Ubuntu, the attached patch was applied to achieve the following:
* debian/patches/update_for_php7_removals.patch: PHP7.0 has removed
same-named constructors and the \e modifier to preg_replace. Closes
LP: #1575543.
Thanks for considering the patch.
*** /tmp/tmpms9N8N/loganalyzer_3.6.6+dfsg-3ubuntu1.debdiff
diff -Nru loganalyzer-3.6.6+dfsg/debian/patches/series
loganalyzer-3.6.6+dfsg/debian/patches/series
--- loganalyzer-3.6.6+dfsg/debian/patches/series 2016-05-22
01:05:53.000000000 -0700
+++ loganalyzer-3.6.6+dfsg/debian/patches/series 2016-10-04
15:13:22.000000000 -0700
@@ -1 +1,2 @@
01-remove-tracking-image.patch
+update_for_php7_removals.patch
diff -Nru loganalyzer-3.6.6+dfsg/debian/patches/update_for_php7_removals.patch
loganalyzer-3.6.6+dfsg/debian/patches/update_for_php7_removals.patch
--- loganalyzer-3.6.6+dfsg/debian/patches/update_for_php7_removals.patch
1969-12-31 16:00:00.000000000 -0800
+++ loganalyzer-3.6.6+dfsg/debian/patches/update_for_php7_removals.patch
2016-10-04 15:13:31.000000000 -0700
@@ -0,0 +1,68 @@
+Description: PHP7.0 has removed same-named constructors and the \e modifier to
preg_replace
+Author: Nishanth Aravamudan <nish.aravamu...@canonical.com>
+Bug: https://github.com/rsyslog/loganalyzer/issues/14
+Bug-Ubuntu: https://launchpad.net/bugs/1575543
+
+--- a/src/classes/class_template.php
++++ b/src/classes/class_template.php
+@@ -59,7 +59,7 @@
+ var $extension = '';
+ var $template, $vars, $page;
+
+- function Template ($fname = '') {
++ function __construct ($fname = '') {
+ if ($fname)
+ $this->filename = $fname;
+ }
+@@ -200,7 +200,7 @@
+ $template =
str_replace('{'.$k.'}', "$v", $template);
+
+ // Replace variables with
options, use Callback function!
+- $template = preg_replace(
'/{'.$k.':(.*?):(.*?)}/ie', 'InsertTemplateVariable("$v", "\\1", "\\2")',
$template );
++ $template =
preg_replace_callback( '/{'.$k.':(.*?):(.*?)}/i', function ($m) { return
InsertTemplateVariable("$v", "$m[1]", "$m[2]"); }, $template );
+ }
+ }
+ }
+@@ -334,4 +334,4 @@
+ return $szResult;
+ }
+
+-?>
+\ No newline at end of file
++?>
+--- a/src/classes/logstreamdisk.class.php
++++ b/src/classes/logstreamdisk.class.php
+@@ -63,7 +63,7 @@
+ private $_lastPageUID = -1;
+
+ // Constructor
+- public function LogStreamDisk($streamConfigObj) {
++ public function __construct($streamConfigObj) {
+ $this->_logStreamConfigObj = $streamConfigObj;
+ }
+
+@@ -1086,4 +1086,4 @@
+ $this->_p_buffer = -1;
+ }
+ }
+-?>
+\ No newline at end of file
++?>
+--- a/src/classes/logstreamlineparsersyslog.class.php
++++ b/src/classes/logstreamlineparsersyslog.class.php
+@@ -52,7 +52,7 @@
+ // protected $_arrProperties = null;
+
+ // Constructor
+- public function LogStreamLineParsersyslog() {
++ public function __construct() {
+ return; // Nothing
+ }
+
+@@ -148,4 +148,4 @@
+
+ }
+
+-?>
+\ No newline at end of file
++?>
-- System Information:
Debian Release: stretch/sid
APT prefers yakkety
APT policy: (500, 'yakkety'), (400, 'yakkety-proposed')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.8.0-17-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--
Nishanth Aravamudan
Ubuntu Server
Canonical Ltd
--- End Message ---
--- Begin Message ---
Source: loganalyzer
Source-Version: 4.1.5+dfsg-1
We believe that the bug you reported is fixed in the latest version of
loganalyzer, 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 839...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Daniel Pocock <dan...@pocock.pro> (supplier of updated loganalyzer 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 28 Feb 2017 09:13:02 +0100
Source: loganalyzer
Binary: loganalyzer
Architecture: source all
Version: 4.1.5+dfsg-1
Distribution: unstable
Urgency: high
Maintainer: Debian Monitoring Maintainers
<pkg-monitoring-maintain...@lists.alioth.debian.org>
Changed-By: Daniel Pocock <dan...@pocock.pro>
Description:
loganalyzer - web interface to syslog and event data
Closes: 839789
Changes:
loganalyzer (4.1.5+dfsg-1) unstable; urgency=high
.
* Update for PHP 7.0 support (Closes: #839789)
Checksums-Sha1:
7e5ef07aee1d6d4304a034bd5df253a9875d2c48 2006 loganalyzer_4.1.5+dfsg-1.dsc
52bc56ed3d5c17deffb73b7f42a162c684c998e4 2818936
loganalyzer_4.1.5+dfsg.orig.tar.gz
ae06ecd4719610490e612c39f801cfd9b1cb9382 13284
loganalyzer_4.1.5+dfsg-1.debian.tar.xz
a1deae94059b37174ea87317dd5d7a38816ab975 1593224
loganalyzer_4.1.5+dfsg-1_all.deb
6ac92285d6705dde2a43cff81d02d1c35e99ca89 4892
loganalyzer_4.1.5+dfsg-1_amd64.buildinfo
Checksums-Sha256:
63c15ca02a175a7db41412174544f2e1a71c0003fddeabb9accfbd2cee8756c0 2006
loganalyzer_4.1.5+dfsg-1.dsc
150fd487aefb486e741ebae5cf5ea49f980fe822ce4c851a704abd6d16494a6a 2818936
loganalyzer_4.1.5+dfsg.orig.tar.gz
df7dda814548f12bcb2254fa23f74244db72bf87d2d150ee2cbb6edfe49bd575 13284
loganalyzer_4.1.5+dfsg-1.debian.tar.xz
05ea2a3b719bbeb52cefda9bf2dc3093816f65888e3a343bc5eee50d848fa5aa 1593224
loganalyzer_4.1.5+dfsg-1_all.deb
6309e3be09091acf9d728f07aeda61cd68eaafc304efaa6a7b575f8274f05276 4892
loganalyzer_4.1.5+dfsg-1_amd64.buildinfo
Files:
9e053ac8244cf59b71918d7b558715b5 2006 net optional loganalyzer_4.1.5+dfsg-1.dsc
8b427f4d7856bc338e866d5b4b219c8f 2818936 net optional
loganalyzer_4.1.5+dfsg.orig.tar.gz
af0ca38a56ecbfcc6acc07f679d34c7d 13284 net optional
loganalyzer_4.1.5+dfsg-1.debian.tar.xz
c7978e5eb351bc31921e9d370d3cab28 1593224 net optional
loganalyzer_4.1.5+dfsg-1_all.deb
23aa340997fe0c54dbad67156ef97702 4892 net optional
loganalyzer_4.1.5+dfsg-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJY8fa/AAoJEGxlgOd711bE7P4QALCyzpLwpjkZHjWU/Vk54jwx
5aSuHXqXpUGbKsBzipRnMJL9NptY3oqfH0Eyd/3nWdAnNH3awgGwv6kRxflH7E9r
0MuXQ2TlxLfYluGgq3zrk40j7YuKilns/EQX2tin9rYCiq7du3GSW+WSAqjqj+OR
ycoI+z0Rumu8AY/wyh5nrMj5fRkxfI6Vhlrdv/tA/OaIyoVNe+9gx0CSrEAqlAfD
M37pLKA7du5AXc9rU0vy2p41ls/A66YHua49o85daZnVSx3mL6RINL4DfqXOpYyp
uwTS1EUG2CaaZd52C+iyTOJQdLhDofBhncSY4fvOTgdI/TZ8+/LC5QdLoVpIFQzl
p1l/aCYR4bA5ktfKvtjnUGpFLmErZEFnxklKNsARUyJYF8Ld/FrOVPC+QM3cgkmM
RnnISm0Ij43kxtQ1b08ypdaKf8zmfusUk06heDyd01WqVu73NJbC+W03ZtdgZKG4
ZsG5caMMGOWqMD4r9EnGSsZ5Afk6Eym9omTT3ymWib8fMJwKcIjkaj88mQjNk7UC
rr2iZFvm+bL82Y7A4gj9A92j2sxFsQwSarg+s3F2RRw3pcx2CPKWHaBR4y76g65S
4TsA2isq9rlBp1hYY5OslGJ+nj8m1mzxtZFOzimyi2HZw5V5w1t6o1DZyuK5sQxI
VNBdljJyIgwwP2EcERFr
=5V8L
-----END PGP SIGNATURE-----
--- End Message ---