Summary: | net-analyzer/zabbix should install database creation scripts | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Peter Wilmott (RETIRED) <p8952> |
Component: | Current packages | Assignee: | Matthew Marlowe (RETIRED) <mattm> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | cyberbat83, gentoobugs |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Peter Wilmott (RETIRED)
2014-02-05 17:47:48 UTC
This patch should install database creation script: --- /usr/portage/net-analyzer/zabbix/zabbix-2.2.0-r4.ebuild 2013-12-18 04:31:25.000000000 +0900 +++ zabbix-2.2.1.ebuild 2014-02-12 18:06:17.000000000 +0900 @@ -256,6 +256,8 @@ src_install() { dosbin src/zabbix_server/zabbix_server fowners zabbix:zabbix /etc/zabbix/zabbix_server.conf fperms 0640 /etc/zabbix/zabbix_server.conf + dodir /usr/share/zabbix + cp -R "${S}/database/" "${D}"/usr/share/zabbix/ fi if use proxy; then Because is the database directory is needed also if only the proxy is installed --- /usr/portage/net-analyzer/zabbix/zabbix-2.2.0-r4.ebuild 2013-12-18 04:31:25.000000000 +0900 +++ zabbix-2.2.2.ebuild 2014-02-13 19:15:38.000000000 +0900 @@ -256,6 +256,8 @@ src_install() { dosbin src/zabbix_server/zabbix_server fowners zabbix:zabbix /etc/zabbix/zabbix_server.conf fperms 0640 /etc/zabbix/zabbix_server.conf + dodir /usr/share/zabbix + cp -R "${S}/database/" "${D}"/usr/share/zabbix/ fi if use proxy; then @@ -266,6 +268,8 @@ src_install() { insinto /etc/zabbix doins \ "${FILESDIR}/2.2"/zabbix_proxy.conf + dodir /usr/share/zabbix + cp -R "${S}/database/" "${D}"/usr/share/zabbix/ fi if use agent; then Update for current 2.2.2-r1 ebuild: --- /usr/portage/net-analyzer/zabbix/zabbix-2.2.2-r1.ebuild 2014-04-13 15:55:26.000000000 +0400 +++ zabbix-2.2.3.ebuild 2014-05-04 14:59:21.833792270 +0400 @@ -255,6 +255,8 @@ dosbin src/zabbix_server/zabbix_server fowners zabbix:zabbix /etc/zabbix/zabbix_server.conf fperms 0640 /etc/zabbix/zabbix_server.conf + dodir /usr/share/zabbix + cp -R "${S}/database/" "${D}"/usr/share/zabbix/ systemd_dounit "${FILESDIR}/zabbix-server.service" systemd_newtmpfilesd "${FILESDIR}/zabbix-server.tmpfiles" zabbix-server.conf fi @@ -267,6 +269,8 @@ insinto /etc/zabbix doins \ "${FILESDIR}/2.2"/zabbix_proxy.conf + dodir /usr/share/zabbix + cp -R "${S}/database/" "${D}"/usr/share/zabbix/ systemd_dounit "${FILESDIR}/zabbix-proxy.service" systemd_newtmpfilesd "${FILESDIR}/zabbix-proxy.tmpfiles" zabbix-proxy.conf fi Looks like fixing of a previous bug complaining about makefiles in /usr/share/zabbix somehow stopped the install of /usr/share/zabbix/database scripts. Hopefully fixed in 2.2.3 which was just added to cvs. |