package/nut: bump version
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 3 Apr 2021 08:19:53 +0000 (10:19 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 22 Apr 2021 20:57:42 +0000 (22:57 +0200)
commit74af3bd1930aba045a13dc526cdde7db03b97ac0
treef84c07c8fed1c3e11b5fb079e0b6108175be36bc
parentd973fac7ca2e7c0c4864e8045e5205764e84c45b
package/nut: bump version

The last release is five years old. To support newer hardware we bump
the package to latest git master branch. For upstream discussion see
github issue 819.

Removed patches, they were all applied upstream.

Added NUT_PRE_CONFIGURE_HOOKS to fix autoreconf:

configure.ac:1994: error: required file 'scripts/augeas/nutupsconf.aug.in' not found
configure.ac:1994: error: required file 'scripts/devd/nut-usb.conf.in' not found
configure.ac:1994: error: required file 'scripts/udev/nut-usbups.rules.in' not found

because upstream autogen.sh creates additional files:
https://github.com/networkupstools/nut/blob/master/autogen.sh

Configure is not cross-compile friendly:
https://github.com/networkupstools/nut/blob/master/m4/ax_c_pragmas.m4#L574
Add ax_cv__printf_string_null=yes to fix cross build.

Removed configure option --without-hal due to upstream removal of hal
files:
https://github.com/networkupstools/nut/commit/5860c09e85278e597f85d26b3a23be8c80c199e8

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/nut/0001-Allow-to-customize-path-to-gdlib-config-and-net-snmp.patch [deleted file]
package/nut/0002-client-ups-add-missing-include.patch [deleted file]
package/nut/0003-Add-compatibility-with-openssl-1.1.0.patch [deleted file]
package/nut/0004-nut_check_libgd.m4-try-to-find-gd-through-pkg-config.patch [deleted file]
package/nut/nut.hash
package/nut/nut.mk