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>
Cmake currently fails to compile properly. While there's a fix
upstream, we can avoid carrying any patches here, and use the more
stable build system, despite being slower.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Target ar71xx is deprecated and removed in the master branch and makes SDK
not available anymore. Travis fails because of that.
It was superseded by target ath79. These devices have 4 MB flash and/or 32 MB RAM.
However, ath79 is being used by CircleCI if you have it configured for
your repository and if you are contributing to this repository. It
is not good to have two CI for the same target. Let's use powerpc.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
ALTERNATIVES shall be defined in the package where /sbin/kmod resides --
otherwise kmod tools will break if we install only the library as these
tools will be linked to a nonexistent executable.
Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
Currently motion is failing to compile on bcm27xx because of a missing
dependency.
Sorted the configure options based on the order they appear in the
configure script. Also removed outdated ones.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Irqbalance defines /run/irqbalance dir for its socket
communication between irqbalance and its UI. /run does not exist
in OpenWrt (although it is defined by the Linux FHS), so the
socket creation fails. Although we do not compile UI and thus
the issue is not critical to us, fix the directory location.
Additionally, the creation is originally handled by a systemd
init script that we do not use.
* patch source to define dir as /var/run/irqbalance
* create the dir in the procd init script.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
If musl has no bcrypt:
passwd: failed to crypt password with salt '$2a$13$w8EJ0Yfz5bGsG4U/0m7bk/': Function not implemented
The password for root is unchanged.
glibc output as it has no bcrypt:
passwd: failed to crypt password with salt '$2a$13$xbpmAYmq6Q/rZN5jOlNxJZ': Invalid argument
The password for root is unchanged.
--without-bcrypt output:
Invalid ENCRYPT_METHOD value: 'BCRYPT'.
Defaulting to DES.
passwd: password changed.
The solution was tested on glibc despite using a musl specific variable
Still works.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Switched to new upstream.
Added PKG_BUILD_PARALLEL for faster compilation.
Refreshed and fixed up patches.
Fixed up license information.
Signed-off-by: Rosen Penev <rosenp@gmail.com>