summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2007-02-11 23:36:08 +0000
committerWolfram Schlich <wschlich@gentoo.org>2007-02-11 23:36:08 +0000
commit5ae838bc47dc1531bcaf8b44a7bdc1d35ae9cd1e (patch)
treedfea453a9da165ff19875ccf880ea00b209a212d /net-analyzer
parentstable on amd64; bug 158678 (diff)
downloadgentoo-2-5ae838bc47dc1531bcaf8b44a7bdc1d35ae9cd1e.tar.gz
gentoo-2-5ae838bc47dc1531bcaf8b44a7bdc1d35ae9cd1e.tar.bz2
gentoo-2-5ae838bc47dc1531bcaf8b44a7bdc1d35ae9cd1e.zip
use ROOT variable for permission/ownership fixup
(Portage version: 2.1.2)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/zabbix-server/ChangeLog6
-rw-r--r--net-analyzer/zabbix-server/zabbix-server-1.1.6.ebuild30
2 files changed, 20 insertions, 16 deletions
diff --git a/net-analyzer/zabbix-server/ChangeLog b/net-analyzer/zabbix-server/ChangeLog
index c4d4b6f43eff..a3d648978e48 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.10 2007/02/11 23:31:47 wschlich Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix-server/ChangeLog,v 1.11 2007/02/11 23:36:08 wschlich Exp $
+
+ 11 Feb 2007; Wolfram Schlich <wschlich@gentoo.org>
+ zabbix-server-1.1.6.ebuild:
+ use ROOT variable for permission/ownership fixup
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 26c7df81631e..e83f2651db23 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.2 2007/02/11 23:31:47 wschlich Exp $
+# $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 $
inherit eutils
@@ -76,22 +76,22 @@ pkg_postinst() {
# here to catch wrong permissions on existing files in
# the live filesystem (yeah, that sucks).
chown zabbix:zabbix \
- /etc/zabbix \
- /etc/zabbix/zabbix_server.conf \
- /var/lib/zabbix \
- /var/lib/zabbix/home \
- /var/lib/zabbix/scripts \
- /var/log/zabbix \
- /var/run/zabbix
+ ${ROOT}etc/zabbix \
+ ${ROOT}etc/zabbix/zabbix_server.conf \
+ ${ROOT}var/lib/zabbix \
+ ${ROOT}var/lib/zabbix/home \
+ ${ROOT}var/lib/zabbix/scripts \
+ ${ROOT}var/log/zabbix \
+ ${ROOT}var/run/zabbix
chmod 0640 \
- /etc/zabbix/zabbix_server.conf
+ ${ROOT}etc/zabbix/zabbix_server.conf
chmod 0750 \
- /etc/zabbix \
- /var/lib/zabbix \
- /var/lib/zabbix/home \
- /var/lib/zabbix/scripts \
- /var/log/zabbix \
- /var/run/zabbix
+ ${ROOT}etc/zabbix \
+ ${ROOT}var/lib/zabbix \
+ ${ROOT}var/lib/zabbix/home \
+ ${ROOT}var/lib/zabbix/scripts \
+ ${ROOT}var/log/zabbix \
+ ${ROOT}var/run/zabbix
}
src_unpack() {