Commit Graph

1493 Commits

Author SHA1 Message Date
Hannu Nyman 5182ddc16a haveged: disable MIPS16
Disable MIPS16 usage so that haveged compiles ok with GCC 7.3
for MIPS targets.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-03-12 21:38:41 +02:00
Hannu Nyman 19819bb80d nano: update to 2.9.4
Update nano to 2.9.4

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-03-11 18:37:29 +02:00
Alif M. Ahmad b1d98562a1 mksh: update to R56c
Updated to R56c.

Also add myself as maintainer and move the location from `Base system`
into `Utilities/Shells`.

Signed-off-by: Alif M. Ahmad <alive4ever@live.com>
2018-03-09 02:45:09 +00:00
Dirk Brenken 89994f515b
Merge pull request #5632 from haraldg/smstools3
smstools3: Move init script to use procd
2018-03-06 15:43:47 +01:00
Harald Geyer 0cc76f89ae smstools3: Move init script to use procd
* properly install config file
* prevent smsd from starting right after installation to prevent loss of data
  (make default device unavailable by turning configuration into comments)
* move init script to procd
* update init script priority to sane value
* log to syslog - at the moment via stdout and procd
  this is a workaround to force smsd to stay in the foreground
* the init script can't do a modem reset anymore
  use an alarmhandler script instead
* add a local patch to make all processes terminate if the main process dies
* take over the package as new maintainer

Signed-off-by: Harald Geyer <harald@ccbib.org>
2018-03-06 14:17:14 +00:00
Yousong Zhou 5eef0d56cf tree: bump PKG_RELEASE
It was missing in a previous change bab8741 (tree: use
TARGET_{CFLAGS,LDFLAGS} instead of the package default)

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 12:36:36 +08:00
Toni Uhlig bab87417c9 tree: use TARGET_{CFLAGS,LDFLAGS} instead of the package default
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
2018-03-06 11:50:15 +08:00
Jianhui Zhao 790935eed2 rtty: Update to latest version
Change license to LGPL2

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-03-03 23:16:27 +08:00
Hannu Nyman ecd19efc93
Merge pull request #5650 from dangowrt/collectd-modbus-little-endian
collectd: modbus: backport support for little-endian values
2018-02-28 15:43:40 +02:00
Daniel Golle 365a88ae03
Merge pull request #5651 from neheb/mk
mktorrent: Update to version 1.1.
2018-02-28 13:15:15 +01:00
Daniel Golle 59ec4cc5d7 collectd: modbus: backport support for little-endian values
Support for little-endian word-order of 32-bit fields was added
upstream recently. Import the corresponding PR
https://github.com/collectd/collectd/pull/2660
into a local patch and bump package release.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2018-02-28 12:51:28 +01:00
Dirk Brenken e616937782
Merge pull request #5645 from neheb/dfu
dfu-programmer: Change PKG_SOURCE_URL to use @SF macro.
2018-02-26 19:54:38 +01:00
Hannu Nyman 7f645d9877
Merge pull request #5648 from neheb/dfu-util
dfu-util: Add PKG_MAINTAINER entry + fix URL.
2018-02-25 10:22:34 +02:00
Yousong Zhou 8bd3bd86ad qemu: bump to version 2.11.1
Here are the notable changes

 - pixman is now not part of the release tarball and is required as an
   external dependency
 - archipelago is removed by upstream
 - patches are regenerated with git-format-patch
 - ifunc requirement is now removed

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-02-24 15:41:36 +08:00
Daniel Golle 8162fecb37 auc: update to version 0.0.9
* use full package list when checking for upgrades
 * verify sha256sums and usign signature of sha256sums.sig
 * introduce '-c' option to only check if system is up-to-date
 * introduce '-F' option to ignore the signature verification result
 * return -1 on locally caused and -2 on server-side errors
 * don't include locally appended attributes in debug output of a
   server reply
 * output bug report note on 412 target not found
 * use content-length header instead of filesize field in JSON content
 * suppress duplicate error messages
 * drop unused attributes
 * make debug messages optional at compile-time

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2018-02-23 00:51:18 +01:00
Rosen Penev f080681686 mktorrent: Update to version 1.1 + use GitHub properly
Use GitHub to generate a .tar.xz file based on commit number. More flexible this way.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-02-21 20:09:13 -08:00
Daniel Golle 1b8696446f
Merge pull request #5644 from neheb/mkt
mktorrent: Change download URL to GitHub.
2018-02-21 17:05:11 +01:00
Rosen Penev b1900a771a dfu-util: Add PKG_MAINTAINER entry + fix URL.
/files is not needed when using the @SF macro. Also added PKG_MAINTAINER to get notifications to update.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-02-20 14:40:54 -08:00
Rosen Penev 616e1e79d0 dfu-programmer: Change PKG_SOURCE_URL to use @SF macro.
More flexible with more mirrors.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-02-20 13:40:27 -08:00
Rosen Penev 3ee6aff082 mktorrent: Change download URL to GitHub.
Upstream has moved to GitHub. Also the hash of the original link and what is in OpenWrt's mirrors does not mach. This may have been motivation for moving away from SourceForge...

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-02-20 13:18:54 -08:00
dibdot 3618621394
Merge pull request #5640 from neheb/btr
btrfs-progs: Update to 4.15.1
2018-02-20 20:29:20 +01:00
Rosen Penev bcfa4436cc btrfs-progs: Update to 4.15.1
Compile tested on ar71xx.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-02-20 11:02:29 -08:00
Jo-Philipp Wich e089ea548b
Merge pull request #4562 from pprindeville/lm-sensors-fix-conf-file
lm-sensors: update name of configuration file
2018-02-20 17:08:54 +01:00
Jakub Tymejczyk 5c4333de5f
zsh: add required dependency(issue #5514)
As indicated in https://github.com/openwrt/packages/issues/5514 zsh is compiled with --enable-cap option but libcap is not listed in dependencies

Signed-off-by: Jakub Tymejczyk <jakub@tymejczyk.pl>
2018-02-17 16:43:38 +01:00
champtar 8068fd5192
Merge pull request #5578 from aparcar/bmx6-exporter
prometheus-node-exporter-lua: add bmx6/7 scraper
2018-02-15 07:40:01 -08:00
Hannu Nyman f893929455 collectd: enable MQTT plugin
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-02-15 09:27:02 +02:00
Paul Spooren f7093021f9 prometheus-node-exporter-lua: add bmx6/7 scraper
scrapes bmx6 status and connected links.

example output:

    bmx6_status{id="qMp-LibreMesh-1706",version="BMX6-0.1-alpha",address="fd66:66:66🅰️6670:2ff:fe3e:9d28"} 1
    bmx6_link_rxRate{target="UPC-CN-C6-E104-Alix",source="qMp-LibreMesh-1706",dev="wlan0-mesh_12"} 100
    bmx6_link_txRate{target="UPC-CN-C6-E104-Alix",source="qMp-LibreMesh-1706",dev="wlan0-mesh_12"} 100
    bmx6_link_rxRate{target="UPC-CN-C6-E104-Alix-Paul",source="qMp-LibreMesh-1706",dev="wlan1-adhoc_12"} 100
    bmx6_link_txRate{target="UPC-CN-C6-E104-Alix-Paul",source="qMp-LibreMesh-1706",dev="wlan1-adhoc_12"} 100
    bmx6_link_rxRate{target="UPC-CN-C6-E104-Turoffner",source="qMp-LibreMesh-1706",dev="wlan0-mesh_12"} 97
    bmx6_link_txRate{target="UPC-CN-C6-E104-Turoffner",source="qMp-LibreMesh-1706",dev="wlan0-mesh_12"} 100
    node_scrape_collector_duration_seconds{collector="bmx6"} 0.0025260448455811
    node_scrape_collector_success{collector="bmx6"} 1
    scrapes bmx7 status and connected links.

example output:

    bmx7_status{id="C68791D2",revision="3a52f89",name="smpl-18f4ce",address="fd70:c687:91d2:8ab3:1a88:6b14:bad0:2b18"} 1
    bmx7_cpu_usage 0.7
    bmx7_mem_usage 3204000
    bmx7_link_rxRate{target="F48239CD",dev="wlan0-mesh_13",source="C68791D2",name="smpl-07889a"} 54000
    bmx7_link_txRate{target="F48239CD",dev="wlan0-mesh_13",source="C68791D2",name="smpl-07889a"} 52729
    node_scrape_collector_duration_seconds{collector="bmx7"} 0.0020999908447266
    node_scrape_collector_success{collector="bmx7"} 1

prometheus-node-exporter-lua: bmx6/7 netjson format

adds labels called source and target to links instead of only the target
previously called "id".

Retrieving all *links* from prometheus now makes it easier to create
a valid netjson(.org) graph.

It's not feasible to use *instance* as *source* as for instance likely
the name is used for dns, instead of the ID. Using the *name* instead of
*id* for netjson linking results in a bad graph when two devices have
the same (default) hostname.

Signed-off-by: Paul Spooren <spooren@informatik.uni-leipzig.de>
2018-02-12 21:41:37 +01:00
Jianhui Zhao 62e4f714f5 rtty: Update to 3.1.1
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-02-07 17:10:08 +08:00
Rosen Penev cb1ae4a17f
btrfs-progs: Update to 4.15
Compile tested on ar71xx

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-02-04 11:57:35 -08:00
Hannu Nyman 05cee96008
Merge pull request #5240 from ecsv/ap51-flash
ap51-flash: Update to newest "version" and package cleanups
2018-02-04 13:54:23 +02:00
Hannu Nyman 255f4d2f99
Merge pull request #4928 from p-wassi/smstools
utils/smstools3: update to 3.1.21
2018-02-04 10:13:35 +02:00
Hannu Nyman 69d27a09aa
Merge pull request #5558 from Andy2244/acl-update
acl: update to 2018-01-21
2018-02-04 10:04:31 +02:00
Andy Walsh 016094eba8 acl: update to 2018-01-21
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2018-02-04 00:02:20 +01:00
Hannu Nyman a0d14534d1 nano: update to 2.9.3
update nano to 2.9.3

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-02-03 15:56:31 +02:00
champtar 367a1c7b89
Merge pull request #5128 from champtar/prometheus
prometheus-node-exporter-lua: make it modular and faster
2018-02-01 07:58:55 -08:00
Vladimir Ulrich b9c2856fc0 zoneinfo: Updated to the latest release
Signed-off-by: Vladimir Ulrich <admin@evl.su>
2018-01-24 19:19:33 +03:00
Jianhui Zhao 8a7797d67a rtty: Add package
A reverse proxy WebTTY. It is composed of the client and the server.

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-23 15:24:36 +08:00
Rosen Penev a9e4c8ef64 btrfs-progs: Bump to 4.14.1 + add Build/InstallDev
Supersedes #5173 and bumps the version to latest. Tested on ramips (mt7621).

Signed-off-by: Eugene Chekanskiy <echekanskiy@gmail.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-01-20 21:44:11 -08:00
Hannu Nyman 2851543d03
Merge pull request #5421 from alive4ever/mksh-r56b
utils/mksh: update to r56b
2018-01-19 18:04:09 +02:00
Alif M. Ahmad b5dc2ef39b mksh: update to r56b
Updated to mksh-r56b

Signed-off-by: Alif M. Ahmad <alive4ever@live.com>
2018-01-18 11:00:26 +07:00
Jonathan McDowell 4ba4d8232d utils/collectd: Re-add option to enable encrypted network output
The collectd network plugin has the ability to sign and/or encrypt its
traffic, allowing secure interaction with other collectd instances. This
had been disabled due to issues with the collectd build system.
Fix up the configure parameters to work correctly and re-add the option.

Signed-off-by: Jonathan McDowell <noodles@earth.li>
2018-01-17 22:03:32 +00:00
Philip Prindeville f739f656ef lm-sensors: update names of lm-sensos conf file
Since lm-sensors supports both /etc/sensors.conf and /etc/sensors3.conf
as valid default configuration files, we should propagate one of both
across a sysupgrade if we encounter them.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-01-16 16:11:32 -07:00
Jo-Philipp Wich b663b1f65e
Merge pull request #5231 from pprindeville/lm-sensors-add-init.d
lm-sensors add init.d
2018-01-16 23:36:45 +01:00
Philip Prindeville 0ebe9edb41 lm-sensors: add init script
"sensors -s" needs to happen at boot-time so that any "set"
statements in sensors.conf file can take effect.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-01-16 15:35:14 -07:00
Yousong Zhou cdb8722abe procps-ng: use alternatives to coexist with busybox applets
Fixes FS#699

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-01-12 17:59:37 +08:00
Lucian Cristian c3d4691468 cryptodev-linux: bump to latest git 2017-10-04
fix kernel > 4.13 compilation

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2018-01-12 00:05:59 +02:00
Alexandru Ardelean 1476739d5f treewide: use local python-package.mk & python3-package.mk files
This guarantees for the package feeds that
the mk files will always be available for all packages.

Will need to see about external-feed Python packages
a bit later.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-10 23:06:23 +02:00
Hannu Nyman 4e348a0122
Merge pull request #5397 from diizzyy/utils-pcsc-tools
pcsc-tools: remove myself as maintainer
2018-01-10 18:24:26 +02:00
Hannu Nyman fbbe58e6c8
Merge pull request #5398 from diizzyy/utils-tio
utils/tio: Update to 1.28
2018-01-10 18:23:42 +02:00
Daniel Engberg 746c548dfc pcsc-tools: remove myself as maintainer
Remove myself as maintainer

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-01-09 21:55:18 +01:00
Daniel Engberg ab4303d588 utils/tio: Update to 1.28
Update tio to 1.28
Remove myself as maintainer

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-01-09 20:20:30 +01:00
Matthias Schiffer 00fce347a5
treewide: fix incorrect *_BUILD_DEPENDS
Build depends refer to source package names, not binary package names.

In many cases, PKG_BUILD_DEPENDS simply duplicated runtime dependencies of
a source package's binary packages; as the corresponding source packages
are implicitly added as bulid dependencies, PKG_BUILD_DEPENDS can simply be
dropped in these cases. In the other cases, *_BUILD_DEPENDS is fixed to
refer to the correct source package name.

Dependency of mysql-server is adjusted from libncursesw to libncurses
(as libncursesw is a virtual package provided by libncurses), so the build
dependency on ncurses is emitted unconditionally.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-01-09 16:36:02 +01:00
Matthias Schiffer 6e3a609d07
treewide: remove superfluous + signs from PKG_BUILD_DEPENDS
A + sign does not have meaning in build depends.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-01-07 20:08:31 +01:00
Jeffery To 3fb411e7cc slide-switch: update to latest version
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-06 18:10:32 +08:00
Hannu Nyman 9579692d3f nano: update to 2.9.2
Update nano to 2.9.2

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-01-05 19:24:39 +02:00
Daniel Golle 072d43f6be lvm2: update to version 2.02.177
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2018-01-05 02:12:24 +01:00
Daniel Golle f56fc5754c pcsc-lite: update to version 1.8.23
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2018-01-05 02:12:24 +01:00
Álvaro Fernández Rojas 022186c0a4 dump1090: update to latest version
Also rename uhttpd config from xupnpd to dump1090

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2017-12-31 20:03:21 +01:00
Álvaro Fernández Rojas f9de2be45d dmidecode: update to v3.1
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2017-12-31 19:04:06 +01:00
Álvaro Fernández Rojas 54bb27c183 flashrom: update to v0.9.9.1
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2017-12-31 18:50:19 +01:00
Álvaro Fernández Rojas 4921c4a21e pciutils: update to v3.5.6
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2017-12-31 18:46:42 +01:00
Álvaro Fernández Rojas 1d899c09d6 minicom: update to v2.7.1
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2017-12-31 18:46:01 +01:00
Álvaro Fernández Rojas fe3aae91ff tar: update to v1.30
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2017-12-31 18:44:53 +01:00
Hannu Nyman d573181fcb nano: update to 2.9.1
* update nano to 2.9.1
   (and drop the unnecessary upstream patch)
* add myself as the second maintainer

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-12-28 14:36:31 +02:00
Ben Smith a077562fb7 netwhere: fix memory corruption problem
Compile tested: brcm47xx, OpenWRT rb8edaf4
Run tested: brcm47xx, ASUS RT-N16, DESIGNATED DRIVER (Bleeding Edge, 5014x5)

Signed-off-by: Ben Smith <le.ben.smith@gmail.com>
2017-12-26 12:13:02 -08:00
Michael Heimpold c4e270e5cd
Merge pull request #5308 from TimelessNL/add_digitemp
digitemp: reintroduce package
2017-12-23 15:17:54 +01:00
Jasper Scholte 4577faccfd digitemp: reintroduce package
This reintroduces digitemp from the "old unmaintained" repository: http://git.openwrt.org/?p=packages.git;a=tree;f=utils/digitemp;hb=HEAD
Updated to v3.7.1 and based on github as mentioned here: https://www.digitemp.com/software.shtml
Set myself as maintainer.

Signed-off-by: Jasper Scholte <NightNL@outlook.com>
2017-12-23 00:13:13 +01:00
Philip Prindeville 3055f86641
Merge pull request #5307 from TimelessNL/add_rtl_433
rtl_433: add package
2017-12-21 15:57:05 -07:00
Nuno Goncalves bdddeedf2a watchcat: bump release due to 8e1e4d7d2d
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2017-12-21 16:39:52 +01:00
Jasper Scholte 0e5708bcc3 rtl_433: add package
This will add the rtl_433 package. The project can be found: https://github.com/merbanan/rtl_433
It is based on a recent trunk since the latest release is negligible.

Signed-off-by: Jasper Scholte <NightNL@outlook.com>
2017-12-21 10:11:29 +01:00
Philip Prindeville 13cbaf8541
Merge pull request #5291 from pprindeville/acpica-unix-update-20171215
acpica-unix: update to 20171215
2017-12-17 12:07:59 -07:00
Philip Prindeville 6a3997e763 acpica-unix: update to 20171215
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-12-17 11:26:41 -07:00
Philip Prindeville c1fac813ce
Merge pull request #5271 from jow-/introduce-setserial
setserial: introduce package
2017-12-16 13:38:42 -07:00
Maxim Storchak 137ace7522 lsof: reproducible build
- clear build host and user info
- clear compiler flags
- set date to SOURCE_DATE_EPOCH

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2017-12-15 15:33:15 +02:00
Sven Eckelmann 1c00bb9329 ap51-flash: Fix source repository URL
The URL git://dev.cloudtrax.com/ap51-flash.git is not the actual public
source repository URL for ap51-flash. It is not even accessible in the
moment. The official repository can now be found at github.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2017-12-15 13:26:11 +01:00
Ted Hess a126dabb93 unrar: Update to latest version (5.5.8)
11-Aug-2017 version fixes outstanding CVE's.
CVE-2012-6706, CVE-2017-12942, CVE-2017-12941, CVE-2017-12940 and CVE-2017-12938

Signed-off-by: Ted Hess <thess@kitschensync.net>
2017-12-13 15:48:26 -05:00
Jo-Philipp Wich 5f5d4489e5 setserial: introduce package
This packages setserial, the standard Linux program for setting serial
device attributes such as baud rate, flow control etc.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-12-12 22:05:55 +01:00
Daniel Golle 49b519fed4
Merge pull request #5267 from diizzyy/patch-112
utils/gawk: Fix package
2017-12-12 17:26:57 +01:00
Rafał Miłecki c40a0ca3a3 lxc: add lxc-unprivileged helper package for unprivileged containers
LXC requires newuidmap and newguidmap with SUID to run unprivileged
containers. This package should help users make sure they are available.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2017-12-12 13:02:15 +01:00
Daniel Engberg 4e6fd0a761
utils/gawk: Fix package
Remove igawk references as it's obsolete and not provided anymore.
Reported here: https://github.com/openwrt/packages/issues/5110
Fix package URL

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-12-12 11:02:13 +01:00
Florian Fainelli 9491c76385
Merge pull request #5213 from lynxis/rb_openplc
open-plc-utils: remove build timestamp
2017-12-11 18:06:41 -08:00
Alexander Couzens 4e500f91dd open-plc-utils: remove build timestamp
Build timestamps prevent reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-10 02:26:10 +01:00
champtar a0d805a79c
Merge pull request #5253 from mstorchak/acl
acl: update to 20170420
2017-12-09 09:42:12 -08:00
Maxim Storchak ca36ea84ea acl: update to 20170420
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2017-12-09 18:19:14 +02:00
Maxim Storchak 5c3b390726 attr: update to 20170915
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2017-12-09 18:18:05 +02:00
Maxim Storchak b8ae5cfef2 smartmontools: update to 6.6
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2017-12-09 15:35:24 +02:00
Etienne Champetier d1b461137a prometheus-node-exporter-lua: bump version
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-12-08 21:22:16 -08:00
Etienne Champetier ea5b7492fe prometheus-node-exporter-lua: rework cpu collector
replace 2 string.match and 1 string.gmatch (space_split)
by 1 string.match

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-12-08 21:22:16 -08:00
Etienne Champetier ed7d60d871 prometheus-node-exporter-lua: use io.lines(), remove line_split
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-12-08 21:22:16 -08:00
Etienne Champetier 84023027a2 prometheus-node-exporter-lua: split out nat_traffic and netstat
nat_traffic is too verbose to be really useful by default
netstat is broken by default on OpenWrt/LEDE

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-12-08 21:22:16 -08:00
Etienne Champetier fba739d32d prometheus-node-exporter-lua: put wifi collector in 2 separate packages
this allow to remove libubus-lua/libiwinfo-lua dependency from main package
this also allow to have different scrape_interval

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>

split stations

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-12-08 21:22:16 -08:00
Etienne Champetier 32e1baeddd prometheus-node-exporter-lua: make it modular
As prometheus-node-exporter-lua is a reimplementation of node_exporter,
I'm using "collector" instead of "scraper" and renaming some collectors

put each collector in a separate file

report collector success/failure and duration per scrape
(follow https://github.com/prometheus/node_exporter/pull/516)

allow to filter collectors using "collect[]" params
(see https://github.com/prometheus/node_exporter#filtering-enabled-collectors)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-12-08 21:22:16 -08:00
Etienne Champetier 7b1b69ca6c prometheus-node-exporter-lua: rewrite wifi scraper
On my bullet m2, scrape duration goes from between 0.2 and 0.5 to a stable 0.025
We also don't depend on luci anymore

This remove wifi_network_up metric, but this metric was buggy
wifi_network_up{ifname="wlan0-1",ssid="test1",channel="11",mode="Master",bssid="12:34:56:78:9A:BC",country="FR",frequency="2.462"} 1
wifi_network_up{ifname="radio0.network2",ssid="test1",channel="11",mode="Master",country="US",frequency="2.462"} 0

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-12-08 21:22:16 -08:00
Etienne Champetier 747f4ce7af prometheus-node-exporter-lua: fix nat scraper
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-12-08 21:22:16 -08:00
Etienne Champetier 58c136a521 prometheus-node-exporter-lua: improve node_uname_info
Testing on a bullet m2, uname collector was taking on average 0.12
it now takes 0.0007

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-12-08 21:22:16 -08:00
Etienne Champetier c79e75d0c1 prometheus-node-exporter-lua: respond with HTTP/1.0
also reduce calls to output()

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-12-08 21:22:16 -08:00
Etienne Champetier 4e94edce51 prometheus-node-exporter-lua: send stdout/stderr to logread
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-12-08 21:22:16 -08:00
Sven Eckelmann bbf9b7f1f1 ap51-flash: Provide PKG_LICENSE* information
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2017-12-07 12:11:12 +01:00
Sven Eckelmann fbd6b2ac3e ap51-flash: Update to version 2017-12-07
* Added support for new OpenMesh devices:
  - A42
  - A62
  - G200
  - D200
  - P60
* Fix size calculation for combined ext images
* Fixed build with musl

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2017-12-07 12:10:19 +01:00
Sven Eckelmann 8492fe21e7 ap51-flash: Remove FLASH_FROM_FILE preprocessor variable
ap51-flash doesn't know the FLASH_FROM_FILE preprocessor variable and thus
OpenWrt should not set it in its package Makefile.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2017-12-07 10:58:19 +01:00