commit:     1f3f6074b225770fe5c81aa127fbcc92c981d571
Author:     Matthew Marlowe <mattm <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 28 23:45:46 2018 +0000
Commit:     Matthew Marlowe <mattm <AT> gentoo <DOT> org>
CommitDate: Wed Nov 28 23:51:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f3f6074

net-analyzer/zabbix: Bump zabbix 3.4.15, 4.0.2, modulepath patch

Signed-off-by: Matthew Marlowe <mattm <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-analyzer/zabbix/Manifest                                  |  3 ++-
 net-analyzer/zabbix/files/3.0/init.d/zabbix-agentd            |  2 +-
 net-analyzer/zabbix/files/3.0/init.d/zabbix-proxy             |  2 +-
 net-analyzer/zabbix/files/3.0/init.d/zabbix-server            |  2 +-
 .../zabbix/files/4.0/patches/zbx401-modulepathfix.patch       | 11 +++++++++++
 .../zabbix/{zabbix-4.0.1.ebuild => zabbix-3.4.15.ebuild}      | 11 ++++-------
 .../zabbix/{zabbix-4.0.1.ebuild => zabbix-4.0.2.ebuild}       |  3 ++-
 7 files changed, 22 insertions(+), 12 deletions(-)

diff --git a/net-analyzer/zabbix/Manifest b/net-analyzer/zabbix/Manifest
index d75d4ae0968..023f5e1e2b0 100644
--- a/net-analyzer/zabbix/Manifest
+++ b/net-analyzer/zabbix/Manifest
@@ -11,4 +11,5 @@ DIST zabbix-3.4.11.tar.gz 17517171 BLAKE2B 
72f7d1cad3e8cb7972cb9c3698d35f70c45de
 DIST zabbix-3.4.12.tar.gz 17509251 BLAKE2B 
158c7b3061059cc54a5988296404ed6670ca872fa8fa55f8de9708871ee03f163d0365420e23ef5df89a0a85e2f23d607952cf4fc02c974037555534ca164f08
 SHA512 
6707ff5a15d2c139775b4b5de32ceb4982c90aa4023af310ab9cb849895387984d32f59b7dc9fbaff8f317a630238437e4651ab8272b4535fb5fc3d88750e3ef
 DIST zabbix-3.4.13.tar.gz 17507365 BLAKE2B 
a5d1fa1a48df2ad66b844c2c85038a088ea5f7e3e67c2c3ab5f5d1ad695b3a31664d317e6a1cbf64d1f6a211304f50e5c38f5d973d4607f2caa202e1184420cf
 SHA512 
4edcf6d9df0f100c639efa6bc18e67ed59819e719a2226593fd81212d4c2e46a19cb50501cca005246b4c01c4082a18e21c9049a99ac9df263180a3c24fa52f0
 DIST zabbix-3.4.14.tar.gz 17476022 BLAKE2B 
9fccdf69bb74379fccfe044d68da8ce458e04c4686ae70a2fed5523309196b13fb022daa00d47ae9eb97a0774942efd766858dfe94890e20f38808ef2a3e3d15
 SHA512 
597ae107c16578ec2b1a364f2b61a7a7423a1cf39d3b04289e2f91dc0f931e796b566cbd451b14e026c35302120b647d6d574952a453189b066fb06081f9bb83
-DIST zabbix-4.0.1.tar.gz 18005197 BLAKE2B 
3da109715f2061a0104f471f9717947510da8d7a3215fe219d5870bbd8bb1cd769d586c04da3e0aa35a114565bd94911e3c4e62eb66de39af754911a9839d2e3
 SHA512 
431cb75c62c64e0907cccad6633fe07a66fbaaf8595ca33add6de98a3f79832dd87c23ddaffada796a67055cbdef6d2e5d9c6427498518080205d5ddcd5fbdca
+DIST zabbix-3.4.15.tar.gz 17489570 BLAKE2B 
8b820e29334fa7814ab54baef75374955340cb907802722a4f91496a35c7a26fc1c37178c264f606f8a4a95cea350e493763e55f44033eb2aa97ec889664908a
 SHA512 
d210c6576a6c5d67a1f58bb51436c815a191a2ea62f6929784fcac6e0da09febdbb42c11dfb791b6a6d5897dbdda02e10bf56f9162b7f9fb34a57c34b8b1c62f
+DIST zabbix-4.0.2.tar.gz 18018925 BLAKE2B 
8e532bad4d99817a2456d34b3b0b67424b81cd907b2b54329d263194b03ba679c265d78be347f3619ca34b1f4acc8862059c068b3d6b06086913f80f3065eff2
 SHA512 
40b8dd0a4ca9fd7214c7afab57517437097eaf49c943f8827fa637bffb7cc45e77568f002e18cf3fa61a50d5d24fe26520109ad1c6f0424b51325453c9fd0c76

diff --git a/net-analyzer/zabbix/files/3.0/init.d/zabbix-agentd 
b/net-analyzer/zabbix/files/3.0/init.d/zabbix-agentd
old mode 100644
new mode 100755
index 2e5024ed2de..d803d4450ca
--- a/net-analyzer/zabbix/files/3.0/init.d/zabbix-agentd
+++ b/net-analyzer/zabbix/files/3.0/init.d/zabbix-agentd
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 pid_file="/run/zabbix/zabbix_agentd.pid"

diff --git a/net-analyzer/zabbix/files/3.0/init.d/zabbix-proxy 
b/net-analyzer/zabbix/files/3.0/init.d/zabbix-proxy
old mode 100644
new mode 100755
index 81dc78f08e3..6aa1793435c
--- a/net-analyzer/zabbix/files/3.0/init.d/zabbix-proxy
+++ b/net-analyzer/zabbix/files/3.0/init.d/zabbix-proxy
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 pid_file="/run/zabbix/zabbix_proxy.pid"

diff --git a/net-analyzer/zabbix/files/3.0/init.d/zabbix-server 
b/net-analyzer/zabbix/files/3.0/init.d/zabbix-server
old mode 100644
new mode 100755
index a57a3100dd9..109c6545d45
--- a/net-analyzer/zabbix/files/3.0/init.d/zabbix-server
+++ b/net-analyzer/zabbix/files/3.0/init.d/zabbix-server
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 pid_file="/run/zabbix/zabbix_server.pid"

diff --git a/net-analyzer/zabbix/files/4.0/patches/zbx401-modulepathfix.patch 
b/net-analyzer/zabbix/files/4.0/patches/zbx401-modulepathfix.patch
new file mode 100644
index 00000000000..c0d1650fb85
--- /dev/null
+++ b/net-analyzer/zabbix/files/4.0/patches/zbx401-modulepathfix.patch
@@ -0,0 +1,11 @@
+--- zabbix-4.0.1/configure     2018-10-29 10:36:05.000000000 -0700
++++ zfx/configure      2018-11-07 16:59:28.015968345 -0800
+@@ -12510,7 +12510,7 @@
+ CURL_SSL_CERT_LOCATION="${datadir}/zabbix/ssl/certs"
+ CURL_SSL_KEY_LOCATION="${datadir}/zabbix/ssl/keys"
+ 
+-LOAD_MODULE_PATH="${libdir}/modules"
++LOAD_MODULE_PATH="${libdir}/zabbix"
+ 
+ 
+ 

diff --git a/net-analyzer/zabbix/zabbix-4.0.1.ebuild 
b/net-analyzer/zabbix/zabbix-3.4.15.ebuild
similarity index 97%
copy from net-analyzer/zabbix/zabbix-4.0.1.ebuild
copy to net-analyzer/zabbix/zabbix-3.4.15.ebuild
index f936b89f0dd..dd57544e3c4 100644
--- a/net-analyzer/zabbix/zabbix-4.0.1.ebuild
+++ b/net-analyzer/zabbix/zabbix-3.4.15.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://prdownloads.sourceforge.net/zabbix/${MY_P}.tar.gz";
 LICENSE="GPL-2"
 SLOT="0"
 WEBAPP_MANUAL_SLOT="yes"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86"
 IUSE="+agent java curl frontend ipv6 xmpp ldap libxml2 mysql openipmi oracle 
+postgres proxy server ssh ssl snmp sqlite odbc static"
 REQUIRED_USE="|| ( agent frontend proxy server )
        proxy? ( ^^ ( mysql oracle postgres sqlite odbc ) )
@@ -30,7 +30,7 @@ COMMON_DEPEND="snmp? ( net-analyzer/net-snmp )
        )
        mysql? ( >=virtual/mysql-5.0.3 )
        sqlite? ( >=dev-db/sqlite-3.3.5 )
-       postgres? ( >=dev-db/postgresql-8.1:* )
+       postgres? ( dev-db/postgresql:* )
        oracle? ( >=dev-db/oracle-instantclient-basic-10.0.0.0 )
        xmpp? ( dev-libs/iksemel )
        libxml2? ( dev-libs/libxml2 )
@@ -39,22 +39,19 @@ COMMON_DEPEND="snmp? ( net-analyzer/net-snmp )
        ssh? ( net-libs/libssh2 )
        java? ( virtual/jdk:* )
        odbc? ( dev-db/unixODBC )
-       server? ( sys-libs/zlib )
-       proxy?  ( sys-libs/zlib )
        ssl? ( dev-libs/openssl:=[-bindist] )"
 
 RDEPEND="${COMMON_DEPEND}
        proxy? ( net-analyzer/fping[suid] )
        server? ( net-analyzer/fping[suid]
                app-admin/webapp-config
-               dev-libs/libpcre
                dev-libs/libevent )
        java?   (
                >=virtual/jre-1.4
                dev-java/slf4j-api
        )
        frontend? (
-               
>=dev-lang/php-5.4.0[bcmath,ctype,sockets,gd,truetype,xml,session,xmlreader,xmlwriter,nls,sysvipc,unicode]
+               
>=dev-lang/php-5.3.0[bcmath,ctype,sockets,gd,truetype,xml,session,xmlreader,xmlwriter,nls,sysvipc,unicode]
                || ( dev-lang/php[apache2] dev-lang/php[cgi] dev-lang/php[fpm] )
                mysql? ( dev-lang/php[mysqli] )
                odbc? ( dev-lang/php[odbc] )
@@ -72,7 +69,7 @@ DEPEND="${COMMON_DEPEND}
                )
        mysql? ( >=virtual/mysql-5.0.3[static-libs] )
        sqlite? ( >=dev-db/sqlite-3.3.5[static-libs] )
-       postgres? ( >=dev-db/postgresql-8.1:*[static-libs] )
+       postgres? ( dev-db/postgresql:*[static-libs] )
        libxml2? ( dev-libs/libxml2[static-libs] )
        curl? ( net-misc/curl[static-libs] )
        ssh? ( net-libs/libssh2[static-libs] )

diff --git a/net-analyzer/zabbix/zabbix-4.0.1.ebuild 
b/net-analyzer/zabbix/zabbix-4.0.2.ebuild
similarity index 99%
rename from net-analyzer/zabbix/zabbix-4.0.1.ebuild
rename to net-analyzer/zabbix/zabbix-4.0.2.ebuild
index f936b89f0dd..0ed8678d8d9 100644
--- a/net-analyzer/zabbix/zabbix-4.0.1.ebuild
+++ b/net-analyzer/zabbix/zabbix-4.0.2.ebuild
@@ -118,7 +118,8 @@ java_prepare() {
 }
 
 src_prepare() {
-       default
+       eapply -p1 "${FILESDIR}/4.0/patches/zbx401-modulepathfix.patch"
+       eapply_user
 }
 
 src_configure() {

Reply via email to