diff options
author | Matthew Thode <mthode@mthode.org> | 2013-01-20 00:42:35 -0600 |
---|---|---|
committer | Matthew Thode <mthode@mthode.org> | 2013-01-20 00:42:35 -0600 |
commit | 269514620df11cdffc782d56f72a362dcb52d440 (patch) | |
tree | 2b42f97e06a55d9336d1fd81e55ce342ffae4d9b | |
parent | glance is now in tree :D (diff) | |
download | prometheanfire-269514620df11cdffc782d56f72a362dcb52d440.tar.gz prometheanfire-269514620df11cdffc782d56f72a362dcb52d440.tar.bz2 prometheanfire-269514620df11cdffc782d56f72a362dcb52d440.zip |
more cleanup
27 files changed, 0 insertions, 1844 deletions
diff --git a/net-analyzer/icinga-web/ChangeLog b/net-analyzer/icinga-web/ChangeLog deleted file mode 100644 index 64ab29b..0000000 --- a/net-analyzer/icinga-web/ChangeLog +++ /dev/null @@ -1,14 +0,0 @@ -# ChangeLog for net-analyzer/icinga-web -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - -*icinga-web-1.8.0 (19 Nov 2012) - - 19 Nov 2012; <mthode@gentoo.org> +icinga-web-1.8.0.ebuild: - adding 1.8.0 for testing - -*icinga-web-1.6.1-r1 (27 Feb 2012) - - 27 Feb 2012; mthode <mthode@gentoo.org> +icinga-web-1.6.1-r1.ebuild: - initial add and test of icinga-web - diff --git a/net-analyzer/icinga-web/Manifest b/net-analyzer/icinga-web/Manifest deleted file mode 100644 index 01c68b0..0000000 --- a/net-analyzer/icinga-web/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX icinga-web-1.7.1-disable-compression.patch 3120 SHA256 5ac0b8cc757d474adc4e1bc8119facc0cda466f83a1e3ae88afb899de3bdea85 SHA512 09eccfe66bab2650e0146582511717ecd082139e0e29c95b9ebeccb37706a0a4c23f7c7a051561d65b77c749c7c6fbc3bf3ac0e1fcd405dff647400d23b44056 WHIRLPOOL 185e78e2b62c01d2867c476de329a077bbab77b29777acccd618016a3383a98879dd5b51c78bad47440f56b8497a2b1e10608a1a19466a0a80b6af5cf80f10de -DIST icinga-web-1.8.0.tar.gz 14612975 SHA256 3e80a63fb15577c60f0b8228b7150897a7203361b2d3866a15d6a20492689398 SHA512 c2da9ec76aa634fb2e3e9018994bcd30892d9067875054f1f13fca35394d89a0c9429807a90fe519ac8896927e6899b2e7e16ae8047769491948c8bbe4ba2485 WHIRLPOOL 69eb3c4c49408ced0504b393163c10ffa678125af6a3e8b3eb4705bd12f3f7f22e0345ca361284ea0892b1d3193da3bf58fe78b6c9f20ce81aee7a7b0c8b6f76 -EBUILD icinga-web-1.8.0.ebuild 5002 SHA256 d3269d81f8da5b8f67f66916eef53869c5673e0315473223f58a5144530f916a SHA512 8555619e90ee1451f8f2734a0f6b7edda4f43bcc0ff49af331608863a2207094019c5f4c70cb16da97536f84a47ec98861ec26e4d3a5483bfcaeffca51321c35 WHIRLPOOL 1ed2c41a315d432e45faa620e5c2e34e62a118c0e0f398771b6e82af18551b3895408a863a8cb93053d9d40a6c0b64f19bfcdb23e0e5b54acc137a82e762e149 -MISC ChangeLog 391 SHA256 bac37c2e3a1f586c756b39862902341e1b3da1ea62f9594968465301d6609f75 SHA512 a6c5f928e63fd80b2f51ad5659db87269fe2a1382faa8438fca5f586a0c89b183ca131415e30338d82f3e482cf698da8b648a8ddd1ebb047e06b5ad852ffbd7d WHIRLPOOL 5a8007ef24a8d6b179c323d9bca717c1fb9c652fd71170c835db1e1b7d3c884c2377b703bdb06fb201178808c01a0536aed73f46c8a0c092ca45be9b7060eba6 -MISC metadata.xml 276 SHA256 7f7323b8d4eeb98e829b91b5b64d875bed129bed7a08c7734617321b62a2733d SHA512 4fcbbc83ea768710b30a7ca90029006511d070cceca7ada374775b664c4dc94f34ab905f90fb45d3d777c2f2551f00d9a9551b6a00a896513e9b9261c2607542 WHIRLPOOL bf5598ca6cb2398cab88dd3ad2af8962c9c42c70ed9e03528253ea11f5b3306c641f7aa3b20a802827e2199a3db2e5e5384ac886496bc55ae5ff83fc68400d09 diff --git a/net-analyzer/icinga-web/files/icinga-web-1.7.1-disable-compression.patch b/net-analyzer/icinga-web/files/icinga-web-1.7.1-disable-compression.patch deleted file mode 100644 index d79a07c..0000000 --- a/net-analyzer/icinga-web/files/icinga-web-1.7.1-disable-compression.patch +++ /dev/null @@ -1,70 +0,0 @@ ---- app/modules/AppKit/config/module.xml.in -+++ app/modules/AppKit/config/module.xml.in -@@ -29,6 +29,8 @@ - <setting name="squishloader"> - <ae:parameter name="cache_dir">%core.cache_dir%/Squished</ae:parameter> - <ae:parameter name="use_caching">@flag_caching@</ae:parameter> -+ <ae:parameter name="use_gzcompress">false</ae:parameter> -+ <ae:parameter name="gzcompress_level">2</ae:parameter> - </setting> - - <setting name="user_preferences_default"> ---- app/modules/AppKit/validate/Widgets/SquishLoader.xml -+++ app/modules/AppKit/validate/Widgets/SquishLoader.xml -@@ -5,12 +5,18 @@ - parent="%core.module_dir%/AppKit/config/validators.xml" - > - <ae:configuration> -- - <validators> - <validator class="string" name="IfNoneMatch" source="headers" required="false"> - <argument>IF_NONE_MATCH</argument> - </validator> -- -+ -+ <validator class="string" name="accept_encoding" source="headers" required="true"> -+ <argument>ACCEPT_ENCODING</argument> -+ -+ <errors> -+ <error>Could not validate HTTP_REFERER</error> -+ </errors> -+ </validator> - </validators> - </ae:configuration> - </ae:configurations> ---- app/modules/AppKit/views/Widgets/SquishLoaderSuccessView.class.php -+++ app/modules/AppKit/views/Widgets/SquishLoaderSuccessView.class.php -@@ -45,8 +45,31 @@ class AppKit_Widgets_SquishLoaderSuccessView extends AppKitBaseView { - return ""; - } - -- ob_start("ob_gzhandler"); -- -+ $options = AgaviConfig::get('modules.appkit.squishloader', array()); -+ $gz_level = isset($options['gzcompress_level']) ? -+ (integer)$options['gzcompress_level'] : 3; -+ $gz_use = isset($options['use_gzcompress']) ? -+ (boolean)$options['use_gzcompress'] : false; -+ -+ if ($gz_use === true) { -+ -+ $encoding = $rd->getHeader('ACCEPT_ENCODING', false); -+ -+ if (strpos($encoding, 'gzip') !== false) { -+ $encoding = 'gzip'; -+ } elseif(strpos($encoding, 'x-gzip') !== false) { -+ $encoding = 'x-gzip'; -+ } -+ -+ if ($encoding !== false) { -+ header('Content-Encoding: '. $encoding); -+ $l = strlen($content);
-+ $content = gzcompress($content, 4);
-+ $content = substr($content, 0, $l); -+ return "\x1f\x8b\x08\x00\x00\x00\x00\x00". $content; -+ } -+ } -+ - return $content; - } - } diff --git a/net-analyzer/icinga-web/icinga-web-1.8.0.ebuild b/net-analyzer/icinga-web/icinga-web-1.8.0.ebuild deleted file mode 100644 index 182b998..0000000 --- a/net-analyzer/icinga-web/icinga-web-1.8.0.ebuild +++ /dev/null @@ -1,169 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit depend.apache eutils - -DESCRIPTION="Icinga Web - new Web Interface" -HOMEPAGE="http://www.icinga.org/" -SRC_URI="mirror://sourceforge/icinga/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="apache2 mysql pnp postgres" -DEPEND="dev-php/phing - dev-lang/php[apache2?,cli,mysql?,pdo,postgres?,json] - pnp? ( net-analyzer/pnp4nagios )" -RDEPEND="${DEPEND}" - -want_apache2 - -pkg_setup() { - if use apache2 ; then - depend.apache_pkg_setup - fi - enewgroup icinga - enewgroup nagios - enewuser icinga -1 -1 /var/lib/icinga "icinga,nagios" -} - -src_prepare() { - epatch "${FILESDIR}/${P}-disable-compression.patch" -} - -src_configure() { - local myconf - - myconf="--prefix=/usr/share/icinga/icinga-web - --bindir=/usr/sbin - --sbindir=/usr/$(get_libdir)/icinga/cgi-bin - --datarootdir=/usr/share/icinga/htdocs - --localstatedir=/var/lib/icinga - --sysconfdir=/etc/icinga - --libexecdir=/usr/$(get_libdir)/icinga/plugins - --with-bin-user=icinga - --with-bin-group=nagios - --with-api-cmd-file=/var/lib/icinga/rw/icinga.cmd - --with-conf-dir=/etc/icinga-web - --with-log-dir=/var/log/icinga-web - --with-icinga-objects-dir=/etc/icinga/objects - --with-icinga-bin=/usr/sbin/icinga - --with-icinga-cfg=/etc/icinga/icinga.cfg" - - if use apache2 ; then - myconf+=" --with-web-user=apache - --with-web-group=apache - --with-web-apache-path=${APACHE_MODULES_CONFDIR}" - else - myconf+=" --with-web-user=root - --with-web-group=root" - fi - - if use postgres ; then - myconf+=" --with-db-type=pgsql - --with-db-port=5432 - --with-api-subtype=pgsql - --with-api-port=5432" - fi - - econf ${myconf} -} - -src_install() { - dodoc README - rm -f README - - emake -j1 DESTDIR="${D}" install || die "make failed" - - emake -j1 DESTDIR="${D}" install-javascript || die "make failed" - - if use apache2 ; then - dodir ${APACHE_MODULES_CONFDIR} - emake -j1 DESTDIR="${D}" install-apache-config || die "make failed" - mv "${D}/${APACHE_MODULES_CONFDIR}/icinga-web.conf" "${D}/${APACHE_MODULES_CONFDIR}/99_icinga-web.conf" - fi - - insinto /usr/share/icinga/icinga-web/contrib - doins -r etc/schema/* || die - - if use apache2 ; then - sed -i 's/%%USER%%/apache/g' etc/scheduler/icingaCron - else - sed -i 's/%%USER%%/root/g' etc/scheduler/icingaCron - fi - sed -i 's/%%PATH%%/\/usr\/share\/icinga\/icinga-web/g' etc/scheduler/icingaCron - - insinto /etc/cron.d/ - doins etc/scheduler/icingaCron || die - - if use apache2 ; then - diropts -o apache -g apache - else - diropts -o root -g root - fi - dodir /var/log/icinga-web - - if use apache2 ; then - fowners apache:apache /usr/share/icinga/icinga-web/lib/icingaScheduler/res/storage.dat - else - fowners root:root /usr/share/icinga/icinga-web/lib/icingaScheduler/res/storage.dat - fi - - if use pnp ; then - insinto /usr/share/icinga/icinga-web/app/modules/Cronks/data/xml/extensions/ - doins contrib/PNP_Integration/templateExtensions/pnp-host-extension.xml - doins contrib/PNP_Integration/templateExtensions/pnp-service-extension.xml - fi -} - -pkg_postinst() { - einfo - einfo "If this is a new install, you must create a new database for it, e.g. icinga_web." - einfo "You can find the database scripts in /usr/share/icinga/icinga-web/contrib/." - einfo - einfo "Additionally, you need to setup a database user." - einfo "The user must have default data privileges like SELECT, UPDATE, INSERT, DELETE." - einfo - einfo "Example for a MySQL database:" - einfo " echo \"CREATE DATABASE icinga_web;\" | mysql" - einfo " echo \"GRANT SELECT,UPDATE,INSERT,DELETE ON icinga_web.* TO 'icinga_web'@'localhost' IDENTIFIED BY 'xxxxxx';\" | mysql" - einfo " echo \"FLUSH PRIVILEGES;\" | mysql" - einfo - einfo " cat /usr/share/icinga/icinga-web/contrib/mysql.sql | mysql icinga_web" - einfo - - ewarn - ewarn "If you're upgrading from a previous release, you must upgrade your database schema." - ewarn "You can find upgrade scripts in /usr/share/icinga/icinga-web/contrib/updates/." - ewarn - ewarn "IMPORTANT: If you are upgrading from an older version and there are other versions in between," - ewarn " be advised that you need to apply those upgrade files with incremental steps!" - ewarn - ewarn "Example to upgrade a MySQL database:" - ewarn " cat /usr/share/icinga/icinga-web/contrib/updates/mysql_<oldversion>_to_<newversion>.sql | mysql icinga_web" - ewarn - ewarn "Don't forget to clear the config cache." - ewarn " /usr/share/icinga/icinga-web/bin/clearcache.sh" - ewarn - - einfo - einfo "Please note that the magic_quotes_gpc setting must be disabled (in both apache and cli php.ini)." - einfo - - if use apache2 ; then - einfo - einfo "apache config was installed into" - einfo "/etc/apache2/modules.d//99_icinga-web.conf" - einfo - einfo "The apache config value for \'ServerTokens\' must be set to at" - einfo "least \'Min\'." - einfo - else - einfo - einfo "If you are not using apache you may need to change some" - einfo "permissions, so that your web server can access files and logs" - einfo - fi -} diff --git a/net-analyzer/icinga-web/metadata.xml b/net-analyzer/icinga-web/metadata.xml deleted file mode 100644 index 75579a0..0000000 --- a/net-analyzer/icinga-web/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <use> - <flag name="pnp">Enables pnp4nagios integration</flag> - </use> - <longdescription lang="en"> - </longdescription> -</pkgmetadata> - diff --git a/net-analyzer/icinga/ChangeLog b/net-analyzer/icinga/ChangeLog deleted file mode 100644 index 1d20ab8..0000000 --- a/net-analyzer/icinga/ChangeLog +++ /dev/null @@ -1,144 +0,0 @@ -# ChangeLog for net-analyzer/icinga -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/icinga/ChangeLog,v 1.27 2012/09/17 19:53:22 prometheanfire Exp $ - - 17 Sep 2012; Matthew Thode <prometheanfire@gentoo.org> files/icinga-init.d, - files/ido2db-init.d: - part 2 of previous commit - - 17 Sep 2012; Matthew Thode <prometheanfire@gentoo.org> - -icinga-1.6.1-r2.ebuild, -icinga-1.7.0.ebuild, -icinga-1.7.1-r3.ebuild, - -icinga-1.7.1-r4.ebuild, icinga-1.7.2.ebuild, files/icinga-init.d, - files/ido2db-init.d: - removing old ebuilds for 434586 and cleanup - - 16 Sep 2012; Andreas Schuerch <nativemad@gentoo.org> icinga-1.7.2.ebuild: - x86 stable, see bug 434586 - - 11 Sep 2012; Agostino Sarubbo <ago@gentoo.org> icinga-1.7.2.ebuild: - Stable for amd64, wrt bug #434586 - -*icinga-1.7.2 (10 Sep 2012) - - 10 Sep 2012; Matthew Thode <prometheanfire@gentoo.org> - icinga-1.6.1-r2.ebuild, +icinga-1.7.2.ebuild, files/icinga-init.d-2, - files/ido2db-init.d-2: - update to 1.7.2 for bugs 433401 and 434586 - - 19 Aug 2012; Matthew Thode <prometheanfire@gentoo.org> files/ido2db-init.d-2: - forgot to change the need mysql/postgresql to use - -*icinga-1.7.1-r4 (19 Aug 2012) - - 19 Aug 2012; Matthew Thode <prometheanfire@gentoo.org> - +icinga-1.7.1-r4.ebuild, +files/icinga-init.d-2, +files/ido2db-init.d-2: - updating initscripts - -*icinga-1.7.1-r3 (17 Aug 2012) - - 17 Aug 2012; Matthew Thode <prometheanfire@gentoo.org> - +icinga-1.7.1-r3.ebuild: - adding icinga-1.7.1-r3.ebuild to remove the php dep - -*icinga-1.7.1-r2 (09 Jul 2012) - - 09 Jul 2012; Matthew Thode <prometheanfire@gentoo.org> - +icinga-1.7.1-r2.ebuild: - removed debug (not used anymore) and fixed emerging without web use flag bug - #424795 - -*icinga-1.7.1-r1 (25 Jun 2012) - - 25 Jun 2012; Matthew Thode <prometheanfire@gentoo.org> - +icinga-1.7.1-r1.ebuild: - restricting the test feature because not all the packages needed to test are - in tree. sorta fixes bug #423265 - -*icinga-1.7.1 (18 Jun 2012) - - 18 Jun 2012; Matthew Thode <prometheanfire@gentoo.org> +icinga-1.7.1.ebuild: - Version bump, bugfix release - - 12 Jun 2012; Zac Medico <zmedico@gentoo.org> icinga-1.6.1-r2.ebuild, - icinga-1.7.0.ebuild: - inherit user for enewgroup and enewuser - -*icinga-1.7.0 (15 May 2012) - - 15 May 2012; Matthew Thode <prometheanfire@gentoo.org> - +files/fix-prestripped-binaries-1.7.0.patch, +icinga-1.7.0.ebuild, - -files/icinga-init.d, -icinga-1.6.1-r1.ebuild, files/icinga-init.d, - icinga-1.6.1-r2.ebuild, metadata.xml: - adding 1.7.0 and removing 1.6.1-r1 - - 09 Mar 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> icinga-1.6.1-r2.ebuild: - x86 stable wrt bug #403949 - - 23 Feb 2012; Agostino Sarubbo <ago@gentoo.org> icinga-1.6.1-r2.ebuild: - Stable for amd64, wrt bug #403949 - - 20 Feb 2012; Mike Gilbert <floppym@gentoo.org> metadata.xml: - Drop no-herd. - - 08 Jan 2012; mthode <mthode@gentoo.org> files/icinga-init.d-2: - fixed the reload function and readded the checkconfig function to the init - script - - 29 Dec 2011; mthode <mthode@gentoo.org> +icinga-1.6.1-r1.ebuild: - readding r1.... - -*icinga-1.6.1-r2 (29 Dec 2011) - - 29 Dec 2011; mthode <mthode@gentoo.org> -icinga-1.6.1-r1.ebuild, - +icinga-1.6.1-r2.ebuild: - set plugins flag on by default - -*icinga-1.6.1-r1 (04 Dec 2011) - - 04 Dec 2011; mthode <mthode@gentoo.org> -icinga-1.6.1.ebuild, - +icinga-1.6.1-r1.ebuild, files/icinga-init.d-2, files/ido2db-init.d: - fixed error in old ido2db-init and updated icinga-init to be in line with new - openrc - - 03 Dec 2011; mthode <mthode@gentoo.org> -icinga-1.5.1.ebuild, - -icinga-1.5.1-r1.ebuild: - removed older ebuilds - -*icinga-1.6.1 (02 Dec 2011) - - 02 Dec 2011; mthode <mthode@gentoo.org> +icinga-1.6.1.ebuild, - files/icinga-init.d-2, files/icinga-apache.conf: - moved /var/icinga to /var/lib/icinga; init updated to remove redundant config - check (done by default now); add icinga to nagios group all the time; moved - loging around; removed api use flag - - 22 Nov 2011; mthode <mthode@gentoo.org> -icinga-1.5.1-r2.ebuild: - removed icinga-1.5.1-r2.ebuild for init.d error (fix is in r3) - -*icinga-1.5.1-r3 (22 Nov 2011) - - 22 Nov 2011; mthode <mthode@gentoo.org> +icinga-1.5.1-r3.ebuild, - files/icinga-init.d-2: - changed default install from /var/icinga to /var/lib/icinga - -*icinga-1.5.1-r2 (21 Nov 2011) - - 21 Nov 2011; mthode <mthode@gentoo.org> +icinga-1.5.1-r2.ebuild, - +files/icinga-init.d-2: - Changed directory perms and file locations and initscript, see bug 391143 for - more info - -*icinga-1.5.1-r1 (15 Nov 2011) - - 15 Nov 2011; mthode <mthode@gentoo.org> +icinga-1.5.1-r1.ebuild, - +files/fix-prestripped-binaries.patch: - Revbump to fix prestripped-binaries - -*icinga-1.5.1 (15 Nov 2011) - - 15 Nov 2011; mthode <mthode@gentoo.org> +files/icinga-apache.conf, - +files/icinga-conf.d, +files/icinga-init.d, +files/icinga-lighty.conf, - +files/ido2db-conf.d, +icinga-1.5.1.ebuild, +files/ido2db-init.d, - +metadata.xml: - New ebuild for icinga. Writen by Prometheanfire. Fixes bug #271339. - diff --git a/net-analyzer/icinga/Manifest b/net-analyzer/icinga/Manifest deleted file mode 100644 index a5e48a7..0000000 --- a/net-analyzer/icinga/Manifest +++ /dev/null @@ -1,18 +0,0 @@ -AUX fix-prestripped-binaries-1.7.0.patch 857 SHA256 dba024fff1934a44e7f3e20e93c121aa251ef1286c8971247e45509c31aaf3ad SHA512 4a01ff3cf8569cfeadad283d1085b7af4f5703f6ad066aa5eb61f06f79ca54a4fd29375dd9a120a1a649c7e76019298e9e99ee1360717db227ff63c0a9cc021c WHIRLPOOL 5029ccefc5e66ca363dbed33ce8df99c6993a0f82942143e9c8ada45481f6bcaecfa62380bb69802fb0d0b3910e4501ec2378423d8b72b5cd93822e60a993e22 -AUX fix-prestripped-binaries.patch 775 SHA256 0e436d2db97e5f0c1985e2ab3c7e8518196468b99e43ac4e7c2a73f1fcb08957 SHA512 a5db714d24e1d2fabc9d30d6156f84ba87db05fa6c1ba76543f646d31a16542abf19ffed89766b51a15c24f8fe4c74ce5e24e3ee76826ef324e11d98e3528cb6 WHIRLPOOL 82609265990b25673c71956ef6dd7f50b124918c45aa54716ff9d50fa9e429f94b82af4ef2df27781450b416ed2dca90a5818c5e216c74804efc01ac0af2bd9f -AUX icinga-apache.conf 591 SHA256 a5e7b64baa21f04d5ce6540571260f5de45382e3af93dca99ae8f57b5fb299df SHA512 f08d6d17fcbd695af43a6e2ca230c001ad5ab2ce4f50c61ed8a41addb1eebc7a6fbbb0a53d72ba5686d5a8d0f21d9a2e9cff98e8ce53e8bd04d9a658300d327a WHIRLPOOL 5b93d216745a5aee353aa03e5054926bf6e0ef8929ce17b174672787254a4b3c9707a3d718ca75619d03436818543434c621f8e97f9914bef616dba2ddc093d1 -AUX icinga-conf.d 178 SHA256 68dde656424fc57e66babceb3c6623a235fac8bf1f9cd885138e31878db740db SHA512 96411175c488423c61f45fc9c76131a9807a36f08c9f73c6a6fb50e432d951d3e4ab42b456732b48cb009944faff4af472eb76fbefd75fd61978dfc6d199e9cd WHIRLPOOL acf6b66165c227515099f25b6db38c5cce86a50844983123a136f6cf63ce744f49fde1d243c2dcadbceaf62154e3fbc8eadca8933c80fc0501aaaf52c5e0266a -AUX icinga-init.d 1481 SHA256 0068438b7f47983888a7d7c92da13a3b4de5cdf377d14b6e62fe990e852715c1 SHA512 9ed5d239b896c0e17965d3fefd830a8ae89da396de6eceb029bb1b1fb04e37372d7120a612eb6ea3663f2499d6d04c5672abe26a9cfe9e55c10d2051e77cb4b7 WHIRLPOOL d62c733f4f89bc8bae319f8ec10b847a9673356aca3fb9c4f1c587ea436ed100fff9842108521e65b21c2546b333bd2a61191914b31482ebdfb81a8727b56c3f -AUX icinga-lighty.conf 465 SHA256 f4059bc54959fb2544f23c2fc6a86f0ab2467025ce1f468317a0079b55116b44 SHA512 2a8783945330c54eaa331587f2e7291bdddb8c6717c659ac8dfec7c14ab762a01a870f5fb35d91bb54f36c867eb56c13dce11b5ab13d6e5b6fc9049ce5f57372 WHIRLPOOL 3634d30b9e4841f4424ce36983a88e56ccf3385ab5c9f8e27f322a0ebc59985cb618dbe70d8f67ab641e8a6151721f70cc0f104c905b4da0c35af6ceb899eca1 -AUX ido2db-conf.d 35 SHA256 6cbdf0eb7070121bd466c221d73cf6ca05a4af5caa1d4abedf62828edd1b1372 SHA512 c2988f205ce29daaacd2daa20ceb285da2b76e2a68bb5dd695874e73b275714eaea5e0b6bb0afaf7e5d875a9e89ee35c7dfcdb5c77513b2f1a59fbbd28f49f4f WHIRLPOOL 7816a44592582b65bb05b7c568af29885ab547b0164582d939e37b937ddc0cfa3dfc503b8673042b5ce60e0b19ba96dcfe08e13882c8bbae80d9750411945966 -AUX ido2db-init.d 936 SHA256 313d17b31c4aee42f4959f30e173390db2e73464ffb5996172db0197ca8123d2 SHA512 c5c6f3245f61bb5deb49438255215624c3286a73dfe6c7ef7f69fb60e497163c2d7766cc6fa14acbbc20505bc278a59afd946a95189d3b952ed817c98b93fd53 WHIRLPOOL f271ad1ad9a7b541420654d2c96f2ac61f0acb484963ac27892a0dbd1889789c721e23313f6f2b4787336531c63b3cd7715e53a19f5ad6f1ff29fba128d5a4bc -DIST icinga-1.7.2.tar.gz 12946623 SHA256 86497cab06197f6df017e788e26b27bf1797b8c448fa90fa806c693bc30b6750 SHA512 220dc9dd3dd3ece28fc1a20979e89e7214f200848e1a81a1161eea903fa0d0ef0b44da21ece20b8b79216fe003736b320fbc25286f7d6e441522eefa43c6017c WHIRLPOOL a5a61485e9f5b8917b6182a50b671c74ce5576453760869263543c7cad38c370019866b5d01b534eea3c2783cf90233d6cfe5fe1e6ee86e5b9fa1ed4f104550e -DIST icinga-1.8.0.tar.gz 7543267 SHA256 0ebc89f7c7beda727804f8a78ee07cf747281fa9e479f5d8f152f6f9b3af0fb8 SHA512 75561bda625c461f469c3d97f8edf6bade111a956241fc20b15909652432eb4a28027733a1ae18890d73d44319403771ede3ba972ac32ce08b984d5f2a2070c8 WHIRLPOOL c02f8836d916673775527d20c121670e0a6ed1f7d75a87aca6031b6be7c48969324e01b9994ea2ac7af175c8c6b01b6845b874eafdd7415f4d34b5b08095730f -DIST icinga-1.8.1.tar.gz 7543668 SHA256 3d02d80bdefc2518ab8517be6930a518b77747e0243fa594731fb1f95dbab916 SHA512 2a0d0c68c6f039e38281ac59ef4145997728bfbd5c869f89cb329a9fc522db0315bc31c629ce2c04b58a7a980675ade5dd06d461ee4c904f0002b101377c9af0 WHIRLPOOL fc3282200a076ae6da3ae7f615c8a5b35abd38e65c86fb9763c974d128294457830f78fc157b792c7ec46d54250fae9a2432556ea489e9d3ab6a35879a32eac8 -DIST icinga-1.8.2.tar.gz 7458441 SHA256 39b69a8676895cf458fb71a2ebe75806ea6014bff6ac09871f330f293a6de0c9 SHA512 daa95d90a2e8f5a100d16d82700c54ff2f43ed6ba7fb327ebd079e93e58bdd821a7c8d77f07c74b8a02f5d73b55b208e60585fabed6abf9a01af0c1b3967c8ee WHIRLPOOL 6f8f0306fa8311d04b7cfa38ce5fa08ac1e0d616c8eb6784018b56d6ca1820bbbd7248b6190847628f0ae1f391ecc71e83a5acf4710f7c5ba26f565ad65f6e29 -EBUILD icinga-1.7.2.ebuild 7411 SHA256 4c203df5027258b22fa106a2d9fdc3199d6a5ead2b0032b4bc8b3a22e83b86a0 SHA512 b38981e8613a89eb7ae8a24846522a46d8ed4628f3151df1cc57681162c9fc196e4c0c3344c0ffb94a864ef9e6760ae6b7f50f21421880f876ed09d068d42a54 WHIRLPOOL abd0901dd21a6d42267373769292b629f935e1a8804af0fbe1f24f214c289687e8f69cc1b37fa0a46863f1e29ae31cd887e9038de84477dd1b051c28dc542563 -EBUILD icinga-1.8.0.ebuild 7515 SHA256 e1a9bb61334f865b950816aa4329664186cce4226b4c1a66e6069b0ddb038483 SHA512 ed3884c1cd650aee9eb441a927b064e7cb3c9fe3addf3774e95d3ba1a8b3a9b41fb3a8bf58c00a3bf3cb2019e8620ea6745995e643f42f24bbadcc75b343a193 WHIRLPOOL aa25c54a4786e6ad390fa90f807d9926388eb4c8c271226fbd48a157dc59dde79fcdef9fcedf2c0a4a6f6d2b1c0f4b2f546b2995a4b9fda08e5ee159d42c704e -EBUILD icinga-1.8.1.ebuild 7515 SHA256 e1a9bb61334f865b950816aa4329664186cce4226b4c1a66e6069b0ddb038483 SHA512 ed3884c1cd650aee9eb441a927b064e7cb3c9fe3addf3774e95d3ba1a8b3a9b41fb3a8bf58c00a3bf3cb2019e8620ea6745995e643f42f24bbadcc75b343a193 WHIRLPOOL aa25c54a4786e6ad390fa90f807d9926388eb4c8c271226fbd48a157dc59dde79fcdef9fcedf2c0a4a6f6d2b1c0f4b2f546b2995a4b9fda08e5ee159d42c704e -EBUILD icinga-1.8.2.ebuild 7517 SHA256 f50d6ee077054243f96f2c1f520fd66999d10a6459832d30221f200d1647fd1f SHA512 45451fef0e4aeb67a8429a2199c618f2d683b3603671a92b8ff227bccc9c58877184b33cba936c580e88a004883ce44109ed9ef5b53ebed39b4a9f27fbc6f24a WHIRLPOOL 64ecdcf3efaaff5c22b27c498dde2460df52341c00acc5499edcc638294ad09bccbfc06d9a669468bf18249431d19415f39016451527fbb8f24499f5da1519c5 -MISC ChangeLog 5025 SHA256 b44ac49fa2dd1cf8daba995829f238f354b88b71ef38db044c3db6c206d94a81 SHA512 bd1ca4b5760b26bd9cae5c7107a4d55517c1e6365c601e15aa3e8a45ee5db17ac38bb4b45d9805e31a88446e16882dc06e65fc8ef7add4b92fe5c764c35606a7 WHIRLPOOL 6f713023bb9bc0c4f07a29c65645c4baaafb5e1276b17bb2d54280ee8a5d467fd802fa6edd8e750143e0d5d165b1134a89fab4a7ca18f1028131a4aedc3fe145 -MISC metadata.xml 656 SHA256 d3a2a2616d4a81e0443c3c093d696c9c16497d3f403a7c891ca1a618248cb1e6 SHA512 2ff9ada9593a3f0751ff6e157f3acb4035281340272a4d9f4cf1e0ba61b97ef629e041ae9edf2faf4e6ee11e6965eb70993ad3821a9a94dcfbfc8d8605f37ed7 WHIRLPOOL 9111ba6f92eefdbfcd0832def713aab3e85b4b0ccc2edc804bae648819b214f4e829bfff717d8e6017719966af048f48b190f9bcfc673fea134c8bdc8222bf86 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 -} diff --git a/net-analyzer/icinga/icinga-1.7.2.ebuild b/net-analyzer/icinga/icinga-1.7.2.ebuild deleted file mode 100644 index 55c979b..0000000 --- a/net-analyzer/icinga/icinga-1.7.2.ebuild +++ /dev/null @@ -1,248 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/icinga/icinga-1.7.2.ebuild,v 1.4 2012/09/17 19:48:49 prometheanfire Exp $ - -EAPI=2 - -inherit depend.apache eutils multilib toolchain-funcs user versionator - -DESCRIPTION="Nagios Fork - Check daemon, CGIs, docs, IDOutils" -HOMEPAGE="http://www.icinga.org/" -#MY_PV=$(delete_version_separator 3) -#SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz" -#S=${WORKDIR}/${PN}-${MY_PV} -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+apache2 eventhandler +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 ) - ) - !net-analyzer/nagios-core" -RDEPEND="${DEPEND} - plugins? ( net-analyzer/nagios-plugins )" -RESTRICT="test" - -want_apache2 - -pkg_setup() { - depend.apache_pkg_setup - enewgroup icinga - enewgroup nagios - enewuser icinga -1 -1 /var/lib/icinga "icinga,nagios" -} - -src_prepare() { - epatch "${FILESDIR}/fix-prestripped-binaries-1.7.0.patch" -} - -src_configure() { - local myconf - - myconf="$(use_enable perl embedded-perl) - $(use_with perl perlcache) - $(use_enable idoutils) - $(use_enable ssl) - --disable-statuswrl - --with-cgiurl=/icinga/cgi-bin - --with-log-dir=/var/log/icinga - --libdir=/usr/$(get_libdir) - --bindir=/usr/sbin - --sbindir=/usr/$(get_libdir)/icinga/cgi-bin - --datarootdir=/usr/share/icinga/htdocs - --localstatedir=/var/lib/icinga - --sysconfdir=/etc/icinga - --with-lockfile=/var/run/icinga/icinga.lock - --with-temp-dir=/tmp/icinga - --with-temp-file=/tmp/icinga/icinga.tmp" - - if use idoutils ; then - myconf+=" --with-ido2db-lockfile=/var/run/icinga/ido2db.lock - --with-icinga-chkfile=/var/lib/icinga/icinga.chk - --with-ido-sockfile=/var/lib/icinga/ido.sock - --with-idomod-tmpfile=/tmp/icinga/idomod.tmp" - fi - - if use eventhandler ; then - myconfig+=" --with-eventhandler-dir=/etc/icinga/eventhandlers" - fi - - if use plugins ; then - myconf+=" --with-plugin-dir=/usr/$(get_libdir)/nagios/plugins" - else - myconf+=" --with-plugin-dir=/usr/$(get_libdir)/nagios/plugins" - fi - - if use !apache2 && use !lighttpd ; then - myconf+=" --with-command-group=icinga" - else - if use apache2 ; then - myconf+=" --with-httpd-conf=/etc/apache2/conf.d" - myconf+=" --with-command-group=apache" - elif use lighttpd ; then - myconf+=" --with-command-group=lighttpd" - fi - fi - - econf ${myconf} -} - -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 - - emake DESTDIR="${D}" install{,-config,-commandmode} || die - - if use idoutils ; then - emake DESTDIR="${D}" install-idoutils || die - fi - - if use eventhandler ; then - emake DESTDIR="${D}" install-eventhandlers || 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 - 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 {} + - fi - - if use eventhandler ; then - dodir /etc/icinga/eventhandlers || die - fowners icinga:icinga /etc/icinga/eventhandlers || die - fi - - dodir /var/run/icinga || die - fowners icinga:icinga /var/run/icinga || die - - keepdir /etc/icinga - keepdir /var/lib/icinga - keepdir /var/lib/icinga/archives - keepdir /var/lib/icinga/rw - keepdir /var/lib/icinga/spool/checkresults - - if use apache2 ; then - webserver=apache - elif use lighttpd ; then - webserver=lighttpd - else - webserver=icinga - fi - - fowners icinga:icinga /var/lib/icinga || die "Failed chown of /var/lib/icinga" - fowners -R icinga:${webserver} /var/lib/icinga/rw || die "Failed chown of /var/lib/icinga/rw" - - fperms 6755 /var/lib/icinga/rw || die "Failed Chmod of ${D}/var/lib/icinga/rw" - fperms 0750 /etc/icinga || die "Failed chmod of ${D}/etc/icinga" -} - -pkg_postinst() { - 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 a line like" - elog "APACHE2_OPTS=\"\$APACHE2_OPTS -D ICINGA\"" - elog - elog "Icinga web service needs user authentication. If you" - elog "use the base configuration, you need a password file" - elog "with a password for user \"icingaadmin\"" - elog "You can create this file by executing:" - elog "htpasswd -c /etc/icinga/htpasswd.users icingaadmin" - 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 - elog - 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." - elog - if [ -d "${ROOT}"/var/icinga ] ; then - ewarn - ewarn "/var/icinga was moved to /var/lib/icinga" - ewarn "please move the files if this was an upgrade" - if use idoutils ; then - ewarn "and edit /etc/ido2db.cfg to change the location of the files" - ewarn "it accesses" - fi - ewarn - ewarn "The \"mv /var/icinga /var/lib/\" command works well to move the files" - ewarn "remove /var/icinga afterwards to make this warning disappear" - fi -} diff --git a/net-analyzer/icinga/icinga-1.8.0.ebuild b/net-analyzer/icinga/icinga-1.8.0.ebuild deleted file mode 100644 index fe83f26..0000000 --- a/net-analyzer/icinga/icinga-1.8.0.ebuild +++ /dev/null @@ -1,250 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/icinga/icinga-1.7.2.ebuild,v 1.4 2012/09/17 19:48:49 prometheanfire Exp $ - -EAPI=2 - -inherit depend.apache eutils multilib toolchain-funcs user versionator - -DESCRIPTION="Nagios Fork - Check daemon, CGIs, docs, IDOutils" -HOMEPAGE="http://www.icinga.org/" -#MY_PV=$(delete_version_separator 3) -#SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz" -#S=${WORKDIR}/${PN}-${MY_PV} -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+apache2 eventhandler +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 ) - ) - !net-analyzer/nagios-core" -RDEPEND="${DEPEND} - plugins? ( net-analyzer/nagios-plugins )" -RESTRICT="test" - -want_apache2 - -pkg_setup() { - depend.apache_pkg_setup - enewgroup icinga - enewgroup nagios - enewuser icinga -1 -1 /var/lib/icinga "icinga,nagios" -} - -src_prepare() { - epatch "${FILESDIR}/fix-prestripped-binaries-1.7.0.patch" -} - -src_configure() { - local myconf - - myconf="$(use_enable perl embedded-perl) - $(use_with perl perlcache) - $(use_enable idoutils) - $(use_enable ssl) - --disable-statuswrl - --with-cgiurl=/icinga/cgi-bin - --with-log-dir=/var/log/icinga - --libdir=/usr/$(get_libdir) - --bindir=/usr/sbin - --sbindir=/usr/$(get_libdir)/icinga/cgi-bin - --datarootdir=/usr/share/icinga/htdocs - --localstatedir=/var/lib/icinga - --sysconfdir=/etc/icinga - --with-lockfile=/var/run/icinga/icinga.lock - --with-temp-dir=/tmp/icinga - --with-temp-file=/tmp/icinga/icinga.tmp" - - if use idoutils ; then - myconf+=" --with-ido2db-lockfile=/var/run/icinga/ido2db.lock - --with-icinga-chkfile=/var/lib/icinga/icinga.chk - --with-ido-sockfile=/var/lib/icinga/ido.sock - --with-idomod-tmpfile=/tmp/icinga/idomod.tmp" - fi - - if use eventhandler ; then - myconfig+=" --with-eventhandler-dir=/etc/icinga/eventhandlers" - fi - - if use plugins ; then - myconf+=" --with-plugin-dir=/usr/$(get_libdir)/nagios/plugins" - else - myconf+=" --with-plugin-dir=/usr/$(get_libdir)/nagios/plugins" - fi - - if use !apache2 && use !lighttpd ; then - myconf+=" --with-command-group=icinga" - else - if use apache2 ; then - myconf+=" --with-httpd-conf=/etc/apache2/conf.d" - myconf+=" --with-command-group=apache" - elif use lighttpd ; then - myconf+=" --with-command-group=lighttpd" - fi - fi - - econf ${myconf} -} - -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 - - emake DESTDIR="${D}" install{,-config,-commandmode} || die - - if use idoutils ; then - emake DESTDIR="${D}" install-idoutils || die - fi - - if use eventhandler ; then - emake DESTDIR="${D}" install-eventhandlers || 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 - 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 {} + - fi - - if use eventhandler ; then - dodir /etc/icinga/eventhandlers || die - fowners icinga:icinga /etc/icinga/eventhandlers || die - fi - - dodir /var/run/icinga || die - fowners icinga:icinga /var/run/icinga || die - - keepdir /etc/icinga - keepdir /var/lib/icinga - keepdir /var/lib/icinga/archives - keepdir /var/lib/icinga/rw - keepdir /var/lib/icinga/spool/checkresults - - if use apache2 ; then - webserver=apache - elif use lighttpd ; then - webserver=lighttpd - else - webserver=icinga - fi - - fowners icinga:icinga /var/lib/icinga || die "Failed chown of /var/lib/icinga" - fowners -R icinga:${webserver} /var/lib/icinga/rw || die "Failed chown of /var/lib/icinga/rw" - - fperms 6755 /var/lib/icinga/rw || die "Failed Chmod of ${D}/var/lib/icinga/rw" - fperms 0750 /etc/icinga || die "Failed chmod of ${D}/etc/icinga" -} - -pkg_postinst() { - 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 a line like" - elog "APACHE2_OPTS=\"\$APACHE2_OPTS -D ICINGA\"" - elog - elog "Icinga web service needs user authentication. If you" - elog "use the base configuration, you need a password file" - elog "with a password for user \"icingaadmin\"" - elog "You can create this file by executing:" - elog "htpasswd -c /etc/icinga/htpasswd.users icingaadmin" - 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 - elog - 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." - elog - if [ -d "${ROOT}"/var/icinga ] ; then - ewarn - ewarn "/var/icinga was moved to /var/lib/icinga" - ewarn "please move the files if this was an upgrade" - if use idoutils ; then - ewarn "and edit /etc/ido2db.cfg to change the location of the files" - ewarn "it accesses" - ewarn "update your db with the scripts under the directory" - ewarn "/usr/share/icinga/contrib/db/" - fi - ewarn - ewarn "The \"mv /var/icinga /var/lib/\" command works well to move the files" - ewarn "remove /var/icinga afterwards to make this warning disappear" - fi -} diff --git a/net-analyzer/icinga/icinga-1.8.1.ebuild b/net-analyzer/icinga/icinga-1.8.1.ebuild deleted file mode 100644 index fe83f26..0000000 --- a/net-analyzer/icinga/icinga-1.8.1.ebuild +++ /dev/null @@ -1,250 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/icinga/icinga-1.7.2.ebuild,v 1.4 2012/09/17 19:48:49 prometheanfire Exp $ - -EAPI=2 - -inherit depend.apache eutils multilib toolchain-funcs user versionator - -DESCRIPTION="Nagios Fork - Check daemon, CGIs, docs, IDOutils" -HOMEPAGE="http://www.icinga.org/" -#MY_PV=$(delete_version_separator 3) -#SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz" -#S=${WORKDIR}/${PN}-${MY_PV} -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+apache2 eventhandler +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 ) - ) - !net-analyzer/nagios-core" -RDEPEND="${DEPEND} - plugins? ( net-analyzer/nagios-plugins )" -RESTRICT="test" - -want_apache2 - -pkg_setup() { - depend.apache_pkg_setup - enewgroup icinga - enewgroup nagios - enewuser icinga -1 -1 /var/lib/icinga "icinga,nagios" -} - -src_prepare() { - epatch "${FILESDIR}/fix-prestripped-binaries-1.7.0.patch" -} - -src_configure() { - local myconf - - myconf="$(use_enable perl embedded-perl) - $(use_with perl perlcache) - $(use_enable idoutils) - $(use_enable ssl) - --disable-statuswrl - --with-cgiurl=/icinga/cgi-bin - --with-log-dir=/var/log/icinga - --libdir=/usr/$(get_libdir) - --bindir=/usr/sbin - --sbindir=/usr/$(get_libdir)/icinga/cgi-bin - --datarootdir=/usr/share/icinga/htdocs - --localstatedir=/var/lib/icinga - --sysconfdir=/etc/icinga - --with-lockfile=/var/run/icinga/icinga.lock - --with-temp-dir=/tmp/icinga - --with-temp-file=/tmp/icinga/icinga.tmp" - - if use idoutils ; then - myconf+=" --with-ido2db-lockfile=/var/run/icinga/ido2db.lock - --with-icinga-chkfile=/var/lib/icinga/icinga.chk - --with-ido-sockfile=/var/lib/icinga/ido.sock - --with-idomod-tmpfile=/tmp/icinga/idomod.tmp" - fi - - if use eventhandler ; then - myconfig+=" --with-eventhandler-dir=/etc/icinga/eventhandlers" - fi - - if use plugins ; then - myconf+=" --with-plugin-dir=/usr/$(get_libdir)/nagios/plugins" - else - myconf+=" --with-plugin-dir=/usr/$(get_libdir)/nagios/plugins" - fi - - if use !apache2 && use !lighttpd ; then - myconf+=" --with-command-group=icinga" - else - if use apache2 ; then - myconf+=" --with-httpd-conf=/etc/apache2/conf.d" - myconf+=" --with-command-group=apache" - elif use lighttpd ; then - myconf+=" --with-command-group=lighttpd" - fi - fi - - econf ${myconf} -} - -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 - - emake DESTDIR="${D}" install{,-config,-commandmode} || die - - if use idoutils ; then - emake DESTDIR="${D}" install-idoutils || die - fi - - if use eventhandler ; then - emake DESTDIR="${D}" install-eventhandlers || 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 - 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 {} + - fi - - if use eventhandler ; then - dodir /etc/icinga/eventhandlers || die - fowners icinga:icinga /etc/icinga/eventhandlers || die - fi - - dodir /var/run/icinga || die - fowners icinga:icinga /var/run/icinga || die - - keepdir /etc/icinga - keepdir /var/lib/icinga - keepdir /var/lib/icinga/archives - keepdir /var/lib/icinga/rw - keepdir /var/lib/icinga/spool/checkresults - - if use apache2 ; then - webserver=apache - elif use lighttpd ; then - webserver=lighttpd - else - webserver=icinga - fi - - fowners icinga:icinga /var/lib/icinga || die "Failed chown of /var/lib/icinga" - fowners -R icinga:${webserver} /var/lib/icinga/rw || die "Failed chown of /var/lib/icinga/rw" - - fperms 6755 /var/lib/icinga/rw || die "Failed Chmod of ${D}/var/lib/icinga/rw" - fperms 0750 /etc/icinga || die "Failed chmod of ${D}/etc/icinga" -} - -pkg_postinst() { - 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 a line like" - elog "APACHE2_OPTS=\"\$APACHE2_OPTS -D ICINGA\"" - elog - elog "Icinga web service needs user authentication. If you" - elog "use the base configuration, you need a password file" - elog "with a password for user \"icingaadmin\"" - elog "You can create this file by executing:" - elog "htpasswd -c /etc/icinga/htpasswd.users icingaadmin" - 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 - elog - 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." - elog - if [ -d "${ROOT}"/var/icinga ] ; then - ewarn - ewarn "/var/icinga was moved to /var/lib/icinga" - ewarn "please move the files if this was an upgrade" - if use idoutils ; then - ewarn "and edit /etc/ido2db.cfg to change the location of the files" - ewarn "it accesses" - ewarn "update your db with the scripts under the directory" - ewarn "/usr/share/icinga/contrib/db/" - fi - ewarn - ewarn "The \"mv /var/icinga /var/lib/\" command works well to move the files" - ewarn "remove /var/icinga afterwards to make this warning disappear" - fi -} diff --git a/net-analyzer/icinga/icinga-1.8.2.ebuild b/net-analyzer/icinga/icinga-1.8.2.ebuild deleted file mode 100644 index cb7423c..0000000 --- a/net-analyzer/icinga/icinga-1.8.2.ebuild +++ /dev/null @@ -1,250 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/icinga/icinga-1.7.2.ebuild,v 1.4 2012/09/17 19:48:49 prometheanfire Exp $ - -EAPI=2 - -inherit depend.apache eutils multilib toolchain-funcs user versionator - -DESCRIPTION="Nagios Fork - Check daemon, CGIs, docs, IDOutils" -HOMEPAGE="http://www.icinga.org/" -#MY_PV=$(delete_version_separator 3) -#SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz" -#S=${WORKDIR}/${PN}-${MY_PV} -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+apache2 eventhandler +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 ) - ) - !net-analyzer/nagios-core" -RDEPEND="${DEPEND} - plugins? ( net-analyzer/nagios-plugins )" -RESTRICT="test" - -want_apache2 - -pkg_setup() { - depend.apache_pkg_setup - enewgroup icinga - enewgroup nagios - enewuser icinga -1 -1 /var/lib/icinga "icinga,nagios" -} - -src_prepare() { - epatch "${FILESDIR}/fix-prestripped-binaries-1.7.0.patch" -} - -src_configure() { - local myconf - - myconf="$(use_enable perl embedded-perl) - $(use_with perl perlcache) - $(use_enable idoutils) - $(use_enable ssl) - --disable-statuswrl - --with-cgiurl=/icinga/cgi-bin - --with-log-dir=/var/log/icinga - --libdir=/usr/$(get_libdir) - --bindir=/usr/sbin - --sbindir=/usr/$(get_libdir)/icinga/cgi-bin - --datarootdir=/usr/share/icinga/htdocs - --localstatedir=/var/lib/icinga - --sysconfdir=/etc/icinga - --with-lockfile=/var/run/icinga/icinga.lock - --with-temp-dir=/tmp/icinga - --with-temp-file=/tmp/icinga/icinga.tmp" - - if use idoutils ; then - myconf+=" --with-ido2db-lockfile=/var/run/icinga/ido2db.lock - --with-icinga-chkfile=/var/lib/icinga/icinga.chk - --with-ido-sockfile=/var/lib/icinga/ido.sock - --with-idomod-tmpfile=/tmp/icinga/idomod.tmp" - fi - - if use eventhandler ; then - myconfig+=" --with-eventhandler-dir=/etc/icinga/eventhandlers" - fi - - if use plugins ; then - myconf+=" --with-plugin-dir=/usr/$(get_libdir)/nagios/plugins" - else - myconf+=" --with-plugin-dir=/usr/$(get_libdir)/nagios/plugins" - fi - - if use !apache2 && use !lighttpd ; then - myconf+=" --with-command-group=icinga" - else - if use apache2 ; then - myconf+=" --with-httpd-conf=/etc/apache2/conf.d" - myconf+=" --with-command-group=apache" - elif use lighttpd ; then - myconf+=" --with-command-group=lighttpd" - fi - fi - - econf ${myconf} -} - -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 - - emake DESTDIR="${D}" install{,-config,-commandmode} || die - - if use idoutils ; then - emake DESTDIR="${D}" install-idoutils || die - fi - - if use eventhandler ; then - emake DESTDIR="${D}" install-eventhandlers || 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 - 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 {} + - fi - - if use eventhandler ; then - dodir /etc/icinga/eventhandlers || die - fowners icinga:icinga /etc/icinga/eventhandlers || die - fi - - dodir /var/run/icinga || die - fowners icinga:icinga /var/run/icinga || die - - keepdir /etc/icinga - keepdir /var/lib/icinga - keepdir /var/lib/icinga/archives - keepdir /var/lib/icinga/rw - keepdir /var/lib/icinga/spool/checkresults - - if use apache2 ; then - webserver=apache - elif use lighttpd ; then - webserver=lighttpd - else - webserver=icinga - fi - - fowners icinga:icinga /var/lib/icinga || die "Failed chown of /var/lib/icinga" - fowners -R icinga:${webserver} /var/lib/icinga/rw || die "Failed chown of /var/lib/icinga/rw" - - fperms 6755 /var/lib/icinga/rw || die "Failed Chmod of ${D}/var/lib/icinga/rw" - fperms 0750 /etc/icinga || die "Failed chmod of ${D}/etc/icinga" -} - -pkg_postinst() { - 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 a line like" - elog "APACHE2_OPTS=\"\$APACHE2_OPTS -D ICINGA\"" - elog - elog "Icinga web service needs user authentication. If you" - elog "use the base configuration, you need a password file" - elog "with a password for user \"icingaadmin\"" - elog "You can create this file by executing:" - elog "htpasswd -c /etc/icinga/htpasswd.users icingaadmin" - 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 - elog - 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." - elog - if [ -d "${ROOT}"/var/icinga ] ; then - ewarn - ewarn "/var/icinga was moved to /var/lib/icinga" - ewarn "please move the files if this was an upgrade" - if use idoutils ; then - ewarn "and edit /etc/ido2db.cfg to change the location of the files" - ewarn "it accesses" - ewarn "update your db with the scripts under the directory" - ewarn "/usr/share/icinga/contrib/db/" - fi - ewarn - ewarn "The \"mv /var/icinga /var/lib/\" command works well to move the files" - ewarn "remove /var/icinga afterwards to make this warning disappear" - fi -} diff --git a/net-analyzer/icinga/metadata.xml b/net-analyzer/icinga/metadata.xml deleted file mode 100644 index 476a6f0..0000000 --- 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="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> - <flag name="eventhandler">Adds support for running custom scripts whenever a host or service state change occurs</flag> - </use> - <maintainer> - <email>prometheanfire@gentoo.org</email> - </maintainer> -</pkgmetadata> diff --git a/sys-auth/keystone/Manifest b/sys-auth/keystone/Manifest deleted file mode 100644 index 3cf8f7d..0000000 --- a/sys-auth/keystone/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -AUX keystone.confd 67 SHA256 8faa32d3354df30b1d1c98cf481be162c27583b84e387f8da57611b689bc2448 SHA512 75b040eda6ef8701e8dac8f34b3dd3c96aedde3b005fac01f20592b3d8afb8bbce57fadc466cda69d7192f96460a5c704d941a16b96d02f3e80f1a3e264c2efe WHIRLPOOL 8e8cb4e8991ca8d8cf1e874bd2286900ca63379c73793bca906ecfc1318ee63a8af6d1f6090e9ef296bfbe5abf018368a5ad6430de1efdea0db626d8c697f3c4 -AUX keystone.initd 1069 SHA256 70cbe2d37f139f4e7d99ac128b89d399e291cabd38b9db6e25e9d462f61b3602 SHA512 1442b29fba14ecf055ebda63bfd89f128019be1cd5ae838e27bc91ae6d6902154bdc441a384ec1406915d471d9319f585086075faf2b326ba1f65a853314a88f WHIRLPOOL 97fe632d7977d95f87b42925f78c81b3c431180a94fbc984a949649c05b45da5172b093b3511d57edf1ab59fd90242f49486b83e769745dd329c7cd6e904d992 -DIST keystone-2012.1.2.tar.gz 447876 SHA256 0634eac122f38af11f73e7e8ef67d4dbb27e4179a23e78682f6b5212f6619c90 -DIST keystone-2012.2.tar.gz 547438 SHA256 1aed5911c00ebffea28cffbc4793921fb2a9c000e9bb967326b7db751c7281cc SHA512 bb6bb4499737474b49012fffffc4a7950a8427adb0b564f40d55bb7a43846e788266810d09ff54707709fba1db07a8b4b8d531e0547399490fe688e7b5d1fd32 WHIRLPOOL 825c9ac7357148cc0f9c732e946c6c07ccdf21ded3cf0f07d25c66615b991c6dcf72d48540c703c33addbf0e3c74c76a72709dd2ab4fe8b90c31addd92373912 -EBUILD keystone-2012.1.2.ebuild 893 SHA256 daa985940f05c56592acbb7868d054613591e2aae12e4d2ef2eb3e092e263010 SHA512 f0de6f8ecb1f5e3d5a32eac209866406e60f5845a4c9520cf779a05f5b1606a2fce8c3675df013079bc2dc8b5604e38ece779cb3d8f1e6042a5601e5e827102c WHIRLPOOL bc2d5ac99d54323a4f77da5a71ffe1ada949c7fe88d2cc7f916d62a49330c76bcf5dbf05cc0d025334668d0fd4a9573763bb27737769a3f0f68f9a8370130bd2 -EBUILD keystone-2012.2.ebuild 1566 SHA256 fbb3cd2aa681c700dce2f3db7de37f984b7090b658ec31dd1491ca72eca4d689 SHA512 9448e190970ef0fd32add1ac62cd1e388df4f20e229bbbc9c09e6e2b3ff492af33560bc0380fdc285f3330444fc88aaca416db033ecc86024bf176b0f815bfda WHIRLPOOL 945f03073dea47b46c7aea29a33c5bc81ad61623bc581d93fc7e277d0b3a97633ad0da699859474ec5d7af8fe8e4bceaee97f2c7af5de6dc1f4ee726cf937030 -EBUILD keystone-9999.ebuild 715 SHA256 9279e0d0c9a4bfd2a4076f310136bcee661e69ec14fd35fa797366402e8ab4ae SHA512 b63f413aaa4a92d6fbfcc70a53d1b9e4b99264d37a2b79703b1a993c7470487f8a5cdb3009c8a88e30d99f2b4d6d3e04762caf1d8ce7ba1ffbdf3124c2ba2ebb WHIRLPOOL d8544675a75bcd978162e066298e01243e1596315953a267fb602470c578f1c2180218d055d20b778c00e9f0989d4a545abad1fe3dc7bd74c7fe04b96e9f6454 -MISC metadata.xml 187 SHA256 773142fc211f4f8cd167704604281cbf366eabef6751c52a2895f63e9761a5a2 SHA512 81ef1f7d248dbdf4183b6700885e86071cee75bc1b69c3ed590c18193743da2562be527f212f088fe8ae9242b0aaaf7907912badae1264f14c2f5dde619c3fba WHIRLPOOL 32c1d67c8a74e4f3606e5aedc066ea7cdf09292beea0574c25d7448294b42ee9146a7724fcb9a7da04558e55c07619702e38e90656b962638cf747cb2c67ede3 diff --git a/sys-auth/keystone/files/keystone.confd b/sys-auth/keystone/files/keystone.confd deleted file mode 100644 index 7bc6565..0000000 --- a/sys-auth/keystone/files/keystone.confd +++ /dev/null @@ -1,2 +0,0 @@ -CONFIG_FILE=/etc/keystone/keystone.conf -PID_PATH=/var/run/keystone diff --git a/sys-auth/keystone/files/keystone.initd b/sys-auth/keystone/files/keystone.initd deleted file mode 100644 index dde18b0..0000000 --- a/sys-auth/keystone/files/keystone.initd +++ /dev/null @@ -1,53 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -depend() { - need net -} - -BASENAME=$(echo $SVCNAME | cut -d '-' -f 1) - -checkconfig() { - if [ ! -r /etc/conf.d/$BASENAME ]; then - eerror "No keystone service confd file found: /etc/conf.d/$BASENAME)" - return 1 - fi - . /etc/conf.d/$BASENAME - - if [ ! -r ${CONFIG_FILE} ]; then - eerror "No keystone config file found: ${CONFIG_FILE})" - return 1 - fi - - return 0 -} - - -start() { - checkconfig || return $? - . /etc/conf.d/$BASENAME - - ebegin "Starting ${SVCNAME}" - - start-stop-daemon --start --quiet --make-pidfile --pidfile "${PID_PATH}/${SVCNAME}.pid" \ - --exec /usr/bin/${SVCNAME}-all --background -- --config-file=${CONFIG_FILE} - - eend $? "Failed to start ${SVCNAME}" -} - -stop() { - checkconfig || return $? - . /etc/conf.d/$BASENAME - - ebegin "Stopping ${SVCNAME}" - - start-stop-daemon --stop --pidfile "${PID_PATH}/${SVCNAME}.pid" \ - --exec /usr/bin/${SVCNAME}-all - eend $? "Failed to stop ${SVCNAME}" -} - -#restart() { -# -#} diff --git a/sys-auth/keystone/keystone-2012.1.2.ebuild b/sys-auth/keystone/keystone-2012.1.2.ebuild deleted file mode 100644 index 51f4573..0000000 --- a/sys-auth/keystone/keystone-2012.1.2.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=3 - -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -#RESTRICT_PYTHON_ABIS="3.*" - -inherit distutils - -DESCRIPTION="Keystone is the Openstack authentication, authorization, and -service catalog written in Python." -HOMEPAGE="https://launchpad.net/keystone" -SRC_URI="http://launchpad.net/${PN}/essex/${PV}/+download/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -DEPEND="dev-python/setuptools - dev-python/pep8 - dev-python/lxml - dev-python/python-daemon" -RDEPEND="${DEPEND} - dev-python/python-novaclient - dev-python/python-ldap - dev-python/passlib" - -src_install() { - distutils_src_install - newconfd "${FILESDIR}/keystone.confd" keystone - newinitd "${FILESDIR}/keystone.initd" keystone - - diropts -m 0750 - dodir /var/run/keystone /var/log/keystone -} diff --git a/sys-auth/keystone/keystone-2012.2.ebuild b/sys-auth/keystone/keystone-2012.2.ebuild deleted file mode 100644 index cee9779..0000000 --- a/sys-auth/keystone/keystone-2012.2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" - -inherit distutils - -DESCRIPTION="Keystone is the Openstack authentication, authorization, and -service catalog written in Python." -HOMEPAGE="https://launchpad.net/keystone" -SRC_URI="http://launchpad.net/${PN}/folsom/${PV}/+download/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="folsom" -KEYWORDS="~amd64 ~x86" -IUSE="+sqlite mysql postgres ldap" - -#todo, seperate out rdepend via use flags -DEPEND="" -RDEPEND="${DEPEND} - dev-python/eventlet - dev-python/greenlet - dev-python/iso8601 - dev-python/lxml - dev-python/passlib - dev-python/paste - dev-python/pastedeploy - dev-python/python-daemon - dev-python/python-pam - dev-python/routes - >=dev-python/sqlalchemy-migrate-0.7 - >=dev-python/webob-1.0.8 - virtual/python-argparse - sqlite? ( dev-python/sqlalchemy[sqlite] ) - mysql? ( dev-python/sqlalchemy[mysql] ) - postgres? ( dev-python/sqlalchemy[postgres] ) - ldap? ( dev-python/python-ldap ) - ( || ( - sys-auth/keystone[sqlite] - sys-auth/keystone[mysql] - sys-auth/keystone[postgres] - sys-auth/keystone[ldap] - ) ) - " - -src_install() { - distutils_src_install - newconfd "${FILESDIR}/keystone.confd" keystone - newinitd "${FILESDIR}/keystone.initd" keystone - - diropts -m 0750 - dodir /var/run/keystone /var/log/keystone /etc/keystone - keepdir /etc/keystone - insinto /etc/keystone - doins etc/keystone.conf.sample etc/logging.conf.sample - doins etc/default_catalog.templates etc/policy.json -} diff --git a/sys-auth/keystone/keystone-9999.ebuild b/sys-auth/keystone/keystone-9999.ebuild deleted file mode 100644 index b42889e..0000000 --- a/sys-auth/keystone/keystone-9999.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=3 - -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" - -inherit git-2 distutils - -DESCRIPTION="Keystone is the Openstack authentication, authorization, and -service catalog written in Python." -HOMEPAGE="https://launchpad.net/keystone" -EGIT_REPO_URI="https://github.com/openstack/keystone.git" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -DEPEND="dev-python/setuptools - dev-python/pep8 - dev-python/lxml - dev-python/python-daemon - !dev-python/keystoneclient" -RDEPEND="${DEPEND} - dev-python/python-novaclient - dev-python/python-ldap - dev-python/passlib" diff --git a/sys-auth/keystone/metadata.xml b/sys-auth/keystone/metadata.xml deleted file mode 100644 index d034107..0000000 --- a/sys-auth/keystone/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<longdescription lang="en"> -</longdescription> -</pkgmetadata> - |