Makes it easy to address bmx7 shorids and hostnames with ping, ssh, etc.
Both are stored in /tmp/hosts/ and so loaded by dnsmasq.
Instead of using a cron job which triggers the bmx7 deamon every so and
so, inotifywait is used to see creation or deletion of originators in
/var/run/bmx7/json/originators/
Signed-off-by: Paul Spooren <spooren@informatik.uni-leipzig.de>
Patch 903-no-examples.patch removes MinOZW binary. This is wrong since
install section of openzwave is still using it. We can either remove the
patch or remove install section for openzwave. It seems people are using
this binary so we remove the patch.
After removing the patch the following issue appears with gcc7:
cc1plus: error: -Wformat-security ignored without -Wformat
This is resolved by adding the following to Makefile
TARGET_CPPFLAGS+=-Wno-format -Wno-format-security
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
Update nano to 2.9.5
Release Notes:
2018 March 29
GNU nano 2.9.5 "Kiša pada" changes the way the Scroll-Up
and Scroll-Down commands work (M-- and M-+): instead of
keeping the cursor in the same screen position they now
keep the cursor in the same text position (if possible).
This version further adds a new color name, "normal",
which gives the default foreground or background color,
which is useful when you want to undo some overzealous
painting by earlier syntax regexes. Bug fixes include:
a segfault when trying to insert a file in restricted
mode, the reading in of a new file being "undoable", a
slight miswrapping of help texts when --linenumbers was
used, and the shell syntax coloring the word "tar" in
file names.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
mysql already makes sure that the compiler emits position-independent code when
appropriate, namely when compiling shared objects. The mysql build system puts
its own flag behind the CFLAGS, overriding whatever was set before.
Additionally, forcing applications into PIC mode will just slow them
down (mysql not only provides shared objects but also applications).
Last but not least OpenWrt's $(FPIC) can cause build failures. This is
the case currently for AARCH64:
net_serv.o: In function `my_net_init':
net_serv.cc:(.text+0x28): relocation truncated to fit: R_AARCH64_LD64_GOTPAGE_LO15 against symbol `my_malloc' defined in .text section in ../mysys/libmysys.a(my_malloc.o)
net_serv.cc:(.text+0x28): warning: Too many GOT entries for -fpic, please recompile with -fPIC
/data/bowl-builder/aarch64_cortex-a53/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.3.0_musl/bin/../lib/gcc/aarch64-openwrt-linux-musl/7.3.0/../../../../aarch64-openwrt-linux-musl/bin/ld: final link failed: Symbol needs debug section which does not exist
collect2: error: ld returned 1 exit status
Makefile:955: recipe for target 'mysqld' failed
make[7]: *** [mysqld] Error 1
Remove $(FPIC) from TARGET_CFLAGS to address all of the above.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Patch 903 disables building of examples.
Patch 904 fixes the following issue:
When building software that build depends on openzwave, build will
always search in /usr/include/openzwave instead of
staging_dir/.../usr/include/openzwave.
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
* vfs support needs an additional ini file and another directory by
default (/usr/lib/mc/extfs.d), backport of a turris fix.
* cleanup makefile
Signed-off-by: Dirk Brenken <dev@brenken.org>
f056af0 Fix bug: double free when execute a command timeout
69260b6 Fix bug: Error class did not match the server
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
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>
* 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>
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>
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>
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>
* 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>
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>
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>
scrapes bmx6 status and connected links.
example output:
bmx6_status{id="qMp-LibreMesh-1706",version="BMX6-0.1-alpha",address="fd66:66:66:a: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>
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>
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>