summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWebDawg2020-07-02 12:51:19 -0400
committerWebDawg2020-07-02 12:51:19 -0400
commitf81ddbc33f43c1ff3aace0b1cc9095c05f2e87a4 (patch)
tree32429000827bf57a13d877a1f2ede5756a3b764f
parente8c858fd0235f837a1d72c68059f36a37a19ceac (diff)
downloadaur-f81ddbc33f43c1ff3aace0b1cc9095c05f2e87a4.tar.gz
opps i patched it again 3
-rw-r--r--.SRCINFO2
-rw-r--r--package.patch47
2 files changed, 1 insertions, 48 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0a14f94db6d4..47f954dbae4a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = pnp4nagios
pkgdesc = Nagios addon to create graphs from performance data
pkgver = 0.6.26
- pkgrel = 2
+ pkgrel = 3
url = http://pnp4nagios.org
arch = i686
arch = x86_64
diff --git a/package.patch b/package.patch
deleted file mode 100644
index 8dd0918a6d2f..000000000000
--- a/package.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-diff --unified --recursive --text pnp4nagios-0.6.26/lib/kohana/system/libraries/Input.php pnp4nagios-0.6.26.good/lib/kohana/system/libraries/Input.php
---- pnp4nagios-0.6.26/lib/kohana/system/libraries/Input.php 2020-07-02 11:33:24.255879852 -0400
-+++ pnp4nagios-0.6.26.good/lib/kohana/system/libraries/Input.php 2020-07-02 11:29:00.428092290 -0400
-@@ -54,20 +54,19 @@
- if (Input::$instance === NULL)
- {
- // magic_quotes_runtime is enabled
-- if (version_compare(PHP_VERSION, '5.3.0', '<')) {
-- if (get_magic_quotes_runtime())
-- {
-- set_magic_quotes_runtime(0);
-- Kohana::log('debug', 'Disable magic_quotes_runtime! It is evil and deprecated: http://php.net/magic_quotes');
-- }
-+ if (get_magic_quotes_runtime())
-+ {
-+ set_magic_quotes_runtime(0);
-+ Kohana::log('debug', 'Disable magic_quotes_runtime! It is evil and deprecated: http://php.net/magic_quotes');
-+ }
-
-- // magic_quotes_gpc is enabled
-- if (get_magic_quotes_gpc())
-- {
-- $this->magic_quotes_gpc = TRUE;
-- Kohana::log('debug', 'Disable magic_quotes_gpc! It is evil and deprecated: http://php.net/magic_quotes');
-- }
-+ // magic_quotes_gpc is enabled
-+ if (get_magic_quotes_gpc())
-+ {
-+ $this->magic_quotes_gpc = TRUE;
-+ Kohana::log('debug', 'Disable magic_quotes_gpc! It is evil and deprecated: http://php.net/magic_quotes');
- }
-+
- // register_globals is enabled
- if (ini_get('register_globals'))
- {
-diff --unified --recursive --text pnp4nagios-0.6.26/share/pnp/application/models/data.php pnp4nagios-0.6.26.good/share/pnp/application/models/data.php
---- pnp4nagios-0.6.26/share/pnp/application/models/data.php 2020-07-02 11:35:55.220333338 -0400
-+++ pnp4nagios-0.6.26.good/share/pnp/application/models/data.php 2020-07-02 11:29:00.404758268 -0400
-@@ -976,7 +976,7 @@
- */
- public function getFirstPage(){
- $pages = $this->getPages();
-- if(is_array($pages) && sizeof($pages) > 0 ){
-+ if(sizeof($pages) > 0 ){
- return urldecode($pages[0]);
- }else{
- return FALSE;