summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode (prometheanfire) <mthode@mthode.org>2011-11-15 02:12:34 +0000
committerMatthew Thode (prometheanfire) <mthode@mthode.org>2011-11-15 02:12:34 +0000
commit6a8f6f61930b2a1a18aa8312618418f42c9aa296 (patch)
tree70073993e36057bcfeac27455c9d7879b0922906 /net-analyzer
parentx11-misc/pdf_presenter_console: New ebuild for bug 390391. Thanks to Tommy[D]... (diff)
downloadsunrise-6a8f6f61930b2a1a18aa8312618418f42c9aa296.tar.gz
sunrise-6a8f6f61930b2a1a18aa8312618418f42c9aa296.tar.bz2
sunrise-6a8f6f61930b2a1a18aa8312618418f42c9aa296.zip
Added icinga added to portage by prometheanfire (me)
svn path=/sunrise/; revision=12514
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/icinga/ChangeLog117
-rw-r--r--net-analyzer/icinga/Manifest10
-rw-r--r--net-analyzer/icinga/files/icinga-apache.conf15
-rw-r--r--net-analyzer/icinga/files/icinga-conf.d3
-rw-r--r--net-analyzer/icinga/files/icinga-init.d50
-rw-r--r--net-analyzer/icinga/files/icinga-lighty.conf24
-rw-r--r--net-analyzer/icinga/files/ido2db-conf.d1
-rw-r--r--net-analyzer/icinga/files/ido2db-init.d35
-rw-r--r--net-analyzer/icinga/icinga-1.5.0.ebuild215
-rw-r--r--net-analyzer/icinga/metadata.xml15
10 files changed, 0 insertions, 485 deletions
diff --git a/net-analyzer/icinga/ChangeLog b/net-analyzer/icinga/ChangeLog
deleted file mode 100644
index 6bb646ac5..000000000
--- a/net-analyzer/icinga/ChangeLog
+++ /dev/null
@@ -1,117 +0,0 @@
-# ChangeLog for net-analyzer/icinga
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 24 Aug 2011; mthode <mthode@mthode.org> -icinga-1.4.2.ebuild,
- +icinga-1.5.0.ebuild:
- removed the logdir sed and added --with-log-dir=/var/log/icinga; also added
- comment to enewuser
-
- 08 Jul 2011; mthode <mthode@mthode.org> -icinga-1.4.0.ebuild,
- +icinga-1.4.2.ebuild:
- version bump, tested amd64
-
- 11 May 2011; mthode <mthode@mthode.org> -icinga-1.3.1-r3.ebuild,
- +icinga-1.4.0.ebuild:
- version bump, tested
-
- 11 May 2011; mthode <mthode@mthode.org> files/ido2db-init.d:
- changed ido2db init to be more posix compliant, thanks binki
-
- 09 May 2011; mthode <mthode@mthode.org> files/ido2db-init.d,
- -icinga-1.3.1-r2.ebuild, +icinga-1.3.1-r3.ebuild:
- change to ido2db init, thanks to Wolfgang Schricker
-
- 07 Apr 2011; mthode <mthode@mthode.org> icinga-1.3.1-r2.ebuild:
- moved the space withing the quotes on the if use plugins content
-
- 07 Apr 2011; mthode <mthode@mthode.org> -icinga-1.3.1-r1.ebuild,
- +icinga-1.3.1-r2.ebuild:
- added libexecdir conditional on plugins use flag
-
- 07 Apr 2011; mthode <mthode@mthode.org> -icinga-1.3.1.ebuild,
- +icinga-1.3.1-r1.ebuild:
- added die statements and revbump
-
- 07 Apr 2011; mthode <mthode@mthode.org> icinga-1.3.1.ebuild:
- changed log directory to /var/log/icinga/
-
- 31 Mar 2011; mthode <mthode@mthode.org> -icinga-1.3.0-r2.ebuild,
- +icinga-1.3.1.ebuild:
- reinstated virtual/mailx, I was stupid, also a version bump (bugfix
- release), tested
-
- 30 Mar 2011; mthode <mthode@mthode.org> -icinga-1.3.0-r1.ebuild,
- +icinga-1.3.0-r2.ebuild:
- removed virtual/mailx and replaced with real packages
-
- 10 Mar 2011; mthode <mthode@mthode.org> -icinga-1.3.0.ebuild,
- +icinga-1.3.0-r1.ebuild:
- updated --with-cgiurl=/cgi-bin to --with-cgiurl=/icinga/cgi-bin for multi
- site installs (was already the case in the provided conf files)
-
- 16 Feb 2011; mthode <mthode@mthode.org> -icinga-1.2.1.ebuild,
- icinga-1.3.0.ebuild:
- changed order of inherits on 1.3.0 and removed 1.2.1
-
- 16 Feb 2011; mthode <mthode@mthode.org> +icinga-1.3.0.ebuild:
- Version bump with elog change and var renaming
-
- 01 Nov 2010; mthode <mthode@mthode.org> icinga-1.2.1.ebuild:
- prometheanfire: removed trailing whitespace from line 7
-
- 01 Nov 2010; mthode <mthode@mthode.org> icinga-1.2.1.ebuild, -wgetpaste:
- prometheanfire: elog cleanup and variable renaming, along with stuff from
- bug 271339 from comment 46 to 63
-
- 30 Oct 2010; mthode <mthode@mthode.org> icinga-1.2.1.ebuild:
- fixed small fixups
-
- 30 Oct 2010; mthode <mthode@mthode.org> icinga-1.2.1.ebuild:
- fixed small fixups
-
- 30 Oct 2010; mthode <mthode@mthode.org> icinga-1.2.1.ebuild, +wgetpaste:
- fixed small fixups
-
- 28 Oct 2010; mthode <mthode@mthode.org> icinga-1.2.1.ebuild:
- fixup of enewuser (typo, missing a -1)
-
- 25 Oct 2010; mthode <mthode@mthode.org> icinga-1.2.1.ebuild:
- fixup of enewuser
-
- 25 Oct 2010; mthode <mthode@mthode.org> -icinga-1.2.0-r1.ebuild,
- +icinga-1.2.1.ebuild:
- revbump from 1.2.0-r1 to 1.2.1 -- no ebuild changes
-
- 07 Oct 2010; mthode <mthode@mthode.org> -icinga-1.2.0.ebuild,
- +icinga-1.2.0-r1.ebuild:
- add --with-cgiurl=cgi-bin to configure, contributed by RedPepper
-
- 06 Oct 2010; mthode <mthode@mthode.org> -icinga-1.0.3-r1.ebuild,
- +icinga-1.2.0.ebuild:
- revbump of icinga 1.0.3-r1 to 1.2.0
-
- 24 Sep 2010; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
- -icinga-1.0.3.ebuild:
- Nuke old version
-
- 23 Sep 2010; mthode <mthode@mthode.org> +icinga-1.0.3-r1.ebuild:
- updated ebuild cleanup thanks to Tommy[D] and sedzimir
-
- 10 Sep 2010; mthode <mthode@mthode.org> icinga-1.0.3.ebuild,
- files/icinga-conf.d, files/icinga-init.d, -files/metadata.xml:
- New version of icinga, cleaner, thanks to Tommy[D] and chithead
-
- 10 Sep 2010; mthode <mthode@mthode.org> icinga-1.0.3.ebuild, metadata.xml:
- New version of icinga, cleaner, thanks to Tommy[D]
-
- 01 Sep 2010; mthode <mthode@mthode.org> -icinga-1.0.2.ebuild,
- +icinga-1.0.3.ebuild, +files/icinga-apache.conf, +files/icinga-conf.d,
- +files/icinga-init.d, +files/icinga-lighty.conf, +files/ido2db-conf.d,
- +files/ido2db-init.d, +files/metadata.xml, metadata.xml:
- New version of icinga (it works now), thanks to chithead
-
- 14 Jul 2010; Matthew Thode (prometheanfire) <mthode@mthode.org>
- +icinga-1.0.2.ebuild, +metadata.xml:
- New Ebuild for bug 271339 thanks to chithead
-
diff --git a/net-analyzer/icinga/Manifest b/net-analyzer/icinga/Manifest
deleted file mode 100644
index 9b8bbdeb1..000000000
--- a/net-analyzer/icinga/Manifest
+++ /dev/null
@@ -1,10 +0,0 @@
-AUX icinga-apache.conf 377 RMD160 bd009d51035802deb5efd3aaf0b726ca7ef34e2e SHA1 7ba572b8ed52695a8278cc5d57df3fd8cf59dca8 SHA256 e2a17742d8a74f31fd038cbf33533ccdeaed8604cfa026d0fdbb24d3a46e30f9
-AUX icinga-conf.d 178 RMD160 3e8a497619b16ce9e33a8d6ff824b5e5cc8f9c63 SHA1 7824227018db79beb7984cdedda7345fe54f70aa SHA256 68dde656424fc57e66babceb3c6623a235fac8bf1f9cd885138e31878db740db
-AUX icinga-init.d 1207 RMD160 fe0f17d9247da24208281077b6cb46089dc9f22f SHA1 58c8fc60da8f4fb5a7d29a8be83948e11a8719e4 SHA256 d9014a1ce527282e5a404e602b3f08e0a4b842e02bd2fcdd8fffb8e67922557d
-AUX icinga-lighty.conf 465 RMD160 34de76ad07f95e2282ae3e192b35cd9310ef2b4e SHA1 0d74cc2936327121f07b61fb1a348ce66035bfbb SHA256 f4059bc54959fb2544f23c2fc6a86f0ab2467025ce1f468317a0079b55116b44
-AUX ido2db-conf.d 35 RMD160 a2bb1738720a56285da529fb18eeb60739ac817b SHA1 57ba29aec3f80db9577da4aca34d228487dd12c1 SHA256 6cbdf0eb7070121bd466c221d73cf6ca05a4af5caa1d4abedf62828edd1b1372
-AUX ido2db-init.d 815 RMD160 d6b1d0a682ca12d45b917a218a02411b5baf4324 SHA1 7c4f5bf146f9ef166463b7d4c495cf30353895d1 SHA256 1d1b17e400b4bac144e6cdbf4bdabf9adbb8166f8814ac02f4955bddf56e43e6
-DIST icinga-1.5.0.tar.gz 24601372 RMD160 0597e4b14ac608ecde1b7ecd6a2049b3a09ac9a9 SHA1 e7cc434aac8e966436b18c17a448e4c5077515b8 SHA256 c30bf2f94fb972403c4369abbbd98dcbbf2a0590b83b6a46aa18dbd85a861242
-EBUILD icinga-1.5.0.ebuild 5961 RMD160 ad443ee990e2a35b415cb6c42f1fd36d4119e872 SHA1 ec5f074cb1a10a7b663d8727aa1c57fb32729e7e SHA256 2cc26850a8ff792b39e25557d70c648c55b41efba14f8cce326ddbdab7603472
-MISC ChangeLog 4413 RMD160 2bcacfd38cfcf9202dca2ea2842954d1f9e711b6 SHA1 5e85429330beeba2c792aacc672893f11d69f135 SHA256 233b86f5d5a376870c505b1c81e78fd30a0957079a2dba3887389b02648389c5
-MISC metadata.xml 595 RMD160 24bd4249d8bdd06a0dacac34558b1bcded55d0a8 SHA1 bc01184508f42b84fb3a053309ab5fea3f0dc6ca SHA256 82a801506ddb96ed7383352f54040d73cd74c33fa7e350bc4022bea6c7ea9c5f
diff --git a/net-analyzer/icinga/files/icinga-apache.conf b/net-analyzer/icinga/files/icinga-apache.conf
deleted file mode 100644
index e1a0199fe..000000000
--- a/net-analyzer/icinga/files/icinga-apache.conf
+++ /dev/null
@@ -1,15 +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
- </Directory>
- Alias /icinga /usr/share/icinga/htdocs
- <Directory "/usr/share/icinga/htdocs">
- AllowOverride AuthConfig
- Order allow,deny
- Allow from all
- </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 da5b324b3..000000000
--- 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 f734f714b..000000000
--- a/net-analyzer/icinga/files/icinga-init.d
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/sbin/runscript
-
-opts="${opts} reload checkconfig"
-
-depend() {
- need net
- use dns logger firewall
- after mysql postgresql
-}
-
-reload()
-{
- checkconfig || return 1
- ebegin "Reloading configuration"
- killall -HUP icinga &>/dev/null
- eend $?
-}
-
-checkconfig() {
- # Silent Check
- /usr/sbin/icinga -v /etc/icinga/icinga.cfg &>/dev/null && return 0
- # Now we know there's problem - run again and display errors
- /usr/sbin/icinga -v /etc/icinga/icinga.cfg
- eend $? "Configuration Error. Please fix your configfile"
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting icinga"
- touch /var/icinga/icinga.log /var/icinga/status.sav
- chown icinga:icinga /var/icinga/icinga.log /var/icinga/status.sav
- rm -f /var/icinga/rw/icinga.cmd
- start-stop-daemon --quiet --start --startas /usr/sbin/icinga -e HOME="/var/icinga/home" --pidfile /var/icinga/icinga.lock -- -d /etc/icinga/icinga.cfg
- eend $?
-}
-
-stop() {
- ebegin "Stopping icinga"
- start-stop-daemon --quiet --stop --pidfile /var/icinga/icinga.lock
- rm -f /var/icinga/status.log /var/icinga/icinga.tmp /var/icinga/icinga.lock /var/icinga/rw/icinga.cmd
- eend $?
-}
-
-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 678f2331e..000000000
--- 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 5429fa9a5..000000000
--- 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 32397feda..000000000
--- a/net-analyzer/icinga/files/ido2db-init.d
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-IDO2DBBIN="/usr/sbin/ido2db"
-SOCKET="/var/icinga/ido.sock"
-
-function check() {
- if [ -S "${SOCKET}" ] ; then
- ewarn "Strange, the socket file already exist in \"${SOCKET}\""
- ewarn "it will be removed now and re-created by ido2db"
- ewarn "BUT please make your checks."
- rm -f "${SOCKET}"
- fi
-}
-
-depend() {
- need net
- use dns logger firewall
- after mysql postgresql
-}
-
-start() {
- check
- ebegin "Starting ido2db"
- start-stop-daemon --quiet --start --pidfile /var/icinga/ido2db.lock --startas ${IDO2DBBIN} -- -c ${IDO2DBCFG}
- eend $?
-}
-
-stop() {
- ebegin "Stopping ido2db"
- start-stop-daemon --quiet --stop --pidfile /var/icinga/ido2db.lock --name /usr/sbin/ido2db
- eend $?
-}
diff --git a/net-analyzer/icinga/icinga-1.5.0.ebuild b/net-analyzer/icinga/icinga-1.5.0.ebuild
deleted file mode 100644
index e22112338..000000000
--- a/net-analyzer/icinga/icinga-1.5.0.ebuild
+++ /dev/null
@@ -1,215 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=2
-
-inherit depend.apache eutils multilib toolchain-funcs
-
-DESCRIPTION="Nagios Fork - Check daemon, CGIs, docs, IDOutils"
-HOMEPAGE="http://www.icinga.org/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+apache2 api debug +idoutils lighttpd +mysql perl plugins postgres ssl +vim-syntax +web"
-DEPEND="idoutils? ( dev-db/libdbi-drivers[mysql?,postgres?] )
- perl? ( dev-lang/perl )
- virtual/mailx
- web? (
- media-libs/gd[jpeg,png]
- lighttpd? ( www-servers/lighttpd dev-lang/php[cgi] )
- apache2? ( || ( dev-lang/php[apache2] dev-lang/php[cgi] ) )
- )
- !net-analyzer/nagios-core"
-RDEPEND="${DEPEND}
- plugins? ( net-analyzer/nagios-plugins )"
-
-want_apache2
-
-pkg_setup() {
- depend.apache_pkg_setup
- enewgroup icinga
- enewuser icinga -1 -1 /var/spool/icinga icinga -c "icinga alert"
- if use web ; then
- elog "This does not include cgis that are perl-dependent"
- elog "Currently traceroute.cgi is perl-dependent"
- elog "Note that the user your webserver is running as needs"
- elog "read-access to /etc/icinga."
- elog
- if use apache2 || use lighttpd ; then
- elog "There are several possible solutions to accomplish this,"
- elog "choose the one you are most comfortable with:"
- elog
- if use apache2 ; then
- elog " usermod -G icinga apache"
- elog "or"
- elog " chown icinga:apache /etc/icinga"
- elog
- elog "Also edit /etc/conf.d/apache2 and add \"-D ICINGA\""
- elif use lighttpd ; then
- elog " usermod -G icinga lighttpd "
- elog "or"
- elog " chown icinga:lighttpd /etc/icinga"
- elog "Also edit /etc/lighttpd/lighttpd.conf and add 'include \"lighttpd_icinga.conf\"'"
- fi
- elog
- elog "That will make icinga's web front end visable via"
- elog "http://localhost/icinga/"
- elog
- else
- elog "IMPORTANT: Do not forget to add the user your webserver"
- elog "is running as to the icinga group!"
- fi
-
- else
- ewarn "Please note that you have installed Icinga without web interface."
- ewarn "Please don't file any bugs about having no web interface when you do this."
- ewarn "Thank you!"
- fi
-
-}
-
-src_prepare() {
- if use api ; then
- sed -i -e 's/\(USE_ICINGAAPI=\)no/\1yes/g' Makefile.in || die "sed failed in Makefile.in"
- fi
-}
-
-src_configure() {
- local myconf
- local myconf2
-
- myconf="$(use_enable perl embedded-perl)
- $(use_with perl perlcache)
- $(use_enable idoutils)
- $(use_enable ssl)
- $(use_enable debug DEBUG0)
- $(use_enable debug DEBUG1)
- $(use_enable debug DEBUG2)
- $(use_enable debug DEBUG3)
- $(use_enable debug DEBUG4)
- $(use_enable debug DEBUG5)
- --disable-statuswrl
- --with-cgiurl=/icinga/cgi-bin
- --with-log-dir=/var/log/icinga"
-
- myconf2="--bindir=/usr/sbin
- --sbindir=/usr/$(get_libdir)/icinga/cgi-bin
- --datarootdir=/usr/share/icinga/htdocs
- --localstatedir=/var/icinga
- --sysconfdir=/etc/icinga"
-
- if use plugins ; then
- myconf2+=" --libexecdir=/usr/$(get_libdir)/nagios/plugins"
- else
- myconf2+=" --libexecdir=/usr/$(get_libdir)/icinga/plugins"
- fi
-
- if use !apache2 && use !lighttpd ; then
- myconf2+=" --with-command-group=icinga"
- else
- if use apache2 ; then
- myconf+=" --with-httpd-conf=/etc/apache2/conf.d"
- myconf2+=" --with-command-group=apache"
- elif use lighttpd ; then
- myconf2+=" --with-command-group=lighttpd"
- fi
- fi
-
- econf ${myconf} ${myconf2}
- if use api ; then
- cd module/icinga-api || die
- econf ${myconf2}
- fi
-}
-
-src_compile() {
- tc-export CC
-
- emake icinga || die "make failed"
-
- if use web ; then
- emake DESTDIR="${D}" cgis || die
- fi
-
- if use idoutils ; then
- emake DESTDIR="${D}" idoutils || die
- fi
-}
-
-src_install() {
- dodoc Changelog README UPGRADING || die
-
- if ! use web ; then
- sed -i -e '/cd $(SRC_\(CGI\|HTM\))/d' Makefile || die
- fi
- sed -i -e 's/^contactgroups$//g' Makefile || die
-
- emake DESTDIR="${D}" install{,-config,-commandmode} || die
-
- if use idoutils ; then
- emake DESTDIR="${D}" install-idoutils || die
- fi
- if use api ; then
- emake DESTDIR="${D}" install-api || die
- fi
-
- newinitd "${FILESDIR}"/icinga-init.d icinga || die
- newconfd "${FILESDIR}"/icinga-conf.d icinga || die
- if use idoutils ; then
- newinitd "${FILESDIR}"/ido2db-init.d ido2db || die
- newconfd "${FILESDIR}"/ido2db-conf.d ido2db || die
- insinto /usr/share/icinga/contrib/db
- doins -r module/idoutils/db/* || die
- fi
- # Apache Module
- if use web ; then
- if use apache2 ; then
- insinto "${APACHE_MODULES_CONFDIR}"
- newins "${FILESDIR}"/icinga-apache.conf 99_icinga.conf || die
- elif use lighttpd ; then
- insinto /etc/lighttpd
- newins "${FILESDIR}"/icinga-lighty.conf lighttpd_icinga.conf || die
- else
- ewarn "${CATEGORY}/${PF} only supports Apache-2.x or Lighttpd webserver"
- ewarn "out-of-the-box. Since you are not using one of them, you"
- ewarn "have to configure your webserver accordingly yourself."
- fi
- fi
-
- fowners -R root:root /usr/$(get_libdir)/icinga || die
- cd "${D}" || die
- find usr/$(get_libdir)/icinga -type d -exec fperms 755 {} +
- find usr/$(get_libdir)/icinga/cgi-bin -type f -exec fperms 755 {} +
-
- keepdir /etc/icinga
- keepdir /var/icinga
- keepdir /var/icinga/archives
- keepdir /var/icinga/rw
- keepdir /var/icinga/spool/checkresults
-
- if use apache2 ; then
- webserver=apache
- elif use lighttpd ; then
- webserver=lighttpd
- else
- webserver=icinga
- fi
- fowners -R icinga:${webserver} /var/icinga/rw || die "Failed chown of /var/icinga/rw"
-
- fperms 6755 /var/icinga/rw || die "Failed Chmod of ${D}/var/icinga/rw"
- fperms 0750 /etc/icinga || die "Failed chmod of ${D}/etc/icinga"
-}
-
-pkg_postinst() {
- elog "If you want icinga to start at boot time"
- elog "remember to execute:"
- elog " rc-update add icinga default"
- elog
- elog "If your kernel has /proc protection, icinga"
- elog "will not be happy as it relies on accessing the proc"
- elog "filesystem. You can fix this by adding icinga into"
- elog "the group wheel, but this is not recomended."
-} \ No newline at end of file
diff --git a/net-analyzer/icinga/metadata.xml b/net-analyzer/icinga/metadata.xml
deleted file mode 100644
index dfc95d46d..000000000
--- a/net-analyzer/icinga/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <longdescription lang="en">A rebuild of nagios from the ground up</longdescription>
- <use>
- <flag name="api">Adds support for the icinga API</flag>
- <flag name="idoutils">Adds DB support</flag>
- <flag name="lighttpd">Adds Lighttpd support</flag>
- <flag name="plugins">Adds support for nagios plugins</flag>
- <flag name="web">Adds generic web interface support</flag>
- </use>
- <maintainer>
- <email>maintainer-wanted@gentoo.org</email>
- </maintainer>
-</pkgmetadata>