Commit graph

9745 commits

Author SHA1 Message Date
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
Etienne Champetier
8f7ccc3506 build,travis: SDK name now start with openwrt
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-12-08 21:20:54 -08:00
champtar
b259502c15
Merge pull request #5242 from smutt/danish
danish: Add package net/danish
2017-12-08 20:56:34 -08:00
Alexander Couzens
9d1b1c2c35 wavemon: use SOURCE_DATE_EPOCH as BUILD_DATE
Build timestamps prevent reproducible builds [0].
SOURCE_DATE_EPOCH [1] can replace BUILD_DATE in a
determinisc way.

[0] https://reproducible-builds.org/docs/timestamps/
[1] https://reproducible-builds.org/specs/source-date-epoch/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-08 22:46:02 +00:00
champtar
61471e1b23
Merge pull request #5246 from wvdakker/master
Shorewall: bump to version 5.1.9
2017-12-08 12:39:44 -08:00
W. van den Akker
445847f00a
Shorewall6: bump to version 5.1.9
Removed 010-update_install_sh.patch. Merged upstream.

Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
2017-12-08 20:29:47 +01:00
W. van den Akker
037ac8cd0e
Shorewall: bump to version 5.1.9
Removed 010-update_install_sh.patch. Merged upstream.

Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
2017-12-08 20:28:06 +01:00
W. van den Akker
93e4a9870d
Shorewall6-lite: bump to version 5.1.9
Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
2017-12-08 20:25:18 +01:00
W. van den Akker
dbec6fa9c5
Shorewall-lite: bump to version 5.1.9
Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
2017-12-08 20:24:23 +01:00
W. van den Akker
8cd958558b
Shorewall-core: bump to version 5.1.9
Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
2017-12-08 20:22:24 +01:00
Maxim Storchak
99507aa2ee rsync: Fix CVE-2017-15994 and CVE-2017-16548
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2017-12-08 19:56:10 +02:00
champtar
ef0dc732fa
Merge pull request #5243 from brianjmurrell/shorewall-multi-sources
Shorewall multi sources
2017-12-08 08:06:32 -08:00
Philip Prindeville
66c614c343
Merge pull request #5238 from lynxis/rb_lcdproc
lcdproc: remove build timestamp
2017-12-08 09:06:18 -07:00
Jo-Philipp Wich
c48f5185d3
Merge pull request #5214 from lynxis/rb_ddns_cloud
ddns-scripts: remove gzip timestamp
2017-12-08 10:47:15 +01:00
Yousong Zhou
3ac5812983 libp11: include also p11_err.h when InstallDev
Fix the following compilation error

    In file included from openconnect-internal.h:95:0,
		     from ssl.c:41:
    /home/yousong/git-repo/lede-project/lede/staging_dir/target-mips_24kc_musl/usr/include/libp11.h: At top level:
    /home/yousong/git-repo/lede-project/lede/staging_dir/target-mips_24kc_musl/usr/include/libp11.h:27:21: fatal error: p11_err.h: No such file or directory
    compilation terminated.
    make[5]: *** [libopenconnect_la-ssl.lo] Error 1

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-12-08 11:09:28 +08:00
Brian J. Murrell
e0a89d9063 shorewall6: Multiple source sources
Maintainer: @wvdakker

Description:
Specify multiple sources for fetching the source tarball
for redundancy.

Pulled out of a historical version of these packages before
they were removed a while ago.

Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
2017-12-07 21:26:12 -05:00
Brian J. Murrell
ceef8da28e shorewall: Multiple source sources
Maintainer: @wvdakker

Description:
Specify multiple sources for fetching the source tarball
for redundancy.

Pulled out of a historical version of these packages before
they were removed a while ago.

Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
2017-12-07 21:26:09 -05:00
Brian J. Murrell
a88d61df59 shorewall6-lite: Multiple source sources
Maintainer: @wvdakker

Description:
Specify multiple sources for fetching the source tarball
for redundancy.

Pulled out of a historical version of these packages before
they were removed a while ago.

Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
2017-12-07 21:26:06 -05:00
Brian J. Murrell
5d3d2f4654 shorewall-lite: Multiple source sources
Maintainer: @wvdakker

Description:
Specify multiple sources for fetching the source tarball
for redundancy.

Pulled out of a historical version of these packages before
they were removed a while ago.

Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
2017-12-07 21:26:03 -05:00
Brian J. Murrell
eef2998ffa shorewall-core: Multiple source sources
Maintainer: @wvdakker

Description:
Specify multiple sources for fetching the source tarball
for redundancy.

Pulled out of a historical version of these packages before
they were removed a while ago.

Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
2017-12-07 21:26:00 -05:00
Andrew McConachie
50d0767aba danish: Add package net/danish
Add package Danish. A middle box implementation of RFC 6698 for HTTPS.
<https://github.com/smutt/danish>

This package installs /usr/sbin/danish(the Danish executable), /etc/init.d/danish and /etc/config/danish.

Tested with LEDE x86_64

Signed-off-by: Andrew McConachie <andrew@depht.com>
2017-12-07 20:50:10 -05:00
champtar
da435aaf94
Merge pull request #5232 from dibdot/travelmate
travelmate: update 0.9.5
2017-12-07 14:09:25 -08:00
champtar
4ad821dcd4
Merge pull request #4486 from wvdakker/master
Shorewall(6): add full packages.
2017-12-07 14:08:04 -08:00
Hannu Nyman
9863f23b9f
Merge pull request #5185 from kubco2/mwan3-improve-logs
mwan3: Improve logs when member metric is too big
2017-12-07 21:17:14 +02:00
Jakub Janco
349b90cc24 mwan3: Improve logs when member metric is too big
If metric of member interface is bigger then 256, it is not
appended to policy, now at least warn message is printed into
syslog

Signed-off-by: Jakub Janco <kubco2@gmail.com>
2017-12-07 15:41:59 +01:00
Peter Wagner
d6b201b807 tor: update to 0.3.1.9
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-12-07 13:42:39 +01: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
Sven Eckelmann
6b11d0537e ap51-flash: Remove NO_LIBPCAP preprocessor variable
ap51-flash doesn't know the NO_LIBPCAP 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
Sven Eckelmann
e68554f879 ap51-flash: Remove OFLAGS from MAKE_FLAGS
Nothing in ap51-flash is using the variable OFLAGS. It should therefore not
be set.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2017-12-07 10:58:19 +01:00
Sven Eckelmann
269615e822 ap51-flash: Remove uIP workarounds
ap51-flash is no longer using uIP and thus these workarounds should no
longer be used.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2017-12-07 10:58:19 +01:00
Daniel Golle
06d5688f6e
Merge pull request #5195 from yangfl/master
i2pd: Add package
2017-12-07 09:37:12 +01:00
David Yang
060d90d604 i2pd: Add package
Signed-off-by: David Yang <mmyangfl@gmail.com>
2017-12-07 16:28:50 +08:00
Etienne Champetier
743bfbc1f2 build,travis: don't use TRAVIS_PULL_REQUEST
TRAVIS_PULL_REQUEST can be:
- undefined (local usage)
- false (branch build)
- PR number (if in a PR)
it's never set to true

use TRAVIS_PULL_REQUEST_SHA instead, so we can use normal tests (-z/-n)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-12-06 21:17:42 -08:00
Alexander Couzens
356dd4ff79
lcdproc: remove build timestamp
Build timestamp prevents reproducible builds [0].

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

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-07 00:21:35 +01:00
Ted Hess
f3d0d51e96
Merge pull request #5235 from lynxis/rb_uanytun
uanytun: remove build time/host to fix reproducible builds
2017-12-06 17:58:41 -05:00
Alexander Couzens
89e40113f6
uanytun: remove build time/host to fix reproducible builds
Build timestamps prevents reproducible builds [0].

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

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-06 22:56:41 +01:00
champtar
01bb6fc394
Merge pull request #5234 from lynxis/rb_zabbix
zabbix: remove build timestamp
2017-12-06 13:32:42 -08:00
Alexander Couzens
8d4814c26d
zabbix: remove build timestamp
Build timestamp prevents reproducible builds [0].

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

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-06 22:08:12 +01:00
Dirk Brenken
9fc66abcc0 travelmate: update 0.9.5
* change start priority to 25
* add support for hidden uplinks
* add support for wpa enterprise uplinks

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-12-06 16:53:43 +01:00
Rafał Miłecki
52124bf283 rpcd-mod-lxc: bump PKG_RELEASE to indicate recent changes
It should be bumped due to the "info" ubus method support.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2017-12-06 13:27:49 +01:00
Jo-Philipp Wich
62a3ec91c9
Merge pull request #5225 from diizzyy/patch-110
libs/libpng: Update to 1.6.34
2017-12-06 12:49:45 +01:00
Jo-Philipp Wich
118dda3143
Merge pull request #5224 from diizzyy/patch-109
libs/libgd: Update to 2.2.5
2017-12-06 12:49:20 +01:00
Rafał Miłecki
650704c425 rpcd-mod-lxc: info: return NOT_FOUND if container doesn't exist
It allow distinction between not existing and stopped container. So far
querying for not existing container was resulting in:
> ubus call lxc info '{ "name": "foo" }'
{
        "name": "foo",
        "state": "STOPPED",
        "ips": [

        ]
}

Now it's an error and it matches lxc-info command line:

> ubus call lxc info '{ "name": "foo" }'
Command failed: Not found

> lxc-info --name foo
foo doesn't exist

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2017-12-06 09:58:17 +01:00