Commit graph

28693 commits

Author SHA1 Message Date
Glen Huang
c40d7c09b9 acme-acmesh: use $challenge_dir
Signed-off-by: Glen Huang <i@glenhuang.com>
2022-12-14 21:16:57 +08:00
Glen Huang
b907223d57 acme: deprecate state_dir
state_dir is actually a hardcoded value in conffiles. Allowing users to
customize it could result in losing certificates after upgrading if they
don't also specify the dir as being preserved. We shouldn't default to
this dangerous behavior.

With the new ACME package, certificates live in the standard location
/etc/ssl/acme, users who need to do certificate customizations should
look for them in that dir instead.

Signed-off-by: Glen Huang <i@glenhuang.com>
2022-12-14 21:15:52 +08:00
Hannu Nyman
b3f4cb00fa
Merge pull request #20016 from commodo/stress-ng-update
stress-ng: bump to version 0.15.00
2022-12-13 17:16:02 +02:00
Fabian Lipken
85a4c5978b python-pycares: PKG_RELEASE:=1
Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
2022-12-13 11:08:12 +01:00
Michal Vasilek
1a38ad44d6
miniflux: update to 2.0.41
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-12-13 10:28:24 +01:00
Michal Vasilek
e398becaa6
yt-dlp: update to 2022.11.11
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-12-13 09:57:36 +01:00
Alexandru Ardelean
7921d0b45f stress-ng: bump to version 0.15.00
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-12-13 08:25:38 +02:00
Stan Grishin
582fc64a94
Merge pull request #20062 from stangri/master-pbr
pbr: detect missing iptables
2022-12-12 20:21:12 -07:00
Sibren Vasse
ba8cb7c16c openssh: update to 9.1p1
Signed-off-by: Sibren Vasse <github@sibrenvasse.nl>
2022-12-13 10:04:27 +08:00
Stan Grishin
ad6d1b00c1
Merge pull request #20076 from stangri/master-simple-adblock
simple-adblock: bugfix: add dnsmasq.nftset to uci_load_validate
2022-12-12 15:11:10 -07:00
Stan Grishin
fff884e67f simple-adblock: bugfix: add dnsmasq.nftset to uci_load_validate
* fixes https://github.com/openwrt/openwrt/issues/11481 thanks to:
* https://github.com/mistepien for reporting
* https://github.com/dave14305 for diagnosing

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-12-12 21:43:09 +00:00
Michael Heimpold
ea282f9bb8 php8-pecl-xdebug: update to 3.2.0
This update brings support for PHP 8.2.0.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-12-12 21:14:04 +01:00
Michael Heimpold
94c4f13ce6 php8: update to 8.2.0
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-12-12 21:14:04 +01:00
Tianling Shen
f7b73bf000
Merge pull request #19982 from golddranks/master
ddns-scripts: update_gandi_net: improve logging & add timeout
2022-12-13 03:59:46 +08:00
Jan Hák
c933a15ceb knot: update to version 3.2.4
Signed-off-by: Jan Hák <jan.hak@nic.cz>
2022-12-13 03:46:46 +08:00
Van Waholtz
d22bed1dc3 syncthing: update to 1.22.2
Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
2022-12-12 16:32:54 +01:00
Fabian Lipken
b0afdf5991 python-pycares: bump to 4.3.0
Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
2022-12-12 15:21:29 +01:00
Josef Schlehofer
4d4c9dd2cf
Merge pull request #20064 from luizluca/ruby-3.1.3
ruby: update to 3.1.3
2022-12-12 05:55:04 +01:00
Luiz Angelo Daros de Luca
3111bc81af
ruby: update to 3.1.3
This release includes a security fix.

- CVE-2021-33621: HTTP response splitting in CGI

For more details:
- https://www.ruby-lang.org/en/news/2022/11/24/ruby-3-1-3-released/

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2022-12-12 00:10:09 -03:00
Stan Grishin
a86985879f pbr: detect missing iptables
Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-12-12 02:52:59 +00:00
Peter van Dijk
f558461895 pdns: update to 4.7.3
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2022-12-12 05:17:37 +08:00
Hannu Nyman
fd7da3333e wget: apply upstream fix to avoid nettle linking in nossl
Replace my own patch with the upstream solution, which they issued
in response to my bug report.
(Two patches as they overlooked something on the first try.
Reference to https://savannah.gnu.org/bugs/index.php?63431 )

The nettle lib evaluation is now conditional to not having "--disable-ntlm".

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2022-12-11 16:36:30 +02:00
Stan Grishin
dd7e606f17
Merge pull request #20052 from stangri/master-https-dns-proxy
https-dns-proxy: fix restart
2022-12-10 20:32:03 -07:00
Stan Grishin
75ac50ca89 https-dns-proxy: fix restart
Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-12-10 05:32:20 +00:00
Stan Grishin
39ddb15038
Merge pull request #20040 from stangri/master-https-dns-proxy
https-dns-proxy: add mdns service records
2022-12-09 22:02:49 -07:00
Stan Grishin
4f94b407df
Merge pull request #20050 from stangri/master-simple-adblock
simple-adblock: support new OISD dnsmasq config
2022-12-09 22:02:11 -07:00
Stan Grishin
3950f0ce99 simple-adblock: support new OISD dnsmasq config
* OISD dnsmasq config files switched from using address= to server=

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-12-10 01:57:37 +00:00
Pyry Kontio
cefe85250c
ddns-scripts: update_gandi_net: improve logging & add timeout
- Improved logging
  - Log the executed curl command to be able to rerun and test it manually
  - Log the curl exit status
- Added 30 second timeout timeout for clear-cut detection of flaky connections.

Signed-off-by: Pyry Kontio <pyry.kontio@drasa.eu>
2022-12-10 03:37:19 +09:00
Florian Eckert
d03ad5036c
Merge pull request #20018 from cbarrick/gcp_ddns
ddns-scripts: add support for Google Cloud DNS
2022-12-09 15:55:30 +01:00
Josef Schlehofer
f53eb1231a
Merge pull request #20037 from 1715173329/g1194
golang: Update to 1.19.4
2022-12-09 11:53:40 +01:00
Vladimir Ulrich
23e6200e4d zoneinfo: updated to the latest release
Signed-off-by: Vladimir Ulrich <admin@evl.su>
2022-12-09 10:26:55 +02:00
Chris Barrick
cbdc67bd10 ddns-scripts: add support for Google Cloud DNS
The implementation uses a GCP service account. The user is expected to
create and secure a service account and generate a private key. The
"password" field can contain the key inline or be a file path pointing
to the key file on the router.

The GCP project name and Cloud DNS ManagedZone must also be provided.
These are taken as form-urlencoded key-value pairs in param_enc. The TTL
can optionally be supplied in param_opt.

Signed-off-by: Chris Barrick <chrisbarrick@google.com>
2022-12-08 22:04:33 -05:00
Carlo Alberto Ferraris
02e154d3e5 tailscale: preserve tailscaled state file
Fixes #19774 

Signed-off-by: Carlo Alberto Ferraris <cafxx@strayorange.com>
2022-12-09 07:21:33 +08:00
Kuan-Yi Li
cec29e9105 modemmanager: bump to 1.20.2
Drop deprecated AUTORELEASE.

Disable unused tests as its compilation is optional in 1.20.

Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
2022-12-09 06:32:32 +08:00
Kuan-Yi Li
570c549bc6 libqmi: bump to 1.32.2
Drop deprecated AUTORELEASE.

Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
2022-12-09 06:32:32 +08:00
Kuan-Yi Li
b930149e55 libmbim: bump to 1.28.2
Drop deprecated AUTORELEASE.

Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
2022-12-09 06:32:32 +08:00
Kuan-Yi Li
e1a78f0033 libqrtr-glib: drop deprecated AUTORELEASE
Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
2022-12-09 06:32:32 +08:00
Hirokazu MORIKAWA
f141e79455 swig: bump to 4.1.1
update summary
* Add Javascript Node v12-v18 support, remove support prior to v6.
* Octave 6.0 to 6.4 support added.
* Add PHP 8 support.
* PHP wrapping is now done entirely via PHP's C API - no more .php wrapper.
* Perl 5.8.0 is now the oldest version SWIG supports.
* Python 3.3 is now the oldest Python 3 version SWIG supports.
* Python 3.9-3.11 support added.
* Various memory leak fixes in Python generated code.
* Scilab 5.5-6.1 support improved.
* Many improvements for each and every target language.
* Various preprocessor expression handling improvements.
* Improved C99, C++11, C++14, C++17 support. Start adding C++20 standard.
* Make SWIG much more move semantics friendly.
* Add C++ std::unique_ptr support.
* Few minor C++ template handling improvements.
* Various C++ using declaration fixes.
* Few fixes for handling Doxygen comments.
* GitHub Actions is now used instead of Travis CI for continuous integration.
* Add building SWIG using CMake as a secondary build system.
* Update optional SWIG build dependency for regex support from PCRE to PCRE2.
* Couple of stability fixes.
* Stability fix in ccache-swig when calculating hashes of inputs.
* Some template handling improvements.
* R - minor fixes plus deprecation for rtypecheck typemaps being optional.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-12-09 06:30:48 +08:00
Alois Klink
18d3c529fa github-ci: error on any shell errors
Enable `errexit` and `nounset` [POSIX shell options][1]
in `.github/workflows/entrypoint.sh` so that the script fails
if any command within the script fails.

[1]: https://pubs.opengroup.org/onlinepubs/9699919799//utilities/V3_chap02.html#set

Reported-by: Marius Dinu <m95d+git@psihoexpert.ro>
Fixes: https://github.com/openwrt/packages/issues/19953
Signed-off-by: Alois Klink <alois@aloisklink.com>
2022-12-08 10:55:52 +01:00
Alois Klink
6703d76230 privoxy: fix preinst/postinst script indentation
Fix the indentation of the preinst/postinst scripts for the privoxy
package.

Because these scripts didn't start with `#!/bin/sh`
(they instead started with the TAB character), `/bin/sh` was not used
to start them.

On x86_64 and i386_pentium-mmx, this seems to be fine, but on
arm_cortex-a15_neon-vfpv4 and aarch64_cortex-a53, running these
scripts fails with a:

```
Installing privoxy (3.0.33-3) to root...
Collected errors:
 * pkg_run_script: package "privoxy" preinst script returned status 1.
 * preinst_configure: Aborting installation of privoxy.
 * opkg_install_cmd: Cannot install package privoxy.
```

Reported-by: Marius Dinu <m95d+git@psihoexpert.ro>
Signed-off-by: Alois Klink <alois@aloisklink.com>
2022-12-08 10:54:55 +01:00
Alexandru Ardelean
d20f2e324d
Merge pull request #20032 from peter-stadler/django
django: bump version 4.1.3
2022-12-08 11:27:05 +02:00
Peter Stadler
d321db6409 django: bump version 4.1.3
fix CVE-2022-41323

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2022-12-08 08:35:31 +01:00
Stijn Tintel
fbe0e832e1
Merge pull request #19933 from stintel/vallumd
vallumd: updates
2022-12-08 00:02:18 +02:00
Stan Grishin
ee37d0ec86 https-dns-proxy: add mdns service records
* add mdns records for started instances
* Makefile: use $(PKG_VERSION) as a value for PKG_SOURCE_DATE instead of
  hard-coding it

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-12-07 21:00:08 +00:00
John Audia
d6b712cde6 snort3: unified configs: local.lua and homenet.lua
This commit adds /etc/snort/local.lua and /etc/snort/homenet.lua for user
defined config options which is more simplistic than modifying upstream
files directly. That can be tedious and decisive to maintain in sync with
upstream changes.  The init script has been adjusted accordingly.

Acknowledgment to amish who maintains the Arch Linux snort-nfqueue package[1]
for these ideas and initial code.

Another modification is dropping the following args in the call to
/usr/bin/snort by the init system as these options are provided in
/etc/snort/local.lua:

 * --daq-dir /usr/lib/daq/
 * -A "$alert_module"

Instructions to configure snort3:
1. Edit /etc/snort/homenet.lua and redefine HOME_NET and EXTERNAL_NET, for example:

   HOME_NET = [[ 10.9.8.0/24 192.168.1.0/24 ]]
   EXTERNAL_NET = "!$HOME_NET"

2. Edit /etc/snort/local.lua to setup options unique to your use case of snort.
   The default ones I included should be sane for the role of IDS (alert only),
   but users may easily uncomment some options therein to use IPS (drop) mode.

3. Install or symlink rules to /etc/snort/rules/snort.rules and optionally
   edit /etc/snort/local.lua to define extra rules files if not using a unified
   'snort.rules'

References:
1. https://aur.archlinux.org/packages/snort-nfqueue

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-12-08 04:47:38 +08:00
Tianling Shen
6a0ee524b1
golang: Update to 1.19.4
go1.19.4 (released 2022-12-06) includes security fixes to the net/http
and os packages, as well as bug fixes to the compiler, the runtime,
and the crypto/x509, os/exec, and sync/atomic packages.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-12-08 00:43:34 +08:00
Tianling Shen
5c17cd1c81
Merge pull request #20036 from ysc3839/natmap-fix
natmap: merge "ipv4" and "ipv6" options into single "family" option
2022-12-07 22:28:29 +08:00
Linus Lüssing
f22370b1b7 bpfcountd: remove incomplete/broken namespace feature
The original idea of the extra namespace variable was to set up
bpfcountd from other daemons etc. independent of what a user configured
in /etc/config/bpfcountd for instance. Like:

 $ UCI_CONFIG_DIR=/var/run/bpfcountd/gluon-config \
   /etc/init.d/bpfcountd start "" gluon

However there are still issues with this approach:

1) Instance specific stop calls like:

 $ /etc/init.d/bpfcountd stop <instance-name> <namespace>"

will not  stop the according namespaced instance, as the stop() in
/etc/rc.common will call procd_kill() without the namespace prefix.
And we can't overwrite that behaviour. And asking a user to use
"... start <in> <ns>" and "... stop <ns>.<in>" is confusing.
(and currently "... stop <ns>.<in>" would not remove the correct
unix socket).

2) A stop call without an instance/config name would always stop all
instances. So the namespace variable would be ignored.
While start without an instance "works", but:

3) It would stop any process that is not in the currently selected
UCI_CONFIG_DIR.

As all this is not easily fixable without changing OpenWrt internals,
just remove the whole namespace idea for now.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2022-12-07 17:43:03 +08:00
Richard Yu
190e04caf6
natmap: merge "ipv4" and "ipv6" options into single "family" option
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2022-12-07 15:18:09 +08:00
Tianling Shen
88d33fef91
dnsproxy: Update to 0.46.4
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-12-07 06:58:42 +08:00