Commit Graph

4072 Commits

Author SHA1 Message Date
Hannu Nyman 85cb71d8d8 nano: Add a plus variant with more features
Nano is by default built as "tiny" with most features disabled.
That is suitable for basic tasks in routers with small flash.

Add a new nano-plus variant that enables selected additional
features in the build config:
 * multiple files (multibuffer)
 * Unicode/utf8
 * justify
 * .nanorc support
 * help
 * also some key bindings get enabled as "tiny" configure option
   is removed.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2022-01-31 18:12:48 +02:00
Rosen Penev c61bad460e sockread: add missing header
Needed for memset, memcpy, and strerror.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-31 07:05:17 -08:00
Rosen Penev d5d8a39b53 cmdpad: fix bad scanf format
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-30 23:53:45 -08:00
Rosen Penev a24de043b2 lrzsz: fix various format warning
Found with -Wformat.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-30 23:35:25 -08:00
Rosen Penev 9bbe88ff73 hdparm: fix formats for mips64 and ppc64
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-30 23:34:38 -08:00
Tianling Shen c665f0b50c yq: Update to 4.18.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-01-30 15:43:56 -08:00
Rosen Penev cf668471c7 canutils: fix format strings for mips and powerpc
It seems a define is needed to get these platforms to have the same
formats. Upstream backport.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-29 16:40:01 -08:00
Sergey V. Lobanov 26cecccf28 sane-backends: fix build on macos
MacOS does not have /bin/true, but OpenWrt Makefile uses it so
build fails on macos

This patch removes absolute path (replaces /bin/true to true)

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-29 19:26:44 -03:00
Jonathan Pagel 6caca23cc8 telegraf: Update package to version 1.21.3
Signed-off-by: Jonathan Pagel <jonny_tischbein@systemli.org>
2022-01-29 12:10:27 +01:00
Sergey V. Lobanov 4b6fc857be fakeuname: add package
This package provides fakeuname host tool to avoid build platform
detection for invalid configure/build scripts that are not
friendly to cross-platform build.

This fake uname tool returns Linux as OS name and target Linux
version as OS version.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-28 13:47:14 -08:00
Sergey V. Lobanov 99086dc44b open2300: fix build on macos
This patch sets UNAME=Linux due to OpenWrt is always Linux but
`uname -s` return Darwin on MacOS and fails target build.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-28 12:08:38 -08:00
Daniel Golle 19c135685f auc: add '-n' parameter for dry-run
Add option to allow only requesting an image but not actually download
or sysupgrade anything.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-01-27 17:26:28 +00:00
Sergey V. Lobanov 373bb8e4e7 reptyr: fix build on macos
This patch sets UNAME_S=Linux due to OpenWrt is always Linux but
`uname -s` return Darwin on MacOS and fails target build.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-26 23:01:10 +01:00
Tiago Gaspar fadc0db74a collectd: remove libip4tc dependency
Base collectd doesn't require libip4tc as stated in the collectd git:

* libiptc (optional)
For querying iptables counters
<http://netfilter.org/>

And libip4tc is already added as a dependency in the iptables plugin
because it needs it, so remove this dependency from the default collectd
to make it compatible with the new nftables firewall4 (by not selecting
any iptables components).

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
2022-01-26 22:34:26 +02:00
Sergey V. Lobanov 5a2178a344 gpsd: fix build on macos
gpsd build fails on macos due to using sys.platform in build logic.

This patch allows to redefine target platform to fix the issue.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-25 16:27:13 -08:00
Alexandru Ardelean 41c2e77e6a Merge pull request #17688 from svlobanov/stress-ng-fix-build-on-macos
stress-ng: fix build on macos
2022-01-25 12:17:33 +02:00
Oskari Rauta 05dcb333be crun: update to v1.4.1
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-01-24 15:45:16 -08:00
Oskari Rauta e08862ba0b conmon: update to 2.0.32
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-01-24 15:45:01 -08:00
Tianling Shen 029b37aad0 yq: Update to 4.17.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-01-24 15:43:25 -08:00
Sergey V. Lobanov 53a51fb3d1 stress-ng: fix build on macos
This patch adds KERNEL=Linux to MAKE_FLAGS to avod Darwin detection.
If Makefile detects Darwin, it removes -lbsd from build flags, but
this flag is required due to target is always Linux, not bsd-like.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-25 01:41:09 +03:00
Sergey V. Lobanov 50b4221ee5 tcsh: fix build on macos
tcsh requires host-tool (gethost) to generate tc.defs.c file.
To build this tool on macos, it is required to run ./configure
script wihout target vars/flags, but this package is not
splitted to host and target build.

This patch splits build to host and target builds to compile
host-tool(gethost) first, then compile tsch.

Due to lack of support of separate building host and target,
OpenWrt Makefile is modified to do it in the order below:
1. build host-tool (gethost)
2. build sh.err.h header for target
3. build tc.const.h header for target
4. copy gethost tool from host staging dir to target build dir
5. touch (make -t) gethost to protect it from recompiling
6. build tsch for target

It is required to do step 2 and 3 because 'make -t' generates
empty files but these files required to build tcsh

Patch 020-cross.patch has been removed due to not required
anymore (gethost build is separated and not affected by
target configure flags and vars)

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-18 18:10:48 -08:00
Josef Schlehofer a2427edf76 cryptsetup: update to version 2.4.3
Fixes: CVE-2021-4122

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-01-18 18:43:56 +00:00
Florian Eckert ea567e3c7c Merge pull request #17497 from corna/dockerd_log_driver
dockerd: Add "log-driver" option
2022-01-18 10:46:38 +01:00
Sergey V. Lobanov 7aec247dff hwinfo: fix build on macos
hwinfo host-compile builds hwinfo entirely that is not really
required. It is required to build only some host tools to
generate ids and isdn related C-code

This patch changes host build to build only required host tools

Added patch to remove malloc.h using as deprecated, not required
and not supported on macos system (stdlib.h has required functions
on Linux and MacOS systems)

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-17 21:11:09 -08:00
Vladimir Ermakov df6cf458c4 qemu: add seccomp feature
Patch add an option to enable seccomp support,
adds dependency on libseccomp.

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2022-01-18 12:53:27 +08:00
Vladimir Ermakov 421fb2fea4 qemu: update to 6.2.0
Qemu version updated to 6.2.0, patch set refreshed for it.

Options --disable-jemalloc --disable-tcmalloc was replaced
by --enable-malloc=CHOICE, defaults to system.

Libudev search was moved from configure to meson.build, and now it's
not so easy to disable it. Even though --disable-mpath present.

Delete patches 0008-falloc and 0009-fs - they're already in 6.2.0.

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2022-01-18 12:53:27 +08:00
Michael Heimpold c71b09aa92 mmc-utils: update to latest git head
While at, update project's reference URL.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-01-16 15:30:18 +01:00
Michal Hrusecky 0ffec9bd4b mariadb: Add sudo dependency
During update we use sudo to start an instance. It probably could be
workarounded, but given the MariaDB size, dependency on sudo shouldn't
be an issue.

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
2022-01-14 15:32:48 +01:00
Michal Hrusecky b41525cef4 mariadb: Check and fix datadir owner issues during upgrade
If you are migrating to MariaDB package, you might have old datadir
stored somewhere using different setup with different users. If you
trust us enough to enable autoupgrade, you probably trust us enough to
chown your datadir as well. This can prevent some potential issues.

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
2022-01-14 15:32:48 +01:00
Michal Vasilek aae551544b apparmor: cleanup
* replace 020-fix-ss-path.patch with an upstream patch 020-remove-which-dep.patch
* remove 030-remove-pynotify2-dep.patch and do not install aa-notify
* simplify 060-openwrt-dnsmasq-profile.patch
* add two upstream patches for Python 3.10 compatibility
* add an upstream patch to move from deprecated distutils which broke
  the build with Python 3.10+

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-01-13 11:59:58 +01:00
Philip Prindeville 7b6a35e0ef Merge pull request #17592 from svlobanov/lcdproc-fix-build-on-macos
lcdproc: fix build on macos
2022-01-12 10:53:16 -07:00
Sergey V. Lobanov 5fbfba19c2 lcdproc: fix build on macos
./configure script detects mtab file and fails build if mtab is not
found on build host. It is not required for OpenWrt build due to
mtab is always /etc/mtab on OpenWrt

MacOS doesn't have mtab file so disable it via ac_cv_mtab_file var

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-12 18:12:46 +03:00
Michal Vasilek af37497c4f miniflux: update to 2.0.34
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-01-12 04:00:47 -08:00
Huangbin Zhan 15c6fa3ddd bash: update to 5.1.16
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2022-01-10 17:01:48 -08:00
Huangbin Zhan 2977360e46 bash: add /etc/profile.d/sys_bashrc.sh as conffile
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2022-01-10 17:01:48 -08:00
Josef Schlehofer daaba8f3ff nnn: update to version 4.4
Refreshed patch

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-01-09 13:50:25 -08:00
Javier Marcet 042507f284 docker-compose: Update to version 2.2.3
What's Changed

 -  compose images should list images of created containers by @kiniou

 -  Ignore missing (swarm) overlay networks by @ndeloof

 -  Remove intermediate containers when build succeeded in classic
 build by @notok

 -  compose ps: fix typo "unknow" -> "unknown" by @webignition

 -  Add 2 modes test mechanism by @ulyssessouza

 -  Handle "stop" event by @ndeloof

 -  Only kill running containers by @ulyssessouza

 -  compose cp doesn't need a full project and can copy from stopped
 containers by @ndeloof

 -  Add dependabot by @ulyssessouza

 -  Do not try to guess when to allocate a TTY and keep it as default
 by @ulyssessouza

 -  Bump github.com/golang/mock from 1.5.0 to 1.6.0 by @dependabot

 -  Bump github.com/spf13/cobra from 1.2.1 to 1.3.0 by @dependabot

 -  Bump github.com/hashicorp/go-multierror from 1.1.0 to 1.1.1 by
 @dependabot

 -  Bump github.com/buger/goterm from 1.0.0 to 1.0.3 by @dependabot

 -  Propagate GroupAdd from ServiceConfig to HostConfig by
 @lancechentw

 -  Bump github.com/containerd/console from 1.0.2 to 1.0.3 by
 @dependabot

 -  Bump github.com/AlecAivazis/survey/v2 from 2.2.3 to 2.3.2 by
 @dependabot

 -  Added volume bind option SELinux label :z :Z by @tymonx

 -  Downgrade goterm to 1.0.1 by @ulyssessouza

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-01-09 13:47:16 -08:00
Jonathan Pagel b754c9d1ac telegraf: Update package to version 1.21.2
Signed-off-by: Jonathan Pagel <jonny_tischbein@systemli.org>
2022-01-09 13:46:55 -08:00
Hannu Nyman e065ccda94 haveged: update to 1.9.17
Update havged to version 1.9.17.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2022-01-09 19:00:24 +02:00
Sergey V. Lobanov 47c31b4746 bossa: fix build on macos
override OS=Linux Makefile variable to support building on macos

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-09 14:17:13 +01:00
Alexandru Ardelean 7f5484fc9d Merge pull request #17531 from neheb/1
fuse: fix compilation with recent glibc
2022-01-09 10:21:34 +02:00
Rosen Penev df8a0f324d bluez: fix compilation with glibc
sync() is implemented now.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-08 20:39:15 -08:00
Rosen Penev 6710881cbd fuse: fix compilation with recent glibc
closefrom is implemented now.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-08 20:38:19 -08:00
Sergey V. Lobanov 9913c0899a rtty: add compatibility for wolfssl >= 5.0
NTRU support has been removed in wolfssl 5.0 so it is required to
mask NTRU specific code if wolfssl >= 5.0

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-06 23:21:20 +01:00
Nicola Corna 800d69b4b4 dockerd: Add "log-driver" option
Signed-off-by: Nicola Corna <nicola@corna.info>
2022-01-04 17:16:45 +01:00
Philip Prindeville 471ef4e398 acpica-unix: Update to 20211217
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2022-01-01 10:13:56 -08:00
Hirokazu MORIKAWA 2b165b9b37 mg: bump to 7.0
This is mg as it appears in OpenBSD 7.0.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2021-12-29 01:19:15 +01:00
Jonathan Davies 80fe862fc3 prometheus-node-exporter-lua: Added entropy.lua.
Signed-off-by: Jonathan Davies <jpds@protonmail.com>
2021-12-25 00:20:50 +01:00
Tianling Shen c47425fe29 yq: Update to 4.16.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-12-24 23:17:14 +08:00
Alexandru Ardelean b574955ca5 Merge pull request #17391 from clayface/logrotate
logrotate: add logrotate.d to conffiles definition
2021-12-20 11:33:07 +02:00