Michal Hrusecky [Sat, 30 Oct 2021 18:41:15 +0000 (20:41 +0200)]
mariadb: Tweak default configuration
Remove from default configuration options that are compiled in like
default paths and character set. On the other hand add few examples of
tweak options that might be handy.
Michal Hrusecky [Fri, 29 Oct 2021 14:55:47 +0000 (16:55 +0200)]
mariadb: Init script improvements
Update init script so other user/group can be used. Also make sure that
init script can actually create an empty database instead of forcing the
user to do it by hand. Other new feature is taking care of migration
of the database when upgrading the database.
Michal Hrusecky [Fri, 29 Oct 2021 14:46:44 +0000 (16:46 +0200)]
mariadb-common: Drop package and adjust configuration
The raison d'être of package mariadb-common was to provide common my.cnf
config file that was being used to include subdirectories and then to
push utf-8 as default everywhere. Let's make this file part of the
server package as there we actually set other options as well and drop
it from all clients. Instead let's set utf-8 as default in server,
client and client libraries. While at it also set socket to the more
common path and drop mysqld_safe script from the list of configuration
files and do other minor tweaks.
Sven Eckelmann [Sat, 27 Nov 2021 13:51:53 +0000 (14:51 +0100)]
ovpn-dco: Avoid building against musl headers
The musl headers contain defines which are incompatible with kernel builds.
For example alltypes.h contain a __BIG_ENDIAN define. This will force
various kernel functions/macros to be build in a way which requires the
target system to be big endian. But if the target system is actually little
endian, these function will then not perform there intended tasks. The
actual (hard to debug) effects can vary between minor problems and fatal
errors.
This is port of the fix from OpenWrt's commit 9ac47ee46918 ("build: use
-nostdinc and -isystem in NOSTDINC_FLAGS for out-of-tree kernel modules")
Fixes: 17cd1793bbec ("ovpn-dco: Add package") Signed-off-by: Sven Eckelmann <redacted>
Georgi Valkov [Sun, 28 Nov 2021 17:22:56 +0000 (19:22 +0200)]
ksmbd-tools: Fix ksmbd service is semi-killed at system startup
The configuration for the ksmbd service is auto-generated when
the OpenWRT configuration changes, and also during startup,
hence ksmbd.init has to reload the kernel module. It does that by
calling kill_server, which does not perform cleanup. This results
in ksmbd being killed but not restarted properly during boot.
This patch resolves the issue by using stop_service, which performs
proper cleanup.
Django 1.x is not compatible with python 3.10.
Mark the package as BROKEN. Since its dependent packages will also
select it, they will need to be marked BROKEN as well to avoid recursive
dependencies--packages not marked as BROKEN will be able to select the
broken package.
David Bauer [Thu, 25 Nov 2021 23:01:33 +0000 (00:01 +0100)]
usteer: update to latest git head
7bf79a2 ubus: set scan duration to roam scan interval b4eb49e policy: only select nodes with better signal when roaming 5d5a0be ubus: don't request measurement from unsupported STAs abc6fe0 local-node: update STA RRM capabilites 5ec713b node: determine roamability when selecting neighbors d0cd65b node: save created time for node a5c21ae ubus: prioritize neighbor reports on bss transition 532a48d local-node: prioritize neighbor candidates 4862080 node: keep track of roam-sources and roam-destinations 6a20591 sta-info: add last_connected field
Stijn Tintel [Wed, 24 Nov 2021 12:39:31 +0000 (14:39 +0200)]
openvswitch: document missing options
Commit 1038ac123558 ("openvswitch: add support for definining bridge ports...")
added two new options:
- drop_unknown_ports
- ports
They are missing from the README, so add them.
2021-09-27 v1.11.0 "Smew Duck"
This maintenance release adds support for VBR mode in VP9 rate control
interface, new codec controls to get quantization parameters and loop filter
levels, and includes several improvements to NEON and numerous bug fixes.
- Upgrading:
New codec control is added to get quantization parameters and loop filter
levels.
VBR mode is supported in VP9 rate control library.
- Enhancement:
Numerous improvements for Neon optimizations.
Code clean-up and refactoring.
Calculation of rd multiplier is changed with BDRATE gains.
- Bug fixes:
Fix to overflow on duration.
Fix to several instances of -Wunused-but-set-variable.
Fix to avoid chroma resampling for 420mpeg2 input.
Fix to overflow in calc_iframe_target_size.
Fix to disallow skipping transform and quantization.
Fix some -Wsign-compare warnings in simple_encode.
Fix input file path in simple_encode_test.
Fix valid range for under/over_shoot pct.
Signed-off-by: Luiz Angelo Daros de Luca <redacted>
Daniel Golle [Sat, 20 Nov 2021 15:57:58 +0000 (15:57 +0000)]
transmission: include default 'web_home' dir in jail
Fixes 'transmission-web' for users which didn't manually configure the
'web_home' option.
Assume transmission's default in case 'web_home' isn't defined and
mount the directory so it can be accessed from inside the jail.
Daniel Golle [Sat, 20 Nov 2021 11:55:01 +0000 (11:55 +0000)]
transmission: add a bunch of syscalls to seccomp filter
Add missing "inotify_add_watch", "inotify_init1" and "inotify_rm_watch"
syscalls to seccomp filter which are needed in case watch_dir feature
of transmission is used.
Fixes #16972 Reported-by: @siwind Signed-off-by: Daniel Golle <redacted>
Nick Hainke [Thu, 18 Nov 2021 06:44:32 +0000 (07:44 +0100)]
conntrack-tools: import patch to fix cache
As written in the commit message:
Depending on your conntrackd configuration, events might get lost,
leaving stuck entries in the cache forever. Skip checking the conntrack
ID to allow for lazy cleanup by when a new entry that is represented by
the same tuple is added.
Drop patch: 003-do-not-run-distutils-tests.patch
There is now a configure option '--disable-test-modules'
And seems we left the '_ctypes_test' around for quite some time.
Dropped now.
Refs:
https://bugs.python.org/issue27640
https://bugs.python.org/issue43282
Drop patch: 013-getbuildinfo-date-time-source-date-epoch.patch
Python build honors SOURCE_DATE_EPOCH pretty well now.
Drop setuptools patches. Setuptools should be reproducible with Python 3.6+
according to a mention here:
https://github.com/pypa/setuptools/pull/1690#issuecomment-536517456
It's time to let upstream fix Setuptools reproduce-ability.
Drop patch: 010-do-not-add-rt-lib-dirs-when-cross-compiling.patch
I can't seem to fully remember why it's there.
And it seem to build fine without it.
Drop patch: 015-abort-on-failed-modules.patch
Python build supports a similar PYTHONSTRICTEXTENSIONBUILD=1 env-var
option.
Add patch: 026-openssl-feature-flags.patch
We need to keep this in our tree for a while.
See:
https://bugs.python.org/issue45627
Add patch: 028-host-python-support-ssl-with-libressl.patch
We need the _ssl module working on the host-side with LibreSSL for pip to
work to download from https://pypi.org
Refs: https://github.com/openwrt/openwrt/pull/4749
Add patch: 029-disable-deprecation-warning.patch
Fixes apparmor build. The warning causes a configure error.
Refreshed the rest of patches.
Some old build-flags were removed. They don't seem to be necessary anymore.
Split python3-uuid from python3-light. To better manage the libuuid library
(if needed). Also, fixing the uuid C module build. Seems this was failing,
and was falling back to using hashlib.
Stijn Tintel [Fri, 29 Oct 2021 18:27:56 +0000 (20:27 +0200)]
openvswitch: bring up member ports
Open vSwitch does not bring up ports automatically. This is not a
problem for wireless ports, or for ports configured in
/etc/config/network, but other ports will be down, and require manual
interaction to be brought up. Configuring them with proto none will
cause netifd to do some actions on them, which might cause undefined
results, and will also bloat the UCI config file.
The cleanest solution is to bring all member ports up as part of the
init script.
Oskari Rauta [Sat, 6 Nov 2021 20:05:46 +0000 (22:05 +0200)]
parted: update Makefile
- updated Makefile fields license (GPL3) and COPYING as license file
- fix config directive
- split package to shared library and application (another package, fatresize has dependency to libparted)
Josef Schlehofer [Tue, 16 Nov 2021 13:22:44 +0000 (14:22 +0100)]
syslog-ng: update to version 3.35.1
Also bump the version in syslog-ng config file.
Removes this warning:
Nov 16 14:19:41 turris syslog-ng[15159]: WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode. Please update it to use the syslog-ng 3.35 format at your time of convenience. To upgrade the configuration, please review the warnings about incompatible changes printed by syslog-ng, and once completed change the @version header at the top of the configuration file; config-version='3.33'
Matthew Hagan [Mon, 15 Nov 2021 13:11:38 +0000 (13:11 +0000)]
rsyslog: add additonal support modules
Add configurables via a menu to enable support for various features:
- GSSAPI Kerberos support
- mysql
- postgresql
- libdbi
- elasticsearch
- HTTP output module
- openssl
- gnutls
- mail output
- json parsing module
- MaxMind DB support
- input file