diff options
author | Wolfram Schlich <wschlich@gentoo.org> | 2007-02-12 00:22:07 +0000 |
---|---|---|
committer | Wolfram Schlich <wschlich@gentoo.org> | 2007-02-12 00:22:07 +0000 |
commit | a3aa00f6647d16a40e49bb9d7a0eb3865bcc6ec5 (patch) | |
tree | c2ad316c9bac43235507a5717e0607b986053315 /net-analyzer/zabbix-server | |
parent | version bump (diff) | |
download | gentoo-2-a3aa00f6647d16a40e49bb9d7a0eb3865bcc6ec5.tar.gz gentoo-2-a3aa00f6647d16a40e49bb9d7a0eb3865bcc6ec5.tar.bz2 gentoo-2-a3aa00f6647d16a40e49bb9d7a0eb3865bcc6ec5.zip |
add fping warning
(Portage version: 2.1.2)
Diffstat (limited to 'net-analyzer/zabbix-server')
-rw-r--r-- | net-analyzer/zabbix-server/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/zabbix-server/zabbix-server-1.1.6.ebuild | 23 |
2 files changed, 27 insertions, 2 deletions
diff --git a/net-analyzer/zabbix-server/ChangeLog b/net-analyzer/zabbix-server/ChangeLog index a3d648978e48..99fc52716f07 100644 --- a/net-analyzer/zabbix-server/ChangeLog +++ b/net-analyzer/zabbix-server/ChangeLog @@ -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: diff --git a/net-analyzer/zabbix-server/zabbix-server-1.1.6.ebuild b/net-analyzer/zabbix-server/zabbix-server-1.1.6.ebuild index e83f2651db23..8e5b647d6dbf 100644 --- a/net-analyzer/zabbix-server/zabbix-server-1.1.6.ebuild +++ b/net-analyzer/zabbix-server/zabbix-server-1.1.6.ebuild @@ -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() { |