Currently the values are stored in the ubi plugin as data source type
`counter`. But this makes no sense, because the values change very slowly
and I don't want to know the rate of change. It is better to store the
value as data source type `gauge`. Then I can see the current value.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Since size is not a problem here, use libxcrypt to avoid algorithm
availability. Changed default to bcrypt as that's the strongest
supported by shadow-utils.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
libxcrypt is an external version of libc's libcrypt. It allows to use
algorithms now available with the libc. musl in OpenWrt for example
patches out several algorithms for size reasons. But for shadow-utils,
size does not really matter.
The hashes are set to solaris as that default gives a good balance
between compatibility and size. It includes:
bcrypt,
bcrypt_a,
sha512crypt,
sha256crypt,
md5crypt,
descrypt
The STRONG default adds several algorithms not supported by
shadow-utils.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This is on track to replace libupnp in the next version. Since libupnp
is not building with GCC10, do this now.
Also backported needed header patch.
Replace other patches with the upstream versions.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Add new subpackage containing pam authentication module. Shouldn't
affect dependencies and nothing changes, there is just one more module
enabled for people interested in it.
Signed-off-by: Michal Hrusecky <michal@hrusecky.net>
Restore service triggers which got wrongly removed in commit
733aae9584 ("fix issues").
Without triggers, changing settings from LuCI or calling reload_config
from the cli won't have any effect.
Also adjust the uci commit call to only commit the minidlna configuration
when setting a UUID, to avoid committing unrelated user changes in other
config files.
Ref: https://github.com/openwrt/luci/issues/4194
Fixes: 733aae958 ("minidlna: fix issues")
Fixes: 37367bdc8 ("minidlna: create UUID in config if it is empty")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
If miniupnpd is installed but disabled or not running, the hotplug
script will query uci for keys that don't exist and grep a temporary
config file that doesn't exist, resulting in the following errors:
uci: Entry not found
grep: /var/etc/miniupnd.conf: No such file or directory
These would arise when an interface is brought up or down, and are
more confusing than helpful, especially when miniupnpd is disabled.
Suppress these errors.
Signed-off-by: David Ehrmann <ehrmann@gmail.com>
b933f9cf0c in base made several changes
to OpenWrt's libssp support. It seems this workaround is no longer
needed.
Simplified the configure script slightly.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Removed autoreconf as a result.
Unfortunately, the two versions are not identical. Bumped PKG_RELEASE
to deal with it.
Disable static libraries as they're fairly useless.
Adjusted filepaths.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Upstream created proper tarballs. Switch to those.
Removed autoreconf as a result.
Adjusted filepaths.
Removed upstreamed patch.
Disabled static libraries as they're not useful.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Upstream created proper tarballs. Switched to those.
Removed autoreconf as a result.
Adjusted filenames.
Got rid of static compiles as they're pretty useless.
Signed-off-by: Rosen Penev <rosenp@gmail.com>