Commit graph

19620 commits

Author SHA1 Message Date
Jeffery To
da3fb97b9c golang: Set/reset default platform options for target Go compiler
Because the first stage for building target Go is actually a host build,
the default platform options (GO386, GOARM, etc.) are detected from the
host. These values are written to a source file and kept when building
the second stage.

This modifies this source file to set the appropriate values for the
target platform, and reset values for other platforms to their
cross-compiling / most compatible defaults.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-14 17:45:18 +08:00
Rosen Penev
a22fff844d
Merge pull request #9865 from peter-stadler/etesync
etesync-server: add package and configuration for running with uwsgi on nginx [RFC]
2020-05-14 00:24:59 -07:00
Peter Stadler
62609f1587 nginx: do not reduce max processes
Use the upstream value for NGX_MAX_PROCESSES (=1024) again.
So it is safe to use `worker_processes auto;` (which sets it to
the number of CPUs). Also use this directive in the conf instead
of calculating the number in the init and passing it as argument.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-05-14 09:19:45 +02:00
Rosen Penev
ba2c714aa8
Merge pull request #12075 from ja-pa/redis-update
redis: update to version 6.0.1
2020-05-13 16:33:16 -07:00
Rosen Penev
2d7fcf3893
Merge pull request #12140 from neheb/ger
gerbera: set config file to 600 permissions
2020-05-13 16:32:46 -07:00
Rosen Penev
df99a7c712
gerbera: set config file to 600 permissions
Only gerbera needs to read the file.

Added config file to conffiles to fix opkg update support.

Added several extra options to the UCI config. Manual editing is still required.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-05-13 16:32:30 -07:00
Jan Pavlinec
00eb395c3f
redis: update to version 6.0.1
Note:
add explicit -latomic on 32-bit MIPS because 32-bit MIPS is not able to perform 64-bit atomics in hardware

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-05-14 00:27:48 +02:00
Rosen Penev
6b44750ee3
upmpdcli: update to 1.4.9
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-05-13 15:26:45 -07:00
Rosen Penev
1546a63414
libupnpp: update to 0.19.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-05-13 15:26:45 -07:00
Rosen Penev
724ec0659f
libnpupnp: update to 4.0.3
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-05-13 15:26:45 -07:00
Rosen Penev
ad1203ebb9
faad2: update to 2.9.2
Removed upstreamed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-05-13 15:25:23 -07:00
Rosen Penev
355d2b7bef
Merge pull request #12060 from looklookson/master
sslh: Add http probe support
2020-05-13 15:22:38 -07:00
Rosen Penev
0a4ed5845a
Merge pull request #11528 from hroo/lvm2_at_preinit
lvm2: Added script and updated Makefile to activate lvm2 at preinit t…
2020-05-13 14:58:20 -07:00
Rosen Penev
5f1c9e3c94
Merge pull request #11964 from zhanhb/nginx-all-module
nginx: update all-module configurations
2020-05-13 14:56:58 -07:00
Rosen Penev
f1b445963b
Merge pull request #11981 from zhanhb/conffiles
treewide: add conffiles
2020-05-13 14:44:35 -07:00
Rosen Penev
d5c68c9e35
Merge pull request #12037 from olek210/coremark
coremark: Add coremark package
2020-05-13 14:41:55 -07:00
Rosen Penev
f7554197c2
Merge pull request #12104 from stintel/readsb
readsb: new package
2020-05-13 14:41:11 -07:00
Rosen Penev
edff5dffaa
Merge pull request #12146 from kobboi/master
ifstat: make dependency on libnetsnmp conditional
2020-05-13 14:39:52 -07:00
Rosen Penev
3224aace8a
Merge pull request #12147 from micmac1/my_up
mariadb: updates for config, auth-pam and init
2020-05-13 14:20:15 -07:00
Eneas U de Queiroz
670b500b2b jupp: update to 3.1.39
Among other changes, this fixes compilation with mips16, working around
a gcc bug.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2020-05-13 13:32:59 -03:00
Hannu Nyman
4187b0ed5a
Merge pull request #12160 from tru7/knxd
knxd: bump to version 0.14.37
2020-05-13 16:55:13 +03:00
Othmar Truniger
33fb579a41 knxd: bump to version 0.14.37
Signed-off-by: Othmar Truniger <github@truniger.ch>
2020-05-13 14:12:50 +02:00
Christophe Lermytte
888e9d9cea ifstat: make dependency on libnetsnmp conditional
The upstream package supports it with a configure switch.
Defaulting to 'with SNMP support' as it was before.

Signed-off-by: Christophe Lermytte <gentoo@lermytte.be>
2020-05-13 10:46:00 +02:00
Jeffery To
46017682f4 golang: Set buildid and enable stripping for Go compiler
Doing both should make the compiler reproducible.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-13 16:07:27 +08:00
Jeffery To
74b02ca24c golang: Blacklist older (or no) FPUs rather than whitelist newer FPUs
This should be more future-proof (presumably all future ARM FPUs will be
at least VFPv3).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-13 16:07:27 +08:00
Jeffery To
25a7f0045e golang: Move "go install" arguments logic, add buildid
The moves the setting of arguments for "go install" out of the shell
script in GoPackage/Build/Compile and into make.

This also adds the -buildid link flag for reproducible builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-13 16:07:27 +08:00
Jeffery To
d2f5e6966b golang: Rename GoPackage/Environment to GO_PKG_VARS
The variable is a list of shell variables; the new name is more in-line
with other parts the build system (CONFIGURE_VARS, MAKE_VARS, etc.).

GoPackage/Environment is kept (for now) in case other feeds are using
it.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-13 16:07:20 +08:00
Rosen Penev
30eb5eab83
Merge pull request #11159 from jmarcet/ctop
ctop: top-like interface for container metrics
2020-05-12 20:19:35 -07:00
Rosen Penev
e86560c0c1
Merge pull request #12137 from neheb/webp
libwebp: update to 1.1.0
2020-05-12 20:18:08 -07:00
Rosen Penev
fedc2804bc
Merge pull request #12157 from oleg-derevenetz/bwping-1.17
bwping: update to version 1.17
2020-05-12 13:59:22 -07:00
Oleg Derevenetz
654078b68d bwping: update to version 1.17
Signed-off-by: Oleg Derevenetz <oleg-derevenetz@yandex.ru>
2020-05-12 23:14:55 +03:00
Hannu Nyman
3c512fc304
Merge pull request #12153 from cotequeiroz/libreswan_linux4.14
libreswan: fix compilation with Linux 4.14
2020-05-12 21:17:07 +03:00
Jiri Slachta
a942ca6293
Merge pull request #12118 from micmac1/ssh2-bdep
libssh2: add mbedtls to PKG_BUILD_DEPENDS
2020-05-12 19:58:47 +02:00
Jeffery To
bcdd6e64fa golang: Remove RSTRIP definition from golang-package.mk
Since RSTRIP is defined in rules.mk as a recursively expanded variable,
there is no need to define it again after setting STRIP in
golang-package.mk.

This also adds a note to the comment for GO_PKG_LDFLAGS to say that -s
and -w flags are not necessary.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-13 00:18:50 +08:00
Eneas U de Queiroz
6df2abceca
libreswan: fix compilation with Linux 4.14
According to a comment in programs/pluto/kernel_xfrm_interface.c:177:

* IFLA_XFRM_IF_ID was added to mainline kernel 4.19 linux/if_link.h
  with older kernel headers 'make USE_XFRM_INTERFACE_IFLA_HEADER=true'

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2020-05-12 09:30:30 -03:00
Rosen Penev
9697114b39
Merge pull request #12152 from jefferyto/aarch64-vfp-neon
treewide: Enable VFP/NEON optimizations for aarch64
2020-05-12 02:46:20 -07:00
Jeffery To
49a2ff493b golang: Add option to use external bootstrap Go
The default bootstrap Go (Go 1.4) can only be compiled on a limited
number of platforms compared to newer versions of Go.

This adds a config option to use an external bootstrap Go, e.g.
installed through the build system's package manager or downloaded from
golang.org.

See: https://github.com/openwrt/packages/issues/11731

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-12 17:42:48 +08:00
Jeffery To
dec17eb36c treewide: Enable VFP/NEON optimizations for aarch64
For speexdsp, support for NEON on aarch64 was added in 1.2.0[1].

[1]: https://github.com/xiph/speexdsp/pull/8

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-12 16:03:07 +08:00
Hannu Nyman
c5e30e529e
Merge pull request #12148 from ja-pa/python3-maxminddb-update
python3-maxminddb: update to version 1.5.4
2020-05-12 09:38:36 +03:00
Hannu Nyman
26118e435b
Merge pull request #12143 from commodo/django-update
django: bump to version 3.0.6
2020-05-12 09:38:12 +03:00
Kevin Darbyshire-Bryant
f084977ca3 netifyd: support uci parameters
Integrate with uci to support 'enabled/disabled' startup option and
override netify's default auto network selection.

config netifyd
       option enabled 0
       option autoconfig 1

autoconfig: Use netify's in-built interface selection
else use 'internal/external_if' definitions.

Also persist important agent config across sysupgrade
agent.uuid, serial.uuid, site.uuid

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-05-12 07:23:16 +01:00
Alexandru Ardelean
fa3be5cf09 django: bump to version 3.0.6
Also add 'Peter Stadler <peter.stadler@student.uibk.ac.at>' as
co-maintainer.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-05-12 09:19:25 +03:00
Jan Pavlinec
94ca5a5760
python-atomicwrites: update to version 1.4.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-05-12 02:03:22 +02:00
Jan Pavlinec
a384deb455
python3-maxminddb: update to version 1.5.4
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-05-12 00:59:20 +02:00
Sebastian Kemper
fa6ea0b137 mariadb: switch init to mysqld_safe and mysqladmin
mysqld_safe is the recommended way to start the server on non-systemd
systems ([1]). For instance, it has a crash detection with auto-restart
function, can update ulimits, setup core files, set the niceness of the
server etc. It looks like it could also be helpful when trying to set up
clusters. It's maintained upstream and adding it means we don't need to
add these features into our init script.

mysqld_safe is a script itself, so it's added to conffiles in case users
want to edit it.

It can't be run under procd, so the init script is converted to a normal
System V type. To stop the server and to reload the privileges tables
mysqladmin is used. To that end mysqladmin is moved into the server
package.

While changing the init script, the Debian init script was used for
ideas. It wasn't copied verbatim and adapted a bit here and there.
Thanks to whoever wrote it!

This commit removes the support for starting the service as a user other
than "mariadb". This makes the init script simpler. If anybody wants to
play around with the user then it's up to them to fix the permissions.

[1] https://mariadb.com/kb/en/mysqld_safe/

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-05-12 00:13:11 +02:00
Sebastian Kemper
a61c97203f mariadb: move mysql_upgrade to the client package
It's really a client. It connects to the running server as a client, to
upgrade the DBs. And it depends on both mysql and mysqlcheck.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-05-11 22:38:55 +02:00
Sebastian Kemper
b16e9c1e2d mariadb: update auth_pam handling
With INSTALL_PAMDIR undefined some items necessary for the auth_pam
module aren't built. This adds the define so that configuration and
shared object become available.

This commit also tightens up the installation of the SUID tool. The
directory it is copied into gets created on the build host already with
u=rwx,g=rx,o=, so it cannot be accessed on target, except by root. The
post-install script then changes group ownership of the directory to the
"mariadb" group only if the directory is really a directory and owned by
"root:root".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-05-11 22:30:13 +02:00
Sebastian Kemper
19de52a044 mariadb: install config files readable for all
Until now $(INSTALL_CONF) is used for configuration files that go into
/etc/mysql. This commit replaces that with $(INSTALL_DATA). The
configuration files are not only parsed by the server, but also by the
clients (which can be anybody).

This also removes a comment about a cron job from one of the
configuration files. There is no cron job.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-05-11 22:15:01 +02:00
Sebastian Kemper
c0da37b1cd libssh2: switch default to OpenSSL and fix depends
All packages in the tree that depend on libssh2 _and_ have their own
dependency on a TLS library, depend on OpenSSL by default. It makes
sense for the libssh2 package to default to OpenSSL as well. This way it
does not pull in a second TLS library.

Also, the OpenSSL dependency is changed to
"+!LIBSSH2_MBEDTLS:libopenssl", which fixes build issues in case libssh2
is not selected but built anyway.

And last, Config.in file is removed and its content added to the
Makefile instead.

Closes #12108

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-05-11 20:28:57 +02:00
Hannu Nyman
bc94e9f657
Merge pull request #12145 from tru7/libfmt
libfmt: bump to version 6.2.1
2020-05-11 21:15:04 +03:00