PHP 7.2 dropped support for the libmcrypt binding. The binding is now
provided by PECL, and a number of applications still rely on this package.
Signed-off-by: W. Michael Petullo <mike@flyn.org>
Patched to compile with openssl 1.1, and also added -std=gnu++03 to
allow compilation with gcc 7.
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
Openssl 1.1 doesn't support SSL2 and does not define the OPENSSL_NO_SSL2
flag either. Also, it defaults to NO_EGD, so do not use EGD if it's not
enabled in openssl.
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
When cross-compiling, the configure script doesn't use /dev/urandom as
entropy source, which would have been the case if we were building it
natively. Instead it tries to use an EGD, which openwrt doesn't supply.
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
Avoid calling deprecated and unnecessary library initialization
functions with openssl >= 1.1.0.
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
Defining _GLIBCXX_INCLUDE_NEXT_C_HEADERS instructs gcc 7.x libstdc++ to
include the system's stdlib.h and math.h, and not their own.
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
The sources for usbip are within the kernel. A patch that was included
with the package, which changed the old signal name SIGCLD to the new
one, SIGCHLD, was merged upstream. However, different targets use
different kernel versions. Current version 4.14 and 4.9 are fine, but
older versions do not have the patch applied. So, I used
-DSIGCLD=SIGCHLD to please both worlds.
libudev-fbsd currently used by openwrt does not implement the
udev_device_get_devpath function. eudev's implementation of libudev
sets it as (src/libudev/libudev-device.c):
udev_device->devpath = udev_device->syspath + strlen("/sys");
I used a command-line define to use the same logic, as it works with
new and old versions of the kernel--the use of ..devpath is quite
recent.
I also linked with libbsd, when using glibc.
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
Use $(CP) instead of $(INSTALL) so that libtdb.so.1 is installed as
symlink, and not duplicated.
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
This patch is a backport of upstream changes.
I read the Makefile warning and made sure it only updates the openssl
calls and data types to the new API. It does not touch anything else!
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
At 1.4.48, base64 decode is broken when libc sees `char` as `unsigned char`
d4083effab?diff=unified
Signed-off-by: Xavier Franquet <xavier@franquet.es>