Commit graph

242 commits

Author SHA1 Message Date
Luiz Angelo Daros de Luca
5cdf0d7578 Merge pull request #527 from luizluca/ruby-update
ruby: update to 2.1.4
2014-11-09 23:14:45 -02:00
Álvaro Fernández Rojas
e4f2d1145b Merge pull request #520 from mhei/php5-oldstable
php5: upgrade to 5.4.34 (fixes #502)
2014-11-10 01:28:37 +01:00
Alexandru Ardelean
a91a992abb python: add __PYENV_LAUNCHER__ env var
Mostly useful for setuptools and pip during build.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-09 21:08:08 +02:00
Alexandru Ardelean
a9ba2161bd python: remove readline.so for now
Some symbols are not found (tgetnum and BC).
Looks like the termcap lib, which should be in libncurses(w)
but maybe some build param would be required.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-09 20:16:25 +02:00
Alexandru Ardelean
4f0f05f92b python: add some Build/InstallDev rules back
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-09 17:56:45 +02:00
Alexandru Ardelean
dd4cca5d26 python: add OPT and CONFIG_SITE vars to HOST_CONFIGURE_ARGS
Fixes some build issues.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-09 17:32:23 +02:00
Alexandru Ardelean
efcfca9631 python: add lib deps
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-09 17:32:17 +02:00
Michael Heimpold
42db20a190 php5: upgrade to 5.4.34 (fixes #502)
This addresses CVE-2014-3668, CVE-2014-3669 and CVE-2014-3670
according to PHP's release notes.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2014-11-09 12:36:39 +01:00
Alexandru Ardelean
cbc39a176f python: final switch
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-09 11:09:10 +02:00
Alexandru Ardelean
c3cd970570 python: exclude pdb.doc and webbrowser.py
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-07 16:50:30 +02:00
Alexandru Ardelean
3cd31a4633 python: remove +libcrypto dep; that's a openssl lib
Signed-off-by: Alexandru Ardelean <ardeleanalex.com>
2014-11-07 15:37:18 +02:00
Alexandru Ardelean
9e78aff770 python: add PKG_USE_MIPS16:=0 + handle CONFIG_USE_MIPS16
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-07 15:37:18 +02:00
Alexandru Ardelean
242286b80d python: add PYTHONPATH var; this allows packages to configure it
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-07 15:37:18 +02:00
Alexandru Ardelean
283b3597b7 python: add HOST_PYTHON_LIB_DIR variable to python-package.mk
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-07 15:37:18 +02:00
Alexandru Ardelean
38a72bab1f python: cleanup Build/InstallDev rule
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-07 15:37:17 +02:00
Alexandru Ardelean
7a689890eb python: remove --without-ensurepip; not needed anymore
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-07 15:37:17 +02:00
Alexandru Ardelean
0ea587ad24 python: remove explicit rules in favor of using make/configure vars
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-07 15:37:17 +02:00
Alexandru Ardelean
7be9485564 python: reboot all python packages
Redefine python-full as all-pages-minus-a-few-that-don't make sense.
Remove all other packages.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-07 15:37:12 +02:00
Marcel Denia
13f4a02172 perl: Update to 5.20.1
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-11-06 08:18:43 +01:00
Marcel Denia
4fd4aa0fbd perl: Mark test support as experimental
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-11-06 08:18:43 +01:00
Marcel Denia
771b776a19 perl: Fix signal order for i486
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-11-06 08:18:42 +01:00
Marcel Denia
ce54424c81 perl: Update perlbase.mk
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-11-06 08:18:42 +01:00
Marcel Denia
1549919b71 perl: Also strip begin, end and for pragmas
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-11-06 08:18:42 +01:00
Marcel Denia
671a43167f perl: Set nv_overflows_integers_at configuration symbol
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-11-06 08:18:42 +01:00
Marcel Denia
95058be605 perl: Add basic test support
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-11-06 08:18:42 +01:00
Luiz Angelo Daros de Luca
f3f0f2fa28 ruby: update to 2.1.4
This release includes security fixes for the following vulnerabilities:

* CVE-2014-8080: Denial of Service XML Expansion
* Changed default settings of ext/openssl related to CVE-2014-3566

And there are some bug-fixes.

Ref: https://www.ruby-lang.org/en/news/2014/10/27/ruby-2-1-4-released/

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2014-11-05 01:29:54 -02:00
Denis Shulyaka
f155f1490c python-dns: fixed URL
Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
2014-11-04 14:02:26 +03:00
Roger
e341c88e2c micropython-lib: update and add package category
Signed-off-by: Roger D <rogerdammit@gmail.com>
2014-11-02 11:10:51 -06:00
Roger
f174253bfa micropython: update and add package category
Signed-off-by: Roger D <rogerdammit@gmail.com>
2014-11-02 11:07:11 -06:00
Denis Shulyaka
59dd3e999e New python-dns package
Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
2014-10-26 01:38:03 +03:00
Alexandru Ardelean
ab0232eebe python: add _sysconfigdata.py to python base package
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-10-25 15:01:49 +03:00
Nicolas Thill
3cb13c7a6a dkjson: remove wrong PKG_BUILD_DIR override
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2014-10-25 09:40:56 +02:00
Nicolas Thill
6243f35724 python3: create ./usr/bin directory at package/install
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2014-10-24 16:32:29 +02:00
Nicolas Thill
7405d4bc08 luasql: bump to v2.3.0 2014-10-24 16:32:29 +02:00
sbyx
437de230bc Merge pull request #458 from roger-/micropython
micropython: update to latest
2014-10-24 09:05:52 +02:00
Nicolas Thill
cad9bdbc85 python, python3: fix python*-package.mk
Replace calls to getvar function recently removed

Signed-off-by: Nicolas Thill <nico@openwrt.org>
2014-10-23 22:57:02 +02:00
Roger
8a9c990343 micropython: update to latest
Signed-off-by: Roger D <rogerdammit@gmail.com>
2014-10-22 12:54:05 -05:00
sbyx
b87f4d359e Merge pull request #450 from commodo/python3-update-1-2-3
Python3 update 1 2 3
2014-10-21 08:55:16 +02:00
Alexandru Ardelean
056e565ab6 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>
2014-10-20 20:04:55 +03:00
Alexandru Ardelean
1a0e9b3786 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>
2014-10-20 20:04:54 +03:00
Alexandru Ardelean
cc6423d57a 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>
2014-10-20 19:13:32 +03:00
Alexandru Ardelean
3edeed3f4d 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>
2014-10-20 19:13:32 +03:00
Alexandru Ardelean
f729ba98c5 python3: export CC + CCSHARED env vars to cross-compile Python C extensions properly
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-10-20 19:13:28 +03:00
Alexandru Ardelean
f699a1f8f9 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>
2014-10-20 19:07:28 +03:00
Alexandru Ardelean
5bf4866fd9 python3: add patch to disable package compiles/tests during cross-builts
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-10-20 18:13:13 +03:00
Alexandru Ardelean
e0abcb569b 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>
2014-10-20 18:09:57 +03:00
Alexandru Ardelean
8c4da0367b 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>
2014-10-20 18:08:55 +03:00
Alexandru Ardelean
885fe99cd2 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>
2014-10-20 18:05:03 +03:00
Alexandru Ardelean
a1fe8c48aa 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>
2014-10-20 18:04:12 +03:00
Alexandru Ardelean
820278a0c8 python: use libncursesw instead of libncurses
Python's build scripts prefer ncursesw, and if it is detected
it will be used.
The problem will occur when linking, since ncursesw libs may not be
installed if not added as deps, but the sources will be compiled
against ncursesw.

Reference from Python's HISTORY file:
  Patch #1428494: Prefer linking against ncursesw over ncurses library.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-10-19 22:41:57 +03:00