Commit Graph

3246 Commits

Author SHA1 Message Date
Alexandru Ardelean 96d4953662 python3: override machine definition for i386 to build the decimal module
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-03-27 16:42:33 +02:00
Jan Čermák 34b21dc910 luasocket: add socket.unix module
Previous build was missing module socket.unix that is required for
interaction with Unix domain sockets and is distributed in a separate
shared library. This commit adds the file to the created package.

Signed-off-by: Jan Čermák <jan.cermak@nic.cz>
2015-03-24 16:46:00 +01:00
Michael Heimpold 7c4d779f3e php5: upgrade to 5.6.7
This fixes CVE-2015-0231, CVE-2015-2305 and CVE-2015-2331.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2015-03-22 20:17:15 +01:00
Steven Barth e6a900d031 Merge pull request #1043 from sairon/python-package-extra-configure-args
python: added configure args for distutils path detection
2015-03-16 17:53:51 +01:00
Karl Palsson 6aa5742fb5 lua-penlight: Bump to version 1.3.2
And include the pkg md5sum finally.

Signed-off-by: Karl Palsson <karlp@remake.is>
2015-03-16 11:10:54 +00:00
Jan Čermák a5d784de0b python: added configure args for distutils path detection
python-package.mk now defines (extends) CONFIGURE_ARGS that are
adjusting PREFIX and EXEC_PREFIX in distutils.sysconfig during
compilation. These variables are sometimes used by autotools to detect
path to Python header files. Adding these variables to python-package.mk
fixes compilation of legacy autotools-configured packages that already
include python-package.mk and do not overwrite CONFIGURE_ARGS.

Signed-off-by: Jan Čermák <jan.cermak@nic.cz>
Cc: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-03-16 10:41:33 +01:00
Alexandru Ardelean 12bba35627 python3: revert puting the encodings folder into a python3-codecs
Some notes about the 'encodings' module, which is about 1.7 MB.
Unfortunately that one cannot be moved into the 'python3-codecs'
package, because Python tries to load up all available encodings
at startup.
Some efforts to add a dummy folder/python file have failed so far,
since there's a C code (Python/codecs.c) that tries to evaluate that
all encodings (in the encodings folder/module) are valid.

Basically the encodings module is a repository of encodings,
and it seemst there are quite a few of them.

Maybe a request to upstream Python would work for this, to
make encodings a bit more decoupled from the interpreter.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-03-14 21:24:31 +02:00
Alexandru Ardelean cfe31ca3d3 python3: port some patches from python
Based on the idea that 'what-works-on-python-should-work-on-python3'
because they share the same trunk, these patches have been copied over
from the python package.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-03-14 21:24:31 +02:00
Alexandru Ardelean 741fdfd1e0 python3: replicate packaging work done in python package
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-03-14 21:24:30 +02:00
Alexandru Ardelean 70df2d9a0c python3: upgrade to version 3.4.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-03-14 21:18:15 +02:00
Alexandru Ardelean dd091f235f python3: re-number patches
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-03-14 21:18:15 +02:00
Alexandru Ardelean d69d8ec0b9 python: refine packaging and split more modules into packages
Rule of thumb is: any Python file that is greater than 100kb
(or adds a dependency with which it adds more than 100 kb)
should be a pretty useful/commonly used lib to stay in `python-light`.
An example, is the Python IO lib, which summarized (Python source +
binary module) is over 200kb.

Also moved some files that should have been put into previously
existing packages before, and re-organized the packages a bit.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-03-13 18:39:08 +02:00
Steven Barth 3cf51e0937 Merge pull request #1032 from commodo/python-updates
python: fix conflicts between python-light & python-base
2015-03-12 21:19:52 +01:00
John Crispin 98be2ca3e0 global: change all instances of USE_EGLIBC to USE_GLIBC
Signed-off-by: John Crispin <blogic@openwrt.org>
2015-03-12 20:52:37 +01:00
Alexandru Ardelean 01eff3fc59 python: fix conflicts between python-light & python-base
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-03-12 21:04:45 +02:00
Alexandru Ardelean 9c5af1f29c python: revert previous patch and add a filespec
Seems removing the PyPackage rule and/or adding dummy install rule
causes some issues inside the build-system, where the libpython2.7.so.1.0
is not seen by packages that depend on python.
Even though that libpython2.7.so.1.0 file is installed properly by `python-base`.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-03-11 11:27:40 +02:00
Alexandru Ardelean ac311e9801 python: remove PyPackage rules for python package
Calling `PyPackage` will install some default install rules for
python packages that are not required for the `python` package specifically
are not required.
That will lead to some conflicts with `python-light` because the
`/usr/lib/python2.7/site-packages` folder (+contents) will be
available in both packages.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-03-09 16:52:52 +02:00
Steven Barth 755da9e409 Merge pull request #1006 from commodo/python-rt-lib-dirs
python: add patches to disable runtime lib dirs
2015-03-09 06:55:38 +01:00
Alexandru Ardelean c8c509bdad python: add patches to disable runtime lib dirs
When cross-compiling, we do not need to add runtime lib dirs.
Also, the cross compilers that are used on OpenWRT do not support
the '-R' option, which causes build failures.

These build failures existed before, but were not noticed,
because it fails only on some setups.
This is because Python's `setup.py` does a lot of voo-doo
automagic that needs handling for some cross-compilation cases.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-03-08 17:57:26 +02:00
Gergely Kiss a63b51fa40 vala: update to 0.27.1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2015-03-08 15:14:30 +01:00
Gergely Kiss 7b95d72631 vala: add glib2 as a build dependency, fixes #702
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2015-03-08 14:51:28 +01:00
Steven Barth 66331c6de2 Merge pull request #992 from commodo/python-patch-updates
python: patch updates
2015-03-06 15:29:30 +01:00
Alexandru Ardelean 0d072f2b42 python: packetize some python modules
Packetize some Python modules to reduce size of the overall Python package.
Basically, a new package is introduced, call `python-light`,
and everything that's extra (or big) is put in other packages.

The `python` package becomes a metapackage that installs `python-light`
along with the rest of the packages.

Base work started by Jan Čermák.

Signed-off-by: Jan Čermák <jan.cermak@nic.cz>
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-03-06 15:19:29 +02:00
Alexandru Ardelean bb87de33dd python: add '_python_*' env vars to host python
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-03-06 14:18:45 +02:00
Alexandru Ardelean 2727b3fda3 python: add patch for distutils to add support for the '_python_sysroot' env var
Patch taken from buildroot:
  http://git.buildroot.net/buildroot/tree/package/python/python-008-distutils-use-python-sysroot.patch

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-03-06 11:16:48 +02:00
Alexandru Ardelean 8d6b503b4a python: re-number patches
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-03-06 11:11:18 +02:00
Lars Gierth 9f76445fa4 dkjson: bump release
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-03-03 22:26:13 +01:00
Lars Gierth 708143b780 dkjson: update PKG_MD5SUM
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-03-03 22:25:17 +01:00
Luiz Angelo Daros de Luca 487d28d2a8 ruby: update to 2.2.1
For ruby changes since 2.2.0:
 http://svn.ruby-lang.org/repos/ruby/tags/v2_2_1/ChangeLog

No relevant changes for OpenWRT.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2015-03-03 16:05:37 -03:00
Roger c69cb362d9 micropython-lib: update to latest
Signed-off-by: Roger D <rogerdammit@gmail.com>
2015-03-02 13:30:16 -06:00
Roger c1b4af99c8 micropython: update to latest
Signed-off-by: Roger D <rogerdammit@gmail.com>
2015-03-02 13:27:35 -06:00
Marcel Denia 8bf036f0e2 perl-uri: Update to 1.67
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-03-02 10:23:05 +01:00
Steven Barth 056f0002b1 Merge pull request #962 from sairon/python-fix-distutils-adjusting-path
python: patch distutils adjusting path in scripts' shebang
2015-03-02 07:47:20 +01:00
Steven Barth cdb2ee745f Merge pull request #963 from commodo/python-compileall-reduce
python: reduce size of patch 130
2015-03-02 07:46:40 +01:00
Ted Hess a45bcefe93 Merge pull request #945 from amrhassan/json4lua
JSON4Lua: Add new package
2015-03-01 09:33:51 -05:00
Ted Hess 97f9155643 Merge pull request #944 from amrhassan/uuid
UUID: Add new package
2015-03-01 09:33:27 -05:00
Ted Hess 472ef3918c Merge pull request #943 from amrhassan/master
LuaRocks: Add new package
2015-03-01 09:33:04 -05:00
Amr Hassan d4969a644c JSON4Lua: Add new package
Signed-off-by: Amr Hassan <amr.hassan@gmail.com>
2015-03-01 15:04:15 +02:00
Amr Hassan 60f106ab68 UUID: Add new package
Signed-off-by: Amr Hassan <amr.hassan@gmail.com>
2015-03-01 15:01:42 +02:00
Amr Hassan 857a85a60d LuaRocks: Add new package
Signed-off-by: Amr Hassan <amr.hassan@gmail.com>
2015-03-01 14:59:19 +02:00
Jan Čermák 71b696622a python: patch distutils adjusting path in scripts' shebang
When distutils are copying scripts, path to Python interpreter is adjusted.
This does not work well in OpenWrt buildroot, because the path is adjusted
to absolute path to host Python then. This patch simply disables the
adjusting of the path.

Signed-off-by: Jan Čermák <jan.cermak@nic.cz>
2015-02-27 18:11:19 +01:00
Alexandru Ardelean 7c4dac5118 python: reduce size of patch 130
Try to reduce the amount of change in this patch, since it removes
a lot of stuff, when we could just 'ifdef' that stuff out, with 2 lines.

The buildroot project does something similar like this:
http://git.buildroot.net/buildroot/tree/package/python/005-pyc-pyo-conditional.patch

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-02-27 18:11:22 +02:00
W. Michael Petullo fec32996ff php5: update to 5.6.6
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2015-02-26 22:45:43 -05:00
Jan Čermák 6f699463da python: removed ensurepip module
This module is not necessary in OpenWrt because the functionality it
provides (i.e. installation of setuptools and PIP) is ensured by
python-pip and python-setuptools packages.

See: https://docs.python.org/2.7/library/ensurepip.html

Signed-off-by: Jan Čermák <jan.cermak@nic.cz>
2015-02-24 18:33:29 +01:00
Michael Heimpold 598f7226ee php5: upgrade to 5.4.38
This fixes CVE-2015-0235 and CVE-2015-0273.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2015-02-23 19:45:14 +01:00
Nicolas Thill e24dfafb01 remove uneeded PKG_BUILD_DIR & PKG_CAT overrides
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-02-22 02:37:56 +01:00
Marcel Denia c36bc9cee0 perl-compress-bzip2: Update to 2.22
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-02-21 08:07:39 +01:00
Steven Barth f4e9c703b3 Revert "python: add patch to abort build on failed module build" 2015-02-20 09:33:41 +01:00
Alexandru Ardelean 999cc6a040 python: add patch to abort build on failed module build
Taken from buildroot:
  http://git.buildroot.net/buildroot/plain/package/python/014-abort-on-failed-modules.patch

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-02-19 16:00:04 +02:00
Steven Barth 47a9270fbd Merge pull request #896 from commodo/python-push
python: add ncurses(w) include folders for host python
2015-02-17 15:53:10 +01:00