Skip to content

Instantly share code, notes, and snippets.

@ruo91
Created February 25, 2014 13:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ruo91/9209127 to your computer and use it in GitHub Desktop.
Save ruo91/9209127 to your computer and use it in GitHub Desktop.
opsview-base-4.5.0.397 utf-8 patch (Makefile)
# By.ruo91 (Yongbok Kim)
--- Makefile.orig 2014-02-25 22:46:49.000000000 +0900
+++ Makefile 2014-02-25 22:43:35.000000000 +0900
@@ -611,6 +611,9 @@
cd ${NAGIOS} && patch -p1 < ../patches/nagios_host_hard_state_changes.patch
cd ${NAGIOS} && patch -p1 < ../patches/nagios_centos5_rhel5_no_output_fix.patch
cd ${NAGIOS} && patch -p1 < ../patches/nagios_avoid_swamping_log_when_killing_plugin.patch
+ # Nagios utf-8 patch
+ cd ${NAGIOS} && patch -p1 < ../patches/nagios-4.0.20130912.utf8.patch
+
if [ $(KERNEL_NAME) = Linux ] ; then \
cd ${NAGIOS} && CFLAGS="${CFLAGS}" ./configure --with-nagios-user=$(NAGIOS_USER) --with-nagios-group=$(NAGIOS_GROUP) --with-command-group=$(NAGIOS_GROUP) --with-cgiurl=/cgi-bin --with-htmurl=/ --enable-libtap ; \
elif [ $(KERNEL_NAME) = Darwin ] ; then \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment