Commit Graph
21577 Commits
Author SHA1 Message Date
Jeffery To 7aaaa8ae64 golang: Add more error handling for go-gcc-helper
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-06 16:34:36 +08:00
Jeffery To a95afd67df golang: Use external linking for target Go
In Go 1.15, the linker now defaults to internal linking mode for
-buildmode=pie on amd64 and arm64[1], however this results in go tool
binaries with the wrong dynamic linker/interpreter.

External linking is still used when PIE is enabled for other platforms,
whereas internal linking is used when PIE is not enabled.

This changes target Go to always use external linking, to fix PIE
binaries for amd64/arm64 and for consistency.

[1]: https://golang.org/doc/go1.15#linker

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-06 16:28:08 +08:00
Jeffery To 93ee27edb8 golang: Simplify target compile
* Reuse GO_PKG_ENABLE_PIE from golang-package.mk
* Replace $(if ...) with $(or ...) to get default values
* Refactor vars common to each compile stage into variable

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-06 16:28:08 +08:00
Jeffery To 03a1f87549 golang: Use GO_LDFLAGS to set buildmode=pie for host Go
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-06 16:28:07 +08:00
Jeffery To 66eabf18f5 golang: Refactor vars common to each host compile stage into variable
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-06 16:28:07 +08:00
Jeffery To 4fb4ec963f golang: Simplify bootstrap stage
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-06 16:28:07 +08:00
Jeffery To 40bff64ad3 golang: Group variables by stage (bootstrap/host/target)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-06 16:28:06 +08:00
Jeffery To 9074dbd917 golang: Share build cache across package builds
This also adds a config option GOLANG_BUILD_CACHE_DIR to customize the
location of the build cache directory.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-06 16:28:06 +08:00
Jeffery To 3dd55b504c golang: Move module cache into DL_DIR
This also adds a config option GOLANG_MOD_CACHE_WORLD_READABLE; if
enabled, chmod is run after a Go package build to make all
files/directories in the module cache world-readable.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-06 16:27:52 +08:00
Jeffery To 4674564e42 golang: Move config option into separate file
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-05 00:25:28 +08:00
Jeffery To fc7cf379e3 golang: Update to 1.15.2
1.15.1 includes a fix for CVE-2020-24553:
net/http/cgi,net/http/fcgi: Cross-Site Scripting (XSS) when Content-Type
is not specified

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-05 00:25:18 +08:00
Rosen PenevandGitHub 4c03d96fa5 Merge pull request #13567 from zhaojh329/libuhttpd
libuhttpd: Update to 3.3.1
2020-10-04 02:56:49 -07:00
Rosen PenevandGitHub 0d157b2543 Merge pull request #13562 from antonlacon/rsync-options
rsync: disable option for bundled zlib, add option for zstd
2020-10-04 02:56:23 -07:00
Jianhui Zhao f4c165c58a libuhttpd: Update to 3.3.1
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-10-04 13:29:43 +08:00
Rosen PenevandGitHub 81f6d680a2 Merge pull request #13546 from miska/maria-cleanup-update
MariaDB: cleanup & update
2020-10-03 16:09:29 -07:00
Michael HeimpoldandGitHub 54063a9430 Merge pull request #13565 from mhei/php7-update-7.4.11
php7: update to 7.4.11
2020-10-03 23:18:16 +02:00
Michael Heimpold 70f26ed2fc php7: update to 7.4.11
This fixes:
  - CVE-2020-7069
  - CVE-2020-7070

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2020-10-03 22:09:51 +02:00
Dirk BrenkenandGitHub 76d86e0bb2 Merge pull request #13563 from dibdot/trm-2.0.2
travelmate: update 2.0.2
2020-10-03 16:34:10 +02:00
Dirk Brenken 404dc5b101 travelmate: update 2.0.2
* fix a vpn/iptables race condition
* remove needless dnsmasq dependency
* synchronize code-base of all auto-login scripts, due to
  COVID-19 restrictions all of them are still untested/WIP
* various small cleanups

Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-10-03 16:26:06 +02:00
Josef SchlehoferandGitHub d3a213b01b Merge pull request #13556 from BKPepe/zeroconf
python-zeroconf: update to version 0.28.5
2020-10-03 10:09:38 +02:00
Josef SchlehoferandGitHub 860bb3b2f6 Merge pull request #13559 from BKPepe/nnn
nnn: update to version 3.4
2020-10-03 10:09:27 +02:00
Josef SchlehoferandGitHub 528377ca4a Merge pull request #13551 from BKPepe/pythonsentrysdk
python-sentry-sdk: update to version 0.18.0
2020-10-03 10:09:06 +02:00
Rosen PenevandGitHub ba68d4c0b8 Merge pull request #13547 from zpc0/beep-depends
beep: fix dependency to support non-x86 target and kmod-gpio-beeper
2020-10-02 22:40:28 -07:00
Yanase Yuki 9bcea2de2c beep: fix dependency to support non-x86 target and kmod-gpio-beeper
Beep is a target-independent software that can handle buzzers controlled by kmod-gpio-beeper.

This change is useful for some non-x86 enterprise APs and development boards
that have a buzzer connected to GPIO.

Compile-tested: ath79, ELECOM WAB-I1750-PS, 3fab4ac + device support patch
Run-tested: ath79, ELECOM WAB-I1750-PS, 3fab4ac + device support patch

Signed-off-by: Yanase Yuki <dev@zpc.sakura.ne.jp>
2020-10-03 14:13:24 +09:00
Yanase Yuki ac52356c0b beep: add missing PKG_MIRROR_HASH
Signed-off-by: Yanase Yuki <dev@zpc.sakura.ne.jp>
2020-10-03 14:13:11 +09:00
Ian Leonard 54b6de172d rsync: add config option for zstd support
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-10-02 22:01:58 -07:00
Ian Leonard 100f43e60e rsync: drop option for included zlib
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-10-02 20:53:50 -07:00
Josef Schlehofer 53f54c45e4 nnn: update to version 3.4
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-10-02 23:12:21 +02:00
Rosen PenevandGitHub 5164697861 Merge pull request #13548 from gladiac1337/haproxy-2.2.4
haproxy: Update HAProxy to v2.2.4
2020-10-02 13:58:18 -07:00
Josef Schlehofer 9f30664ec4 python-zeroconf: update to version 0.28.5
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-10-02 18:20:14 +02:00
Josef SchlehoferandGitHub 1de988d568 Merge pull request #13552 from BKPepe/syslog-ng-bump-config-version
syslog-ng: bump version in config file
2020-10-02 13:57:53 +02:00
Christian Lachner 974100031d haproxy: Update HAProxy to v2.2.4
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2020-10-02 11:50:19 +02:00
Paul Spooren 014e02ab07 CI: use PKG_SOURCE instead of PKG_NAME
The PKG_NAME is the installable name of a package while PKG_SOURCE is
the folder containig both `Makefile` and possibliy `test.sh`

This approach previously worked for packages where both NAME and SOURCE
are the same, e.g. `vim`, however fore more complex packages like
`mariadb` (SOURCE) the NAMES are partly
*mariadb-server-plugin-handlersocket*, which is no existing folder.

With this commit the `PKG_SOURCE` is used to find the `test.sh` script.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-10-01 23:39:04 -10:00
Josef Schlehofer 1607774df4 syslog-ng: bump version in config file
This fixes issues:
syslog-ng[3895]: WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode. Please update it to use the syslog-ng 3.29 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.26'

Fixes: 06f3ac21b4 ("syslog-ng: update to
version 3.29.1")

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-10-02 11:29:24 +02:00
Josef Schlehofer 8a8100d48e python-sentry-sdk: update to version 0.18.0
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-10-02 11:23:53 +02:00
Michal Hrusecky 59a9d8dba8 mariadb: Update to version 10.4.14
Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
2020-10-02 10:36:47 +02:00
Michal Hrusecky c35bd3aa8e mariadb: Add shellcheck disable into init script
On few places, shellcheck gets confused by how some OpenWrt functions
work - especially load ones. Also on few places there are $options
variables that need not to be globbed. Could be rewritten better not to
need them, but I'll do major rewrites later in separate pull request.

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
2020-10-02 10:36:47 +02:00
Michal Hrusecky bb6e0d799c mariadb: Use double quotes where possible
Just to make sure, add double quotes around strings and various
variables. In some cases it could prevent some issues, in other cases it
is just a good practice.

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
2020-10-02 10:06:38 +02:00
Rosen PenevandGitHub c05e92a58d Merge pull request #11353 from kvuorine/fwknop-fixes
fwknop: init script improvements
2020-10-01 14:50:25 -07:00
Rosen PenevandGitHub 6a1c6b2fe7 Merge pull request #13541 from ja-pa/pytest-6.1.0
python-pytest: update to version 6.1.0
2020-10-01 14:44:09 -07:00
Rosen PenevandGitHub a232ec7526 Merge pull request #13467 from ja-pa/tor-update-0.4.4.5
tor: update to version 0.4.4.5
2020-10-01 14:43:05 -07:00
Michal Hrusecky 173314eb8f mariadb: Handle non-existent logger in init
Make sure init script has a fallback when logger is not available.

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
2020-10-01 16:02:42 +02:00
Florian EckertandGitHub a333d71fd0 Merge pull request #13509 from TDT-AG/pr/20200928-ddns-scripts
ddns-scripts: fix regression added by version 2.8.0
2020-10-01 14:15:10 +02:00
Jan Pavlinec 64cb0c50ba python-pytest: update to version 6.1.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-10-01 11:46:34 +02:00
Rosen PenevandGitHub 2095656dca Merge pull request #13539 from nxhack/libuv_1400
libuv: update to 1.40.0
2020-10-01 00:06:15 -07:00
Rosen PenevandGitHub cd12b7914e Merge pull request #13515 from neheb/domo3
domoticz: fix compilation with full NLS
2020-10-01 00:05:54 -07:00
Hirokazu MORIKAWA 97cea69569 libuv: update to 1.40.0
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2020-10-01 13:34:27 +09:00
Rosen PenevandGitHub 970507bbf3 Merge pull request #13538 from neheb/glbbbb
glib2: remove static library hack
2020-09-30 19:09:24 -07:00
Rosen Penev f132daf59e glib2: remove static library hack
There's a better and faster way to do this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-30 18:33:32 -07:00
Rosen PenevandGitHub ecbe2cc625 Merge pull request #13536 from oleg-derevenetz/bwping-2.1
bwping: update to version 2.1
2020-09-30 17:01:25 -07:00