Commit Graph

48 Commits

Author SHA1 Message Date
Josef Schlehofer 1c5e4c80f4 zabbix: update to version 4.0.37
- Fixes CVE-2020-15803, CVE-2021-27927

- SourceForge does not provide tarball for version 4.0.37 and it was
necessary to use Zabbix CDN to download it.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-04-16 17:33:54 -04:00
Rosen Penev 1e97faf115
zabbix: remove configure patch
Allows removing autoreconf.

Added PKG_BUILD_PARALLEL for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit f846ced1c8)
2020-02-16 19:47:33 -08:00
Rosen Penev 2058e86fad
zabbix: Fix compilation with uClibc-ng
This is similar to a patch that was previously carried.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 8bc32479ea)
2020-02-16 19:47:25 -08:00
Krystian Kozak 3a82973ae8 zabbix: update to 4.0.16
Updated to 4.0.16 LTS version.

Compile tested: Yes, x86_64
Run tested: Yes, x86_64

Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2020-01-01 11:19:49 +01:00
Leong Hui Wong 18e9050e3a treewide: update wiki links
Signed-off-by: Leong Hui Wong <wong.leonghui@gmail.com>
2019-12-14 15:36:57 +08:00
Krystian Kozak 22f1cc9470 zabbix: update to 4.0.11
Updated to 4.0.11 LTS version.

Deleted 003-change-user-and-foreground.patch in according to [ZBX-10611] fixed changing process user owner on startup in foreground when AllowRoot disabled.

Compile tested: Yes, lantiq
Run tested: Yes, lantiq

Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2019-08-22 22:19:03 +02:00
Rosen Penev 7f852fc1aa
zabbix: Specify zlib location to fix buildbots
The buildbots do not have zlib installed and therefore cannot build zabbix

checking for zlib support... no
configure: error: Unable to use zlib (zlib check failed)

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-10 15:12:12 -07:00
Josef Schlehofer 5e166b3c63
zabbix: update to version 4.0.6
Refreshed patches

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-03-29 20:50:25 +01:00
Krystian Kozak 9aa9107772 zabbix: update to 4.0.3
Updated to 4.0.3 LTS version.

Compile tested: Yes, ar71xx
Run tested: Yes, ar71xx

Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2019-01-08 09:09:11 +01:00
Krystian Kozak 23c7d6a6d5 zabbix: update to 4.0 LTS
Updated to 4.0 LTS version.

Compile tested: Yes, brcm2708
Run tested: Yes, brcm2708

Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2018-12-03 18:49:35 +01:00
Krystian Kozak 18ce68a7cc zabbix: add server frontend
Added zabbix-server-frontend package, which allow to use website
interface.

To make frontend working, it is required to add some options to uhttpd
config witch allow php working.

uci add_list uhttpd.main.index_page='index.html, default.html,
index.php'
uci add_list uhttpd.main.interpreter='.php=/usr/bin/php-cgi'
uci set uhttpd.main.index_file='index.html, default.html, index.php'
uci commit

Compile tested: Yes, brcm2708
Run tested: Yes, brcm2708

Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2018-10-29 21:13:08 +01:00
Krystian Kozak cee4353f15 zabbix: add mysql support
Allows to choose database management software and adds mysql support.
Proxy gets the same database management software as server, because it
must be the same type.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
[Keep postgresl as default / depend on libpq]
Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2018-10-23 19:55:22 -04:00
Etienne Champetier 5d1aa99648 zabbix: use ubus for zabbix-extra-network
this allow us to stop using uci /var/state,
which is deprecated since forever

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2018-10-23 19:26:38 -04:00
Etienne Champetier 2df5d52b9e zabbix: fixup zabbix-extra-wifi dependencies
we use ubus since 2014 (af1fe70acb)
we don't use uci since 2015 (76150309a8)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2018-10-23 18:59:39 -04:00
Etienne Champetier 1afcc61601 zabbix: add proper ubus acl for zabbix-extra-wifi
This allow to run zabbix as non root
Thanks to Adrian Kirchner (@adriankirchner)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2018-10-23 11:14:51 -04:00
Oskari Lemmela dda7a55418 zabbix: Add SSL support for zabbix-agentd.
This fixes #5675.

[Etienne Champetier <champetier.etienne@gmail.com>]
zabbix --with-mbedtls configuration option is sadly for libpolarssl
Attemp at support for mbedtls 2.1+:
https://support.zabbix.com/browse/ZBX-13237
As OpenSSL / GnuTLS are pretty big dependencies, default to no ssl for now

Signed-off-by: Oskari Lemmela <oskari@lemmela.net>
2018-10-01 00:15:11 -04:00
Etienne Champetier caaa7d6c9b zabbix: add PKG_CPE_ID
thanks @neheb (#6814)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2018-09-30 21:28:59 -04:00
Krystian Kozak 41f8c0a2da zabbix: update to latest version
Updated to latest version and refreshed patches.

Compile tested: Yes, brcm2708
Run tested: Yes, brcm2708

Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2018-09-30 21:13:43 -04:00
Krystian Kozak b211914fd0 zabbix: Bump to latest version
This upgrade zabbix to the newest version. Changing SQLite for PostgreSQL, because of dropping SQLite support for server/frontend.
More info:https://www.zabbix.com/documentation/3.4/manual/installation/upgrade_notes_340#dropping_sqlite_support_for_serverfrontend
In addition added required dependencies.
More info:https://www.zabbix.com/documentation/3.4/manual/installation/requirements

Compile tested: Yes, brcm2708
Run tested: Yes, brcm2708

Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2018-06-07 14:46:33 +02:00
Alexander Couzens 8d4814c26d
zabbix: remove build timestamp
Build timestamp prevents reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-06 22:08:12 +01:00
Etienne Champetier bd4fd07f1b zabbix: update to 3.2.7
https://www.zabbix.com/rn3.2.7

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-13 14:51:46 -07:00
Etienne Champetier dbab191dce zabbix: update to 3.2.6
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-07-08 11:56:26 -07:00
Etienne Champetier 547f30b468 zabbix: partially fix zabbix-extra-mac80211
In kernel commit f1160434c7658af3f7b0926b88df49a66cb3c3e0 many stats
that we read with zabbix-extra-mac80211 have been renamed
One commit after (c206ca670974cefec7ac3732db5c8156e8081a8d) those renamed
stats have been hidden behind MAC80211_DEBUG_COUNTERS compile flag

For now you have to edit mac80211 Makefile / do a custom build to access
most of these stats

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-07-08 08:30:14 -07:00
Etienne CHAMPETIER 9b55b020a3 zabbix: update to 3.2.4, use PKG_HASH
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2017-03-04 09:32:28 -08:00
Etienne CHAMPETIER 18e9f6e1d0 zabbix: update to 3.0.3
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2016-06-28 23:07:05 +00:00
Etienne CHAMPETIER fe88e0447a zabbix: update to zabbix 3.0.1
zabbix-agent doesn't exist anymore since 3.0

'-f' option (foreground) is now in zabbix-agentd

003-change-user-and-foreground.patch fixes pending
issue https://support.zabbix.com/browse/ZBX-10611

you might need to update your config file to add
LogType=system

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2016-04-09 17:24:17 +00:00
Stefan Weil cce7d58269 admin/zabbix: Fix typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-03-27 11:57:33 +02:00
Etienne CHAMPETIER 8dfc434b3c zabbix: add missing dependency on libiconv ($(ICONV_DEPENDS))
this fixes #2507
thanks @gilfrade and @Noltari

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2016-03-22 21:47:46 +00:00
Etienne CHAMPETIER 41a8f2d63b zabbix: enable IPv6 support
compile tested on trunk, run tested on CC (ar71xx)

size before:
 96757 zabbix-agentd_2.4.6-1_ar71xx.ipk
 29180 zabbix-get_2.4.6-1_ar71xx.ipk
258979 zabbix-proxy_2.4.6-1_ar71xx.ipk
 35121 zabbix-sender_2.4.6-1_ar71xx.ipk
282885 zabbix-server_2.4.6-1_ar71xx.ipk

size after:
 97359 zabbix-agentd_2.4.6-2_ar71xx.ipk
 29841 zabbix-get_2.4.6-2_ar71xx.ipk
259948 zabbix-proxy_2.4.6-2_ar71xx.ipk
 35801 zabbix-sender_2.4.6-2_ar71xx.ipk
284019 zabbix-server_2.4.6-2_ar71xx.ipk

original PR by Thomas Bahn <thomas-bahn@gmx.net>

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2015-10-19 22:24:44 +00:00
Etienne CHAMPETIER 03b5af288e zabbix: update to 2.4.6 (and refresh patches)
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2015-08-23 21:56:05 +00:00
Etienne CHAMPETIER 70a741cb33 zabbix: increase PKG_RELEASE
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2015-07-11 00:28:17 +02:00
Etienne CHAMPETIER f58e0a6407 zabbix: switch zabbix_agentd to procd
run tested on ar71xx

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2015-07-11 00:26:30 +02:00
Etienne CHAMPETIER e3576f3d0f zabbix: add option to run daemon in foreground
this will allow us to switch to procd and use jailing ...
this patch come from https://support.zabbix.com/browse/ZBXNEXT-611
big thanks to Boris Manojlovic

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2015-07-10 22:22:56 +02:00
Jo-Philipp Wich c3f0347649 zabbix: fix musl compatibility
Under musl a compilation unit cannot include both linux/kernel.h
and sys/sysinfo.h at the same time since that leads to a redefinition
of `struct sysinfo`.

Change the autoconf template to include linux/kernel.h while testing
for sys/sysinfo.h to test for that conflict.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-17 19:13:44 +02:00
Etienne CHAMPETIER ea28ae05dc zabbix: update to 2.4.5
run tested on ar71xx

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2015-05-27 08:10:02 +02:00
Etienne CHAMPETIER 76150309a8 zabbix: fix wifi.ifdiscovery UserParameter (zabbix-extra-wifi)
we don't use uci anymore (only ubus and iwinfo)

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2015-04-16 07:51:50 +02:00
Etienne CHAMPETIER f1c3a03ff6 zabbix: update to 2.4.4
run tested on ar71xx

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2015-03-10 22:28:26 +01:00
Etienne CHAMPETIER 7586532fdb zabbix: update to 2.4.3
run-tested on ar71xx

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2014-12-26 20:06:56 +01:00
Etienne CHAMPETIER 5dea9ae9e6 zabbix: update to 2.4.2
Remove 001-cross_compile.patch, it's fixed upstream (ZBX-5561)
Run tested on ar71xx

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2014-11-13 21:04:35 +01:00
John Crispin d4042ec35e generic userid: use the new USERID api
recent changes in trunk allow us to specify the userid inside the openwrt makefile.
the info is stored int he meta data of the IPK contorl file and users are generated
by the new generic postinst trigger.

Signed-off-by: John Crispin <blogic@openwrt.org>
2014-10-08 03:45:30 +02:00
Etienne CHAMPETIER 76bf2abf48 admin/zabbix: put myself as maintainer
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2014-09-16 23:28:20 +02:00
Christoph König c5f4701fbf zabbix: update to 2.4.0, refresh patches
Signed-off-by: Christoph König <christoph.koenig@gmail.com>
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2014-09-16 22:00:38 +02:00
Etienne CHAMPETIER 43a84082f6 admin/zabbix: update to 2.2.6
This is only compile tested for now.

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2014-09-12 22:11:02 +02:00
Ian Leonard 97be1d810a zabbix: Convert license to SPDX format.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-01 13:45:04 -07:00
Etienne CHAMPETIER ad2aa7e1fe zabbix: update to 2.2.5, refresh patches
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2014-07-23 01:20:55 +02:00
Etienne CHAMPETIER af1fe70acb zabbix: fix zabbix-extra-wifi discovery rule
As it use ubus call you need to run zabbix as root for it to work

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
2014-06-24 00:00:20 +02:00
Etienne CHAMPETIER e725991754 Zabbix: update to 2.2.3 and add PKG_LICENSE
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
2014-06-04 12:55:09 +02:00
Etienne CHAMPETIER 99dcd289e4 Zabbix: import 2.2.2 from packages
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
2014-06-04 00:13:16 +02:00