nut: New package for Network UPS Tools

An older version of nut is in oldpackages. This commit is based on that
package and bumps the version to the latest release along with unifying
the server and client packages. More build options are provided for any
custom configuration but the defaults provide a working client and
server install which only needs a UPS driver. Drivers still build as
individual packages to minimise bloat. SSL support has also been added.

Signed-off-by: Martin Rowe <cyanidium@users.noreply.github.com>
Remove placeholder maintainer email address
Merge pull request #436 from cyanidium/master

nut: New package for Network UPS Tools
perl: Make I8/I16/I32 types explicitly signed for PPC

Type signedness is undefined for char. char may actually be unsigned for
some CPUs.
This fixes various bugs on PPC, like negative array indices.

Signed-off-by: Marcel Denia <naoir@gmx.net>
perl: Don't try to link against libnsl

And also remove all other references to avoid confusion.
libnsl isn't really needed. Removing it allows glibc based
toolchains to build perl.

Signed-off-by: Marcel Denia <naoir@gmx.net>
perl: Bump PKG_RELEASE

Signed-off-by: Marcel Denia <naoir@gmx.net>
python: reduce bloat by removing *.pyo and *.pyc files

Seems that if you add a package folder this would also
include the compiled python files which increases fw size.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
python: enforce the existence of files in the filespecs

Seems that this allows some goofs, because some files
silently do not get copied and the build succeeds, even though
it shouldn't.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
python: patch setup.py so that it does not include system include dirs

Seems that the Python C extensions were being
(or at least trying to be) build using '/usr/include' as the first
include folder.

Seems this issue was already fixed on MacOS X and now we've extended
it for our case.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
python: add ac_cv_buggy_getaddrinfo=no to config.site file

Required when IPv6 support gets enabled.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
python: add patch to disable package compiles/tests during cross-builts

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
python: _md5 + _sha libs are now grouped under _hashlibs

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
python: add libopenssl and libcrypto as package deps

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>