Commit graph

2287 commits

Author SHA1 Message Date
Rosen Penev
90e596693d
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>
(cherry picked from commit 87e5ded04c)
2020-02-04 15:46:20 +01:00
Sebastian Kemper
265e444d32 mariadb: security bump to 10.2.31
Addresses CVE-2020-2574.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-01-30 21:33:58 +01:00
Rosen Penev
eab36f8a67
avrdude: Fix GPIO path building
%ud is a GNU extension. It's not really supported elsewhere.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 536c6b8be7)
2020-01-23 21:33:46 -08:00
Josef Schlehofer
162974f809
btrfs-progs: update to version 5.4.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit c864563372)
2020-01-19 11:55:42 +01:00
Hannu Nyman
d22c35e588 nano: update to 4.7
Update nano to version 4.7

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit c62f8962ba)
2019-12-29 15:20:25 +02:00
Karel Kočí
38c0db06bd
shadow: change default encryption method from DES to SHA512
Busybox in default uses SHA512 as well.

On big ditribution this default is sourced from PAM. That means that
shadow reads pam settings and uses that. OpenWrt in most cases does not
have PAM installed and in such case shadow fallbacks to its own default
which is DES. This just changes that default to SHA512 which is
consistent with rest of the system.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
(cherry picked from commit f27ce05a58)
2019-12-21 21:53:08 +01:00
Josef Schlehofer
cbb329ac78
btrfs-progs: Update to version 5.4
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 101791a236)
2019-12-21 21:52:32 +01:00
Markus Weippert
34b31493e8 restic: add package
Signed-off-by: Markus Weippert <markus@gekmihesg.de>
2019-12-21 10:20:15 +01:00
Marcin Jurkowski
b4f3e50856 collectd: add vmem uci config
Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
(cherry picked from commit 3763b238e7)
2019-12-12 22:07:29 +02:00
Josef Schlehofer
710c325be9
nnn: Update to version 2.8.1
Removed findutils-xargs dependency due to added busybox support in version 2.8

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 2c22dcd3dc)
2019-12-07 14:24:13 +01:00
Hannu Nyman
3507167719
Merge pull request #10682 from hnyman/collectd-backport
[19.07] Collectd: backport changes from master to 19.07
2019-12-04 19:52:16 +02:00
Jeffery To
6aebfb2dfc byobu: Update to 5.130
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from 51a047b96f)
2019-12-02 21:23:34 +08:00
Jeffery To
879a1e25bf byobu: Update to 5.129
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from 492cbd53cb)
2019-12-02 21:23:18 +08:00
Hannu Nyman
0116633d02 nano: update to 4.6
Update nano editor to version 4.6

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 421dae85a3)
2019-12-01 14:21:13 +02:00
Hannu Nyman
a9b5f06578 collectd: update to 5.10.0
Update collectd to 5.10.0
* leave new plugins as disabled for now (procevent, sysevent)
* refresh patches. Remove unenecessary version fix

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry-picked for 19.07. PKG_RELEASE=2 as cpufreq was already backported)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-11-30 19:19:10 +02:00
Hannu Nyman
e33b3f8cab collectd: adjust reaction to ntp time at boot time
Adjust the reaction to a polling interval timestamp that references
to a past time.

Past timestamps can happen when ntpd adjusts router's time after network
connectivity is obtained after boot. Collectd shows warnings for each plugin
as it tries to enter new values with the same timestamp as the previous one.

This patch adjusts the next polling time to be now+2 seconds for the main
loop and for the plugin-specific read loops. That avoids the warnings, but
does not overreact in case there are shorter polling intervals or the time
gets adjusted for other reasons.

Additionally some debug statements are aded, but they are visible only
when --enable-debug configure option is used in Makefile.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry-picked for 19.07)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-11-30 19:15:12 +02:00
Hannu Nyman
a681b766e8 collectd: update to 5.9.2
Update collectd to 5.9.2

Mainly bug fixes:
dfb9dd09fe/ChangeLog

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry-picked for 19.07)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-11-30 19:15:12 +02:00
Florian Eckert
bbf35c7360 collectd: bump PKG_PACKAGE version
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry-picked for 19.07)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-11-30 19:15:12 +02:00
Florian Eckert
e7ed367020 collectd: add reload and service trigger
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry-picked for 19.07)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-11-30 19:15:12 +02:00
Florian Eckert
ac29330c5b collectd: add logfile plugin definitions
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry-picked for 19.07)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-11-30 19:15:12 +02:00
Florian Eckert
5dd077e951 collectd: add iptables uci config
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry-picked for 19.07)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-11-30 19:15:12 +02:00
Florian Eckert
6884430d49 collectd: add network uci config
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry-picked for 19.07)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-11-30 19:15:12 +02:00
Florian Eckert
df7d418c97 collectd: add curl uci config
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry-picked for 19.07)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-11-30 19:15:12 +02:00
Florian Eckert
53e546854a collectd: add apcups uci config
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry-picked for 19.07)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-11-30 19:15:12 +02:00
Florian Eckert
eb67983518 collectd: add new memory config values
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry-picked for 19.07)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-11-30 19:15:12 +02:00
Florian Eckert
0f9ae62e2c collectd: add new cpu config values
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry-picked for 19.07)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-11-30 19:15:12 +02:00
Yousong Zhou
4d54186f17 collectd: use uname to get default Hostname
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry-picked for 19.07)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-11-30 19:15:12 +02:00
Yousong Zhou
2bd0a56f09 collectd: log stderr output
Collectd without log type plugin loaded will write log lines to stderr.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry-picked for 19.07)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-11-30 19:15:12 +02:00
Florian Eckert
c4083af7b7 collectd: enable threshold plugin
The only action the Threshold plugin takes itself is to generate and
dispatch a notification. Other plugins can register to receive
notifications and perform appropriate further actions.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry-picked for 19.07, line numbers adjusted)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-11-30 19:15:12 +02:00
Florian Eckert
1920eb60fe collectd: move jshn.sh include to remove warning
Redmine-patch-id: 3680
If I build an image with the imagebuilder I get the following output
during image building:

../root-x86/etc/init.d/collectd: line 4: /usr/share/libubox/jshn.sh:
No such file or directory

To remove this messsage move include to the needed postion, so that the
message does not occur during image building on the host system anymore.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry-picked, modified to match 19.07)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-11-30 19:15:12 +02:00
Hannu Nyman
00803ffc91 collectd: enable cpufreq module for ipq40xx and brcm2708_bcm2709
As some ipq40xx CPUs support frequency scaling, enable building
collectd-mod-cpufreq for ipq40xx (for private builds) and
its package architecture brcm2708_bcm2709 (for buildbot)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 5e0d5c9c7f)
2019-11-30 13:01:21 +02:00
Josef Schlehofer
d1bab6ef8a
nnn: Add a new package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit 32cbfce051)
2019-11-21 09:17:03 +01:00
Etienne Champetier
a907174c3a prometheus-node-exporter-lua: bump version
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
(cherry picked from commit 50b825e7fa)
2019-11-17 18:28:41 -08:00
Zoltan Haindrich
928915f4a6 prometheus-node-exporter-lua: an unavaliable wifi interface may have stopped the scraper from functioning
Signed-off-by: Zoltan Haindrich <kirk@rxd.hu>
(cherry picked from commit 7bec619f53)
2019-11-17 18:28:13 -08:00
Andre Heider
0e69b14733 prometheus-node-exporter-lua: respawn the process
Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit a3af4c3691)
2019-11-17 18:28:13 -08:00
Andre Heider
56e0861f77 prometheus-node-exporter-lua: add a config reload trigger
Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit d8e637d064)
2019-11-17 18:28:12 -08:00
Andre Heider
ee353e6036 prometheus-node-exporter-lua: switch config to openwrt interface names
Drop the config knob 'listen_address' and introduce 'listen_interface'
and 'listen_ipv6' instead.

'listen_interface' takes an openwrt interface name ('loopback', 'lan',
'wan' etc, or "*" for all), from which the primary IP is used to listen
on. If 'listen_ipv6' is set to '1', the IPv6 adress will be used, IPv4
elsewise.

procd interface triggers are now combined with this, so if the listen
interface is not yet configured when the init script is executed, the
process start is defered, and the trigger takes care of that once
the interface is ready.

Fixes #7670

Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit 48568ad9f9)
2019-11-17 18:28:12 -08:00
Richard Yu
0031c87468 ttyd: update to 1.5.2 and add init script
Signed-off-by: Richard Yu <yurichard3839@gmail.com>

cherry picked from commit 9e325b47cb
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-11-17 15:53:07 +02:00
Shuanglei Tao
56a8ebb769 ttyd: update to 1.5.1
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>

cherry picked from commit 6181693bad
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-11-17 15:51:56 +02:00
Yousong Zhou
2a64b3a440 collectd: remove the patch scaling ping_droprate from 0-1 to 0-100
Upstream project's behaviour of reporting this data source in range 0-1
is used by at least CentOS 7 collectd 5.8.1, very likely the same
behaviour is also in widely use by other distributions.

The change is important for providing consistent experience across
collectd deployments on different environments

Ref: https://github.com/collectd/collectd/pull/3244
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry picked from commit 2f66fa5c23)
Ref: https://github.com/openwrt/luci/issues/3308
2019-11-14 11:10:26 +00:00
Hauke Mehrtens
168c2928f9 io: Add TARGET_LDFLAGS to fix PIE
Add the OpenWrt TARGET_LDFLAGS to the compile command to activate PIE support
for the io tool when it is activated globally in OpenWrt.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
(cherry-picked from b46d21a54e)
2019-11-13 23:43:46 +01:00
Hauke Mehrtens
0441927b24 io: Fix printing 4 bytes memory on 64 bit systems
On 64 bit Linux systems long is 8 bytes long, on 32 bit Linux systems it
is 4 bytes long. Here we want to print 4 bytes and not 8 bytes, use int
instead of long.

This fixes printing 4 bytes on 64 bit systems.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry-picked from 9936e16b72)
2019-11-13 23:43:40 +01:00
Hauke Mehrtens
1f082d84dd io: Open /dev/mem with O_SYNC for uncached access
Only when /dev/mem is opened with O_SYNC the write and *read* is done
uncached. We saw wrong values read out from the hardware without setting
O_SYNC, the busybox devmem tool showed different values, when O_SYNC is
also set for the io tool, it reads out the same values as devmem.
When looking at the drivers/char/mem.c file in the kernel it is behaving
differently based on the O_DSYNC flag.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
(cherry-picked from 90df0f3e24)
2019-11-13 23:43:36 +01:00
Josef Schlehofer
3f3c613ac5
btrfs-progs: Update to version 5.3.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit 93254e6)
2019-11-05 23:48:01 +01:00
Rosen Penev
3d4c934584 sispmctl: Reduce ipk size
Do not install static libraries or symlinks as actual files.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 238d6e1f90)
2019-11-03 10:31:56 -08:00
Rosen Penev
248c3d01fa sispmctl: Update to 4.2
Added license file.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 5decb769f4)
2019-11-03 10:31:56 -08:00
Peter Liedholm
22ab1fcefe telldus-core: Doxygen in-file was not found.
Signed-off-by: Peter Liedholm <PeterFromSwe884@gmail.com>
(cherry-picked from 2a36c0421e)
2019-11-03 10:31:56 -08:00
Rosen Penev
42c85958fd treewide: Replace MD5SUM with HASH
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 5ae85b7952)
2019-11-03 10:31:55 -08:00
Sebastian Kemper
5bc62e00aa vim/host: fix build failures
Indeterminably vim/host fails on the build bots:

objects/fileio.o: In function `readfile':
fileio.c:(.text+0x5b3f): undefined reference to `libiconv_close'
fileio.c:(.text+0x61ad): undefined reference to `libiconv_close'
fileio.c:(.text+0x62f6): undefined reference to `libiconv'
fileio.c:(.text+0x6794): undefined reference to `libiconv_close'
objects/fileio.o: In function `buf_write_bytes':
fileio.c:(.text+0xa1fe): undefined reference to `libiconv'
fileio.c:(.text+0xa54a): undefined reference to `libiconv'
objects/fileio.o: In function `buf_write':
fileio.c:(.text+0xaf48): undefined reference to `libiconv_close'
objects/mbyte.o: In function `my_iconv_open.part.18':
mbyte.c:(.text+0x2ced): undefined reference to `libiconv_open'
mbyte.c:(.text+0x2d3a): undefined reference to `libiconv'
mbyte.c:(.text+0x2d5f): undefined reference to `libiconv_close'
objects/mbyte.o: In function `convert_setup_ext':
mbyte.c:(.text+0x33bf): undefined reference to `libiconv_close'
objects/mbyte.o: In function `string_convert_ext':
mbyte.c:(.text+0x363c): undefined reference to `libiconv'
collect2: error: ld returned 1 exit status
link.sh: Linking failed
Makefile:1949: recipe for target 'vim' failed

This is addressed by pulling in libiconv/host. Also configure switches
are added that keep external dependencies to a minimum, for instance
avoiding to link to X11 or gettext.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry-picked from dc727a2430)
2019-11-03 10:31:55 -08:00
Josef Schlehofer
4a852e9df4
btrfs-progs: Update to version 5.3
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit 8262696cc4)
2019-10-25 11:52:56 +02:00
Sven Roederer
3525e3e55c collectd: build RouterOS modules
This allows collectd to get data of Mikrotik devices in a improved way than via SNMP.

closes #10327

Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
cherry-pick does not apply cleanly changed PKG_RELEASE number.
(cherry picked from commit 4261f45734)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-10-22 14:45:49 +02:00
Rosen Penev
2eee84205e klish: Remove unused libstdcpp dependency
This is not a C++ project.

Added PKG_BUILD_PARALLEL for faster compilation.

Cleaned up Makefile to modern standards.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from b288514308)
2019-10-21 14:19:03 -07:00
Rosen Penev
6e4c17eabf gptfdisk: Switch to using uClibc++
Added patches sent upstream to fix usage with uClibc++.

Cleaned up license information.

Added several size optimizations.

Several other Makefile cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-19 12:00:44 -07:00
Jeffery To
236e6a08cf gammu: Remove python dependency, fix lib symlinks
This removes the python dependency from the package; according to the
maintainer[1][2] the software does not depend on python.

This also fixes the symlinks for libGammu.so and libgsmsd.so.
Previously, the symlinks were overwritten by $(INSTALL_BIN) with copies
of their sources.

[1]: https://github.com/openwrt/packages/issues/8893#issuecomment-539136531
[2]: https://github.com/openwrt/packages/issues/8893#issuecomment-539152794

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from 027ed92f6e)
2019-10-15 01:17:48 +08:00
Rosen Penev
708fac7b3b gammu: Update to 1.41
Remove upstreamed patch.

Switched conditional dependency to python3 in preparation for deprecating
Python 2.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from 99bbb8af31)
2019-10-15 01:17:04 +08:00
Jeffery To
2685ba269f shinit: Add package
This package adds support for /etc/shinit and ~/.shinit files, which
contain commands to be run at the start of all interactive shells.
(/etc/profile and ~/.profile are read for login shells only.)

This is useful for those who regularly open non-login, interactive
shells, for example users of GNU Screen or tmux.

(This is based on a patch[1] I submitted for OpenWrt master, but there
does not appear to be much interest in merging the change.)

(This package uses the ENV shell variable, of which the POSIX standard
has a brief description[2]. The dash manpage[3] also describes how the
ENV variable is handled. (dash is the basis for busybox ash.))

[1]: https://patchwork.ozlabs.org/patch/1094493/
[2]: https://pubs.opengroup.org/onlinepubs/9699919799//utilities/V3_chap02.html#tag_18_05_03
[3]: https://manpages.debian.org/buster/dash/dash.1.en.html#Invocation

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from c04dff7965)
2019-10-12 04:39:31 +08:00
Hannu Nyman
3b1cf245fe nano: update to 4.5
Update nano editor to version 4.5.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit bfd66f2d23)
2019-10-07 18:20:40 +03:00
Hannu Nyman
bb1c19ffb8 haveged: convert to procd
Convert haveged init script to use procd

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 4f717a6f65)
2019-10-01 23:14:14 +03:00
Hannu Nyman
c9ca6037a7 haveged: update to 1.9.8
Update haveged to 1.9.8

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit e5b308308b)
2019-10-01 22:10:30 +03:00
Nuno Goncalves
55ae829a14 watchcat: make compatible with updated busybox ash array handling (closes #10127)
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2019-10-01 19:42:53 +02:00
Richard Yu
2d6c0988bc
dump1090: update to 3.7.2
and use GitHub release tarball instead of git

Signed-off-by: Richard Yu <yurichard3839@gmail.com>
(cherry-picked from a6a0f4edee)
2019-09-27 13:07:43 -07:00
Rosen Penev
11e9b5e969
dump1090: Update to version 3.7.1
Repository was moved.

Also cleaned up Makefile slightly.

Ran init script through shellcheck.

Added PKG_BUILD_PARALLEL for faster compilation.

Added several CFLAGS and LDFLAGS for smaller size.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from f3245e6c7d)
2019-09-27 13:07:18 -07:00
Rosen Penev
f3473adf5f
cmdpad: Fix compilation with musl
When passing -Wimplicit-function-declaration

Also got rid of std=gnu89. It's easy to patch out.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 1b5e4883a4)
2019-09-27 13:05:38 -07:00
Rosen Penev
2b1f19c992
gammu: Update to 1.40.0
Cleaned up Makefile for consistency between packages.

Switched to CMAKE_INSTALL to get rid of the InstallDev section.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 2e2929366b)
2019-09-27 13:03:45 -07:00
Rosen Penev
34ac8a8e73
ykpers: Update to 1.20.0
Cleaned up Makefile for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from db6e6ac24a)
2019-09-27 13:00:22 -07:00
Rosen Penev
8e95b05074
zstd: Update to 1.4.3
Bugfix release.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 133a02a115)
2019-09-27 12:58:40 -07:00
Jan Pavlinec
937b19ebb7
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry-picked from bf2f1a0263)
2019-09-26 19:36:27 -07:00
Eneas U de Queiroz
8cfab80332
logrotate: move config option to menu
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry-picked from f6c9e2bacd)
2019-09-26 19:36:25 -07:00
Rosen Penev
14f80a7302
logrotate: Add ACL support
Various Makefile cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 788318625d)
2019-09-26 19:36:25 -07:00
Sven Eckelmann
1142f52078
treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
(cherry-picked from bbb1ea7345)
2019-09-26 19:36:25 -07:00
Sven Eckelmann
186dc60443
ap51-flash: upgrade package to latest release 2019.0
* improved Zyxel firmware detection
* introduced optional MAC address filtering
* added support for:

  - Plasma Cloud PA300
  - Plasma Cloud PA1200
  - Plasma Cloud PA2200

Signed-off-by: Sven Eckelmann <sven@narfation.org>
(cherry-picked from 22062b10c6)
2019-09-26 19:36:23 -07:00
Luiz Angelo Daros de Luca
8f2dccc568
hplip: bump to 3.19.6
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
(cherry-picked from fdeb5f8171)
2019-09-26 19:36:23 -07:00
Rosen Penev
efe8842b51 crconf: Pass CFLAGS properly
CFLAGS were not being passed, breaking ASLR builds.

Switched to using PKG_SOURCE_DATE for the version.

Added PKG_BUILD_PARALLEL for faster compilation.

Added license information.

Small Makefile cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 35a258a55c)
2019-09-23 11:58:27 -07:00
Karel Kočí
4aa305c99d
bigclown-firmware-tool: update to version 1.4.1
This release updates: bcf create --from

There are no dependencies changes introduced by upstream and changes are
of limited character.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
(cherry-picked from commit 7741e5db4b)
2019-09-17 08:43:21 +02:00
Karel Kočí
c23b682767
bigclown-firmware-tool: add new package
This is tool to flash/manage firmware in Bigclown modules.

Signed-off-by: Karel Kočí <cynerd@email.cz>
(cherry-picked from commit 7950442dff)
2019-09-17 08:43:09 +02:00
Karel Kočí
b5a451cfe4
bigclown-mqtt2influxdb: update to version 1.2.0
This version introduces new option -d that makes service not to exit on
error. This is brutal solution but is required to protect against
service failure when remote resource is down.

bigclown-mqtt2influxdb is service moving data from MQTT to InfluxDB and
both of those services can and potentially are remote. The original
implementation where it failed when service goes down is not ideal
because network outage or target server outage can later require this
service restart.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
(cherry-picked from commti 508e2b865a)
2019-09-17 08:42:09 +02:00
Josef Schlehofer
5be09b19ab
btrfs-progs: Update to version 5.2.2
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit c42b279)
2019-09-12 11:08:24 +02:00
Hannu Nyman
4fcdefd5c7 haveged: update to 1.9.6
Update haveged to 1.9.6

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit c933ac5dcb)
2019-09-02 20:59:59 +03:00
Hannu Nyman
8893b467cc nano: update to 4.4
Update nano editor to 4.4

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit d9347059a8)
2019-08-25 20:40:46 +03:00
Eneas U de Queiroz
0c8ad0cc12
squashfs-tools: need to include sys/sysmacros.h
The inclusion of <sys/sysmacros.h> by <sys/types.h> was deprecated and
removed.  This is causing major, minor, and makedev to be undefined.

The patch is an upstream commit fixing it.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-08-18 20:22:42 -07:00
Etienne Champetier
f07e5b5b2c prometheus-node-exporter-lua: add target & system to OpenWrt collector
Before:
node_openwrt_info{revision="r10756+1-7546be6007",model="GL.iNet GL-AR150",id="OpenWrt",board_name="glinet,gl-ar150",release="SNAPSHOT"} 1

After:
node_openwrt_info{revision="r10756+1-7546be6007",target="ath79/generic",board_name="glinet,gl-ar150",id="OpenWrt",model="GL.iNet GL-AR150",release="SNAPSHOT",system="Atheros AR9330 rev 1"} 1

Fixes #9730, replace #9735

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
(cherry picked from commit a14bed1bc9)
2019-08-15 20:22:08 -07:00
Rosen Penev
18a8d8b64e
gddrescue: Add uClibc-ng support
It turns out, this breaks only when compiling with both uClibc-ng and
uClibc++. If the libc or libc++ gets swapped out, it compiles fine.

libstdcpp is fine because it already undefs these macros. The actual
bug is probably in uClibc-ng but this is a fine workaround.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from d6af6a4d75)
2019-08-08 10:27:05 -07:00
Karel Kočí
3cc81898b0
btrfs-progs: scan devices in preinit instead of init script
There is no gain to do device scan in init. Commonly we want to always
scan BTRFS devices to ensure that after boot raids are correctly linked.
It should be done before any init script tries to mount any raid FS.

Comparing init scripts and preinit scripts there are I think two primary
considerations. First is if user is expected to restart/reload/stop
given service on will. I think that there is no such reason for this as
user can easily enough just call btrfs utility it self. Second
consideration is if it makes sense to have it optional. This means if we
want to have ability to enable and disable given service. I think that
there is no such need in this case. It is pretty much doing nothing if
you don't have BTRFS FS connected and when you have you probably want to
scan it.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-08-06 09:59:45 +02:00
Karel Kočí
e8da8c8016
btrfs-progs: use box version of btrfs tool (busybox like)
This instead of building every tool separately builds one btrfs binary
and additional tools are links to this binary. This is same approach as
busybox is using.

This splits list of tools to two. boxprogs are tools that are boxed to
code btrfs binary and progs are tools that are not.
This also overload default all make target of Build/Compile and instead
builds (unified) btrfs.progs and separate progs.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-08-06 09:59:39 +02:00
Josef Schlehofer
af369bfc47
btrfs-progs: Update to version 5.2.1
- Move Depends under URL
- Fix PKG_LICENSE to use correct SPDX License Identifier instead of
deprecated one

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-08-06 09:59:31 +02:00
Rosen Penev
6c04684b51
mt-st: Add missing header
New version of musl no longer includes this header internally.

Removed several unnecessary variables in Makefile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 4cda68c72b)
2019-08-05 12:02:35 -07:00
Rosen Penev
212710c929
xz: Remove bash dependency
Bash is not needed here. These scripts are POSIX compliant.

This was originally added as the configure script looks for /bin/bash
locally. Passing gl_cv_posix_shell overrides this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from d0e3aa7493)
2019-08-05 12:02:15 -07:00
Rosen Penev
52634db76f
findutils: Add missing header
New version of musl no longer internally includes this header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 8ca5cf042d)
2019-08-04 15:35:09 -07:00
Rosen Penev
c205177702
findutils: Fixed up LICENSE information.
Also cleaned some whitespace.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from fca20e2b2f)
2019-08-04 15:34:44 -07:00
Rosen Penev
c997675a65
Merge pull request #9627 from jefferyto/slide-switch-0.9.5-openwrt-19.07
[openwrt-19.07] slide-switch: Update to 0.9.5
2019-08-04 06:47:51 -07:00
Jeffery To
b69270f14b slide-switch: Update to 0.9.5
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-08-02 15:53:59 +08:00
Sebastian Kemper
771bc141c4 mariadb: security bump to 10.2.26
mariadb: security bump to 10.2.26

New upstream release. Addresses:

  CVE-2019-2805
  CVE-2019-2740
  CVE-2019-2739
  CVE-2019-2737
  CVE-2019-2758

Package updates:

  - includes "THIRDPARTY" in PKG_LICENSE_FILES
  - drops client_ed25519 as a dynamic plugin and install it with the lib
    as per upstream decision
  - refreshes patches

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-08-01 21:57:42 +02:00
Jeffery To
43a9da0136 prometheus: Fix build for mips64/mips64el
Prometheus uses an older version of fsnotify, which uses a system call
(unix.InotifyInit) that is not implemented for mips64/mips64el.

This patches Prometheus to use a newer version of fsnotify that uses a
different system call (unix.InotifyInit1) that should be available on
all Linux systems.

Fixes #9494.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-07-23 04:30:39 +08:00
Rosen Penev
bce47d604a
dosfsutils: Properly fix iconv linking
Necessary when using libiconv.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from fbfe49d7ff)
2019-07-19 20:04:59 -07:00
Rosen Penev
f586d5e79e
gddrescue: Do not build with uClibc-ng
From the developer:

It seems that uClibc-ng is defining fgetc, fputc, feof, and ferror as
macros and not including them in std.

IMO this is a bug in uClibc-ng (maybe caused by lack of clarity in the
C++ standard), because even the C functions that are alowed to be
defined as macros (putc, getc) should be included in std for
consistency. Just imagine the chaos if std::getc were defined or
undefined depending on how it is implemented.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(9172e2828f)
2019-07-19 20:00:00 -07:00
Rosen Penev
3422ff8d97
flashrom: Add ARC support
Mainly endian definitions are needed.

Removed sys/io.h patch. It's a GNU header unsupported by uClibc-ng.

Cleaned up Makefile slightly.

Added HTTPS everywhere.

Added PKG_BUILD_PARALLEL for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 12378cd4d3)
2019-07-19 20:00:00 -07:00
Rosen Penev
ae6b12a6be
open2300: Switch to GitHub fork
It applies the single patch here as well as adding some fixes.

The upstream project is dead.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from d2af82a6f5)
2019-07-19 19:50:20 -07:00
Yousong Zhou
f49b61c2e7 coreutils: add alternatives support
Fixes openwrt/packages#9290

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry-picked from commit 9282044851)
2019-07-13 11:07:06 +00:00
Vladimir Ulrich
fa0c3b7baa zoneinfo: Updated to the latest release.
Signed-off-by: Vladimir Ulrich <admin@evl.su>
(cherry picked from commit 5df6ff15be)
2019-07-06 22:31:09 +03:00
Dirk Brenken
9e487fc79e
mc: update to 4.8.23
* bump to release 4.8.23, see
https://midnight-commander.org/wiki/NEWS-4.8.23
* (re-)enable VFS support by default

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 81eccbf480)
2019-07-01 16:05:06 +02:00