Commit Graph

423 Commits

Author SHA1 Message Date
Josef Schlehofer 34a650bbad syslog-ng: update to version 4.7.1
Release notes:
- https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.7.0
- https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.7.1

Also bump version in the config file to avoid warning

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 9d49df0dab)
2024-04-26 13:42:24 +02:00
Josef Schlehofer 91628e80b4 syslog-ng: enable http module based on zlib support in curl
Since version 4.4.0, syslog-ng added compression to http() destination
using zlib from curl. [1] However, zlib is currently disabled in curl [2]
and it prevented syslog-ng to start.

This commit changes the configuration opinion to enable http module only if
zlib support is enabled for curl and as well it adds dependency for zlib (in that case).
If the zlib is disabled, then it disables http module, so syslog-ng can start
and thus zlib dependency is not required.

[1] https://gitlab.nic.cz/turris/os/packages/-/issues/932
[2] 93cbaacbfb/net/curl/Config.in (L134)
Fixes: 4dd49d7c3c ("syslog-ng: update to version 4.4.0")

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 1e14d95d78)
2024-03-26 08:27:02 +01:00
Josef Schlehofer 06fb98b27a syslog-ng: update to version 4.6.0
1. Bump version config to 4.6
2. Updated to 4.6.0 version
https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.6.0
https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.5.0

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit cf4df28d06)
2024-03-05 22:18:31 +01:00
Sergey Ponomarev 002297b47c syslog-ng: conf: fix deprecated stats_freq
The deprecated stats_freq() replaced with stats(freq(0)).

Also make comments shorter.
Fix tabs.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
(cherry picked from commit 37d2d69595)
2024-03-05 22:18:26 +01:00
Tianling Shen 9e20e91de0
btop: Update to 1.3.2
Synced LDFLAGS from upstream Makefile.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 187b52c95a)
2024-03-02 16:59:51 +08:00
Florian Eckert c5ad47372b zabbix: update to version 6.4.7
Switch to current stable version 6.4.7.
See release notes:
https://www.zabbix.com/rn/rn6.4.7

So that the new version builds cleanly. The 'libevent2-pthreads' must be
added as dependency.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 4f9ced5cf9)
2024-02-17 15:02:03 +01:00
John Audia 0707d98c1b htop: update to 3.3.0
Changelog: https://github.com/htop-dev/htop/compare/3.2.2...3.3.0

Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne

Signed-off-by: John Audia <therealgraysky@proton.me>
(cherry picked from commit 3ee7b46610)
2024-01-19 20:23:42 +02:00
Tianling Shen 0a34c85713
btop: Update to 1.3.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 37ce0e6803)
2024-01-10 19:52:19 +08:00
Javier Marcet b110df7cb5
btop: opt out of lto usage
Signed-off-by: Javier Marcet <javier@marcet.info>
(cherry picked from commit 107312a73f)
2024-01-10 19:52:15 +08:00
Christian Marangi c214bc1111 zabbix: move to PCRE2 library
Move to PCRE2 library as PCRE is not EOL and won't receive any security
updates anymore.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 3dfb00c6c6)
2023-10-31 13:48:08 +01:00
Jeffery To 236da17e6a
rust: Use make's jobserver when building packages
This allows cargo to use make's jobserver when building packages, by
marking the cargo command as recursive (with the + prefix[1]) and
setting MAKEFLAGS.

This also:

* Give cargo/x.py the build directory instead of having to change the
  current directory (and opening subshells)

* Set PKG_BUILD_PARALLEL/HOST_BUILD_PARALLEL for Rust packages to enable
  the use of make's jobserver

[1]: https://www.gnu.org/software/make/manual/html_node/POSIX-Jobserver.html

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 0dfc1b508d)
[omit changes to arp-whisper and procs]
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-12 14:02:35 +08:00
Josef Schlehofer ba11cad3a8 syslog-ng: update to version 4.4.0
- Release notes:
https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.4.0

- Bump version in config file

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 4dd49d7c3c)
2023-10-04 18:03:21 +02:00
Alexandru Ardelean 332e5eaa47 sudo: bump to verison 1.9.14p3
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit a1edb56083)
2023-09-20 02:08:53 +02:00
Alexandru Ardelean e22448e182 sudo: bump to verison 1.9.14p1
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 7953466d7f)
2023-09-20 02:08:40 +02:00
Josef Schlehofer 51acc2633b treewide: change my no longer used email
Since February 2023, I decided to no longer work with Turris, I mean CZ.NIC company
due to some reasons how the development goes and since that day my work address is not
available and not sure if there is some redirect to someone else, but if anyone wants to
reach me, use my email address, where they can find me.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 1e1b2051db)
2023-09-16 12:24:30 +02:00
Josef Schlehofer 07b04f9d9f syslog-ng: update to version 4.3.1
Makefile changes:
- Since version 4.3.0, there is required to use pcre2 instead of pcre
Reference: https://github.com/syslog-ng/syslog-ng/pull/4537

- Disable c++ support by default to avoid picking libstdcpp dependency
Reference: https://github.com/syslog-ng/syslog-ng/pull/4484

Config changes:
- Bump version in config file

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit c43599b0c8)
2023-09-15 09:29:08 +02:00
Luca Barbato 4c7a6d751f bottom: New package
Bottom is a top/htop workalike with few additional features, written in
rust.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit f3a6491674)
2023-09-02 16:22:30 +02:00
Jeffery To 03d4cf031f zabbix: Add "oldstable" source URL
Zabbix moved the 6.2 directory from "stable" into "oldstable". This adds
the "oldstable" URL to PKG_SOURCE_URL.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit c196aac4b1)
2023-06-04 21:07:46 -04:00
W. Michael Petullo 1fcea07981 syslog-ng: update to 4.2.0
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:18:29 +08:00
Nick Hainke feaba4f52b btop: fix compilation with musl 1.2.4
_LARGEFILE64_SOURCE has to be defined in the source, or CFLAGS can be used
to pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Fixes errors in the form of:
Compiling src/linux/btop_collect.cpp
src/linux/btop_collect.cpp: In function 'Mem::mem_info& Mem::collect(bool)':
src/linux/btop_collect.cpp:1082:58: error: aggregate 'Mem::collect(bool)::statvfs64 vfs' has incomplete type and cannot be defined
 1082 |                                         struct statvfs64 vfs;
      |                                                          ^~~
src/linux/btop_collect.cpp:1083:79: error: invalid use of incomplete type 'struct Mem::collect(bool)::statvfs64'
 1083 |                                         if (statvfs64(mountpoint.c_str(), &vfs) < 0) {
      |                                                                               ^
src/linux/btop_collect.cpp:1082:48: note: forward declaration of 'struct Mem::collect(bool)::statvfs64'
 1082 |                                         struct statvfs64 vfs;
      |                                                ^~~~~~~~~
make[3]: *** [Makefile:274: obj/linux/btop_collect.o] Error 1
make[3]: Leaving directory '/home/nick/openwrt/build_dir/target-aarch64_cortex-a53_musl/btop-1.2.13'
make[2]: *** [Makefile:53: /home/nick/openwrt/build_dir/target-aarch64_cortex-a53_musl/btop-1.2.13/.built] Error 2
make[2]: Leaving directory '/home/nick/openwrt/feeds/packages/admin/btop'
time: package/feeds/packages/btop/compile#2.57#0.17#3.02
    ERROR: package/feeds/packages/btop failed to build.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-05-17 07:46:11 +08:00
Christian Marangi d3e10fd823
netatop: fix compilation warning for kernel module
Fix compilation warning for missing fallthrough.
Fix compilation warning:
/builder/shared-workdir/build/build_dir/target-mipsel_24kc_musl/netatop-3.1/module/netatop.c: In function 'getsockopt':
/builder/shared-workdir/build/build_dir/target-mipsel_24kc_musl/netatop-3.1/module/netatop.c:1619:26: error: this statement may fall through [-Werror=implicit-fallthrough=]
 1619 |                 tasktype = 'g';
      |                 ~~~~~~~~~^~~~~
/builder/shared-workdir/build/build_dir/target-mipsel_24kc_musl/netatop-3.1/module/netatop.c:1621:12: note: here
 1621 |            case NETATOP_GETCNT_PID:
      |            ^~~~
cc1: all warnings being treated as errors

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-14 16:51:47 +02:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Josef Schlehofer 7de98324c7 syslog-ng: update to version 4.1.1
- Release notes:
https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.1.1

- Updated version in config

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-04-12 20:22:04 +02:00
Andre Heider 35f4ef76e0 treewide: refactor to use PKG_BUILD_FLAGS:=gc-sections
See commit da370098 "treewide: add support for "gc-sections" in
PKG_BUILD_FLAGS" on the main repository.

Note: This only touches packages which use all three parts
(-ffunction-sections, -fdata-sections and -Wl,--gc-sections) enabled by
this build flag. Some packages only use a subset, and these are left
unchanged for now.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Andre Heider 565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Alexandru Ardelean 2d9e475444 sudo: bump to verison 1.9.13p3
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-03-23 19:38:27 +02:00
Etienne Champetier b97cc232c6
Merge pull request #20451 from graysky2/htop
htop: update to 3.2.2
2023-02-07 08:25:07 +02:00
John Audia 3482ea24e4 htop: update to 3.2.2
Build-tested: x86/64
Run-tested: bcm2711/RPi4B

Signed-off-by: John Audia <therealgraysky@proton.me>
2023-02-05 16:09:57 -05:00
Alexandru Ardelean 18ce787530 sudo: bump to version 1.9.12p2
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-02-04 18:56:22 +02:00
Tianling Shen bb73523d75 btop: Update to 1.2.13
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-11-15 14:33:04 +08:00
Tianling Shen 5671bd0d1a btop: append `--utf-force` argument by default
btop reads the `LANG` env variable to delect if the system has utf8
support, which exists on common Linux distributions.

However, OpenWrt does not ship it, and results in btop reporting
"No UTF-8 locale detected!". Users have to manually pass `--utf-force`
to make btop happy.

To make it OOTB, append `--utf-force` argument by default via alias.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-11-15 14:33:04 +08:00
Alexandru Ardelean 8e2091c6ad sudo: bump to verison 1.9.12p1
Fixes: https://github.com/openwrt/packages/issues/19816

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-11-07 12:30:29 +01:00
Jacky Guo a7ed296a80 nload: add new package
Signed-off-by: Jacky Guo <leickwell@hotmail.com>
2022-11-04 13:10:38 -07:00
Alexandru Ardelean b40372da41 sudo: bump to version 1.9.12
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-10-31 12:29:24 -07:00
Tianling Shen d04b590fc2 btop: add new package
Resource monitor that shows usage and stats for processor, memory,
disks, network and processes.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-10-19 09:30:12 +02:00
Florian Eckert 3c11092560 zabbix: add sqlite3 support
This change makes it possible to build zabbix with sqlite3 support.

Attention:
By selecting "SQLite" as "Database Software" you are not able
to build the zabbix-server and zabbix-server-frontend package anymore.
This database is not supported for this service.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2022-10-17 13:50:42 +02:00
Scott Roberts cd48d03f01 zabbix: add variants for SSL support
opkg does not offer ssl varients:
zabbix-agentd
zabbix-sender
zabbix-get
zabbix-proxy
zabbix-server

resolve this by adding ssl varients.

Signed-off-by: Scott Roberts <ttocsr@gmail.com>
2022-10-06 06:44:03 -06:00
Scott Roberts 475d1cc0e9 zabbix: update to 6.2.3
Refreshed patches.

Signed-off-by: Scott Roberts <ttocsr@gmail.com>
2022-09-26 09:41:21 -06:00
Nick Hainke cab4d53e04 openwisp-config: cleanup Makefile
The license identifier has a typo. Fix it.
Use SPDX instead of license boilerplate.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-09-22 01:30:59 -07:00
Nick Hainke 327d857e4a openwisp-monitoring: cleanup Makefile
The license identifier has a typo. Fix it.
Use SPDX instead of license boilerplate.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-09-22 01:30:59 -07:00
Javier Marcet 38716ddfeb schroot: update to version 1.6.13, reboot of the schroot tool
conceived and developed for many years by Roger Leigh

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-09-09 11:59:53 -07:00
Josef Schlehofer 34b7af9e08
syslog-ng: update to version 3.38.1
- Release notes:
https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-3.38.1

- Update the configuration file to use version 4.0 as mentioned in the
  release notes to try the latest changes

Fixes: CVE-2022-38725

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-09-07 14:34:28 +02:00
Petr Štetiar 660fa63faf syslog-ng: fix OOM issues by adding support for logrotate
With heavy system logging which goes by default into `/var/log/messages`
log file which is usually placed in tmpfs/RAM one can trigger OOM killer
fairly easily, thus killing random processes and in some cases making
system unusable.

This is likely happening due to the fact, that Linux by default uses 1/2
of available RAM for tmpfs, which might be for example an issue on low
RAM devices with ath10k wireless.

So let's fix it by adding logrotate functionality which should limit the
size of `/var/log/messages` log file to 1M by default, but could be
tweaked by config knob if needed be.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-08-26 16:57:00 +02:00
Florian Eckert 672a655d6b zabbix: add fping dependency
If fping is not installed on the system the following message is show if
hosts should be monitored via icmp.

Log-Message:
"At least one of '/usr/sbin/fping', '/usr/sbin/fping6' must exist. Both
are missing in the system."

To fix this also, add a dependency to 'fping' for 'zabbix-server' and
'zabbix-proxy' for installation to allow icmp hosts monitoring.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2022-08-03 09:40:59 +02:00
Rosen Penev 97e986e5ed sudo: don't build with MIPS16
GCC12 doesn't implement some security flags used by sudo.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-07-14 14:13:02 -07:00
Giacomo Sanchietti 799194cbc9 rsyslog: apply shellcheck SC3014 to init
Signed-off-by: Giacomo Sanchietti <giacomo.sanchietti@nethesis.it>
2022-07-07 10:34:58 -07:00
Giacomo Sanchietti 008860276e rsyslog: replace spaces with tabs inside init
Signed-off-by: Giacomo Sanchietti <giacomo.sanchietti@nethesis.it>
2022-07-07 10:34:58 -07:00
Giacomo Sanchietti 7afd539dbf rsyslog: improve default config
Check also for config files containing comment lines starting
with white spaces.

Signed-off-by: Giacomo Sanchietti <giacomo.sanchietti@nethesis.it>
2022-07-07 10:34:58 -07:00
Giacomo Sanchietti c3f6591de7 rsyslog: apply shellcheck suggestions to init
Signed-off-by: Giacomo Sanchietti <giacomo.sanchietti@nethesis.it>
2022-07-07 10:34:58 -07:00
Giacomo Sanchietti a3cea3655f rsyslog: preserve existing configuration
Signed-off-by: Giacomo Sanchietti <giacomo.sanchietti@nethesis.it>
2022-07-07 10:34:58 -07:00