Commit graph

18268 commits

Author SHA1 Message Date
Rosen Penev
b514a74609
Merge pull request #11255 from jefferyto/golang-reorg
golang: More updates
2020-02-04 22:36:04 -08:00
Rosen Penev
34ec8facc5
wavemon: update to 0.9.1
Remove upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-04 22:35:11 -08:00
Jeffery To
bddd1ec588 golang: Update files installed
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-02-05 14:19:34 +08:00
Jeffery To
89d3f0ab54 golang: Reorganize GoPackage/Environment and Makefile variables
* Move more environment variables into GoPackage/Environment
* Split GoPackage/Environment into target and build sections
* Do not set GOROOT_FINAL for Go packages (setting it should only affect
  the Go compiler and not Go packages)
* Set CGO_LDFLAGS to $(TARGET_LDFLAGS)
* Move GO_TARGET_* variables from golang-values.mk, and GO_VERSION_*
  variables from golang-version.mk, into golang/Makefile

This also updates runc, containerd, and docker-ce to reflect the changes
in GoPackage/Environment.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-02-05 14:19:34 +08:00
Rosen Penev
1c4e99cc4e
ninja: updated to 1.10.0
Removed upstreamed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-04 19:55:18 -08:00
Val Kulkov
c8c3b8fe7f graphicsmagick: update to the latest release
Update to v1.3.34. This service release provides a number of bug
fixes, including security fixes.

Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
2020-02-04 19:49:28 -05:00
Rosen Penev
3bc3298426
Merge pull request #11236 from neheb/rhgerg34ege4
h2o: fix compilation without deprecated OpenSSL APIs
2020-02-04 15:26:47 -08:00
Rosen Penev
834f5608cc
Merge pull request #11231 from nxhack/mraa_210
libmraa: update to 2.1.0
2020-02-04 14:24:24 -08:00
Rosen Penev
60399a2c4c
Merge pull request #11250 from micmac1/apache-conf-vars-apr
apache: apr update + configure vars
2020-02-04 14:23:58 -08:00
Rosen Penev
3481dcdc85
Merge pull request #11238 from peter-stadler/ariang
ariang: use new configuration of Nginx
2020-02-04 14:22:36 -08:00
Rosen Penev
5bebde75b2
Merge pull request #11248 from ejurgensen/forked-daapd_update_271
forked-daapd: update to 27.1
2020-02-04 14:22:04 -08:00
Rosen Penev
c15a4713de
Merge pull request #11247 from micmac1/maria104-CVE-2020-7221
mariadb: follow up on CVE-2020-7221
2020-02-04 13:14:13 -08:00
Rosen Penev
d00f2c9a40
Merge pull request #11232 from neheb/lswan
libreswan: fix compilation with musl
2020-02-04 13:02:41 -08:00
Sebastian Kemper
d44ad09fcd apache: add gettid support
gettid happens to be supported by all glibc, musl and uclibc, but
configure cannot detect it when cross-compiling. This adds a configure
variable for it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-02-04 22:00:57 +01:00
Sebastian Kemper
f6c218e74d apr-util: add configure vars
Adds configure variables for features that the compiler or the libc
supports and which cannot be detected by apr-util's configure script
when cross-compiling.

Also removes one call to INSTALL_DIR (no functional change here).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-02-04 21:55:38 +01:00
Sebastian Kemper
86396c6a49 apr: add configure vars and caches
apr's configure script uses lots of AC_TRY_RUNs and when cross-compiling
needs a leg-up. This commit adds more configure variables (and removes
one, too).

Notable changes:

 - apr_cv_use_lfs64=yes is removed (again) after having a discussion
   about it with the musl developers. The conclusion was that
   _LARGEFILE64_SOURCE is a horrible thing that we don't want and should
   avoid (hence the removal of the variable, because defining
   _LARGEFILE64_SOURCE is all it does).
 - ap_cv_atomic_builtins is set to "yes" for 64-bit platforms. If
   anybody is interested in enabling this for other targets feel free to
   send a patch after testing it.
 - configure doesn't add -lpthread to LIBS when cross-compiling. This is
   not a problem for musl but might be for other libcs. This commit adds
   to related variable.
 - configure caches are added (via patches) for strerror and /dev/zero
   mmap tests. The former fixes a warning on musl (where strerror
   returns int instead of a pointer) and the latter is required for
   pthread pshared mutex apr_lock implementation and cannot be detected
   during cross-compile either.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-02-04 21:50:30 +01:00
Sebastian Kemper
0c6d461cc9 apr: bump to 1.7.0
Version bump + patches refresh.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-02-04 21:33:56 +01:00
tripolar
d9bf300c97
Merge pull request #11246 from ja-pa/tor-update-0.4.2.6
tor: update to version 0.4.2.6
2020-02-04 21:06:38 +01:00
Sebastian Kemper
9f5fb8034c mariadb: follow up on CVE-2020-7221
Today CVE-2020-7221 was publicly discussed on oss-sec [1]. MariaDB
upstream had not mentioned this CVE in their last release notes. The CVE
is related to auth-pam and the possibility of a local mariadb to root
user exploit in the mysql_install_db script.

Upstream has made amendments to the script, but according to the oss-sec
posts the folder permissions were not updated as they should have been.

In OpenWrt the script mysql_install_db is actually patched to never run
the commands in question. This has been this way since MariaDB 10.4 was
made available.

Still, the directory permissions set by the postinstall script are too
lax. To quote the discoverer of the issue, Matthias Gerstner from Suse,
they exhibit "the dangerous situation of a setuid-root binary residing
in a directory owned by an unprivileged user".

This commit fixes this by changing the permissions to the following:

root:mariadb  0750 /usr/lib/mariadb/plugin/auth_pam_tool_dir

This way the setuid-root binary is only available to root and the
mariadb user, while at the same time the mariadb user has no ownership
of the directory.

[1] https://seclists.org/oss-sec/2020/q1/55

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-02-04 20:14:09 +01:00
Jan Pavlinec
6b46b5b6f8
tor: update to version 0.4.2.6
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-02-04 18:54:28 +01:00
Peter Stadler
045adbeb66 nginx: fix endianness issue #8988
Patch the auto/endianess file to use CONFIG_BIG_ENDIAN.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-02-04 16:14:46 +01:00
Peter Stadler
5241d60614 ariang: use new configuration of Nginx
Remove the superfluous parts of the uci-defaults file.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-02-04 14:51:09 +01:00
Rosen Penev
6e6e076eef
Merge pull request #11233 from neheb/hhg
zerotier: fix compilation with libcxx
2020-02-04 03:01:52 -08:00
Rosen Penev
7744104b74 nmap: fix compilation with libcxx
Missing headers and confusion between std::bind and bind.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-04 09:22:24 +01:00
Rosen Penev
96521b6a8d
mpd: fix ffmpeg AIFF and AMR support
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-03 21:40:16 -08:00
Rosen Penev
2a754e0768
h2o: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-03 21:20:31 -08:00
Rosen Penev
697024f3a2
zerotier: fix compilation with libcxx
Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-03 21:08:48 -08:00
Rosen Penev
118d129d6a
libreswan: fix compilation with musl
Added missing limits header. This is normally included in fortify-headers,
which I have disabled locally.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-03 21:07:36 -08:00
Hirokazu MORIKAWA
eab72e6aa8 libmraa: update to 2.1.0
update to 2.1.0
The MRAA project is joining the Eclipse Foundation as an Eclipse IoT project.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2020-02-04 13:53:05 +09:00
Rosen Penev
e9f439c07a
Merge pull request #11145 from jefferyto/aircrack-ng-1.6
aircrack-ng: Update to 1.6
2020-02-03 20:44:37 -08:00
Rosen Penev
017407532a
Merge pull request #11188 from neheb/mpd
mpd changes
2020-02-03 20:29:28 -08:00
Rosen Penev
5bd4ef4035
mpd: replace mpg123 with libmad
libmad is almost half the size of libmpg123. The docoding is done with
integers instead of floats.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-03 20:28:04 -08:00
Rosen Penev
c00f83241b
mpd: fix compilation with uClibc-ng
With mpd's build system, it requires either an iconv built into the libc
or icu. Since uClibc-ng as configured by OpenWrt currently has no iconv,
use icu for it to work around the problem. This is the simplest solution.

Added a patch to use boost's rounding functions. They are more appropriate
and work with uClibc-ng.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-03 20:28:03 -08:00
Etienne Champetier
fe07764e59
Merge pull request #11221 from blocktrron/prom-hostapd
prometheus-node-exporter-lua: add hostapd exporter
2020-02-03 23:26:26 -05:00
Rosen Penev
12efabac44
apache: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-03 17:52:06 -08:00
Rosen Penev
b62c87a99c
Merge pull request #11212 from adde88/master
hcxtools: update to latest version
2020-02-03 17:06:01 -08:00
Rosen Penev
4cc2633823
Merge pull request #11189 from neheb/shad
shadow: update to 4.8.1
2020-02-03 14:13:18 -08:00
Rosen Penev
24c2fad79a
Merge pull request #11217 from peter-stadler/ariang-nginx
ariang: rename nginx configuration file
2020-02-03 14:12:19 -08:00
Rosen Penev
b5e1966376
Merge pull request #11225 from peter-stadler/nginx-util
nginx-util: allow comments in begin of regex
2020-02-03 14:09:51 -08:00
Rosen Penev
26f1fa80bc
Merge pull request #11081 from peter-stadler/nginx
nginx: use /etc/nginx/nginx.conf enabling conf.d/
2020-02-03 14:08:40 -08:00
Rosen Penev
f975168f5c
Merge pull request #11228 from jefferyto/golang-env-fixes
golang: Improve build isolation from user environment
2020-02-03 14:04:47 -08:00
Jeffery To
3b5f1c73fb golang: Improve build isolation from user environment
* Set GOENV=off when building Go compiler and packages, to ignore user's
  environment configuration file
* Set GOCACHE when building host Go
* Unset GOTMPDIR, to use the buildroot temp directory instead of temp
  directories in build_dir

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-02-04 04:05:29 +08:00
Josef Schlehofer
878c2996ff
Merge pull request #11224 from sartura/sqlite3-update
sqlite3: update to version 3.31.1
2020-02-03 19:32:30 +01:00
Peter Stadler
4b03122ce5 nginx-util: allow comments in begin of regex
Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-02-03 17:18:09 +01:00
Andreas Nilsen
c7cf60ab40 hcxtools: update to 5.3.0. + Changes to Makefile to include latest binaries being compiled
Signed-off-by: Andreas Nilsen <adde88@gmail.com>

hcxdumptool: forgot to add new openssl dependency

Signed-off-by: Andreas Nilsen <adde88@gmail.com>
2020-02-03 17:17:42 +01:00
David Bauer
af8f8f8046 prometheus-node-exporter-lua: add hostapd exporter
This exporter exposes information of the connected stations acquired
from hostapd. These contain additional information compared to the
existing station exporter, however they require a full build of hostapd
/ wpad.

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-02-03 15:42:35 +01:00
Rosen Penev
623fc51eef
Merge pull request #11179 from peter-stadler/django-rest-framework
django-restframework: fix by splitting variants
2020-02-03 05:18:48 -08:00
Josip Kelečić
7861ccda34 sqlite3: update to version 3.31.1
Signed-off-by: Josip Kelečić <josip.kelecic@sartura.hr>
2020-02-03 11:08:52 +01:00
Josef Schlehofer
561b535c36
dnscrypt-proxy2: update to version 2.0.39
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-02-03 09:58:51 +01:00
Jo-Philipp Wich
900ac76bdb openconnect: preserve whitespace in arguments
Properly quote arguments when assembling the command line and eval the
proto_run_command() invocation in order to prevent the shell from
improperly splitting the command arguments on $IFS.

Fixes: #10137
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-03 08:55:54 +01:00