]> Pileus Git - ~andy/sunrise/blob - net-analyzer/icinga/wgetpaste
net-analyzer/icinga: fixed small fixups
[~andy/sunrise] / net-analyzer / icinga / wgetpaste
1 Index: Manifest
2 ===================================================================
3 --- Manifest    (revision 11496)
4 +++ Manifest    (working copy)
5 @@ -5,6 +5,6 @@
6  AUX ido2db-conf.d 35 RMD160 a2bb1738720a56285da529fb18eeb60739ac817b SHA1 57ba29aec3f80db9577da4aca34d228487dd12c1 SHA256 6cbdf0eb7070121bd466c221d73cf6ca05a4af5caa1d4abedf62828edd1b1372
7  AUX ido2db-init.d 539 RMD160 e89e70f67d5accc7ae66b77d9bf61d2e1cc9d647 SHA1 17f9317bd21a5e5dfd41bbb19f50357b80ba9599 SHA256 e5b6a782475cbbde5b49720cdbcbf14958338baca510e78e508902360a479b72
8  DIST icinga-1.2.1.tar.gz 8655343 RMD160 1da522144cb1f30ffa2b6f47f3d324d8c736b349 SHA1 730f12808f944bd635d93bb501c55b7360f2ae24 SHA256 88d452db569dc6e32d64571cb3178b79e2ad5378668e3035bf27943edd74650c
9 -EBUILD icinga-1.2.1.ebuild 5807 RMD160 be7837b18bf04c8112af1831e1b84cad5e4eb6d0 SHA1 2618495d362c6099ea2c6b6ea8950ffb89fec5d1 SHA256 07fafbd56d01bd95c3b99dd3f4384513c3ce7f66bac6fefa857ab0354b0ee10b
10 +EBUILD icinga-1.2.1.ebuild 5931 RMD160 ae683e1d49da618672d47534459fb15bb0fb475f SHA1 ead9b4fde87032db282b149e0a38e1b90e0b4130 SHA256 49adcdca91b4d5e13a96e7ae5df0c6e423ba9ecbd9a107fc0cd293da3dac3410
11  MISC ChangeLog 1780 RMD160 4ac8c0afa7d97d564f18a6935b3b1e0cd8dcaec3 SHA1 4f61ee9a085667c39807a5102dd00e439345653f SHA256 c3289bd7e0f338ba44fae7117bd559e3f04f0068ae58b685d5fa69ab9ab68735
12  MISC metadata.xml 617 RMD160 48225567d6faa1646f8600b2c2a924bfecb34bfe SHA1 1332e6a76891016de22c669c834ffbc47d0986a1 SHA256 c97b32c33007fddc24119f96f12df720da5232bb459e5f1c3970e658fd08089e
13 Index: icinga-1.2.1.ebuild
14 ===================================================================
15 --- icinga-1.2.1.ebuild (revision 11496)
16 +++ icinga-1.2.1.ebuild (working copy)
17 @@ -56,6 +56,7 @@
18                                 elog "  usermod -G icinga lighttpd "
19                                 elog "or"
20                                 elog "  chown icinga:lighttpd /etc/icinga"
21 +                               elog "Also edit /etc/lighttpd/lighttpd.conf and add 'include \"lighttpd_icinga.conf\"'"
22                         fi
23                         elog
24                         elog "That will make icinga's web front end visable via"
25 @@ -177,8 +178,9 @@
26         fowners -R icinga:icinga /etc/icinga /var/icinga || die "Failed chown of /etc/icinga"
27  
28         fowners -R root:root /usr/$(get_libdir)/icinga
29 -       find "${D}"/usr/$(get_libdir)/icinga -type d -exec fperms 755 {} +
30 -       find "${D}"/usr/$(get_libdir)/icinga/cgi-bin -type f -exec fperms 755 {} +
31 +       cd "${D}" || die
32 +       find /usr/$(get_libdir)/icinga -type d -exec fperms 755 {} +
33 +       find /usr/$(get_libdir)/icinga/cgi-bin -type f -exec fperms 755 {} +
34  
35         keepdir /etc/icinga
36         keepdir /var/icinga
37 @@ -186,7 +188,13 @@
38         keepdir /var/icinga/rw
39         keepdir /var/icinga/spool/checkresults
40  
41 -       use apache2 && webserver=apache2 || use lighttpd && webserver=lighttpd || webserver=icinga
42 +       if use apache2 ; then
43 +               webserver=apache
44 +       elif use lighttpd ; then
45 +               webserver=lighttpd
46 +       else
47 +               webserver=icinga
48 +       fi
49         fowners -R icinga:${webserver} /var/icinga/rw || die "Failed chown of /var/icinga/rw"
50  
51         fperms 6755 /var/icinga/rw || die "Failed Chmod of ${D}/var/icinga/rw"