add fping warning
authorWolfram Schlich <wschlich@gentoo.org>
Mon, 12 Feb 2007 00:22:07 +0000 (00:22 +0000)
committerWolfram Schlich <wschlich@gentoo.org>
Mon, 12 Feb 2007 00:22:07 +0000 (00:22 +0000)
Package-Manager: portage-2.1.2

net-analyzer/zabbix-server/ChangeLog
net-analyzer/zabbix-server/Manifest
net-analyzer/zabbix-server/zabbix-server-1.1.6.ebuild

index a3d648978e48306c152539046744fff8b64c20e4..99fc52716f07336fdd897d22042b4162363a6716 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for net-analyzer/zabbix-server
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix-server/ChangeLog,v 1.11 2007/02/11 23:36:08 wschlich Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix-server/ChangeLog,v 1.12 2007/02/12 00:22:07 wschlich Exp $
+
+  12 Feb 2007; Wolfram Schlich <wschlich@gentoo.org>
+  zabbix-server-1.1.6.ebuild:
+  add fping warning
 
   11 Feb 2007; Wolfram Schlich <wschlich@gentoo.org>
   zabbix-server-1.1.6.ebuild:
index 5bcef2ba0bde1d1dd3389fbd3a0970e95bde19c1..e4f073d6a0a81b6ad24eb77955de7a29f529f763 100644 (file)
@@ -70,10 +70,10 @@ EBUILD zabbix-server-1.0.ebuild 3101 RMD160 bf1495f65400a85fdeab52e557655459dd35
 MD5 553fde062c1a3d773d62f16adb812cb2 zabbix-server-1.0.ebuild 3101
 RMD160 bf1495f65400a85fdeab52e557655459dd35903e zabbix-server-1.0.ebuild 3101
 SHA256 658f8c88a5b1876fe6eda135fc68670614dfd610692f09fb36d535524d8831c5 zabbix-server-1.0.ebuild 3101
-EBUILD zabbix-server-1.1.6.ebuild 4643 RMD160 b192fcffb83bfe63bf3847d21752239914266cb9 SHA1 7e8bec262fc3ac9c92a02a70736f4d39a0dc1523 SHA256 3fac652734ad5324799dbf5f14cd433514d4f8ad84cd8bb99cc11609078e91c6
-MD5 32ad72cf09375f05e1b6a9c1ce61dbe7 zabbix-server-1.1.6.ebuild 4643
-RMD160 b192fcffb83bfe63bf3847d21752239914266cb9 zabbix-server-1.1.6.ebuild 4643
-SHA256 3fac652734ad5324799dbf5f14cd433514d4f8ad84cd8bb99cc11609078e91c6 zabbix-server-1.1.6.ebuild 4643
+EBUILD zabbix-server-1.1.6.ebuild 5219 RMD160 90c06cc42be72085eef904f1161241081e2e9a0e SHA1 641cc4f71283d1c394a00c101e7563893fc1a03a SHA256 ceaa8aa7232ad18d67ec8ef71c6ca6000ff6e91febc2b1ef8fa7c1dd3937f27b
+MD5 7826653907989e824d7b543b8e0bdad8 zabbix-server-1.1.6.ebuild 5219
+RMD160 90c06cc42be72085eef904f1161241081e2e9a0e zabbix-server-1.1.6.ebuild 5219
+SHA256 ceaa8aa7232ad18d67ec8ef71c6ca6000ff6e91febc2b1ef8fa7c1dd3937f27b zabbix-server-1.1.6.ebuild 5219
 EBUILD zabbix-server-1.1.ebuild 4499 RMD160 31839444d5d6786bf0fa0752cf81d03de091a05e SHA1 b8311cfe429043879439bf34d46775f8c6981bb9 SHA256 cbd584bec998673259a49e69949bf7dd4f9c11f1951a066a7218192255af27e0
 MD5 9d40eb55431a65d836c3db2aea3e2618 zabbix-server-1.1.ebuild 4499
 RMD160 31839444d5d6786bf0fa0752cf81d03de091a05e zabbix-server-1.1.ebuild 4499
@@ -82,10 +82,10 @@ EBUILD zabbix-server-1.1_alpha7.ebuild 2922 RMD160 743cccb3d05540c6d2d7620b7fbde
 MD5 bf4b03ca87fddbd33e7d244948040483 zabbix-server-1.1_alpha7.ebuild 2922
 RMD160 743cccb3d05540c6d2d7620b7fbde6aaf37678cc zabbix-server-1.1_alpha7.ebuild 2922
 SHA256 6557acf7a2d9c46279568fb300b6007b3380bcfafca88cf857a1b797755148f2 zabbix-server-1.1_alpha7.ebuild 2922
-MISC ChangeLog 3928 RMD160 24080e41ce4a720d72e7a740ee658227692eec8b SHA1 428e9007fd8cd9876fb650685c8f6ca424828e60 SHA256 e063a311c64de765d2173972417354e898f5c13629239cb287e0b0637223d898
-MD5 e027d5b1676cf44f4def0bb0ddd1a205 ChangeLog 3928
-RMD160 24080e41ce4a720d72e7a740ee658227692eec8b ChangeLog 3928
-SHA256 e063a311c64de765d2173972417354e898f5c13629239cb287e0b0637223d898 ChangeLog 3928
+MISC ChangeLog 4032 RMD160 9885803ecb5cfc5ed998a189a10f838f6f04ddc2 SHA1 2ae003b0f8927c3fdfffff550ff42487e94fa6be SHA256 2f66230ba8b6937b15d29c127b2a075e2f73253da75bc2340e5f64d83c37f3b8
+MD5 a75d844ab666aa94988658b67ae6f87e ChangeLog 4032
+RMD160 9885803ecb5cfc5ed998a189a10f838f6f04ddc2 ChangeLog 4032
+SHA256 2f66230ba8b6937b15d29c127b2a075e2f73253da75bc2340e5f64d83c37f3b8 ChangeLog 4032
 MISC metadata.xml 630 RMD160 0ceb5472b6bc0efd1fa4a09f52d3ef953b0cb13c SHA1 88bffe8fc9f05440edecef1fdc65f4c6dbb6f735 SHA256 770d0897320974215ae8d520cc2f56761e9b53dfa85e9e3081bff1427d8aa03c
 MD5 d86acab58212886771ef2bf837a2e8b9 metadata.xml 630
 RMD160 0ceb5472b6bc0efd1fa4a09f52d3ef953b0cb13c metadata.xml 630
index e83f2651db23480fccc4359ebef2e09e15884f02..8e5b647d6dbf813b8a7eedc1f760afe28b412a2d 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix-server/zabbix-server-1.1.6.ebuild,v 1.3 2007/02/11 23:36:08 wschlich Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix-server/zabbix-server-1.1.6.ebuild,v 1.4 2007/02/12 00:22:07 wschlich Exp $
 
 inherit eutils
 
@@ -92,6 +92,27 @@ pkg_postinst() {
                ${ROOT}var/lib/zabbix/scripts \
                ${ROOT}var/log/zabbix \
                ${ROOT}var/run/zabbix
+
+       # check for fping
+       fping_perms=$(stat -c %a /usr/sbin/fping 2>/dev/null)
+       case "${fping_perms}" in
+               4[157][157][157])
+                       ;;
+               *)
+                       ewarn
+                       ewarn "If you want to use the checks 'icmpping' and 'icmppingsec',"
+                       ewarn "you have to make /usr/sbin/fping setuid root and executable"
+                       ewarn "by everyone. Run the following command to fix it:"
+                       ewarn
+                       ewarn "  chmod u=rwsx,g=rx,o=rx /usr/sbin/fping"
+                       ewarn
+                       ewarn "Please be aware that this might impose a security risk,"
+                       ewarn "depending on the code quality of fping."
+                       ewarn
+                       ebeep 3
+                       epause 5
+                       ;;
+       esac
 }
 
 src_unpack() {