summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3ea4bad)
raw | patch | inline | side by side (parent: 3ea4bad)
author | tolimar <tolimar@98d490a6-b407-0410-aaaa-fdee166ba3f5> | |
Mon, 26 Sep 2011 13:39:11 +0000 (13:39 +0000) | ||
committer | tolimar <tolimar@98d490a6-b407-0410-aaaa-fdee166ba3f5> | |
Mon, 26 Sep 2011 13:39:11 +0000 (13:39 +0000) |
git-svn-id: svn://svn.debian.org/svn/pkg-nagios/nagvis/trunk@1969 98d490a6-b407-0410-aaaa-fdee166ba3f5
debian/changelog | patch | blob | history | |
debian/patches/00list | patch | blob | history | |
debian/patches/php5.3-deprecated-ereg.dpatch | [deleted file] | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index a58a85671e26f3fe919573d4ff8805687c58a569..2c298e4ea4d5af4ee469792c49c2ba53348c3eca 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
* Change Package dependencies: Drop all ndo and mysql related stuff, we want to use mk livestatus
* Update debian/copyright
* Rework post{inst,rm} to not configure database
+ * patches/php5.3-deprecated-ereg.dpatch: removed; applied upstream
- -- Alexander Reichle-Schmehl <tolimar@debian.org> Mon, 26 Sep 2011 15:23:50 +0200
+ -- Alexander Reichle-Schmehl <tolimar@debian.org> Mon, 26 Sep 2011 15:38:30 +0200
nagvis (1:1.4.6-2) unstable; urgency=medium
diff --git a/debian/patches/00list b/debian/patches/00list
index ca25319c517f770e426b2df826d66058ddfd9477..509e18f52fbfddab367f2e9d58fc35ecd632f69e 100644 (file)
--- a/debian/patches/00list
+++ b/debian/patches/00list
config
-php5.3-deprecated-ereg
visibility_magic-set-method
fix-get_class-object
diff --git a/debian/patches/php5.3-deprecated-ereg.dpatch b/debian/patches/php5.3-deprecated-ereg.dpatch
+++ /dev/null
@@ -1,50 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## php5.3-deprecated-ereg.dpatch by Hendrik Frenzel <hfrenzel@scunc.net>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: changes deprecated ereg() to preg_match() for use with php >= 5.3
-
-@DPATCH@
-diff -urNad nagvis-1.4.6~/nagvis/includes/classes/GlobalMainCfg.php nagvis-1.4.6/nagvis/includes/classes/GlobalMainCfg.php
---- nagvis-1.4.6~/nagvis/includes/classes/GlobalMainCfg.php 2010-02-04 21:51:13.000000000 +0100
-+++ nagvis-1.4.6/nagvis/includes/classes/GlobalMainCfg.php 2010-03-01 18:06:16.000000000 +0100
-@@ -791,15 +791,15 @@
-
- // loop given elements for checking: => all given attributes valid
- foreach($vars AS $key => $val) {
-- if(!ereg('^comment_',$key)) {
-- if(ereg('^backend_', $type)) {
-+ if(!preg_match('/^comment_/',$key)) {
-+ if(preg_match('/^backend_/', $type)) {
- if(isset($this->validConfig['backend']['options'][$this->getValue($type,'backendtype')])
- && is_array($this->validConfig['backend']['options'][$this->getValue($type,'backendtype')])) {
- $arrValidConfig = array_merge($this->validConfig['backend'], $this->validConfig['backend']['options'][$this->getValue($type,'backendtype')]);
- } else {
- $arrValidConfig = $this->validConfig['backend'];
- }
-- } elseif(ereg('^rotation_', $type)) {
-+ } elseif(preg_match('/^rotation_/', $type)) {
- $arrValidConfig = $this->validConfig['rotation'];
- } else {
- $arrValidConfig = $this->validConfig[$type];
-@@ -821,7 +821,7 @@
- return FALSE;
- } else {
- // Workaround to get the configured string back
-- if(ereg('^rotation_', $type) && $key == 'maps') {
-+ if(preg_match('/^rotation_/', $type) && $key == 'maps') {
- foreach($val AS $intId => $arrStep) {
- if(isset($arrStep['label']) && $arrStep['label'] != '') {
- $label = $arrStep['label'].':';
-diff -urNad nagvis-1.4.6~/wui/form_handler.php nagvis-1.4.6/wui/form_handler.php
---- nagvis-1.4.6~/wui/form_handler.php 2010-02-04 21:51:13.000000000 +0100
-+++ nagvis-1.4.6/wui/form_handler.php 2010-03-01 18:06:39.000000000 +0100
-@@ -252,7 +252,7 @@
- // is status for this map there?
- $file = file($CORE->MAINCFG->getValue('paths', 'mapcfg').'autobackup.status');
- foreach($file AS $key => $val) {
-- if(ereg("^".$mapname."=",$val)) {
-+ if(preg_match("/^".$mapname."=/",$val)) {
- // $arr[1] is value
- $arr = explode('=',$val);
-