To return the number of connected clients.
At present this can be partially inferred by using a count() over one of
the existing metrics, however this doesn't handle the case when there
are no connected clients. When that happens, the count() will return no
data instead of 0.
Signed-off-by: Alex Tomlins <alex@tomlins.org.uk>
These output a count of the number of packets transmitted/received, so
should be tracked as a counter. As it stands, promtool is warning that
these shouldn't be named ending _total if they're a gauge.
Signed-off-by: Alex Tomlins <alex@tomlins.org.uk>
Added -fno-rtti and -nodefaultlibs for slightly smaller size.
Also added LTO for a close to 25kb size reduction.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Tang is lightweight server for binding data to network presence.
---
Tang's source: https://github.com/latchset/tang
Maintainer: @Tiboris
Compile tested: (mips, TL-WR842N, 17.01.4, r3560-79f57e422d)
**Tang requires a few other software libraries:**
1. libhttp-parser
2. xinetd's socket activation
3. jose >= 8
**Two new files compared to tang upstream:**
- tangdx : configuration file for xinetd
- tangdw : wrapper for tangd service
- puts timestamp when service activated, and
- redirects stderr to log file in /var/log/
**Removed systemd requirement**
Signed-off-by: Tibor Dudlák <tdudlak@redhat.com>
If the /proc/sys/net/netfilter/nc_conntrack_* files are not present,
this exporter was outputting a blank value, which is invalid. These
files will not be present when using an image that doesn't include the
iptables and firewall packages (eg a minimal access-point type image).
This updates the collector to only output the metrics if the
corresponding /proc files are present.
Signed-off-by: Alex Tomlins <alex@tomlins.org.uk>
This allows BTRFS encryption using zstd. Using zstd can increase
performance.
This change increases size of btrfs-progs only by 4K. The real effect on
size is only size of libzstd which is around 500K. This should be fine
on system requiring BTRFS so no variant without zstd was added.
Signed-off-by: Karel Kočí <karel.koci@nic.cz>
Zstandard, or zstd as short version, is a fast lossless compression
algorithm, targeting real-time compression scenarios at zlib-level and
better compression ratios.
This package includes a C library, and a command line utility producing
and decoding .zst, .gz, .xz and .lz4 files.
Signed-off-by: Amol Bhave <ambhave@fb.com>
Packages such as Perl, Lua, shell scripts don't generate binary files.
Add PKGARCH:=all to them.
Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
Reorganized the Makefile a bit for consistency between packages.
Added PKG_BUILD_PARALLEL for faster compilation.
Removed USEMEMMOVE hack as that is no longer used in the codebase.
Added PKG_FIXUP as the patches touch configure.ac.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
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>
fix snapshot build err.
Add configure option "--enable-resolutionkms=no"
Can not build if libdrm and libudev exist.
Since resolutionkms is not used, it is avoided by disabling it.
Signed-off-by: Yuhei OKAWA <tochiro.srchack@gmail.com>
In collaboration with @dangowrt the server makes use of `ucert`. Active
workers sign created firmware and clients check if the signature is
valid. Certs of *hacked* or inactive workers can be revoked. Private CA
key is **not** stored on the upgrade server.
Only for devices already supporting ucert via firmware metadata.
Signed-off-by: Paul Spooren <mail@aparcar.org>
Drop pre-ucert signature verification.
HTTPS is optional now as integrity can also be provided using ucert.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
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>
Add new package,
open-vm-tools is Open Virtual Machine Tools for VMware guest OS
tested: OpenWrt master and 18.06.2 (x86_64) on ESXi 6.5, 6.7
Signed-off-by: Yuhei OKAWA <tochiro.srchack@gmail.com>
This program has been created to aid open source spectrum analyzer
development for Qualcomm/Atheros AR92xx and AR93xx based chipsets.
Find more information about the package here:
https://github.com/simonwunderlich/FFT_eval
This package is used in LibreMesh, however our CI doesn't support
multiple architecures as all LibreMesh code is lua. Adding this package
to the official repos allows us to offer it in our tool chain.
Signed-off-by: Paul Spooren <mail@aparcar.org>
Remove LTO. It causes an increase in size.
Remove fsck.btrfs. It's just a script that says to run btrfs check.
Replace INSTALL_BIN with CP to avoid copying what should be a symlink.
Install libbtrfsutil. This is needed by a few of the tools.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
By default the database of the known drives is compiled into smartctl and smartd.
These tools also support loading external database from /usr/share/smartmontools/drivedb.h.
This changeset splits moves the database to a separate package
which allows to save some flash space and RAM for those for whom
generic S.M.A.R.T. attributes are enough.
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>