aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nagios/files/patch-include__locations.h.in
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-01-14 22:23:36 +0800
committerMathieu Arnold <mat@FreeBSD.org>2014-01-14 22:23:36 +0800
commit121dea5a9ccd255531d4994462c8dee6fa48ec94 (patch)
tree0c8a66e69356492d3cd3e1bfa308b3fa2605dc8e /net-mgmt/nagios/files/patch-include__locations.h.in
parent115233d891650ac67604c5f0727122adf00cf1cc (diff)
downloadfreebsd-ports-gnome-121dea5a9ccd255531d4994462c8dee6fa48ec94.tar.gz
freebsd-ports-gnome-121dea5a9ccd255531d4994462c8dee6fa48ec94.tar.zst
freebsd-ports-gnome-121dea5a9ccd255531d4994462c8dee6fa48ec94.zip
* Add a patch from upstream fixing a cgi vulnerability[1]
* Cleanup COMMENT * Rename patches to follow make makepatch naming * Incorporate a sed into already patched files. Poked by: ohauer [1] Security: CVE-2013-7108 CVE-2013-7205
Diffstat (limited to 'net-mgmt/nagios/files/patch-include__locations.h.in')
-rw-r--r--net-mgmt/nagios/files/patch-include__locations.h.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/nagios/files/patch-include__locations.h.in b/net-mgmt/nagios/files/patch-include__locations.h.in
new file mode 100644
index 000000000000..048e909ded51
--- /dev/null
+++ b/net-mgmt/nagios/files/patch-include__locations.h.in
@@ -0,0 +1,11 @@
+--- ./include/locations.h.in.orig 2013-08-30 19:46:14.000000000 +0200
++++ ./include/locations.h.in 2014-01-14 13:57:06.000000000 +0100
+@@ -20,7 +20,7 @@
+
+ #define DEFAULT_TEMP_FILE "@localstatedir@/tempfile"
+ #define DEFAULT_TEMP_PATH "/tmp"
+-#define DEFAULT_CHECK_RESULT_PATH "@localstatedir@/spool/checkresults"
++#define DEFAULT_CHECK_RESULT_PATH "@localstatedir@/checkresults"
+ #define DEFAULT_STATUS_FILE "@localstatedir@/status.dat"
+ #define DEFAULT_LOG_FILE "@localstatedir@/nagios.log"
+ #define DEFAULT_LOG_ARCHIVE_PATH "@localstatedir@/archives/"