diff options
Diffstat (limited to 'net-analyzer/icinga/files')
-rw-r--r-- | net-analyzer/icinga/files/fix-prestripped-binaries-1.7.0.patch | 23 | ||||
-rw-r--r-- | net-analyzer/icinga/files/fix-prestripped-binaries.patch | 23 | ||||
-rw-r--r-- | net-analyzer/icinga/files/icinga-apache.conf | 23 | ||||
-rw-r--r-- | net-analyzer/icinga/files/icinga-conf.d | 3 | ||||
-rw-r--r-- | net-analyzer/icinga/files/icinga-init.d | 62 | ||||
-rw-r--r-- | net-analyzer/icinga/files/icinga-lighty.conf | 24 | ||||
-rw-r--r-- | net-analyzer/icinga/files/ido2db-conf.d | 1 | ||||
-rw-r--r-- | net-analyzer/icinga/files/ido2db-init.d | 40 |
8 files changed, 0 insertions, 199 deletions
diff --git a/net-analyzer/icinga/files/fix-prestripped-binaries-1.7.0.patch b/net-analyzer/icinga/files/fix-prestripped-binaries-1.7.0.patch deleted file mode 100644 index 256cfc8..0000000 --- a/net-analyzer/icinga/files/fix-prestripped-binaries-1.7.0.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -rupN icinga-1.7.0beta1-orig//base/Makefile.in icinga-1.7.0beta1//base/Makefile.in ---- icinga-1.7.0beta1-orig//base/Makefile.in 2012-05-09 07:10:21.000000000 -0500 -+++ icinga-1.7.0beta1//base/Makefile.in 2012-05-14 14:00:29.666346315 -0500 -@@ -41,7 +41,7 @@ HTMLDIR=@datarootdir@ - INSTALL=@INSTALL@ - INSTALL_OPTS=@INSTALL_OPTS@ - COMMAND_OPTS=@COMMAND_OPTS@ --STRIP=@STRIP@ -+STRIP=/bin/true - - CGIURL=@cgiurl@ - HTMURL=@htmurl@ -diff -rupN icinga-1.7.0beta1-orig//cgi/Makefile.in icinga-1.7.0beta1//cgi/Makefile.in ---- icinga-1.7.0beta1-orig//cgi/Makefile.in 2012-05-09 07:10:21.000000000 -0500 -+++ icinga-1.7.0beta1//cgi/Makefile.in 2012-05-14 14:00:43.285346614 -0500 -@@ -21,7 +21,7 @@ INSTALL=@INSTALL@ - INSTALL_OPTS=@INSTALL_OPTS@ - INSTALL_OPTS_WEB=@INSTALL_OPTS_WEB@ - COMMAND_OPTS=@COMMAND_OPTS@ --STRIP=@STRIP@ -+STRIP=/bin/true - - CGIEXTRAS=@CGIEXTRAS@ diff --git a/net-analyzer/icinga/files/fix-prestripped-binaries.patch b/net-analyzer/icinga/files/fix-prestripped-binaries.patch deleted file mode 100644 index 1ee52c5..0000000 --- a/net-analyzer/icinga/files/fix-prestripped-binaries.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -Naur icinga-1.5.1.orig//base/Makefile.in icinga-1.5.1/base/Makefile.in ---- icinga-1.5.1.orig//base/Makefile.in 2011-09-09 11:50:53.000000000 -0400 -+++ icinga-1.5.1/base/Makefile.in 2011-11-14 19:45:36.000000000 -0500 -@@ -39,7 +39,7 @@ - INSTALL=@INSTALL@ - INSTALL_OPTS=@INSTALL_OPTS@ - COMMAND_OPTS=@COMMAND_OPTS@ --STRIP=@STRIP@ -+STRIP=/bin/true - - CGIURL=@cgiurl@ - HTMURL=@htmurl@ -diff -Naur icinga-1.5.1.orig//cgi/Makefile.in icinga-1.5.1/cgi/Makefile.in ---- icinga-1.5.1.orig//cgi/Makefile.in 2011-09-09 11:50:53.000000000 -0400 -+++ icinga-1.5.1/cgi/Makefile.in 2011-11-14 19:45:47.000000000 -0500 -@@ -20,7 +20,7 @@ - INSTALL_OPTS=@INSTALL_OPTS@ - INSTALL_OPTS_WEB=@INSTALL_OPTS_WEB@ - COMMAND_OPTS=@COMMAND_OPTS@ --STRIP=@STRIP@ -+STRIP=/bin/true - - CGIEXTRAS=@CGIEXTRAS@ diff --git a/net-analyzer/icinga/files/icinga-apache.conf b/net-analyzer/icinga/files/icinga-apache.conf deleted file mode 100644 index 50fb220..0000000 --- a/net-analyzer/icinga/files/icinga-apache.conf +++ /dev/null @@ -1,23 +0,0 @@ -<IfDefine ICINGA> - ScriptAlias /icinga/cgi-bin/ /usr/lib/icinga/cgi-bin/ - <Directory "/usr/lib/icinga/cgi-bin/"> - AllowOverride AuthConfig - Options ExecCGI - Order allow,deny - Allow from all - AuthName "Icinga Access" - AuthType Basic - AuthUserFile /etc/icinga/htpasswd.users - Require valid-user - </Directory> - Alias /icinga /usr/share/icinga/htdocs - <Directory "/usr/share/icinga/htdocs"> - AllowOverride AuthConfig - Order allow,deny - Allow from all - AuthName "Icinga Access" - AuthType Basic - AuthUserFile /etc/icinga/htpasswd.users - Require valid-user - </Directory> -</IfDefine> diff --git a/net-analyzer/icinga/files/icinga-conf.d b/net-analyzer/icinga/files/icinga-conf.d deleted file mode 100644 index da5b324..0000000 --- a/net-analyzer/icinga/files/icinga-conf.d +++ /dev/null @@ -1,3 +0,0 @@ -# Distributed monitoring users will want to configure here the ip/hostname of the central server. -# It will be used by submit_check_result_via_nsca. -NAGIOS_NSCA_HOST="localhost" diff --git a/net-analyzer/icinga/files/icinga-init.d b/net-analyzer/icinga/files/icinga-init.d deleted file mode 100644 index 3eb213c..0000000 --- a/net-analyzer/icinga/files/icinga-init.d +++ /dev/null @@ -1,62 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/icinga/files/icinga-init.d,v 1.4 2012/09/17 19:53:22 prometheanfire Exp $ - -: ${ICINGACFG:=/etc/icinga/icinga.cfg} - -extra_commands="checkconfig" -extra_started_commands="reload" - -command=/usr/sbin/icinga -command_args="-d ${ICINGACFG}" - -get_config() { - if [ -e "${ICINGACFG}" ]; then - sed -n -e 's:^[ \t]*'$1'=\([^#]\+\).*:\1:p' "${ICINGACFG}" - fi -} - -pidfile=$(get_config lock_file) -start_stop_daemon_args="-e HOME=/var/lib/icinga" - -depend() { - need net - use dns logger firewall mysql postgresql ido2db -} - -checkconfig() { - # Silent Check - ${command} -v ${ICINGACFG} &>/dev/null && return 0 - # Now we know there's problem - run again and display errors - ${command} -v ${ICINGACFG} - eend $? "Configuration Error. Please fix your configfile" -} - -reload() -{ - checkconfig || return 1 - ebegin "Reloading configuration" - kill -HUP $(cat ${pidfile}) &>/dev/null - eend $? -} - -start_pre() { - checkpath -d -o icinga:icinga $(get_config temp_path) $(dirname $(get_config lock_file)) $(dirname $(get_config log_file)) $(dirname $(get_config status_file)) - checkpath -f -o icinga:icinga $(get_config log_file) - rm -f $(get_config command_file) -} - -stop_post() { - rm -f $(get_config command_file) - rm -r /tmp/icinga -} - -svc_restart() { - checkconfig || return 1 - ebegin "Restarting icinga" - svc_stop - svc_start - eend $? -} - diff --git a/net-analyzer/icinga/files/icinga-lighty.conf b/net-analyzer/icinga/files/icinga-lighty.conf deleted file mode 100644 index 678f233..0000000 --- a/net-analyzer/icinga/files/icinga-lighty.conf +++ /dev/null @@ -1,24 +0,0 @@ -server.modules += ("mod_cgi") -server.modules += ("mod_auth") -server.modules += ("mod_alias") - -auth.require += ( "/icinga" => - ( - "method" => "digest", - "realm" => "icinga", - "require" => "valid-user" - ) -) - -$HTTP["url"] =~ "^/icinga/cgi-bin/" { - dir-listing.activate = "disable" - cgi.assign = ( - ".pl" => "/usr/bin/perl", - ".cgi" => "" - ) -} - -alias.url += ( - "/icinga/cgi-bin" => "/usr/lib/icinga/cgi-bin", - "/icinga" => "/usr/share/icinga/htdocs" -) diff --git a/net-analyzer/icinga/files/ido2db-conf.d b/net-analyzer/icinga/files/ido2db-conf.d deleted file mode 100644 index 5429fa9..0000000 --- a/net-analyzer/icinga/files/ido2db-conf.d +++ /dev/null @@ -1 +0,0 @@ -IDO2DBCFG="/etc/icinga/ido2db.cfg" diff --git a/net-analyzer/icinga/files/ido2db-init.d b/net-analyzer/icinga/files/ido2db-init.d deleted file mode 100644 index 6ad019c..0000000 --- a/net-analyzer/icinga/files/ido2db-init.d +++ /dev/null @@ -1,40 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/icinga/files/ido2db-init.d,v 1.4 2012/09/17 19:53:22 prometheanfire Exp $ - -get_config() { - if [ -e "${IDO2DBCFG}" ]; then - sed -n -e 's:^[ \t]*'$1'=\([^#]\+\).*:\1:p' "${IDO2DBCFG}" - fi -} - -command=/usr/sbin/ido2db -command_args="-c ${IDO2DBCFG}" -pidfile="$(get_config lock_file)" - -depend() { - config "${IDO2DBCFG}" - - need net - use dns logger firewall - - case $(get_config db_servertype) in - mysql) - use mysql ;; - pgsql) - use postgresql ;; - esac -} - -IDO2DBSOCKET="$(get_config socket_name)" - - -start_pre() { - if [ -S "${IDO2DBSOCKET}" ] ; then - ewarn "Strange, the socket file already exist in \"${IDO2DBSOCKET}\"" - ewarn "it will be removed now and re-created by ido2db" - ewarn "BUT please make your checks." - rm -f "${IDO2DBSOCKET}" - fi -} |