libxml2: update to 2.9.2

fixes CVE-2014-3660, CVE-2014-0191 among other issues

Signed-off-by: Steven Barth <steven@midlink.org>
python3: reduce bloat by removing *.pyo and *.pyc files

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

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
python3: 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>
python3: 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>
python3: add patch to disable package compiles/tests during cross-builts

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
python: fix source folder for libpython

This fix is quite critical since it fixes copying the libpython shared lib.
The previous source folder we've used is ok, it has the shared lib,
but libpython2.7.so is not a symlink of libpython2.7.so.1.0, but
rather a copy of it.
Which means that libpython2.7.so takes twice as much space
on the target's flash.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
python3: export CC + CCSHARED env vars to cross-compile Python C extensions properly

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
python3: add PYTHON3_INC_DIR var to CPPFLAGS

The target's PYTHON3_INC_DIR should take precedence over the host's
include dir when cross-compiling.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
python3: add LD and LDSHARED env vars to Build/Compile/Py3Mod

Tells the host Python to use the target's linker.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
python3: enable shared python3 lib; make this the norm

This will reduce the bloat when users will want to compile in their
Python C extensions.
There will be a initial bloat (several kb) if just Python
is installed, but that will be compensated when users will add more
C extensions.

During the build we also have to add Python's PKG_BUILD_DIR
so that the shared lib is found when compiling Python's
built-in C extensions.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
python3: add _PYTHON_HOST_PLATFORM env var when cross-compiling C extensions

This mostly helps to avoid confusion when modules are cross-compiled.
Otherwise build folders are named with the host's platform name.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
unrar: Update to version 5.2.1, refresh patch.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Merge pull request #447 from openwrt/libxml2-update

libxml2: update to 2.9.2
gperf: modified copy from oldpackages, upgrade to 3.0.4

Signed-off-by: Espen Jürgensen <espenjurgensen+openwrt@gmail.com>
forked-daapd: add gperf host tool dependency

Signed-off-by: Espen Jürgensen <espenjurgensen+openwrt@gmail.com>
Merge pull request #451 from ejurgensen/upstream

gperf: modified copy from oldpackages, upgrade to 3.0.4
Merge pull request #452 from ejurgensen/forked-daapd

forked-daapd: add gperf host tool dependency
fastd: re-enable link-time optimization

The toolchain is fixed, so LTO can be enabled again.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Merge pull request #449 from commodo/python-update-3

python: fix source folder for libpython