Commit Graph

26342 Commits

Author SHA1 Message Date
Sergey V. Lobanov 366c1b6fa7 lynx: fix build on macos
lynx uses host C-compiler to build internal utility that is used to
generate files required for target build. On MacOS it uses internal
clang with MacOS system headers so host build fails due to MacOS is
not Linux

Forced to use OpenWrt host C compiler using --with-build-*
./configure flags

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-11 16:23:58 -08:00
Hauke Mehrtens d4b2345802 ntpd: Fix compile with glibc 2.34
This adds a patch from Open embedded to fix compilation with glibc 2.34.
This patch was taken from here:
https://github.com/openembedded/meta-openembedded/blob/master/meta-networking/recipes-support/ntp/ntp/0001-libntp-Do-not-use-PTHREAD_STACK_MIN-on-glibc.patch

It fixes the following build problem:
work_thread.c:45:57: error: missing binary operator before token "("
   45 | #if defined(PTHREAD_STACK_MIN) && THREAD_MINSTACKSIZE < PTHREAD_STACK_MIN
      |                                                         ^~~~~~~~~~~~~~~~~
make[7]: *** [Makefile:892: work_thread.o] Error 1

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-01-11 16:23:00 -08:00
Jeffery To 71d0d9a877 golang: Update to 1.17.6
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-01-11 16:21:57 -08:00
Hauke Mehrtens 1de56f8990 radsecproxy: Fix compile with glibc 2.34
This backports a patch from upstream radsecproxy to fix compilation with glibc 2.34.

It fixes the following build problem:
radsecproxy.h:35:5: error: missing binary operator before token "("
   35 | #if PTHREAD_STACK_MIN > PTHREAD_STACK_SIZE
      |     ^~~~~~~~~~~~~~~~~
make[5]: *** [Makefile:623: dtls.o] Error 1

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-01-11 16:21:19 -08:00
Michael Heimpold d8d91931d0 libmodbus: update to 3.1.7
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-01-11 16:19:11 -08:00
Nick Hainke 8ab044712a wg-installer: generate new keys for every connection
Generate new keys on every new connection.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-12 00:51:08 +01:00
Sergey V. Lobanov b4820ec363 mblaze: fix build on macos
redefine OS=Linux due to OpenWrt is always Linux

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-11 14:55:33 -08:00
Rui Salvaterra e636e433c1 stubby: explicitly disable static linking
Although undocumented, there's a way to explicitly disable static linking in
Stubby, setting the CMake build option ENABLE_GETDNS_STATIC_LINK to OFF (ON by
default). Make it so.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-01-11 14:54:25 -08:00
Georgi Valkov 2703cc03c7 rpcsvc-proto: bump to 1.4.3
Fixes: rpcgen build (host-compile) on macOS
https://github.com/openwrt/packages/pull/17430
https://github.com/openwrt/openwrt/pull/4638

Signed-off-by: Georgi Valkov <gvalkov@abv.bg>
2022-01-11 14:53:46 -08:00
Florian Eckert 9c12900aee
Merge pull request #17535 from hgl/ddns-cloudflare
ddns-scripts-cloudflare: allow explicit zone_id
2022-01-11 16:13:04 +01:00
Sergey V. Lobanov a1582314ee gerbera: fix build on macos
cmake LINK_WHAT_YOU_USE is not supported on macos, disable it if
macos is used to build gerbera package

compiled binary (sha256sum) exactly the same on macos and ubuntu

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-10 17:06:45 -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
Nick Hainke 5e8301d7dc wg-installer: fix using symlinks for conf files
It is useful to symlink babeld and olsrd to /tmp/ if we frequently
write to those config files.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-11 00:27:43 +01:00
Noah Meyerhans 2978bc1977 iputils: bump to 20211215
Drop the tftpd binary, which is no longer provided upstream.  Users
should switch to the atftp server as a replacement.

Avoid executing runtime tests, which are not supported in cross-build
environments.

Signed-off-by: Noah Meyerhans <frodo@morgul.net>
2022-01-10 11:18:09 -08:00
Florian Eckert 4e0a711bc2 stunnel: add missing sessionResume option
The option sessionResume was added in version 5.60
https://www.stunnel.org/NEWS.html

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2022-01-10 14:32:03 +01:00
Jeffery To 15008be5cb
Merge pull request #17341 from erdoukki/fail2ban-2to3
fail2ban: fix 2to3 error
2022-01-10 20:48:03 +08:00
Glen Huang 78ef7d7379 ddns-scripts-cloudflare: allow explicit zone_id
When zone id is explicitly provided, there is no need for the API token to have read permission. Inspired by acme.sh's cloudflare logic.

Signed-off-by: Glen Huang <heyhgl@gmail.com>
2022-01-10 20:44:40 +08:00
Nick Hainke e6afcf8f3c wg-installer: fix cleanup script
The wrong function was called.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-10 13:32:20 +01:00
Hauke Mehrtens 99fc0216e0 postfix: Fix compile with glibc 2.34
This adds a patch from Open embedded to fix compilation with glibc 2.34.
This patch was taken from here:
https://github.com/openembedded/meta-openembedded/blob/master/meta-networking/recipes-daemons/postfix/files/0007-correct-signature-of-closefrom-API.patch

It fixes the following build problem:
/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_arc700_gcc-11.2.0_glibc/include/unistd.h:366:13: error: conflicting types for 'closefrom'; have 'void(int)'
  366 | extern void closefrom (int __lowfd) __THROW;
      |             ^~~~~~~~~
In file included from attr_clnt.c:87:
./sys_defs.h:1511:12: note: previous declaration of 'closefrom' with type 'int(int)'
 1511 | extern int closefrom(int);
      |            ^~~~~~~~~
make: *** [Makefile:192: attr_clnt.o] Error 1

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-01-09 15:25:13 -08:00
Christian Lachner 8891db4a91 haproxy: Update HAProxy to v2.4.10
- Update haproxy download URL and hash
- Updated upstream patches

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2022-01-09 13:50:49 -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 9121756e92 python3-paramiko: update to version 2.9.2
- [Bug]: Enhanced log output when connecting to servers that do not
 support server-sig-algs extensions, making the new-as-of-2.9
 defaulting to SHA2 pubkey algorithms more obvious when it kicks in.

 - [Bug]: Connecting to servers which support server-sig-algs but
 which have no overlap between that list and what a Paramiko client
 supports, now raise an exception instead of defaulting to
 rsa-sha2-512 (since the use of server-sig-algs allows us to know
 what the server supports).

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-01-09 13:47:42 -08:00
Javier Marcet c579abeb78 python-pynacl: update to v1.5.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2022-01-09 13:47:30 -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
Sergey V. Lobanov cca3001475 erlang: update to version 24.2
1. updated to 24.2  (RN: https://github.com/erlang/otp/releases/tag/OTP-24.2)
2. added libstdcpp dependency
3. erlang-hipe was removed in upstream
 (ref fccb8482ef)
 everything related to erlang-hipe was removed from Makefile
4. updated and refreshed patches
5. host-compile ssl library forced to OpenWrt LibreSSL to avoid using system library

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-09 13:46:17 -08:00
Kerma Gérald b4f48b5c23 crowdsec-firewall-bouncer: update to 0.0.21
Update crowdsec-firewall-bouncer to latest upstream release version 0.0.21

Makefile rework
- use tagged version for download

Fixes
- set API_KEY in firewall bouncer config file

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2022-01-09 13:44:20 -08:00
Sergey V. Lobanov e660ac3398 krb5: fix build on macos
backport of upstream commit
3c66c1fec7
Original author: Nikhil Benesch <nikhil.benesch@gmail.com>

Remove unnecessary flag in macOS build
The configuration logic for adding the `-search_paths_first` linker
flag on Darwin does not correctly handle cross compilation.  It should
check the value of $krb5_cv_host rather than `uname -s` to detect when
the compilation target is Darwin, rather than the build machine.

It turns out `-search_paths_first` has been the default behavior of ld
on macOS since XCode 4.  So just remove that bit of logic entirely.
(The flag was added in commit acd27af0e845f8b93de2e226cc2ec9ac8af52077
in 2004; XCode 4 was released in 2010.)

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-09 13:43:48 -08:00
Matthew Hagan 019501fe44 transmission: add ca_bundle support with procd-ujail
With procd-ujail enabled, it is not possible to use HTTPS URLs, for
example when either for downloading torrent files or blocklists. The
followig example occurs when downloading a URL from the "Upload Torrent
Files" dialogue box:

Error adding
"https://releases.ubuntu.com/21.10/ubuntu-21.10-desktop-amd64.iso.torrent":
gotMetadataFromURL: http error 0: No Response

syslog will also hint that no CA_BUNDLE is being used:

transmission-daemon[6683]: [2021-12-30 20:01:30.990] web will verify
tracker certs using envvar CURL_CA_BUNDLE: none (web.c:455)

This patch rectifies this issue by adding a ca_bundle configurable,
enabled by default. This explicitly fixes the ca_bundle file location
to /etc/ssl/certs/ca-certificates.crt and adds this file to the procd
jail. On subsequent testing, HTTPS URL download functionality is
restored.

Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
2022-01-09 21:18:15 +00:00
Stan Grishin 256de74759
Merge pull request #17551 from stangri/master-curl
curl: update to 7.81.0
2022-01-09 12:05:20 -08:00
Stan Grishin dd81a4878c curl: update to 7.81.0
* changes: https://curl.se/changes.html#7_81_0

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-01-09 19:51:47 +00:00
Alexandru Ardelean 3e2daee0d2
Merge pull request #17441 from commodo/django4
django: bump to version 4.0.1
2022-01-09 19:13:27 +02:00
Alexandru Ardelean 1eea3d4b2c django: bump to version 4.0.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-01-09 19:13:08 +02: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
Nick Hainke 0e416dadd1 wg-installer: fix typo in cleanup function
The delete variable was misspelled leading to devices always being
removed although they had connected neighbors.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-09 13:33:03 +01:00
Nick Hainke 714b51c630 wg-installer: add cleanup script
Add script to cleanup unused wireguard interfaces.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-09 10:21:44 +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
Alexandru Ardelean 5b08a1547c
Merge pull request #17532 from neheb/2
bluez: fix compilation with glibc
2022-01-09 10:21:21 +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
Rosen Penev e7547d980d Revert "pdns-recursor: temp"
This reverts commit 96e355836d.
2022-01-08 19:06:07 -08:00
Rosen Penev 96e355836d pdns-recursor: temp
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-08 19:05:17 -08:00
Rosen Penev 8ffdecc972 boost: fix libboost_context for mips64
There was an upstream patch that changes mips1 to mips.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-08 19:05:17 -08:00
Kerma Gérald 2a34e4987b crowdsec: update to 1.2.2
Update crowdsec to latest upstream release version 1.2.2

Makefile rework
- use tagged version for download

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2022-01-08 23:04:44 +01:00
Nick Hainke 4302bfd3c8 wg-installer: fix ipv4 meshing via olsr
The ipv4 address space was not allowed.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-08 22:30:47 +01:00
Kerma Gérald ad0e1a1c3c fail2ban: fix 2to3 error
Issue: 2to3 support has been removed in setuptools since version 58.0.0.

Fix: openwrt/packages#17311

Requirements: 2to3/host openwrt/packages#17429

Add upstream patch: 196c55e931

To install/build for python3 from source, it is necessary to convert to py3
codebase before setup (invoke 2to3 or ./fail2ban-2to3 firstly).
> ./fail2ban-2to3
> python3 setup.py build

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2022-01-08 20:19:32 +01:00
Sergey V. Lobanov dc08def771 lua-curl-v3: fix build on macos
lua-curl-v3 detects OS and changes compilation flags depends on OS.
If Darwin is detected then it adds GCC non-compatible flags.
OpenWrt is always Linux, OS detection is disabled via UNAME=Linux
as a part of MAKE_FLAGS

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-08 08:04:50 +01:00
Sergey V. Lobanov 42c4d25455 luajit: fix build on macos (ldconfig issue)
fix ldconfig build issue. This patch is a backport from upstream:
18c9cf7d37

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-08 08:04:03 +01:00