Commit Graph

1071 Commits

Author SHA1 Message Date
Hannu Nyman
fa3a118de8 collectd: uptime plugin: apply fix from upstream
Backport from master the fix for uptime plugin.
Adjust it for 5.5.3

  Uptime plugin fails to adjust for system time changes after boot.
  As Openwrt/LEDE routers usually do not have a RTC, the system time
  gets adjusted with NTP possibly after collectd has already started.
  But collectd continues to use the initial time set by 'sysfixtime',
  which can lead to incorrect uptime calculations.

  Apply a proposed fix from upstream that uses /proc/uptime

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-09-15 19:10:37 +03:00
Yousong Zhou
46014e360f coreutils: stdbuf: fix missing libstdbuf.so
Fixes #1674

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-06-19 14:47:49 +08:00
Yegor Yefremov
0f81b6e9bb canutils: rework recipe
Don't group any utilities but just list them all as they are.

Fixes:
https://github.com/openwrt/packages/issues/3695

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2017-05-12 20:54:03 +08:00
Hannu Nyman
d99ed231be Merge pull request #4300 from mrnuke/for-17.01-gpsd
utils/gpsd: Backport ncurses6 support from master
2017-05-08 10:14:49 +03:00
Hannu Nyman
90eb3b7abe collectd: build cpufreq also for armvirt target
Enable collectd-mod-cpufreq also for armvirt to make it
available for ipq806x devices in LEDE buildbot builds.

LEDE phase2 buildbot for arm_cortex-a15_neon-vfpv4 that is
the package arch for ipq806x, uses armvirt SDK instead of
ipq806x SDK.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-04-28 19:13:56 +03:00
Daniel Albers
5d28ddd0a0 nano: Update to version 2.7.5
Description: fixes a crash with zero-length regex matches and further updates

Signed-off-by: Daniel Albers <Daniel.Albers@public-files.de>

(cherry picked from commit 249ae1f164)
2017-04-28 18:29:16 +03:00
Hannu Nyman
94d7fd9a9a irqbalance: backport package from master
The purpose of irqbalance is to distribute hardware interrupts across
processors/cores on a multiprocessor/-core system in order to increase
performance.

Only the cmd-line tool is compiled and installed.

Run-tested with ipq806x / R7800.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

(cherry picked from commit c5913bd12d)
(cherry picked from commit c42ecd05a1)
(cherry picked from commit a1a96fc9fa)
2017-04-27 23:57:56 +03:00
Alexandru Gagniuc
18c7336d3a utils/gpsd: Backport ncurses6 support from master
Because gpsd FTBTS without this patch.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2017-04-25 12:07:04 -07:00
Christian Pointner
65172443e2 collectd: fix libgcrypt include dir
Signed-off-by: Christian Pointner <equinox@spreadspace.org>
2017-04-20 00:07:52 +02:00
Hannu Nyman
938db71418 collectd: upstream fix for vulnerabity in network plugin
Backport an upstream fix for a DDoS vulnerability in the
network plugin: CVE-2017-7401

The patch has been adapted from the fix for 5.6 branch,
as 5.5 is already EoL in practice.

Run-tested with R7800/ipq806x.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-04-19 12:20:53 +03:00
p-wassi
0135af5e52 utils/gpsd: remove hotplug script
Remove a hotplug script, which starts/stops gpsd with
attaching/detaching a PL2302 USB-UART device.

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
2017-02-05 19:42:53 +01:00
p-wassi
6dadfada60 utils/gpsd: (cosmetic) update config
Make the default config look like usual,
i.e.: indentation using tabs, single quotes, booleans 0/1

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
2017-02-05 19:42:53 +01:00
p-wassi
e9c58d08f0 utils/gpsd: Update to 3.16
Update gpsd to upstream release 3.16
The local patch is already included upstream, therefore
removed here.

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
2017-02-05 19:42:53 +01:00
Jo-Philipp Wich
8470cae730 coreutils: add libcap dependency to selected applets
If libcap happens to be present in the environment, coreutils will pick it up
and link some applets against it.

Since the idea of coreutils is to provide a full featured alternative to the
busybox applets, do not inhibit the optional dependency but explicitely
require libcap instead.

Fixes the following error spotted on the buildbots:

    Package coreutils-dir is missing dependencies for the following libraries:
    libcap.so.2

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-02-05 19:40:06 +01:00
Philip Prindeville
3d4048bd9f rng-tools: start rngd early enough to actually be useful
lighttpd starts at priority 50, but promptly calls getrandom() on
initialization (li_rand_reseed() and li_rand_device_bytes() from
server_init()). If /dev/urandom (which getrandom() uses by default)
doesn't have sufficient entropy, this will block.

Since Openwrt runs the startup scripts serially, this can block
initialization indefinitely.  I've seen 15-20 minutes typically.

Seeding the pool early on can quickly built sufficient entropy to
complete booting without blocking.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
(cherry picked from commit 901ef617c7)
2017-02-03 12:52:51 +02:00
Álvaro Fernández Rojas
5aa0c8b54b unzip: patch CVE-2014-9913 and CVE-2016-9844 vulnerabilities
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2017-01-23 17:54:52 +01:00
Toke Høiland-Jørgensen
68ea786449 flent-tools: Bump version
Contains bugfix from upstream.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2017-01-19 11:09:14 +01:00
Jonathan Bennett
f167378f3d nano: Update to version 2.7.4
Signed-off-by: Jonathan Bennett <JBennett@incomsystems.biz>
2017-01-15 14:45:38 -06:00
Michael Heimpold
cf56d18f80 open-plc-utils: update to commit 18b7e2a9a17f043fe8ac8b457680aafb1c249c55
This contains a fix for big endian systems.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-01-15 19:03:04 +01:00
Daniel Dickinson
ae9d95d9ec utils/gnupg: Bump version; use both PKG_HASH (sha256) and PKG_MD5SUM (md5sum)
Bump the version of gnupg and use new PKG_HASH for
sha256sum and PKG_MD5SUM for md5sum (for backwards
compatibility).

Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
2017-01-12 15:04:19 +08:00
Daniel Dickinson
cac89a3c60 utils/gnupg: Add myself as maintainer
@Nico seems MIA; @hnyman asked if I'd be interested
in taking over.  I'm willing so adding myself.

Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
2017-01-12 15:04:19 +08:00
Daniel Dickinson
933e84cc7f utils/gnupg: Add build of gpgv
gpgv is a stripped down gnupg useful for only verifying signatures.
Having this package can save space when all you need is signature
verification.

Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
2017-01-12 15:04:19 +08:00
Michael Heimpold
a0d4b804b1 open-plc-utils: update to commit 6a07d621583cb86ddf2fddcacb41cc4cf28bf33a
This fixes an alignment issue on some platforms, which renders
some tools, e.g. plcID, unusable.

While at, switch to xz compression for the tarball, drop an already
mainlined patch and remove a meanswhile absolete compiler switch.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-01-11 22:25:59 +01:00
Matthias Schiffer
3823ef9bc4 Merge pull request #3813 from NeoRaider/hostpkg
Use STAGING_DIR_HOSTPKG where appropriate
2017-01-11 21:54:09 +01:00
Daniel Golle
410ce3d4f5 ccid: update to version 1.4.26
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-01-11 02:09:20 +01:00
Daniel Golle
8d44169aa1 pcsc-lite: update to version 1.8.20
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-01-11 02:09:20 +01:00
Hannu Nyman
758184a3ee Merge pull request #3738 from diizzyy/patch-5
utils/xz: Update to 5.2.3 and update URLs
2017-01-10 21:06:31 +02:00
Daniel Engberg
8f1de0f400 utils/xz: Update to 5.2.3 and update URLs
Update to 5.2.3 and sync URLs with LEDE

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-01-10 20:02:26 +01:00
Matthias Schiffer
4a984a8d60 treewide: replace $(STAGING_DIR)/host and $(HOST_BUILD_PREFIX) with $(STAGING_DIR_HOSTPKG)
As both LEDE and OpenWrt have STAGING_DIR_HOSTPKG now, we can start to rely
on it. See 73b7f55424 for more information on
STAGING_DIR_HOSTPKG.

STAGING_DIR_HOSTPKG won't actually be changed before the first LEDE release
(it is equivalent to $(STAGING_DIR)/host), so this simple search/replace
cleanup is safe to apply. Doing this cleanup now will be useful for the
Gluon project (an OpenWrt/LEDE based firmware framework) for experimenting
with modifying STAGING_DIR_HOSTPKG before doing this in the LEDE upstream.

Also fixes a typo in the dbus Makefile ("STAGIND_DIR").

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2017-01-10 18:25:54 +01:00
Jo-Philipp Wich
cb1e8c2dd5 Merge pull request #3625 from p-wassi/grep_226
utils/grep: update to 2.26
2017-01-06 17:03:28 +01:00
Daniel Engberg
63571b38d9 utils/haveged: Add SF as primary download site
Add Sourceforge as primary download site and main site as secondary.
Drop fedoraproject.org repo

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-01-06 00:43:10 +01:00
Hannu Nyman
3195925ccb haveged: change hash to SHA256
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-05 23:55:52 +02:00
Hannu Nyman
8b8b93ad6c ccrypt: change hash to SHA256
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-05 23:22:51 +02:00
Daniel Engberg
7daf631911 utils/tmux: Update to 2.3
Update tmux to 2.3

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-01-04 00:56:13 +01:00
Jean-Michel Lacroix
5c9665a070 bandwidthd: update to 2.0.1-34, sqlite support and SMTP tracking
Addition of sqlite storage
Tracking of SMTP traffic instead of P2P traffic
Based on NethServer bandwidthd implementation

Signed-off-by: Jean-Michel lacroix <lacroix@lepine-lacroix.info>
2017-01-01 12:44:56 -05:00
Hannu Nyman
af52f49858 Merge pull request #3689 from hnyman/c553
collectd: update to 5.5.3
2016-12-28 23:51:45 +02:00
Álvaro Fernández Rojas
ea2115ae01 dump1090: update to latest version
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-12-27 19:53:00 +01:00
Daniel Dickinson
d811a84077 utils/tar: Fix tar build dependency and CVE-2016-6321
Should be PKG_BUILD_DEPENDS not BUILD_DEPENDS

Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-12-27 19:52:56 +01:00
Álvaro Fernández Rojas
6efdda825b Merge pull request #3535 from p-wassi/utils_zip_LFS
utils/zip: fix LARGE_FILE_SUPPORT in configure script
2016-12-27 18:21:49 +01:00
Hannu Nyman
ea44014936 collectd: update to 5.5.3
Update collectd to 5.5.3

Release notes at https://github.com/collectd/collectd/releases/tag/collectd-5.5.3

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-22 17:25:05 +02:00
Hannu Nyman
f849713743 nano: update to 2.7.2
Update nano to version 2.7.2

Compile and run tested on ipq806x.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-22 12:38:17 +02:00
Jo-Philipp Wich
98e3fbff59 Merge pull request #3605 from bittorf/mysqld-allow_spaces_in_config
mysql-server: initscript: allow spaces in 'mysql-config' datadir
2016-12-20 16:20:26 +01:00
Hauke Mehrtens
5f54e6c61e io: add io-tool
This add the io tool from the old package feed.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2016-12-17 15:20:05 +01:00
Dominik Menke
8d441a568c ecdsautils/libecdsautil: add 0.3.2.20160630
These changes are a direct copy of [1]. The original commit
messages were:

> commit 0a6411b56b9edeba1809ffe45c03dbb7261bf45c
> Author: Matthias Schiffer <mschiffer@universe-factory.net>
> Date:   Sun May 8 11:39:22 2016 +0200
>
> ecdsautils: update to current git, add libecdsautil
>
> The addition of libecdsautil required us to switch from statically
> linked libuecc to a shared library (as we also want shared
> libecdsautil).

> commit 05bc59f3196b1dc05afe845e1df0073e40f0757d
> Author: Nils Schneider <nils@nilsschneider.net>
> Date:   Mon Jul 21 14:51:42 2014 +0200
>
> ecdsautils: update to v0.3.2

> commit db7d9410b3e21f5770f28a3c537ba6a681c24e62
> Author: Nils Schneider <nils@nilsschneider.net>
> Date:   Thu Jul 10 16:28:10 2014 +0200
>
> ecdsautils: download using git instead of http

> commit 3a1b6541b43d4801608c391d64582af41e7a155a
> Author: Nils Schneider <nils.schneider@gmail.com>
> Date:   Wed Feb 6 13:30:26 2013 +0100
>
> Add ecdsautils v0.2

[1]: 0a6411b56b/utils/ecdsautils/Makefile

Signed-off-by: Dominik Menke <dom@digineo.de>
2016-12-14 10:48:32 +01:00
Yousong Zhou
7b812e8fdd qemu: build sub-packages only for selected targets
While at it, move these pacakges to submenu Utilities -> Virtualization

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-12-13 21:15:33 -06:00
Yousong Zhou
3aa9ece43c qemu: virtio-console-helper as a separate package
While at it, update copyright header.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-12-11 21:32:22 -06:00
Yousong Zhou
c778ff5714 qemu: packaging target {x86_64,arm}-softmmu and friends
At the moment, only build these softmmu emulators for x86_64 and sunxi
target.  The decision was made for the following reasons

 - It seems that interests of virtualization with qemu are mostly from
   x86, and ARM recently.
 - x86, sunxi boards/boxes capable of running qemu with accel=kvm are more
   widely available
 - Not all host, target combinations of qemu works, or even compiles
 - Extra maintenance work and server resources

Test results are as the following

 - Nested vmx works: lede-qemu-x86_64-kvm on lede-qemu-x86_64-kvm
 - KVM on Cubieboard2 works
 - tcg with malta works: lede-qemu-malta-tcg on lede-qemu-malta-tcg.
   But it's too slow to be useful thus not included in this version
 - mips64 host does not compile

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-12-11 21:32:22 -06:00
Yousong Zhou
83f0cfb71a qemu: bump to version 2.6.2
- use CXX_DEPENDS instead of explictly requiring libstdcpp
 - use PKG_INSTALL_DIR for packaging qemu-ga
 - explicitly --disable-docs

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-12-11 21:32:22 -06:00
p-wassi
024aec7a7e utils/grep: update to 2.26
Update grep to upstream release 2.26

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
2016-12-05 20:55:52 +01:00
p-wassi
1fc42dbf58 utils/avrdude: update to 6.3
Update avrdude to upstream release 6.3

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
2016-12-05 08:15:44 +01:00