feed/packages.git
2 years agozsh: fix invalid postrm script and little refactor of scripts
Karel Kočí [Wed, 18 Dec 2019 08:57:23 +0000 (09:57 +0100)]
zsh: fix invalid postrm script and little refactor of scripts

The postrm script was missing shebang. Postrm scripts are packaged and
executed directly and not sourced by default script (as in case of prerm
and postinst).

Also move some indents around to not confuse reader. The section in
postinst was indented to same level as grep "condition" but is on same
level as initial grep (not part of that "condition").

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
(cherry picked from commit d2d193d81885cd2351e3bd53f6f4cc8ec092e26d)

2 years agonano: update to version 6.0
Hannu Nyman [Thu, 16 Dec 2021 18:32:41 +0000 (20:32 +0200)]
nano: update to version 6.0

Update nano editor to version 6.0

Version 6.0 enable toggling the display of the line numbers with
the shortcut key M-N (Alt-n). Also the cmdline option "-l" works.
Remove earlier patch regarding that.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(backported from commits 0571f54009023845d5 and ae7f62d63)

2 years agoMerge pull request #17250 from ynezz/ynezz/cares-fix-CVE-2021-3672
Petr Štetiar [Sun, 12 Dec 2021 11:11:24 +0000 (12:11 +0100)]
Merge pull request #17250 from ynezz/ynezz/cares-fix-CVE-2021-3672

[19.07] libs/c-ares: fix domain hijacking CVE-2021-3672

2 years agoMerge pull request #17267 from BKPepe/postgresql-update
Daniel Golle [Sun, 12 Dec 2021 11:06:51 +0000 (11:06 +0000)]
Merge pull request #17267 from BKPepe/postgresql-update

[19.07] postgresql: security update to version 11.14

2 years agomsmtp: update to version 1.8.1.9
Josef Schlehofer [Tue, 30 Nov 2021 23:32:56 +0000 (00:32 +0100)]
msmtp: update to version 1.8.1.9

Changelog:
https://marlam.de/msmtp/news/msmtp-1-8-19/

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 173faad3340772e1b2194c618fb8c1f13f81b9a9)

2 years agopostgresql: security update to version 11.14 17267/head
Josef Schlehofer [Fri, 3 Dec 2021 23:59:43 +0000 (00:59 +0100)]
postgresql: security update to version 11.14

Patch 001-configure_fixes does not apply anymore.
Other patches were refreshed.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agolibs/c-ares: fix domain hijacking CVE-2021-3672 17250/head
Petr Štetiar [Thu, 2 Dec 2021 12:54:42 +0000 (13:54 +0100)]
libs/c-ares: fix domain hijacking CVE-2021-3672

Missing input validation of host names returned by Domain Name Servers
in the c-ares library can lead to output of wrong hostnames (leading to
Domain Hijacking).

I've just taken patch from the advisory[1] and rebased it onto 1.15.0
version.

1. https://github.com/c-ares/c-ares/compare/809d5e8..44c009b.patch

Fixes: CVE-2021-3672
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2 years agomsmtp: update to version 1.8.17
Josef Schlehofer [Sun, 17 Oct 2021 07:24:29 +0000 (09:24 +0200)]
msmtp: update to version 1.8.17

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 18261fcd313b073e36a5ba39eeaf0aef808a1694)

2 years agosyslog-ng: update to version 3.35.1
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'

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 2d2fd36e28a40a63b1bd16c77cce57d446d656cc)

2 years agoMerge pull request #17209 from peci1/patch-1
Florian Eckert [Tue, 30 Nov 2021 11:40:50 +0000 (12:40 +0100)]
Merge pull request #17209 from peci1/patch-1

ddns-scripts: Fix wrong whitespace in preinst and postinst scripts

2 years agoicu: Fix memory bug w/ baseName
Hirokazu MORIKAWA [Sun, 28 Nov 2021 00:42:25 +0000 (09:42 +0900)]
icu: Fix memory bug w/ baseName

CVE-2021-30535 : Double free in ICU
https://nvd.nist.gov/vuln/detail/CVE-2021-30535
https://security-tracker.debian.org/tracker/CVE-2021-30535

ICU-21587 : Fix memory bug w/ baseName
https://github.com/unicode-org/icu/pull/1698

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
3 years agoddns-scripts: Fix wrong whitespace in preinst and postinst scripts 17209/head
Martin Pecka [Fri, 26 Nov 2021 07:34:12 +0000 (08:34 +0100)]
ddns-scripts: Fix wrong whitespace in preinst and postinst scripts

Signed-off-by: Martin Pecka <peckama2@fel.cvut.cz>
3 years agobind: update to version 9.16.23
Josef Schlehofer [Thu, 18 Nov 2021 14:54:15 +0000 (15:54 +0100)]
bind: update to version 9.16.23

Changelog:
https://downloads.isc.org/isc/bind9/9.16.23/RELEASE-NOTES-bind-9.16.23.html

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
3 years agoMerge pull request #17114 from paper42/cve-2019-19906-19
Josef Schlehofer [Sun, 14 Nov 2021 23:24:00 +0000 (00:24 +0100)]
Merge pull request #17114 from paper42/cve-2019-19906-19

[19.07] cyrus-sasl: patch CVE-2019-19906

3 years agocyrus-sasl: patch CVE-2019-19906 17114/head
Michal Vasilek [Fri, 12 Nov 2021 17:09:39 +0000 (18:09 +0100)]
cyrus-sasl: patch CVE-2019-19906

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
(cherry picked from commit f7717bd382d4f03c6353beaaf198d29a34c8e6ab)

3 years agoMerge pull request #17110 from thg2k/pr/19_php72_ini_1
Michael Heimpold [Fri, 12 Nov 2021 06:39:46 +0000 (07:39 +0100)]
Merge pull request #17110 from thg2k/pr/19_php72_ini_1

[19.07] php7: Update and clean up distributed php7.ini

3 years agophp7: Clean up and update distributed php.ini for php 7.2.34 17110/head
Giovanni Giacobbi [Thu, 11 Nov 2021 09:29:14 +0000 (09:29 +0000)]
php7: Clean up and update distributed php.ini for php 7.2.34

Details:
- Cleaned up whitespace and removed comments (refer to official PHP documentation for that)
- Removed directives that no longer exist as of PHP 7.2.34
- Added '~E_DEPRECATED' to 'error_reporting'

Directives removed that no longer exist as of PHP 7.2.34:
- zend.ze1_compatibility_mode
- y2k_compliance
- register_globals
- register_long_arrays
- magic_quotes_gpc
- magic_quotes_runtime
- magic_quotes_sybase
- always_populate_raw_post_data

Signed-off-by: Giovanni Giacobbi <giovanni@giacobbi.net>
3 years agosyslog-ng: update to version 3.34.1
Josef Schlehofer [Sat, 16 Oct 2021 20:45:27 +0000 (22:45 +0200)]
syslog-ng: update to version 3.34.1

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit d8e88ef51ec85c3f459fb4e8bf0e08fa26cffb29)

3 years agoffmpeg: update to version 3.4.9 (security fix)
Josef Schlehofer [Wed, 27 Oct 2021 12:39:16 +0000 (14:39 +0200)]
ffmpeg: update to version 3.4.9 (security fix)

Fixes:
CVE-2020-13904
CVE-2020-2044
CVE-2020-20453
CVE-2020-22015
CVE-2020-22019
CVE-2020-22033
CVE-2020-22021
CVE-2020-22037
CVE-2020-35965
CVE-2021-38114
CVE-2021-38171
CVE-2021-38291

Refresh patches

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
3 years agobind: Bump to 9.16.22
Noah Meyerhans [Fri, 29 Oct 2021 03:28:18 +0000 (20:28 -0700)]
bind: Bump to 9.16.22

The following CVEs are addressed:

* CVE-2021-25219: The "lame-ttl" option is now forcibly set to 0. This
  effectively disables the lame server cache, as it could previously
  be abused by an attacker to significantly degrade resolver performance.

Signed-off-by: Noah Meyerhans <frodo@morgul.net>
3 years agotvheadend: update libhdhomerun
Josef Schlehofer [Wed, 27 Oct 2021 06:48:42 +0000 (08:48 +0200)]
tvheadend: update libhdhomerun

Recently, silicondust (developers of hdhomerun) did some cleanup and
removed old versions for hdhomerun library.

```
WGET            http://download.silicondust.com/hdhomerun/libhdhomerun_20150826.tgz
http://download.silicondust.com/hdhomerun/libhdhomerun_20150826.tgz:
2021-10-26 05:15:14 ERROR 404: Not Found.
```

And because of that, it is not possible to compile tvheadend, it ends
with following error:

```
In file included from src/input/mpegts/tvhdhomerun/tvhdhomerun.c:25:0:
src/input/mpegts/tvhdhomerun/tvhdhomerun_private.h:27:10: fatal error: libhdhomerun/hdhomerun.h: No such file or directory
 #include <libhdhomerun/hdhomerun.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
```

Let's fix it by updating libdhdhomerun to newer version.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
3 years agobind: update to version 9.16.21
Josef Schlehofer [Sat, 16 Oct 2021 19:56:02 +0000 (21:56 +0200)]
bind: update to version 9.16.21

- Remove patch, which is part of this release, it was backported from
  upstream

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
3 years agonextdns: Update to version 1.37.3
Olivier Poitrey [Fri, 22 Oct 2021 13:29:24 +0000 (13:29 +0000)]
nextdns: Update to version 1.37.3

Signed-off-by: Olivier Poitrey <rs@nextdns.io>
3 years agoMerge pull request #16903 from jefferyto/python-package-host-dependencies-openwrt...
Alexandru Ardelean [Mon, 18 Oct 2021 06:25:33 +0000 (09:25 +0300)]
Merge pull request #16903 from jefferyto/python-package-host-dependencies-openwrt-19.07

[openwrt-19.07] python-packages: Fix host package build dependencies

3 years agoMerge pull request #16906 from stangri/openwrt-19.07
Stan Grishin [Sun, 17 Oct 2021 15:07:23 +0000 (08:07 -0700)]
Merge pull request #16906 from stangri/openwrt-19.07

[19.07] vpn-policy-routing: downgrade to 0.2.1-13

3 years agovpn-policy-routing: downgrade to 0.2.1-13 16906/head
Stan Grishin [Mon, 4 May 2020 22:47:32 +0000 (22:47 +0000)]
vpn-policy-routing: downgrade to 0.2.1-13

* there are reports that newer versions don't work on 19.07.x
* revert to older README to describe this older version

Signed-off-by: Stan Grishin <stangri@melmac.net>
(cherry picked from commit 7bb2ccd4e173486d1c51a72374c55398c9c7e725)

3 years agopython-dateutil: Add missing HOST_PYTHON3_PACKAGE_BUILD_DEPENDS 16903/head
Jeffery To [Sat, 16 Oct 2021 17:08:02 +0000 (01:08 +0800)]
python-dateutil: Add missing HOST_PYTHON3_PACKAGE_BUILD_DEPENDS

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
3 years agopython-importlib-metadata: Pin setuptools-scm version
Jeffery To [Sat, 16 Oct 2021 17:01:52 +0000 (01:01 +0800)]
python-importlib-metadata: Pin setuptools-scm version

While a pinned/working version of setuptools-scm is installed (by
python-zipp) by the time this package is compiled, pinning the version
in this package is still the correct thing to do.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
3 years agoMerge pull request #16900 from stangri/openwrt-19.07
Stan Grishin [Fri, 15 Oct 2021 22:29:08 +0000 (15:29 -0700)]
Merge pull request #16900 from stangri/openwrt-19.07

[19.07] simple-adblock: update to 1.8.8-1

3 years agosimple-adblock: update to 1.8.8-1 16900/head
Stan Grishin [Fri, 15 Oct 2021 21:25:08 +0000 (21:25 +0000)]
simple-adblock: update to 1.8.8-1

* update 'check' function

Signed-off-by: Stan Grishin <stangri@melmac.net>
(cherry picked from commit d11f310230497ea81cf207f9214528bd9d221eee)

3 years agoMerge pull request #16879 from turris-cz/19.07-zipp
Alexandru Ardelean [Thu, 14 Oct 2021 07:50:19 +0000 (10:50 +0300)]
Merge pull request #16879 from turris-cz/19.07-zipp

python-zipp: pin setuptools-scm version

3 years agoMerge pull request #16885 from stangri/openwrt-19.07
Stan Grishin [Thu, 14 Oct 2021 05:08:32 +0000 (22:08 -0700)]
Merge pull request #16885 from stangri/openwrt-19.07

[19.07] https-dns-proxy: update to 2021-09-27

3 years agohttps-dns-proxy: update to 2021-09-27 16885/head
Stan Grishin [Thu, 30 Sep 2021 18:44:30 +0000 (18:44 +0000)]
https-dns-proxy: update to 2021-09-27

* update to [2021-09-27](https://github.com/aarond10/https_dns_proxy/commit/da2501f542a732167a78f1851a511d9c0abc2fd8)
* fixes https://github.com/aarond10/https_dns_proxy/issues/125
* restart instead of reload on interface hotplug
* fixes https://github.com/openwrt/packages/issues/16794
* produce output and log entries on service start/stop
* prevent unnecessary dnsmasq restarts if service has previously updated dnsmasq settings
* allow both named and typed dnsmasq instance settings to be updated
* update 010-fix-cmakelists patch file

Signed-off-by: Stan Grishin <stangri@melmac.net>
(cherry picked from commit f8d16338da979ad20908bd2a16ca62857a902e91)

3 years agotor: update to 0.4.5.10
Michal Vasilek [Mon, 11 Oct 2021 09:07:47 +0000 (11:07 +0200)]
tor: update to 0.4.5.10

* 0.4.4 is not an LTS series, people running tor relays with 0.4.4 will
  be evicted from the tor network. 0.4.5 is an LTS series
* fix building without OpenSSL engine support (from e30f0480c829cf0340a16fe8499a95c7c2fd6f89)
* refresh patches

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
3 years agopython-zipp: pin setuptools-scm version 16879/head
Josef Schlehofer [Wed, 13 Oct 2021 10:37:59 +0000 (12:37 +0200)]
python-zipp: pin setuptools-scm version

The recent version of setuptools-scm depends on tomli, which has some build issues.
Older one works.

Suggested-by: Jeffery To <jeffery.to@gmail.com>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
3 years agoperl: perlmod.mk: use flock when hostpkg/perl used
Eneas U de Queiroz [Mon, 16 Aug 2021 14:07:35 +0000 (11:07 -0300)]
perl: perlmod.mk: use flock when hostpkg/perl used

Avoid parallel relinking and usage of the host perl binary by wrapping
its usage around flock calls.

Sometimes, two packages will try to relink the static host perl binary
at the same time.  Neither of them will have the other's module linked
in, and one of them will unavoidably clobber the other one's binary.

This will lead to errors when a package will not be able to find a
module that was supposed to be installed.

To fix that, an exclusive flock is used when relinking, with a 900
seconds timeout to avoid locking up the build process forever.

This is not enough because the binary may be concurrently used to build
another module package; perl is used in Configure, Compile, and Install
procedures.  If timing is right, a package will fail with a "permission
denied" error.

So a shared flock call is added in Configure, Compile, and Install
definitions for host and target, with a shorter, 300 seconds timeout.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 1e18c4324fd1fb43764057fb8f4e9c1ea4a17553)

3 years agonano: update to 5.9
Hannu Nyman [Wed, 6 Oct 2021 18:46:47 +0000 (21:46 +0300)]
nano: update to 5.9

Update nano editor to version 5.9.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 38143e6f8b9d1ff0a3e33a15d655306cc9f74c27)
(cherry picked from commit e155b3d29392459eb3dcc2822dda4045dd99f3af)

3 years agohaveged: update to 1.9.15
Hannu Nyman [Sun, 3 Oct 2021 18:05:06 +0000 (21:05 +0300)]
haveged: update to 1.9.15

Update haveged to version 1.9.15.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 1f3f63f5de7dfaea369f4832cdd061994fba1924)

3 years agolighttpd: update to lighttpd 1.4.55 release hash
Glenn Strauss [Wed, 6 Oct 2021 01:12:34 +0000 (21:12 -0400)]
lighttpd: update to lighttpd 1.4.55 release hash

update lighttpd in openwrt-19.07 branch from lighttpd 1.4.54 to 1.4.55

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
3 years agoMerge pull request #16569 from turris-cz/19.07/tor-0.4.4.9
Rosen Penev [Sat, 18 Sep 2021 22:05:14 +0000 (15:05 -0700)]
Merge pull request #16569 from turris-cz/19.07/tor-0.4.4.9

tor: update to version 0.4.4.9

3 years agoMerge pull request #16196 from miska/snort3-19.07
Josef Schlehofer [Fri, 17 Sep 2021 14:20:57 +0000 (16:20 +0200)]
Merge pull request #16196 from miska/snort3-19.07

net/snort3: Include default configs and snort2lua

3 years agotcpreplay: avoid host lib leakage
Stijn Tintel [Sat, 14 Aug 2021 19:45:21 +0000 (22:45 +0300)]
tcpreplay: avoid host lib leakage

On hosts that have pcapnav-config installed, there is host lib leakage.
From config.log:

LNAVLIB='-L/usr/lib64 -lpcapnav -lpcap'
LNAV_CFLAGS='-I/usr/include'

Fix this by disabling pcapnav-config, which isn't available anyway.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
(cherry picked from commit e4b8fec79cd7d2ed092c51aa83683fa5b151ae2a)

3 years agotcpreplay: bump to version 4.3.4
Alexandru Ardelean [Tue, 4 May 2021 12:20:29 +0000 (15:20 +0300)]
tcpreplay: bump to version 4.3.4

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit 7436d944fa44e27816401868a11a4c9115eb717d)

3 years agotcpreplay: add libdnet support
Rosen Penev [Sun, 10 Jan 2021 01:03:33 +0000 (17:03 -0800)]
tcpreplay: add libdnet support

On Arch Linux, tcpreplay is picking up the host dnet-config and adding
OS paths, thereby breaking compilation. The easiest solution is to add
libdnet support as the previous commit fixes dnet-config on OpenWrt.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit f9f216a06695aa81bb8cad76245a978bfa4683a0)

3 years agotcpreplay: fix compilation with Arch Linux
Rosen Penev [Wed, 23 Dec 2020 02:55:23 +0000 (18:55 -0800)]
tcpreplay: fix compilation with Arch Linux

It tries to link to host libraries for some reason. Add autoreconf to
fix. Also remove redundant prefixes.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 87177eef7539d6cd092063dc0a1aa67726cff2a6)

3 years agotcpreplay: bump to version 4.3.3
Alexandru Ardelean [Thu, 25 Jun 2020 11:16:27 +0000 (14:16 +0300)]
tcpreplay: bump to version 4.3.3

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit c7153f22a74b3183bd7fb575e0ae045ecf2f0fff)

3 years agontfs-3g: patch CVE-2019-9755
Michal Vasilek [Fri, 10 Sep 2021 14:11:02 +0000 (16:11 +0200)]
ntfs-3g: patch CVE-2019-9755

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
3 years agonextdns: Update to version 1.37.2
Olivier Poitrey [Thu, 9 Sep 2021 15:57:44 +0000 (15:57 +0000)]
nextdns: Update to version 1.37.2

Signed-off-by: Olivier Poitrey <rs@nextdns.io>
3 years agoMerge pull request #16581 from jow-/openwrt-19.07
Jo-Philipp Wich [Wed, 8 Sep 2021 20:22:35 +0000 (22:22 +0200)]
Merge pull request #16581 from jow-/openwrt-19.07

cgi-io: update to latest Git HEAD

3 years agobind: update to version 9.16.20
Josef Schlehofer [Wed, 8 Sep 2021 09:34:17 +0000 (11:34 +0200)]
bind: update to version 9.16.20

1. Fixes: CVE-2021-25218

2. Add patch to bump API version, which was forgotten by BIND devs
Related to https://kb.isc.org/docs/map-zone-format-incompatibility-in-bind-9-16-20-and-9-17-17
Pointed out in https://www.openwall.com/lists/oss-security/2021/08/20/2

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
3 years agocgi-io: update to latest Git HEAD 16581/head
Jo-Philipp Wich [Wed, 8 Sep 2021 19:53:28 +0000 (21:53 +0200)]
cgi-io: update to latest Git HEAD

98cef9d Retry splice() syscall on EINTR

Fixes: https://github.com/openwrt/luci/issues/5342
Fixes: https://bugs.openwrt.org/index.php?do=details&task_id=4006
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit db8e0fdea454c3b07d859935de5a7d3714fd72ac)

3 years agocgi-io: update to version 2020-10-27
Petr Štetiar [Tue, 27 Oct 2020 22:08:00 +0000 (23:08 +0100)]
cgi-io: update to version 2020-10-27

Contains following list of changes:

 ab4c3471b261 tests: add cram based unit tests
 7b4e3241e1bd tests: add cgi-io built with clang sanitizers
 21831f45d16d Disable session ACLs during unit testing
 2f525417b5df Add initial GitLab CI support
 57f1c4f18cb6 Add .gitignore
 09f9ac5066ee Fix off-by-one in postdecode_fields
 ed8ce0d5d28b Add fuzzing of utility functions
 a61581819800 Add fuzzing of multipart_parser
 6b0615b728ed Refactor utility functions into static library
 a0ed2c9a7a72 Fix clang compiler errors
 232659da19a4 Fix possible NULL dereference
 8e5719b37a67 Fix warnings reported by clang-10 static analyzer
 b99aa8a64cca Remove Makefile

Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 351e4e01c597a13f7c20f76884310996e432e230)

3 years agocgi-io: move into out of tree project
Petr Štetiar [Sun, 11 Oct 2020 12:54:55 +0000 (14:54 +0200)]
cgi-io: move into out of tree project

No functional changes, just moved the sources into out of tree
project[1] so it's going to be easier to do CI with unit testing,
fuzzing etc.

1. https://git.openwrt.org/?p=project/cgi-io.git;a=shortlog

Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 08be3279423ed19554905d9cf00a508be0586107)

3 years agohaproxy: Update HAProxy to v2.0.25
Christian Lachner [Wed, 8 Sep 2021 07:43:40 +0000 (09:43 +0200)]
haproxy: Update HAProxy to v2.0.25

- This update fixes CVE-2021-40346; see: https://jfrog.com/blog/critical-vulnerability-in-haproxy-cve-2021-40346-integer-overflow-enables-http-smuggling/
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
3 years agopython3: update to version 3.7.12 16570/head
Josef Schlehofer [Wed, 8 Sep 2021 11:05:22 +0000 (13:05 +0200)]
python3: update to version 3.7.12

Fixes: CVE-2013-0340 (Windows and MacOS only) and smtplib multiple CRLF injection
Changelog: https://www.python.org/downloads/release/python-3712/

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
3 years agotor: update to version 0.4.4.9 16569/head
Josef Schlehofer [Wed, 8 Sep 2021 09:53:18 +0000 (11:53 +0200)]
tor: update to version 0.4.4.9

Fixes:
- CVE-2021-34548
- CVE-2021-34549
- CVE-2021-34550

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
3 years agoirssi: update to 1.2.3
Rosen Penev [Mon, 19 Jul 2021 03:54:55 +0000 (20:54 -0700)]
irssi: update to 1.2.3

Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 752656c6be242d266d689078cc3ed1d76cb0143f)

3 years agonextdns: Update to version 1.37.1
Olivier Poitrey [Tue, 7 Sep 2021 21:17:27 +0000 (21:17 +0000)]
nextdns: Update to version 1.37.1

Signed-off-by: Olivier Poitrey <rs@nextdns.io>
3 years agonextdns: Update to version 1.37.0
Olivier Poitrey [Tue, 7 Sep 2021 16:12:04 +0000 (16:12 +0000)]
nextdns: Update to version 1.37.0

Signed-off-by: Olivier Poitrey <rs@nextdns.io>
3 years agoacme: Fix uhttpd restart to load new certificates
Dennis Schüsselbauer [Sat, 28 Aug 2021 02:42:51 +0000 (04:42 +0200)]
acme: Fix uhttpd restart to load new certificates

Fixes issue #16256

Bump PKG_RELEASE to 4.

Signed-off-by: Dennis Schüsselbauer <scde@users.noreply.github.com>
(cherry picked from commit d69534751e2cf15aa7add8e8db713fd7131edd1f)

3 years agoclick: update to version 7.0
Josef Schlehofer [Tue, 5 Mar 2019 23:16:15 +0000 (00:16 +0100)]
click: update to version 7.0

- Change URL of the website and for PKG_SOURCE_URL
- Change TITLE and description
- Remove PKG_BUILD_DEPENDS, PKG_UNPACK as they are not necessary
- Add src package

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 25e8b2cda2efda171929a33b9d52dbf108ca67b7)

3 years agodnsdist: fix default SSL lib spelling
Eneas U de Queiroz [Thu, 12 Mar 2020 12:09:28 +0000 (09:09 -0300)]
dnsdist: fix default SSL lib spelling

This is cosmetic only, since openssl is the first one being defined, but
it avoids a warning in scripts/config, after upgrading to kconfig-v5.6:
tmp/.config-package.in:102839:warning: choice default symbol
'DNSDIST_OPENSSSL' is not contained in the choice

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit dbe11776ed820505d65d2572d372e5c1cfa1ff48)

3 years agoMerge pull request #16518 from jefferyto/golang-packages-remove-strip-ldflags-openwrt...
Rosen Penev [Thu, 2 Sep 2021 00:16:20 +0000 (17:16 -0700)]
Merge pull request #16518 from jefferyto/golang-packages-remove-strip-ldflags-openwrt-19.07

[openwrt-19.07] treewide: Remove GO_PKG_LDFLAGS for stripping binaries

3 years agotreewide: Remove GO_PKG_LDFLAGS for stripping binaries 16518/head
Jeffery To [Wed, 1 Sep 2021 22:36:01 +0000 (06:36 +0800)]
treewide: Remove GO_PKG_LDFLAGS for stripping binaries

The "-s -w" flags in GO_PKG_LDFLAGS tells the Go compiler to strip the
binaries it produces. Since the default Go package build process will
strip binaries when CONFIG_USE_STRIP or CONFIG_USE_SSTRIP are selected,
these flags are unnecessary.

When CONFIG_NO_STRIP is selected, these flags override the user's
intention of building unstripped packages.

This removes these flags for all relevant packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
3 years agonginx: add PROVIDES nginx-ssl to nginx-all-module
Peter Stadler [Sun, 4 Jul 2021 19:09:23 +0000 (21:09 +0200)]
nginx: add PROVIDES nginx-ssl to nginx-all-module

fix issue when installing luci-ssl-nginx

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
3 years agoRevert "net/miniupnpd: ext_ip_reserved_ignore support"
Josef Schlehofer [Mon, 19 Jul 2021 11:55:52 +0000 (13:55 +0200)]
Revert "net/miniupnpd: ext_ip_reserved_ignore support"

This patch is causing several issues [1], which then were reported to
upstream [2] and it was not accepted by upstream [3]. This results that
nobody maintain this custom patch and it is not useful as it is changing
addr_is_reserved behavior.

[1] https://github.com/openwrt/packages/issues/15258
[2] https://github.com/miniupnp/miniupnp/issues/542
[3] https://github.com/miniupnp/miniupnp/pull/511

This reverts commit b76aa9919489f49b472a8f939f6d46ca33d05f64.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 107f3376b5114cd17c115e25026b031bd439e9be)

3 years agoMerge pull request #16410 from paper42/git-2.26.3-19
Rosen Penev [Fri, 27 Aug 2021 08:05:32 +0000 (01:05 -0700)]
Merge pull request #16410 from paper42/git-2.26.3-19

[19.07] git: update to 2.26.3

3 years agoapr: patch CVE-2021-35940
Michal Vasilek [Mon, 23 Aug 2021 11:37:53 +0000 (13:37 +0200)]
apr: patch CVE-2021-35940

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
(cherry picked from commit 0777e40b7472a0b0b77531b6797448f8c15bd586)

3 years agoMerge pull request #16444 from paper42/postgresql-fix-hardening
Rosen Penev [Wed, 25 Aug 2021 02:04:13 +0000 (19:04 -0700)]
Merge pull request #16444 from paper42/postgresql-fix-hardening

[19.07] postgresql: disable PIC

3 years agoMerge pull request #16455 from rs/nextdns-1.36.0-openwrt-19.07
Stan Grishin [Wed, 25 Aug 2021 00:07:57 +0000 (17:07 -0700)]
Merge pull request #16455 from rs/nextdns-1.36.0-openwrt-19.07

[19.07] nextdns: Update to version 1.36.0

3 years agonextdns: Update to version 1.36.0 16455/head
Olivier Poitrey [Tue, 24 Aug 2021 23:40:31 +0000 (23:40 +0000)]
nextdns: Update to version 1.36.0

Signed-off-by: Olivier Poitrey <rs@nextdns.io>
3 years agopostgresql: disable PIC 16444/head
Michal Vasilek [Tue, 24 Aug 2021 10:43:39 +0000 (12:43 +0200)]
postgresql: disable PIC

with PIC enabled, build fails with
ld: access/gist/gistproc.o: in function `rtree_internal_consistent':
gistproc.c:(.text+0x188): relocation truncated to fit: R_AARCH64_LD64_GOTPAGE_LO15 against symbol `DirectFunctionCall2Coll' defined in .text section in utils/fmgr/fmgr.o
ld: gistproc.c:(.text+0x188): warning: too many GOT entries for -fpic, please recompile with -fPIC
ld: final link failed: symbol needs debug section which does not exist
collect2: error: ld returned 1 exit status

Related-to: 8e9ad7bb5117edea4df08cd9a2de62685103a4b3
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
3 years agoMerge pull request #16411 from paper42/file-5.38-19
Rosen Penev [Mon, 23 Aug 2021 12:58:04 +0000 (05:58 -0700)]
Merge pull request #16411 from paper42/file-5.38-19

[19.07] file: update to 5.38

3 years agofile: update to 5.38 16411/head
Michal Vasilek [Fri, 20 Aug 2021 10:23:32 +0000 (12:23 +0200)]
file: update to 5.38

* fixes CVE-2019-18218

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
3 years agoMerge pull request #16412 from paper42/tar-cve-19
Josef Schlehofer [Sun, 22 Aug 2021 07:34:58 +0000 (09:34 +0200)]
Merge pull request #16412 from paper42/tar-cve-19

[19.07] tar: fix CVE-2021-20193

3 years agohttps-dns-proxy: patch CMakeList.txt to use OpenWrt CFLAGS
Etienne Champetier [Fri, 20 Aug 2021 19:33:27 +0000 (15:33 -0400)]
https-dns-proxy: patch CMakeList.txt to use OpenWrt CFLAGS

This fixes compilation issues with ASLR PIE enabled

We were compiling with '-g -DDEBUG'

https-dns-proxy_2021-07-29-*_arm_cortex-a9_vfpv3-d16.ipk
shrink from 19514 to 19095

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
(cherry picked from commit 374e1dd56e1742273b261f25a69fd3d46741e357)

3 years agotar: fix CVE-2021-20193 16412/head
Michal Vasilek [Fri, 20 Aug 2021 14:12:09 +0000 (16:12 +0200)]
tar: fix CVE-2021-20193

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
3 years agomc: add a missing Syntax file
Michal Vasilek [Fri, 20 Aug 2021 08:06:42 +0000 (10:06 +0200)]
mc: add a missing Syntax file

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
(cherry picked from commit 312caff03b17241d2e383eb254b41d35e9225294)
Signed-off-by: Dirk Brenken <dev@brenken.org>
3 years agogit: update to 2.26.3 16410/head
Michal Vasilek [Fri, 20 Aug 2021 09:29:36 +0000 (11:29 +0200)]
git: update to 2.26.3

* fixes CVE-2021-21300

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
3 years agoMerge pull request #16398 from paper42/mc-1907
Josef Schlehofer [Thu, 19 Aug 2021 15:33:36 +0000 (17:33 +0200)]
Merge pull request #16398 from paper42/mc-1907

[19.07] mc: update to 2.8.27

3 years agomc: update to 2.8.27 16398/head
Michal Vasilek [Tue, 17 Aug 2021 14:40:37 +0000 (16:40 +0200)]
mc: update to 2.8.27

* fixes CVE-2021-36370
* refresh patches

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
3 years agounixodbc: use 'install' when copying host binaries
Eneas U de Queiroz [Wed, 11 Aug 2021 14:04:50 +0000 (11:04 -0300)]
unixodbc: use 'install' when copying host binaries

'cp' fails with a text file busy error if it tries to overwrite an
executable file that is running.  'install' unlinks the file first, so
it will not cause the problem.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 47f98d7030f1023e7b2ed118c7774c6100fc979b)

3 years agoperl: perlmod.mk: use 'install' for host binaries
Eneas U de Queiroz [Wed, 11 Aug 2021 13:57:23 +0000 (10:57 -0300)]
perl: perlmod.mk: use 'install' for host binaries

When installing a host perl module, the host perl binary in the staging
dir is replaced by using 'cp'.  However, if the binary is running in a
parallel job, cp will fail with a text file busy error.  Use
$(INSTALL_BIN), which unliks the file first to avoid the error.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 19c7496648cb25500ca7007a7c1578a426c23a09)

3 years agoMerge pull request #16254 from stangri/19.07-https-dns-proxy
Stan Grishin [Wed, 4 Aug 2021 05:14:19 +0000 (22:14 -0700)]
Merge pull request #16254 from stangri/19.07-https-dns-proxy

[19.07] https-dns-proxy: update to 2021-07-29-1

3 years agoknot: update to version 3.0.8
Jan Hak [Mon, 19 Jul 2021 14:50:43 +0000 (16:50 +0200)]
knot: update to version 3.0.8

Signed-off-by: Jan Hak <jan.hak@nic.cz>
(cherry picked from commit 5f374929cfdf59fd1b2ec558cd024f5b301d3169)

3 years agoknot: update to version 3.0.7
Jan Hak [Mon, 21 Jun 2021 08:52:32 +0000 (10:52 +0200)]
knot: update to version 3.0.7

Signed-off-by: Jan Hak <jan.hak@nic.cz>
(cherry picked from commit 8d66f49baef164e6c7a621dd7e72328f62f242f4)

3 years agoknot: update to version 3.0.6
Jan Hak [Thu, 13 May 2021 07:32:01 +0000 (09:32 +0200)]
knot: update to version 3.0.6

Signed-off-by: Jan Hak <jan.hak@nic.cz>
(cherry picked from commit d578f60818b9dd53cc3285cc4deff32fb09f7a89)

3 years agoknot: update to version 3.0.5
Jan Hak [Mon, 29 Mar 2021 09:48:21 +0000 (11:48 +0200)]
knot: update to version 3.0.5

Signed-off-by: Jan Hak <jan.hak@nic.cz>
(cherry picked from commit d92a2cd21bbc41ceba9ac2b7a8ccc96a0bd2a249)

3 years agoMerge pull request #15108 from neheb/ksmbd
Hauke Mehrtens [Sun, 1 Aug 2021 16:09:24 +0000 (16:09 +0000)]
Merge pull request #15108 from neheb/ksmbd

ksmbd updates for 19.07

3 years agohttps-dns-proxy: update to 2021-07-29-01 16254/head
Stan Grishin [Fri, 30 Jul 2021 00:02:52 +0000 (00:02 +0000)]
https-dns-proxy: update to 2021-07-29-01

* update binary to the latest commit (2021-07-29) to fix #16222 and #16239
* add hotplug.d/iface file and update Makefile to install it
* use Cloudflare's and Google's bootstrap DNS if bootstrap DNS is missing
* minor improvements in append_bool function
* add append_counter function for verbosity setting
* add append_bootstrap function (and supporting functions) to parse/sanitize bootstrap setting
* move firewall array from 'main' instance to the first proxy instance
* delete useless 'main' instace

Signed-off-by: Stan Grishin <stangri@melmac.net>
3 years agonextdns: Update to version 1.35.0
Olivier Poitrey [Thu, 29 Jul 2021 23:34:22 +0000 (23:34 +0000)]
nextdns: Update to version 1.35.0

Signed-off-by: Olivier Poitrey <rs@nextdns.io>
3 years agoadblock: bugfix 4.0.7-9
Dirk Brenken [Wed, 28 Jul 2021 06:01:44 +0000 (08:01 +0200)]
adblock: bugfix 4.0.7-9

* fix regex to prepare google safesearch domains

Signed-off-by: Dirk Brenken <dev@brenken.org>
3 years agolibrouteros: don't build docs
Rosen Penev [Thu, 22 Jul 2021 22:25:50 +0000 (15:25 -0700)]
librouteros: don't build docs

Fixes compilation without host pod2man.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit e41fd1794be2e8cc78c3df4bc4f4e05100eda959)

3 years agonet/snort3: Include default configs and snort2lua 16196/head
Michal Hrusecky [Thu, 22 Jul 2021 11:44:07 +0000 (13:44 +0200)]
net/snort3: Include default configs and snort2lua

Include default configuration files to have something to start from.
Also include snort2lua to help convert snort2 rules to snort3 to also
help with bootstrapping the configuration.

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
3 years agosyslog-ng: update to version 3.33.2
Josef Schlehofer [Wed, 21 Jul 2021 21:28:05 +0000 (23:28 +0200)]
syslog-ng: update to version 3.33.2

Changelog:
https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-3.33.2

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 4b06f9ff4c3c5abe54ccd9248de9cf52f198d63d)

3 years agoyggdrasil: bump to 0.4.0
George Iv [Mon, 19 Jul 2021 12:46:16 +0000 (15:46 +0300)]
yggdrasil: bump to 0.4.0

- Bump yggdrasil-go version to v0.4.0
- Update ygguci tool for compatibility with the new yggdrasil-go version
- Yggdrasil's config file is now generated in a separate command before running the daemon

Signed-off-by: George Iv <zhoreeq@users.noreply.github.com>
(cherry picked from commit e135c4c86764f84339bba44d87153ed7db14d396)

3 years agoMerge pull request #16166 from stangri/19.07-vpnbypass
Rosen Penev [Wed, 21 Jul 2021 03:56:00 +0000 (20:56 -0700)]
Merge pull request #16166 from stangri/19.07-vpnbypass

[19.07] vpnbypass: update to 1.3.2-1

3 years agovpnbypass: updates to 1.3.2-1 16166/head
Stan Grishin [Sun, 18 Jul 2021 19:45:46 +0000 (19:45 +0000)]
vpnbypass: updates to 1.3.2-1

bugfix: domain names bypass
rename config file
update Makefile
updated README link
updated shellcheck compatibility
support for 21.02.0-rc2 and later
updated code for interface triggers
add newline to test.sh

Signed-off-by: Stan Grishin <stangri@melmac.net>
3 years agoMerge pull request #16095 from turris-cz/bind-update
Josef Schlehofer [Fri, 16 Jul 2021 14:59:08 +0000 (16:59 +0200)]
Merge pull request #16095 from turris-cz/bind-update

bind: update to version 9.16.18

3 years agoruby: update to 2.6.8
Luiz Angelo Daros de Luca [Thu, 15 Jul 2021 17:49:50 +0000 (14:49 -0300)]
ruby: update to 2.6.8

This release includes security fixes like:

CVE-2021-31810: Trusting FTP PASV responses vulnerability in Net::FTP
CVE-2021-32066: A StartTLS stripping vulnerability in Net::IMAP
CVE-2021-31799: A command injection vulnerability in RDoc

We ordinally do not fix Ruby 2.6 except security fixes, but this release
also includes some regressed bugs and build problem fixes.

Ruby 2.6 is now under the state of the security maintenance phase, until
the end of March of 2022. After that date, maintenance of Ruby 2.6 will
be ended.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>