Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 574858 - net-analyzer/zabbix 3.0.0 version bump
Summary: net-analyzer/zabbix 3.0.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 9 votes (vote)
Assignee: Matthew Marlowe (RETIRED)
URL: http://www.zabbix.com/whats_new.php
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-16 07:55 UTC by serg
Modified: 2016-06-12 19:12 UTC (History)
12 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
New Ebuild (zabbix-3.0.0.ebuild,9.53 KB, text/plain)
2016-02-22 11:38 UTC, MrUlmo
Details
zabbix-3.0.2.ebuild.tls.patch (zabbix-3.0.2.ebuild.tls.patch,2.03 KB, patch)
2016-04-21 11:18 UTC, Timo Gurr (RETIRED)
Details | Diff
zabbix 2.2.13.ebuild patch (zabbix-2.2.13.ebuild.patch,9.82 KB, patch)
2016-05-19 10:02 UTC, Robert Förster
Details | Diff
updated {$FILESDIR}/2.2/zabbix_agent.conf (zabbix_agent.conf,2.51 KB, text/plain)
2016-05-19 10:07 UTC, Robert Förster
Details
updated {$FILESDIR}/2.2/zabbix_agentd.conf (zabbix_agentd.conf,7.63 KB, text/plain)
2016-05-19 10:07 UTC, Robert Förster
Details
updated {$FILESDIR}/2.2/zabbix_proxy.conf (zabbix_proxy.conf,12.27 KB, text/plain)
2016-05-19 10:08 UTC, Robert Förster
Details
updated {$FILESDIR}/2.2/zabbix_server.conf (zabbix_server.conf,13.25 KB, text/plain)
2016-05-19 10:09 UTC, Robert Förster
Details
zabbix 3.0.3 ebuild (zabbix-3.0.3.ebuild,9.32 KB, text/plain)
2016-05-19 10:11 UTC, Robert Förster
Details
{$FILESDIR}/3.0/zabbix_agentd.conf (zabbix_agentd.conf,10.44 KB, text/plain)
2016-05-19 10:12 UTC, Robert Förster
Details
{$FILESDIR}/3.0/zabbix_proxy.conf (zabbix_proxy.conf,16.11 KB, text/plain)
2016-05-19 10:13 UTC, Robert Förster
Details
{$FILESDIR}/3.0/zabbix_server.conf (zabbix_server.conf,15.09 KB, text/plain)
2016-05-19 10:13 UTC, Robert Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description serg 2016-02-16 07:55:27 UTC
Hi, zabbix 3 has been released  http://www.zabbix.com/whats_new.php
Comment 1 MrUlmo 2016-02-22 11:38:18 UTC
Created attachment 426182 [details]
New Ebuild

New Ebuild, zabbix-agent has been stripped, agentd is still there, files from /files/2.4 copied to /files/3.0, all references has been changed from 2.4 to 3.0.
Compiled with following USE flags: agent curl frontend ipv6 postgres server snmp ssh.
USE flags untested: java ldap libxml2 mysql odbc openipmi oracle proxy sqlite static xmpp".
.conf files not tested yet, init files not testet yet, database and frontend upgrade or install not tested.

emerge --info
Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0/no-multilib, gcc-4.9.3, glibc-2.21-r2, 4.4.1-gentoo x86_64)
=================================================================
System uname: Linux-4.4.1-gentoo-x86_64-Intel-R-_Pentium-R-_CPU_N3700_@_1.60GHz-with-gentoo-2.2
KiB Mem:     7964820 total,     67972 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 22 Feb 2016 09:42:38 +0000
Timestamp of repository megacoffee: Wed, 17 Feb 2016 21:58:02 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

bliss-overlay
    location: /usr/local/portage/bliss-overlay
    sync-type: git
    sync-uri: https://github.com/fearedbliss/bliss-overlay.git
    masters: gentoo

letsencrypt
    location: /usr/local/portage/letsencrypt
    sync-type: git
    sync-uri: https://github.com/letsencrypt/letsencrypt.git
    masters: gentoo

local
    location: /usr/local/portage/local
    masters: gentoo

megacoffee
    location: /usr/local/portage/megacoffee
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/megacoffee.git
    masters: gentoo

y2kbadbug
    location: /usr/local/portage/y2kbadbug
    sync-type: git
    sync-uri: https://github.com/y2kbadbug/gentoo-overlay.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CPPFLAGS="-march=native -O2 -pipe"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://mirror.netcologne.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx mmxext modules ncurses nls nptl openmp pam pcre readline seccomp session sse sse2 ssl tcpd threads unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmxext sse2 ssse3 3dnow 3dnowext avx avx2 fma4 mmx sse sse3 sse4_1 sse4_2 xop" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="access auth_basic fastcgi limit_conn limit_req rewrite auth_pam dav dav_ext geoip headers_more upload_progress" NGINX_MODULES_STREAM="access limit_conn" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-0" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 MrUlmo 2016-02-22 14:10:39 UTC
Missing client/server encryption related stuff in ebuild

https://www.zabbix.com/documentation/3.0/manual/encryption
Comment 3 areisp 2016-02-24 22:36:43 UTC
I had installed zabbix using ebuild and stuff from this git: https://github.com/himbeere/zabbix whith that USE flags: agent curl frontend ipv6 mysql server snmp ssh

MySQL database was successfully updated from 2.2 to 3.0.

I didn't test encryption yet.
Comment 4 MrUlmo 2016-02-24 22:54:23 UTC
(In reply to areisp from comment #3)
> I had installed zabbix using ebuild and stuff from this git:
> https://github.com/himbeere/zabbix whith that USE flags: agent curl frontend
> ipv6 mysql server snmp ssh
> 
> MySQL database was successfully updated from 2.2 to 3.0.
> 
> I didn't test encryption yet.

Encryption stuff has NOT been added to that ebuild either
Comment 5 MrUlmo 2016-02-24 23:00:04 UTC
.conf and initiativ files worked for me. Installing to new PGSQL db and Installing frontend worked.
Comment 6 Hedin Ejdesgaard Møller 2016-03-03 13:37:13 UTC
3.0.1 bump
http://www.zabbix.com/rn3.0.1.php
Comment 7 Vitaly L. Fadeev 2016-04-13 06:33:01 UTC
Is this ebuild stable? Why not to put to portage?
Comment 8 MrUlmo 2016-04-16 19:11:29 UTC
(In reply to Vitaly L. Fadeev from comment #7)
> Is this ebuild stable? Why not to put to portage?

Ebuild is working, but it's missing the new server/agent encryption, and the maintainer is m.i.a at the moment.
Comment 9 Mark (voidzero) 2016-04-20 15:34:01 UTC
Is there another maintainer willing to pick this up?
Comment 10 Timo Gurr (RETIRED) gentoo-dev 2016-04-21 11:18:35 UTC
Created attachment 431434 [details, diff]
zabbix-3.0.2.ebuild.tls.patch

Attached is a patch (which needs revision before including) mostly copied from the curl ebuild adding TLS support to Zabbix. I've only tested building with OpenSSL support and using PSK encryption with Zabbix. It seems to work fine.
Comment 11 droide02 2016-05-13 10:04:53 UTC
When this ebuild is going to be on portage ?
Comment 12 Robert Förster 2016-05-19 10:02:42 UTC
Created attachment 434692 [details, diff]
zabbix 2.2.13.ebuild patch

its a bit hard to read due to function reordering so here we go:
- added REQUIRED_USE for bug 517252 and 493678 also guard against using snmp and oracle useflags with static, since both packages don't support static libs
- converted pkg_setup die to REQUIRED_USE
- fix bug 519988 for every db backend supported
- fix for bug 528694, i just removed the re-setting of permissions since it has been there for a long time, it really should be fixed for everyone by now
- fping3 is now supported (bug 412659)

this ebuild is stable candidate for bug 582536
Comment 13 Robert Förster 2016-05-19 10:07:07 UTC
Created attachment 434696 [details]
updated {$FILESDIR}/2.2/zabbix_agent.conf

to cut down some bugspam: i changed the initscript to remove the start_pre block as this is handled by the tmpfiles.d files
Comment 14 Robert Förster 2016-05-19 10:07:50 UTC
Created attachment 434698 [details]
updated {$FILESDIR}/2.2/zabbix_agentd.conf
Comment 15 Robert Förster 2016-05-19 10:08:28 UTC
Created attachment 434700 [details]
updated {$FILESDIR}/2.2/zabbix_proxy.conf
Comment 16 Robert Förster 2016-05-19 10:09:10 UTC
Created attachment 434702 [details]
updated {$FILESDIR}/2.2/zabbix_server.conf
Comment 17 Robert Förster 2016-05-19 10:11:01 UTC
Created attachment 434704 [details]
zabbix 3.0.3 ebuild

this is attached as full ebuild as its essentially the 2.2.13 ebuild with changed path in filesdir and the inetd agent removed
Comment 18 Robert Förster 2016-05-19 10:12:55 UTC
Created attachment 434706 [details]
{$FILESDIR}/3.0/zabbix_agentd.conf

forgot to mention in last comment that the tls changes from tgurr are not in this ebuild, i will look at them at a later date.
Comment 19 Robert Förster 2016-05-19 10:13:22 UTC
Created attachment 434708 [details]
{$FILESDIR}/3.0/zabbix_proxy.conf
Comment 20 Robert Förster 2016-05-19 10:13:49 UTC
Created attachment 434710 [details]
{$FILESDIR}/3.0/zabbix_server.conf
Comment 21 Oliver Welter 2016-05-28 20:21:40 UTC
Is there any reason / improvement required to get this into the official portage? I am urgently waiting for this an even willing to provide testing/support to get it done....
Comment 22 Patrick Lauer gentoo-dev 2016-06-12 18:24:56 UTC
(In reply to Robert Förster from comment #13)
> Created attachment 434696 [details]
> updated {$FILESDIR}/2.2/zabbix_agent.conf
> 
> to cut down some bugspam: i changed the initscript to remove the start_pre
> block as this is handled by the tmpfiles.d files

I disagree with that idea and prefer to have the init script enforce its preconditions.
Comment 23 Patrick Lauer gentoo-dev 2016-06-12 18:34:15 UTC
Update to 2.2.13 2.4.8 and 3.0.3 pushed
Comment 24 MrUlmo 2016-06-12 19:12:03 UTC
(In reply to Patrick Lauer from comment #23)
> Update to 2.2.13 2.4.8 and 3.0.3 pushed

Am I missing something or is the server/client encryption stuff included in the 3.0.3 ebuild ? I can't find anything looking like, what is in the 3.0.2 patch from Timo Gurr ...