summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode (prometheanfire) <mthode@mthode.org>2010-10-30 19:33:58 +0000
committerMatthew Thode (prometheanfire) <mthode@mthode.org>2010-10-30 19:33:58 +0000
commitb74ca86b0c89b3b9ad4917aef57d0a1849ddb579 (patch)
treecaa003ebfae96cdaf056750a9874acb7fab71e21 /net-analyzer
parentdev-libs/libpath_utils: New ebuild for bug 343257 (diff)
downloadsunrise-b74ca86b0c89b3b9ad4917aef57d0a1849ddb579.tar.gz
sunrise-b74ca86b0c89b3b9ad4917aef57d0a1849ddb579.tar.bz2
sunrise-b74ca86b0c89b3b9ad4917aef57d0a1849ddb579.zip
net-analyzer/icinga: fixed small fixups
svn path=/sunrise/; revision=11500
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/icinga/ChangeLog3
-rw-r--r--net-analyzer/icinga/Manifest5
-rw-r--r--net-analyzer/icinga/icinga-1.2.1.ebuild14
-rw-r--r--net-analyzer/icinga/wgetpaste51
4 files changed, 68 insertions, 5 deletions
diff --git a/net-analyzer/icinga/ChangeLog b/net-analyzer/icinga/ChangeLog
index 8b249a99a..da4bc8c32 100644
--- a/net-analyzer/icinga/ChangeLog
+++ b/net-analyzer/icinga/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 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)
diff --git a/net-analyzer/icinga/Manifest b/net-analyzer/icinga/Manifest
index 27bdd0008..e859b929d 100644
--- a/net-analyzer/icinga/Manifest
+++ b/net-analyzer/icinga/Manifest
@@ -5,6 +5,7 @@ AUX icinga-lighty.conf 465 RMD160 34de76ad07f95e2282ae3e192b35cd9310ef2b4e SHA1
AUX ido2db-conf.d 35 RMD160 a2bb1738720a56285da529fb18eeb60739ac817b SHA1 57ba29aec3f80db9577da4aca34d228487dd12c1 SHA256 6cbdf0eb7070121bd466c221d73cf6ca05a4af5caa1d4abedf62828edd1b1372
AUX ido2db-init.d 539 RMD160 e89e70f67d5accc7ae66b77d9bf61d2e1cc9d647 SHA1 17f9317bd21a5e5dfd41bbb19f50357b80ba9599 SHA256 e5b6a782475cbbde5b49720cdbcbf14958338baca510e78e508902360a479b72
DIST icinga-1.2.1.tar.gz 8655343 RMD160 1da522144cb1f30ffa2b6f47f3d324d8c736b349 SHA1 730f12808f944bd635d93bb501c55b7360f2ae24 SHA256 88d452db569dc6e32d64571cb3178b79e2ad5378668e3035bf27943edd74650c
-EBUILD icinga-1.2.1.ebuild 5807 RMD160 be7837b18bf04c8112af1831e1b84cad5e4eb6d0 SHA1 2618495d362c6099ea2c6b6ea8950ffb89fec5d1 SHA256 07fafbd56d01bd95c3b99dd3f4384513c3ce7f66bac6fefa857ab0354b0ee10b
-MISC ChangeLog 1780 RMD160 4ac8c0afa7d97d564f18a6935b3b1e0cd8dcaec3 SHA1 4f61ee9a085667c39807a5102dd00e439345653f SHA256 c3289bd7e0f338ba44fae7117bd559e3f04f0068ae58b685d5fa69ab9ab68735
+EBUILD icinga-1.2.1.ebuild 5931 RMD160 ae683e1d49da618672d47534459fb15bb0fb475f SHA1 ead9b4fde87032db282b149e0a38e1b90e0b4130 SHA256 49adcdca91b4d5e13a96e7ae5df0c6e423ba9ecbd9a107fc0cd293da3dac3410
+MISC ChangeLog 1877 RMD160 cf2834b886e487b9b0078bb01f2e247e2e8cc610 SHA1 b73726414329967d67c611156134f9046e9f4e11 SHA256 f3082da62237af53339407c363660e37cdaa59dc17f5f0c4b2de93aaac67d4ea
MISC metadata.xml 617 RMD160 48225567d6faa1646f8600b2c2a924bfecb34bfe SHA1 1332e6a76891016de22c669c834ffbc47d0986a1 SHA256 c97b32c33007fddc24119f96f12df720da5232bb459e5f1c3970e658fd08089e
+MISC wgetpaste 2951 RMD160 b617cb45aa071ac7b30d8bf4bb0e06bcab71ee89 SHA1 cea2ddf1785307489286c2203962ed82dd75cca5 SHA256 83ef085397db417db58a4ee8b471788ed9455090ed5445b4c189f29c03a26898
diff --git a/net-analyzer/icinga/icinga-1.2.1.ebuild b/net-analyzer/icinga/icinga-1.2.1.ebuild
index 477746ea3..dfaaa8727 100644
--- a/net-analyzer/icinga/icinga-1.2.1.ebuild
+++ b/net-analyzer/icinga/icinga-1.2.1.ebuild
@@ -56,6 +56,7 @@ pkg_setup() {
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"
@@ -177,8 +178,9 @@ src_install() {
fowners -R icinga:icinga /etc/icinga /var/icinga || die "Failed chown of /etc/icinga"
fowners -R root:root /usr/$(get_libdir)/icinga
- find "${D}"/usr/$(get_libdir)/icinga -type d -exec fperms 755 {} +
- find "${D}"/usr/$(get_libdir)/icinga/cgi-bin -type f -exec fperms 755 {} +
+ 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
@@ -186,7 +188,13 @@ src_install() {
keepdir /var/icinga/rw
keepdir /var/icinga/spool/checkresults
- use apache2 && webserver=apache2 || use lighttpd && webserver=lighttpd || webserver=icinga
+ 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"
diff --git a/net-analyzer/icinga/wgetpaste b/net-analyzer/icinga/wgetpaste
new file mode 100644
index 000000000..475cbb2bd
--- /dev/null
+++ b/net-analyzer/icinga/wgetpaste
@@ -0,0 +1,51 @@
+Index: Manifest
+===================================================================
+--- Manifest (revision 11496)
++++ Manifest (working copy)
+@@ -5,6 +5,6 @@
+ AUX ido2db-conf.d 35 RMD160 a2bb1738720a56285da529fb18eeb60739ac817b SHA1 57ba29aec3f80db9577da4aca34d228487dd12c1 SHA256 6cbdf0eb7070121bd466c221d73cf6ca05a4af5caa1d4abedf62828edd1b1372
+ AUX ido2db-init.d 539 RMD160 e89e70f67d5accc7ae66b77d9bf61d2e1cc9d647 SHA1 17f9317bd21a5e5dfd41bbb19f50357b80ba9599 SHA256 e5b6a782475cbbde5b49720cdbcbf14958338baca510e78e508902360a479b72
+ DIST icinga-1.2.1.tar.gz 8655343 RMD160 1da522144cb1f30ffa2b6f47f3d324d8c736b349 SHA1 730f12808f944bd635d93bb501c55b7360f2ae24 SHA256 88d452db569dc6e32d64571cb3178b79e2ad5378668e3035bf27943edd74650c
+-EBUILD icinga-1.2.1.ebuild 5807 RMD160 be7837b18bf04c8112af1831e1b84cad5e4eb6d0 SHA1 2618495d362c6099ea2c6b6ea8950ffb89fec5d1 SHA256 07fafbd56d01bd95c3b99dd3f4384513c3ce7f66bac6fefa857ab0354b0ee10b
++EBUILD icinga-1.2.1.ebuild 5931 RMD160 ae683e1d49da618672d47534459fb15bb0fb475f SHA1 ead9b4fde87032db282b149e0a38e1b90e0b4130 SHA256 49adcdca91b4d5e13a96e7ae5df0c6e423ba9ecbd9a107fc0cd293da3dac3410
+ MISC ChangeLog 1780 RMD160 4ac8c0afa7d97d564f18a6935b3b1e0cd8dcaec3 SHA1 4f61ee9a085667c39807a5102dd00e439345653f SHA256 c3289bd7e0f338ba44fae7117bd559e3f04f0068ae58b685d5fa69ab9ab68735
+ MISC metadata.xml 617 RMD160 48225567d6faa1646f8600b2c2a924bfecb34bfe SHA1 1332e6a76891016de22c669c834ffbc47d0986a1 SHA256 c97b32c33007fddc24119f96f12df720da5232bb459e5f1c3970e658fd08089e
+Index: icinga-1.2.1.ebuild
+===================================================================
+--- icinga-1.2.1.ebuild (revision 11496)
++++ icinga-1.2.1.ebuild (working copy)
+@@ -56,6 +56,7 @@
+ 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"
+@@ -177,8 +178,9 @@
+ fowners -R icinga:icinga /etc/icinga /var/icinga || die "Failed chown of /etc/icinga"
+
+ fowners -R root:root /usr/$(get_libdir)/icinga
+- find "${D}"/usr/$(get_libdir)/icinga -type d -exec fperms 755 {} +
+- find "${D}"/usr/$(get_libdir)/icinga/cgi-bin -type f -exec fperms 755 {} +
++ 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
+@@ -186,7 +188,13 @@
+ keepdir /var/icinga/rw
+ keepdir /var/icinga/spool/checkresults
+
+- use apache2 && webserver=apache2 || use lighttpd && webserver=lighttpd || webserver=icinga
++ 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"