From 840aea6fc4e06def444a507fc4678c70de14028d Mon Sep 17 00:00:00 2001 From: Wolfram Schlich Date: Sun, 11 Feb 2007 23:36:08 +0000 Subject: [PATCH] use ROOT variable for permission/ownership fixup Package-Manager: portage-2.1.2 --- net-analyzer/zabbix-server/ChangeLog | 6 +++- net-analyzer/zabbix-server/Manifest | 16 +++++----- .../zabbix-server/zabbix-server-1.1.6.ebuild | 30 +++++++++---------- 3 files changed, 28 insertions(+), 24 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 + zabbix-server-1.1.6.ebuild: + use ROOT variable for permission/ownership fixup 11 Feb 2007; Wolfram Schlich zabbix-server-1.1.6.ebuild: diff --git a/net-analyzer/zabbix-server/Manifest b/net-analyzer/zabbix-server/Manifest index 59244f941526..5bcef2ba0bde 100644 --- a/net-analyzer/zabbix-server/Manifest +++ b/net-analyzer/zabbix-server/Manifest @@ -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 4559 RMD160 14037701f7bbcccb5727291514771b6803393593 SHA1 83077734cb548414d2cd45386c6336c9df82bfc2 SHA256 f83629803c2a8001a332cfb4cbcdfaf15d0e4feb1cbe83b814510837e8c18f33 -MD5 7ac9430dd81b1146c8c1055d288b429a zabbix-server-1.1.6.ebuild 4559 -RMD160 14037701f7bbcccb5727291514771b6803393593 zabbix-server-1.1.6.ebuild 4559 -SHA256 f83629803c2a8001a332cfb4cbcdfaf15d0e4feb1cbe83b814510837e8c18f33 zabbix-server-1.1.6.ebuild 4559 +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.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 3793 RMD160 b4ef7382052d8ffbd91e7ee5a99a9b384de2466f SHA1 e335bf83c3f0c2c63e9355f770122ea47eddaaf3 SHA256 ee0bfbe22c010fbb28f76db51a9b32bcf7d2b9f7b47eb8437c1af9191c42ac3e -MD5 fceb8f908c3ee90dcff5e8a5afd92e6c ChangeLog 3793 -RMD160 b4ef7382052d8ffbd91e7ee5a99a9b384de2466f ChangeLog 3793 -SHA256 ee0bfbe22c010fbb28f76db51a9b32bcf7d2b9f7b47eb8437c1af9191c42ac3e ChangeLog 3793 +MISC ChangeLog 3928 RMD160 24080e41ce4a720d72e7a740ee658227692eec8b SHA1 428e9007fd8cd9876fb650685c8f6ca424828e60 SHA256 e063a311c64de765d2173972417354e898f5c13629239cb287e0b0637223d898 +MD5 e027d5b1676cf44f4def0bb0ddd1a205 ChangeLog 3928 +RMD160 24080e41ce4a720d72e7a740ee658227692eec8b ChangeLog 3928 +SHA256 e063a311c64de765d2173972417354e898f5c13629239cb287e0b0637223d898 ChangeLog 3928 MISC metadata.xml 630 RMD160 0ceb5472b6bc0efd1fa4a09f52d3ef953b0cb13c SHA1 88bffe8fc9f05440edecef1fdc65f4c6dbb6f735 SHA256 770d0897320974215ae8d520cc2f56761e9b53dfa85e9e3081bff1427d8aa03c MD5 d86acab58212886771ef2bf837a2e8b9 metadata.xml 630 RMD160 0ceb5472b6bc0efd1fa4a09f52d3ef953b0cb13c metadata.xml 630 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() { -- 2.26.2