Commit graph

1570 commits

Author SHA1 Message Date
Deng Qingfang
3afd619828 lm-sensors: install libsensors using CP instead of INSTALL_DATA
INSTALL_DATA turns all of the symlinks to files, increasing size.

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
(cherry-picked from 3417ee0122)
2019-06-14 11:44:37 -07:00
Sebastian Kemper
2eb2a94da4 mariadb: bump to 10.1.39
Fixes CVE-2019-2614 and CVE-2019-2627.

Added PKG_CPE_ID.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-05-02 22:09:25 +02:00
Rosen Penev
759e836746
Merge pull request #8772 from neheb/oa
[18.06] oath-toolkit: Add patch from Fedora to fix compilation
2019-04-30 11:49:37 -07:00
Rosen Penev
ddc48c3d5a
bonnie++: Remove wrongly added patch during cherry-pick
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-27 17:40:18 -07:00
Hannu Nyman
a8316a5c6c nano: update to 4.2
* update nano to 4.2

Release notes at https://nano-editor.org/news.php

2019.04.24 - GNU nano 4.2
* The integrated spell checker does not crash when 'spell' is missing.
* Option --breaklonglines works also when --ignorercfiles is used.
* Automatic hard-wrapping is more persistent in pushing words to the
  same overflow line.

Tested with ipq806x/R7800 and mvebu/WRT3200ACM

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit aee8628696)
2019-04-25 19:26:11 +03:00
Rosen Penev
850126c0de
oath-toolkit: Add patch from Fedora to fix compilation
Probably a result of GCC7 that it fails now.

Added PKG_CPE_ID for proper CVE tracking.

Added PKG_BUILD_PARALLEL for faster compilation.

Reorganized Makefile slightly for consistency with other packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-23 11:41:11 -07:00
Rosen Penev
0a4f26f3c5
cmdpad: Fix compile
Since the switch to GCC7, this has not compiled as it assumes gnu89 behavior.

-fgnu89-inlining is not enough so use std=gnu89.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-23 11:29:03 -07:00
Rosen Penev
76132b0443 bonnie++: Update to 1.98
This version contains NVME fixes.

Edited the patches to modify the package Makefile directly so as to reduce
hacks in the OpenWrt Makefile.

Added LTO support to lower filesize by ~4KB.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-22 23:05:30 -07:00
Rosen Penev
df7f21bcdc
Merge pull request #8718 from neheb/lcd
[18.06] lcd4linux: Update to 1204
2019-04-22 22:59:55 -07:00
Rosen Penev
9b5b23f442
lcd4linux: Update to 1204
Very minor bugfix.

Also adjusted standard to gnu89 to fix compilation issues (lot of missing
prototypes).

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-18 11:08:09 -07:00
Rosen Penev
c26a03a1d6
setserial: Don't build docs to remove nroff dependency
Buildbots are failing as they lack nroff.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-18 11:02:37 -07:00
Hannu Nyman
c9aedd9a56 nano: update to 4.1
* update nano to 4.1
* implement Makefile style changes proposed in #8483

Release notes at https://nano-editor.org/news.php

2019.04.15 - GNU nano 4.1
* By default, a newline character is again automatically added at the
  end of a buffer, to produce valid POSIX text files by default, but
  also to get back the easy adding of text at the bottom.
* The now unneeded option --finalnewline (-f) has been removed.
* Syntax files are read in alphabetical order when globbing, so that
  the precedence of syntaxes becomes predictable.
* In the C syntax, preprocessor directives are highlighted differently.
* M-S now toggles soft wrapping, and M-N toggles line numbers.
* The jumpy-scrolling toggle has been removed.
* The legacy keystrokes ^W^Y and ^W^V are recognized again.
* Executing an external command is disallowed when in view mode.
* Problems with resizing during external or speller commands were fixed.

Tested with ipq806x R7800

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 5c212b1a13)
2019-04-17 19:34:56 +03:00
Hannu Nyman
31d279c963 nano: update to 4.0
Update nano editor to version 4.0.

Release notes at
http://git.savannah.gnu.org/cgit/nano.git/plain/NEWS?h=v4.0

 2019.03.24 - GNU nano 4.0 "Thy Rope of Sands"
 * An overlong line is no longer automatically hard-wrapped.
 * Smooth scrolling (one line at a time) has become the default.
 * A newline character is no longer automatically added at end of buffer.
 * The line below the title bar is by default part of the editing space.
 * Option --breaklonglines (-b) turns automatic hard-wrapping back on.
 * Option --jumpyscrolling (-j) gives the chunky, half-screen scrolling.
 * Option --finalnewline (-f) brings back the automatic newline at EOF.
 * Option --emptyline (-e) leaves the line below the title bar unused.
 * <Alt+Up> and <Alt+Down> now do a linewise scroll instead of a findnext.
 * Any number of justifications can be undone (like all other operations).
 * When marked text is justified, it becomes a single, separate paragraph.
 * Option --guidestripe=<number> draws a vertical bar at the given column.
 * Option --fill=<number> no longer turns on automatic hard-wrapping.
 * When a line continues offscreen, it now ends with a highlighted ">".
 * The halfs of a split two-column character are shown as "[" and "]".
 * A line now scrolls horizontally one column earlier.
 * The bindable functions 'cutwordleft' and 'cutwordright' were renamed
   to 'chopwordleft' and 'chopwordright' as they don't use the cutbuffer.
 * The paragraph-jumping functions were moved from Search to Go-to-Line.
 * Option --rebinddelete is able to compensate for more misbindings.
 * Options --morespace and --smooth are obsolete and thus ignored.
 * The --disable-wrapping-as-root configure option was removed.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit f1d51dbf76)
2019-03-24 19:32:58 +02:00
Sebastian Kemper
9ffcfea198 mariadb: bump to 10.1.38
Upstream Release Notes:

- MDEV-17475: Maximum value of table_definition_cache is now 2097152
- MDEV-13671: InnoDB should use case-insensitive column name comparisons
  like the rest of the server
- ALTER TABLE fixes: MDEV-17230, MDEV-16499, MDEV-17904, MDEV-17833,
  MDEV-17470, MDEV-18237, MDEV-18016
- Improvements to InnoDB page checksum, recovery, and Mariabackup:
  MDEV-17957, MDEV-12112, MDEV-18025, MDEV-18279, MDEV-18183
- Galera
  - MDEV-15740: Galera durability fix
  - New configuration variable wsrep_certification_rules, used for
    controlling whether to use new/optimized
    (--wsrep_certification_rules=optimized) certification rules or the
    old/classic ones (--wsrep_certification_rules=strict). Setting the
    variable to strict can cause more certification failures.

- Fixes for the following security vulnerabilities:
  - CVE-2019-2537
  - CVE-2019-2529

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-02-06 23:36:27 +01:00
Rosen Penev
b9b3445cc0 tree: Update to 1.8.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>

(cherry picked from commit dbe1c48c53)
2018-12-01 13:29:16 +02:00
Leonid Evdokimov
8ccfae065f prometheus-node-exporter-lua: close io.popen files to reap zombies
Signed-off-by: Leonid Evdokimov <leon@darkk.net.ru>
2018-11-25 16:56:38 -05:00
Hannu Nyman
7370760f5d nano: update to 3.2
Update nano to version 3.2

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit ea656e25a2)
2018-11-24 16:49:45 +02:00
Hannu Nyman
1f2f177d3c collectd: update to 5.8.1
Update collectd to version 5.8.1

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 29eac13d8f)
2018-11-24 16:49:45 +02:00
Hannu Nyman
44458746f2 collectd: remove obsolete references to avr32
Backport the collectd portion of the treewide changes
made by e38c10061 in master

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-24 16:49:45 +02:00
Sebastian Kemper
635d96ca45 collectd: include nls.mk for mysql plugin
libmariadb 10.2 needs to be linked in together with iconv.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit b695c1150a)
2018-11-24 16:49:45 +02:00
Marc Benoit
86c3ea10ec utils/collectd: run with low priority
Even on a powerful platform a collectd process'
activities are sometimes affecting throoughput and
latency. This is a backgroud process, that should not
be running with default priority.
Even if it is a little deplayed, that is not a worry in
this case. The routing should be the main priority,
stats collection can wait a bit.

Tested on Netgear R7800
Signed-off-by: Marc Benoit <marcb62185@gmail.com>
Make niceness more moderate, bump version.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit b33ec70c95)
2018-11-24 16:49:45 +02:00
Hannu Nyman
5552214d82 haveged: update to 1.9.4
Version bump to 1.9.4

Development has moved to github.
 * old site: http://www.issihosts.com/haveged
 * new site: https://github.com/jirka-h/haveged

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit f316aaeab6)
2018-11-04 21:35:17 +02:00
Rosen Penev
57b1bbb9a2 ccrypt: Update to 1.11
Signed-off-by: Rosen Penev <rosenp@gmail.com>

(cherry picked from commit 2074901f33)
2018-11-04 21:34:53 +02:00
champtar
335bd7cbab
Merge pull request #7301 from micmac1/maria37
(18.06) mariadb: security bump to 10.1.37
2018-11-03 13:35:02 -04:00
Sebastian Kemper
377f886246 mariadb: security bump to 10.1.37
Notable Changes (copied from release notes):

  Various fixes from MySQL 5.6.42: MDEV-17533, MDEV-17532, MDEV-17531
  MDEV-16465: fixed a bug with DDL and FOREIGN KEY
  Fulltext index fixes:
    MDEV-12547: extended the range of innodb_ft_result_cache_limit on 64-bit systems
    MDEV-16865: InnoDB fts_query() ignores KILL
  Fixes for the following security vulnerabilities:
    CVE-2018-3282
    CVE-2016-9843
    CVE-2018-3174
    CVE-2018-3143
    CVE-2018-3156
    CVE-2018-3251

OpenWrt changes:
  - dropped obsolete ucontext patch (issue fixed upstream)
  - refreshed 130-c11_atomics.patch

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-11-03 18:06:12 +01:00
Jean-Michel Lacroix
104ce78af8 bandwidthd: [18.06] fix undefined references to inline functions
This is basically same commit that took place in master 3 weeks ago.
gcc-7 with -Os makes inline functions disappeard. It is caused by
the new C11 inline semantics. pass option -fgnu89-inline to gcc let
it use gnu inline semantics.
see https://wiki.debian.org/GCC7#Porting_help

Compile tested on 18.06.  Run tested on OpenWrt 18.06.1 r7258-5eb055306f
QEMU Virtual CPU version (cpu64-rhel6)

Signed-off-by: Jean-Michel Lacroix <lacroix@lepine-lacroix.info>
2018-11-03 11:07:08 -04:00
Nuno Goncalves
9f5ea1c289 watchcat: make compatible with updated busybox ash array handling (fixes #7148)
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2018-10-10 07:21:08 +01:00
Ted Hess
482d94bf47 iotivity, i2pd, domoticz: Bump PKG_RELEASE to force re-build with Boost upgrade to 1.68
Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-10-04 15:59:43 -04:00
Hannu Nyman
0a2078bf14 nano: update to 3.1
* Update nano editor to 3.1
* Apply a post-release upstream patch to fix compilation

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit af86b17064)
2018-09-23 18:48:52 +03:00
Jonathan Bennett
791933dd56 Nano: Update to 3.0
Signed-off-by: Jonathan Bennett <jbennett@incomsystems.biz>

(cherry picked from commit 0ceaa4e32c)
2018-09-23 18:48:38 +03:00
Sebastian Kemper
bc6753832d mariadb: security bump to 10.1.35
Bump minor version. Bugfix release. 100% backward compatible.

Includes fixes for:

CVE-2018-3064
CVE-2018-3063
CVE-2018-3058
CVE-2018-3066

Also includes CPPFLAGS fix from master (to get fortify-source headers
etc.).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-11 22:59:24 +02:00
Rafał Miłecki
87b3ea5c85 lxc: nl: avoid NULL pointer dereference
This backports upstream fix from the master branch.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 13d57a5e9f)
(cherry picked from commit 6e1104cc6d)
2018-07-29 21:19:56 +02:00
Etienne Champetier
98822cd11d prometheus-node-exporter-lua: add conntrack collector
Also fix missing dependency of openwrt collector

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2018-07-25 23:27:39 +02:00
Etienne Champetier
605acbbebe prometheus-node-exporter-lua: set myself as maintainer
This was OKed sometimes ago by @simonswine
https://github.com/openwrt/packages/pull/5128

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2018-07-25 23:27:34 +02:00
Hannu Nyman
fd57c8cfeb irqbalance: fix AARCH64 compilation
AARCH64 compilation fails due to upstream bug in 1.2.0
that has been later fixed. Backport the fix commit.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 0cb6e15f01)
2018-07-19 21:40:14 +03:00
Jeffery To
1fb64b107d slide-switch: update to latest version
This also changes PKG_SOURCE to use .tar.xz, and changes the copyright
line. (I believe this is more accurate, as I haven't done a copyright
assignment.)

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-07-18 02:14:04 +08:00
Sebastian Kemper
a4df7b1db3 mariadb: convert init script to procd
- also adds mariadb user to run the server as
- tweaks the default configuration a bit

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-06-30 20:05:26 +02:00
Sebastian Kemper
a26540d61c mariadb: bump to 10.1.34
- bump version (100% backward compatible)
- add modules
- small misc improvements

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-06-30 20:01:11 +02:00
David Woodhouse
4618427deb rtl-sdr: fix build when GCC decides not to emit inlines
Maybe we should use something other than -Os for this code anyway; it's
generally quite CPU-intensive.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2018-06-29 14:31:23 +00:00
Paul Spooren
fcaf255d0f prometheus-node-exporter-lua: adapt 0.16 metrics
Prometheus introduced some new conventions on how to name metrics.
Read here https://prometheus.io/docs/practices/naming/

This PR breaks compatibility with past versions, just like the officials
node exporter! 💥

Signed-off-by: Paul Spooren <mail@aparcar.org>
2018-06-29 18:21:03 +09:00
David Woodhouse
9b390cb468 domoticz: update to 4.9700 stable release, enable Python, fix compression
The files in ozwcp/ shouldn't be compressed as there's no gzip handling
for those.

Also enable Python support — since it can dynamically link with
libpython optionally, it's harmless to enable it. Those who want Python
plugins can use it. I still want lua-based hardware plugins though.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2018-06-25 16:56:19 +01:00
David Woodhouse
7785d2a444 domoticz: fix Onkyo custom command handling from dzVents
https://github.com/domoticz/domoticz/pull/2386

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2018-06-25 15:26:25 +01:00
David Woodhouse
394e676d27 domoticz: update to 3.9571 and clean up FHS handling
Upstream has merged a simplified version of the FHS patch, with a few
changes...

Scripts are actually configuration. There are examples, but the point is
that you write your own.

So they should live in the data directory (e.g. /var/lib/domoticz) not
in /usr/share/domoticz. The only exception is the dzVents runtime.

So.... the upstream patch handles the dzVents runtime bit. Drop the part
of our patch which added -scripts, because it can just be based in the
userdata directory and we don't need to change that.

Ship the default scripts/ directory in /etc/domoticz/scripts, and on
startup make a *symlink* to it from /var/lib/domoticz/scripts.

Symlink from /etc/domoticz/scripts/dzVents{data,generated_scripts} to
temporary directories under /var/lib/domoticz/dzVents so that those
directories (which are written to by Domoticz) don't land on the root
file system. Anyone with a writeable file system who *wants* the data/
directory to be persistent, can change that. Just as they can change
the userdata config option to point to a real file system somewhere.

Also drop the renaming of the OpenZWave Config/ directory. It's purely
cosmetric so there's no need for us to carry that change. It can go
upstream first, if it really offends anyone.

Drop the patches which are now merged upstream, and turn off the newly
added USE_OPENSSL_STATIC. Add -noupdates to the command line.

Finally, gzip the static www files to save space. In the common case,
clients will use "Accept-Encodiong: gzip" and Domoticz will serve them
as-is. It can also decompress on the fly if it really has to, but now we
aren't asking it to *compress* on the fly, which is probably a losing
proposition on an OpenWRT box.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2018-06-25 15:26:25 +01:00
David Woodhouse
1298bf851a domoticz: build with -flto
This makes quite a significant difference to the executable size:

   text    data     bss     dec     hex filename
7921421   87804   31692 8040917  7ab1d5 domoticz
5862321	  86180	  31212	5979713	 5b3e41	domoticz-lto

As an added bonus, it still seems to work.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2018-06-25 15:26:25 +01:00
David Woodhouse
d4853c5644 domoticz: support -ssldhparam config/command line option
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2018-06-25 15:26:25 +01:00
David Woodhouse
fa714dc793 domoticz: use 'ln -sf' in serial hotplug script
Otherwise, stale symlinks don't get replaced

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2018-06-25 15:26:25 +01:00
Paul Spooren
9e1fcd153b prometheus-node-exporter-lua: handle fancy release
Some releases may have non letters in it's name currently resulting in
an empty ("") output which is then discarded, resulting in *missing*
labels in the metric.

Now it uses `.-` to catch as little as possible, but anything.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2018-06-21 20:34:24 +09:00
Alif M. Ahmad
5025648074 gptfdisk: add a new package
gptfdisk is a gpt-aware disk partitioning tool. It can be used to
convert mbr partitioned disk to gpt and vice versa.

It supports reading GPT, MBR, and BSD disklabels.

Signed-off-by: Alif M. Ahmad <alive4ever@live.com>
(cherry picked from commit eac2e12a6b)
2018-06-18 21:54:25 +02:00
Hannu Nyman
f754df5e4b nano: update to 2.9.8
Update nano to version 2.9.8

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 33f1f6e940)
2018-06-04 18:12:19 +03:00
Jo-Philipp Wich
e27fa6782a flashrom: update to v1.0
Update to flashrom version 1.0 and cherry-pick an upstream fix for deprecated
libusb api usage.

Fixes the following error spotted by the buildbots:

    ch341a_spi.c: In function 'ch341a_spi_init':
    ch341a_spi.c:447:2: error: 'libusb_set_debug' is deprecated: [...]
      libusb_set_debug(NULL, 3); // Enable information, warning and [...]
      ^~~~~~~~~~~~~~~~
    In file included from ch341a_spi.c:25:0:
    .../libusb-1.0/libusb.h:1300:18: note: declared here
     void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
                      ^~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors
    Makefile:1030: recipe for target 'ch341a_spi.o' failed

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit cb6e98ba44)
2018-05-23 10:04:36 +02:00