aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* golang: Add golang-host-build.mkJeffery To2020-10-06
| | | | | | This adds a Makefile for host builds of Go programs. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* golang: Move package scripts into golang-build.shJeffery To2020-10-06
| | | | | | | | This also adds GO_PKG_INSTALL_BIN_PATH which determines the path where binaries are installed by GoPackage/Package/Install/Bin (this was previously hard-coded to /usr/bin). Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* golang: Quote variables passed to the shellJeffery To2020-10-06
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* golang: Add more error handling for go-gcc-helperJeffery To2020-10-06
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* golang: Use external linking for target GoJeffery To2020-10-06
| | | | | | | | | | | | | | | | 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>
* golang: Simplify target compileJeffery To2020-10-06
| | | | | | | | * 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>
* golang: Use GO_LDFLAGS to set buildmode=pie for host GoJeffery To2020-10-06
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* golang: Refactor vars common to each host compile stage into variableJeffery To2020-10-06
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* golang: Simplify bootstrap stageJeffery To2020-10-06
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* golang: Group variables by stage (bootstrap/host/target)Jeffery To2020-10-06
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* golang: Share build cache across package buildsJeffery To2020-10-06
| | | | | | | 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>
* golang: Move module cache into DL_DIRJeffery To2020-10-06
| | | | | | | | 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>
* golang: Move config option into separate fileJeffery To2020-10-05
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* golang: Update to 1.15.2Jeffery To2020-10-05
| | | | | | | | 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>
* Merge pull request #13567 from zhaojh329/libuhttpdRosen Penev2020-10-04
|\ | | | | libuhttpd: Update to 3.3.1
| * libuhttpd: Update to 3.3.1Jianhui Zhao2020-10-04
| | | | | | | | Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
* | Merge pull request #13562 from antonlacon/rsync-optionsRosen Penev2020-10-04
|\ \ | |/ |/| rsync: disable option for bundled zlib, add option for zstd
| * rsync: add config option for zstd supportIan Leonard2020-10-02
| | | | | | | | Signed-off-by: Ian Leonard <antonlacon@gmail.com>
| * rsync: drop option for included zlibIan Leonard2020-10-02
| | | | | | | | Signed-off-by: Ian Leonard <antonlacon@gmail.com>
* | Merge pull request #13546 from miska/maria-cleanup-updateRosen Penev2020-10-03
|\ \ | | | | | | MariaDB: cleanup & update
| * | mariadb: Update to version 10.4.14Michal Hrusecky2020-10-02
| | | | | | | | | | | | Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
| * | mariadb: Add shellcheck disable into init scriptMichal Hrusecky2020-10-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | mariadb: Use double quotes where possibleMichal Hrusecky2020-10-02
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | mariadb: Handle non-existent logger in initMichal Hrusecky2020-10-01
| | | | | | | | | | | | | | | | | | Make sure init script has a fallback when logger is not available. Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
* | | Merge pull request #13565 from mhei/php7-update-7.4.11Michael Heimpold2020-10-03
|\ \ \ | | | | | | | | php7: update to 7.4.11
| * | | php7: update to 7.4.11Michael Heimpold2020-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes: - CVE-2020-7069 - CVE-2020-7070 Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* | | | Merge pull request #13563 from dibdot/trm-2.0.2Dirk Brenken2020-10-03
|\ \ \ \ | |/ / / |/| | | travelmate: update 2.0.2
| * | | travelmate: update 2.0.2Dirk Brenken2020-10-03
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | | Merge pull request #13556 from BKPepe/zeroconfJosef Schlehofer2020-10-03
|\ \ \ | | | | | | | | python-zeroconf: update to version 0.28.5
| * | | python-zeroconf: update to version 0.28.5Josef Schlehofer2020-10-02
| | | | | | | | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | Merge pull request #13559 from BKPepe/nnnJosef Schlehofer2020-10-03
|\ \ \ \ | | | | | | | | | | nnn: update to version 3.4
| * | | | nnn: update to version 3.4Josef Schlehofer2020-10-02
| |/ / / | | | | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | Merge pull request #13551 from BKPepe/pythonsentrysdkJosef Schlehofer2020-10-03
|\ \ \ \ | | | | | | | | | | python-sentry-sdk: update to version 0.18.0
| * | | | python-sentry-sdk: update to version 0.18.0Josef Schlehofer2020-10-02
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | | Merge pull request #13547 from zpc0/beep-dependsRosen Penev2020-10-02
|\ \ \ \ \ | |_|_|_|/ |/| | | | beep: fix dependency to support non-x86 target and kmod-gpio-beeper
| * | | | beep: fix dependency to support non-x86 target and kmod-gpio-beeperYanase Yuki2020-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | | beep: add missing PKG_MIRROR_HASHYanase Yuki2020-10-03
|/ / / / | | | | | | | | | | | | Signed-off-by: Yanase Yuki <dev@zpc.sakura.ne.jp>
* | | | Merge pull request #13548 from gladiac1337/haproxy-2.2.4Rosen Penev2020-10-02
|\ \ \ \ | |_|/ / |/| | | haproxy: Update HAProxy to v2.2.4
| * | | haproxy: Update HAProxy to v2.2.4Christian Lachner2020-10-02
| | | | | | | | | | | | | | | | | | | | | | | | - Update haproxy download URL and hash Signed-off-by: Christian Lachner <gladiac@gmail.com>
* | | | Merge pull request #13552 from BKPepe/syslog-ng-bump-config-versionJosef Schlehofer2020-10-02
|\ \ \ \ | | | | | | | | | | syslog-ng: bump version in config file
| * | | | syslog-ng: bump version in config fileJosef Schlehofer2020-10-02
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: 06f3ac21b4d7be5a31f6739ab57e140260cdcd95 ("syslog-ng: update to version 3.29.1") Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* / | | CI: use PKG_SOURCE instead of PKG_NAMEPaul Spooren2020-10-01
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #11353 from kvuorine/fwknop-fixesRosen Penev2020-10-01
|\ \ \ | | | | | | | | fwknop: init script improvements
| * | | fwknop: init script improvementsKimmo Vuorinen2020-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Log with pid instead of placeholder. * Make sure directory for config files generated from uci config exists. * Remove forced defaults. * Simplify compares. Signed-off-by: Kimmo Vuorinen <kimmo.vuorinen@gmail.com>
* | | | Merge pull request #13541 from ja-pa/pytest-6.1.0Rosen Penev2020-10-01
|\ \ \ \ | | | | | | | | | | python-pytest: update to version 6.1.0
| * | | | python-pytest: update to version 6.1.0Jan Pavlinec2020-10-01
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* | | | | Merge pull request #13467 from ja-pa/tor-update-0.4.4.5Rosen Penev2020-10-01
|\ \ \ \ \ | |_|_|_|/ |/| | | | tor: update to version 0.4.4.5
| * | | | tor: update to version 0.4.4.5Jan Pavlinec2020-09-30
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: -Fix PIC configuration to --enable-pic -disable mallinfo Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* | | | Merge pull request #13509 from TDT-AG/pr/20200928-ddns-scriptsFlorian Eckert2020-10-01
|\ \ \ \ | |_|_|/ |/| | | ddns-scripts: fix regression added by version 2.8.0
| * | | ddns-scripts: update PKG_VERSION to 2.8.1Florian Eckert2020-09-28
| | | | | | | | | | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>