Commit graph

2506 commits

Author SHA1 Message Date
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
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
4cc2633823
Merge pull request #11189 from neheb/shad
shadow: update to 4.8.1
2020-02-03 14:13:18 -08: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
Luiz Angelo Daros de Luca
0a85579e45 sane-backends: update to 1.0.29
- Migrate libusb dependency back to libsane
  (virtually all useful backends for OpenWrt would need it anyway)
- Disabled new usb-record-replay feature (avoid libxml2 dep)
- Disabled new escl backend (network-only backend are not too useful
  for OpenWrt and it requires libcurl, libnetsnmp, libavahi and libxml2)
- Workaround sane-daemon/postinst installation on Imagebuild
- Enabled backends kvs40xx and mustek_usb2 (fixed upstream)
- Fix bigendian compilation
  (https://gitlab.com/sane-project/backends/-/merge_requests/329)
- Fix missing std::round() for uclibc
  (https://gitlab.com/sane-project/backends/issues/237)
- Fixes FS#2685: coldplug was running before usblp was loaded. Now
  it grants access do usblp when a device using it is plugged.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2020-02-03 02:24:08 -03:00
Rosen Penev
87e5ded04c
shadow: update to 4.8.1
Fixed license information.

Removed patch requiring autoreconf and replaced with a configure variable.

Removed faulty patch that broke systems without a disabled crypt size hack.
Replaced with using a SED command as well as bcrypt, which works in musl.

Removed su patch and converted it to a SED command in the Makefile.

Added new shadow utilities.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-02 13:07:52 -08:00
Hannu Nyman
07cef285bf zip: rename package to infozip to avoid name collision with tools
Rename "zip" to "infozip" to avoid name collision, as the same
zip package has been introduces to the build tools as zip.
Buildbot does not like that.

Reference to #10985 and #11089 as well as
ad8c2d6099

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-02-01 10:23:16 +02:00
Jianhui Zhao
34e19dbb6f rtty: update to 7.0.1
Drop the depend of libuwsc

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-01-31 16:31:09 +08:00
Sebastian Kemper
4de12edd85 mariadb: security bump to 10.4.12
Fixes CVE-2020-2574.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-01-30 21:25:06 +01:00
Rosen Penev
3aa009478a
prometheus-node-exporter-lua: fixed small warning
This happens during compilation:

Enabling network
./etc/init.d/prometheus-node-exporter-lua: line 7: /lib/functions/network.sh: No such file or directory

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-27 18:55:31 -08:00
Rosen Penev
53a7735233
vim: install vimdiff symlink for vim-fuller
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-27 18:23:48 -08:00
Lucian Cristian
d3e497bae6 pciutils: update to 3.6.4
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-01-27 22:19:46 +02:00
Rosen Penev
c3b4dd833f
Merge pull request #11082 from neheb/lcdp
lcdproc: add serdisplib dependency
2020-01-25 15:19:52 -08:00
Rosen Penev
77f41efb45
Merge pull request #10425 from luizluca/sane-nonroot
sane-backends: run (xinetd) saned as non-root
2020-01-24 23:47:27 -08:00
Rosen Penev
9c1ed1eee2
Merge pull request #11089 from neheb/zip
zip: remove host build
2020-01-23 15:39:04 -08:00
Rosen Penev
3eda24351e
zip: remove host build
This is conflicting with tools/zip where the HostBuild is specified.
This should allow the zip package to show up.

Several cleanups were also performed for consistency between packages.

Added PKG_BUILD_PARALLEL:=1 for faster compilation.

Remove PKG_CHECK_FORMAT_SECURITY. Patched the issue instead.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-22 17:04:43 -08:00
Yuhei OKAWA
0f59b54f1a open-vm-tools: bump to version 11.0.5
tested x86_64 generic on ESXi 6.5u2

Signed-off-by: Yuhei OKAWA <tochiro.srchack@gmail.com>
2020-01-22 14:48:18 +00:00
Kirill Lukonin
7031a2ecaa fft-eval: new maintainer
Signed-off-by: Kirill Lukonin <klukonin@gmail.com>
2020-01-21 19:34:47 +05:00
Rosen Penev
c5e0ffddc9
lcdproc: add serdisplib dependency
It gets picked up when it is existing.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-20 17:13:04 -08:00
Kirill Lukonin
772996bd2a fft-eval: update to the version with ath11k support
Latest fft-eval has some extra features such as ath11k support, double precision in json signal calculation, and cleanups (batctl references, minor bugfixes, etc )
This commit is a version and makefile update. Now the native project Makefile do the job (compilation and linking).

Signed-off-by: Kirill Lukonin <klukonin@gmail.com>
2020-01-20 12:15:45 +05:00
Rosen Penev
40975c6c1e
Merge pull request #11040 from jefferyto/gpsd-3.20
gpsd: Update to 3.20, add/refresh patches
2020-01-19 17:03:48 -08:00
Rosen Penev
82747d743d
Merge pull request #10989 from BKPepe/btrfs-progs-update
btrfs-progs: update to version 5.4.1
2020-01-16 14:29:04 -08:00
Jeffery To
a29905c42b gpsd: Update to 3.20, add/refresh patches
New patches (both for SConstruct):

* Do not import from distutils. Since Python support/modules are not
  built, there is no need to import from distutils. (Importing from
  distutils may prevent the package from being built on systems without
  a full distutils module, e.g. Debian with python3-minimal.)

  I have added back the import in places where it may be helpful to
  have, if scons is run manually.

  Fixes #10993.

* Do not check the size of time_t. The way this is done is to compile
  and run a test program; this fails when cross-compiling[1].

  This doesn't appear to affect any functionality (other than missing a
  compile-time warning that things will fail in 2038 if time_t is too
  small).

[1]: https://gitlab.com/gpsd/gpsd/issues/48

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-01-17 04:42:46 +08:00
Paulo Machado
1fa9e829c4 canutils: fix canutils makefile dependency
PKG_RELEASE bumped

Signed-off-by: Paulo Machado <pffmachado@yahoo.com>
2020-01-15 00:36:10 +00:00
Paulo Machado
b70cb0ef5e canutils: fix canutils makefile dependency
DEPENDS attribute makes canutils fail on installation procedure

Removing it makes a successful build

Signed-off-by: Paulo Machado <pffmachado@yahoo.com>
2020-01-14 10:57:49 +00:00
Rosen Penev
5969273ff4
canutils: Switch to autotools instead of regular Makefile
The regular Makefile is totally broken and does not pass CFLAGS. This
breaks compilation with PKG_ASLR_PIE and also does not pass -Os.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-12 15:28:58 -08:00
Rosen Penev
479c5d195c
Merge pull request #10787 from neheb/z
zsh: Update to 5.7.1
2020-01-12 15:19:44 -08:00
Josef Schlehofer
c864563372
btrfs-progs: update to version 5.4.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-01-11 23:11:09 +01:00
Rosen Penev
cb63deb8e9
spi-tools: Disable PIE
Causes compilation failure.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-10 18:13:05 -08:00
Paul Fertser
db10b426b1 openocd: update to current master, allow building without USB
The last OpenOCD release was 3 years ago, plenty of new functionality
was added since then. Two security-related patches went in too.

While at it, add a menuconfig option to allow building without any USB
dependencies, useful for devices counting on sysfsgpio to access
targets.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2020-01-10 14:28:42 +03:00
Rosen Penev
518628c214
Merge pull request #10934 from neheb/tc
tcsh: Update to 6.22.02
2020-01-08 16:19:33 -08:00
Rosen Penev
ee56a6dec9
Merge pull request #10930 from neheb/jj
spi-tools: Update to 0.8.4
2020-01-08 16:10:05 -08:00
Rosen Penev
825b7016e2
zsh: Update to 5.7.1
Remove --disable-dynamic. It disables regex support.

Installed extra lib files.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-08 16:01:18 -08:00
Rosen Penev
2e992a0794
Merge pull request #10867 from neheb/pci
pciutils: Use MIPS16
2020-01-08 15:54:24 -08:00
Daniel Golle
3c0291c316 opensc: update to version 0.20.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-01-07 01:29:45 +02:00
Daniel Golle
fc77cb6474 ccid: update to version 1.4.31
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-01-07 01:27:16 +02:00
Daniel Golle
e87bfe4631 pcsc-lite: update to version 1.8.26
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-01-07 01:27:16 +02:00
Daniel Golle
ea0b3370e5 cryptsetup: update to version 2.2.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-01-07 01:27:16 +02:00
Daniel Golle
22eee61766 lvm2: update to version 2.03.05
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-01-07 01:27:16 +02:00
Hannu Nyman
004faf98f5 smartmontools: fix dependency declaration by f5f49e4
Fix the dependency declaration by removing the unnecessary/illegal
commas:

>  WARNING: Makefile 'package/feeds/packages/smartmontools/Makefile' has a dependency on 'smartd,', which does not exist
>  WARNING: Makefile 'package/feeds/packages/smartmontools/Makefile' has a dependency on 'nail,', which does not exist
>  tmp/.config-package.in:153368:warning: ignoring unsupported character ','
>  tmp/.config-package.in:153373:warning: ignoring unsupported character ','

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-01-06 12:39:45 +02:00
Rosen Penev
efc94a457c
tcsh: Update to 6.22.02
Updated URL list. Changed to HTTPS also.

Added PKG_BUILD_PARALLEL for faster compilation.

Added PKG_INSTALL as is standard with most packages.

Small optimization to shell script.

Added two patches to fix compilation. Refreshed the other one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-05 17:11:46 -08:00
Rosen Penev
ac621779ca
spi-tools: Update to 0.8.4
Fix PKG_LICENSE

Switch to standard PKG_INSTALL to simplify the Makefile.

Add PKG_BUILD_PARALLEL for faster compilation.

Add URL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-05 17:08:17 -08:00
Maxim Storchak
f5f49e48fe smartmontools: package a script for sending email notifications
A separate package which depdens on msmtp and nail is introduced.
Once more packages provide `sendmail` and `mail` interfaces, this
dependency can be made more flexible.

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2020-01-05 22:32:25 +02:00
Maxim Storchak
67600c2aaa smartmontools: update to 7.1
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2020-01-05 19:18:21 +02:00
Rosen Penev
a3ab7a7931
smstools3: Run in foreground
Allows procd to be able to stop the service.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-31 21:37:23 -08:00
Hannu Nyman
c62f8962ba nano: update to 4.7
Update nano to version 4.7

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-12-29 15:18:27 +02:00
Rosen Penev
c99cca25a1
domoticz: Fix compilation with uClibc-ng
Added upstream patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-24 17:21:38 -08:00
Rosen Penev
662d0d8a8f
pciutils: Use MIPS16
There's no real computation going on. Slims the package slightly.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-23 18:12:08 -08:00
Rosen Penev
2fbe880d58
Merge pull request #10759 from ynezz/upstream/uledd-1.0.1
uledd: bump to 1.0.1
2019-12-22 21:41:41 -08:00
Rosen Penev
c50497dedc
Merge pull request #10815 from Cynerd/zsh-invalid-postrm
zsh: fix invalid postrm script and little refactor of scripts
2019-12-22 21:39:18 -08:00