Commit graph

991 commits

Author SHA1 Message Date
Alexandru Ardelean
4e2f4a76e3 python: use built-in libffi lib for host build
Python comes with it's own builtin libffi lib, which
seems easier to use for the host build, than trying
to use the one from the package feeds.

Also, dropping `005-fix-libffi-x86-64-configure.patch`
Not needed anymore.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-01-11 15:12:21 +02:00
Alexandru Ardelean
ee88853e04 python: link with static libs of ssl, crypto for host builds
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-01-11 15:12:20 +02:00
Alexandru Ardelean
515468346a Revert "python: don't use libressl for host build"
This reverts commit ca800e60b0.
2017-01-11 15:12:20 +02:00
Alexandru Ardelean
3bfdf6797b python: drop CFLAGS in HOST_CONFIGURE_ARGS ; it's already in HOST_CONFIGURE_VARS
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-01-11 15:12:19 +02:00
Alexandru Ardelean
ed5cd3e2ce python: remove Host/Install rule default add
I just found out that, that the BUILD_VARIANT var
is not set for the host build, so technically this code
would never get used.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-01-11 11:02:24 +02:00
Michael Heimpold
3fc9ae5071 php7: update to 7.1.0
Adjust patches for new upstream revision.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-01-10 23:07:41 +01:00
Yousong Zhou
ea9e3b05ef luajit: move patches dir to the right place
Closes #3792

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-01-08 22:10:25 +08:00
Daniel Engberg
1c56d7e610 lang/luajit: Move to lua submenu
Move luajit to where the other lua stuff lives

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-01-07 19:54:01 +01:00
Hannu Nyman
aebb0147e4 Merge pull request #2823 from milani/luajit
luajit: Added luajit package
2017-01-07 14:43:51 +02:00
Morteza Milani
0f3f62edb9 luajit: new package
Add luajit to repo

Signed-off-by: Morteza Milani <milani@pichak.co>
2017-01-07 15:56:53 +03:30
Alexandru Ardelean
ca800e60b0 python: don't use libressl for host build
Fixes: https://github.com/openwrt/packages/issues/3767

Since commit:
f6e6341d89

libressl is built on the host-side.

Python picks it up [ via the openssl/* headers ] and assumes
it has SSL libs.
Compiling works fine, linking fails.
Doesn't look like it's because:
2fd5ce9488

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-01-06 15:29:21 +02:00
Hannu Nyman
d45c0f1ac0 Merge pull request #3755 from commodo/python3-update-build
python3: sync makefiles with python package
2017-01-04 17:33:27 +02:00
Alexandru Ardelean
3af2027886 python3: sync makefiles with python package
Technically, this just updates build details.
No functionality change to package itself.

So, no need to increase PKG_RELEASE on this change.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-01-04 17:18:50 +02:00
Alexandru Ardelean
f04641d3d1 python: upgrade to version 2.7.13
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-01-04 15:08:45 +02:00
Alexandru Ardelean
6d9137048b python: simplify/unify default build rules for python packages
Most python packages use the same build rules & vars.
So, adding them in python-package.mk.

Also, preparing for using VARIANTs for python/python3 packages.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-01-04 15:08:37 +02:00
Alexandru Ardelean
bb2f8fa8ed python-dev: add python-lib2to3 as dependency
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-01-04 15:08:37 +02:00
Alexandru Ardelean
165cd9f96a python: update PYTHON_FOR_BUILD (based on python3)
PYTHON_FOR_BUILD is used to build the target python.
Nomally Python scripts detect fine the Python host interpreter
to use for building the Python target interpreter.
But, let's not leave it up to chance anymore.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-01-04 15:08:36 +02:00
Alexandru Ardelean
9d876738b2 python: remove argument for --with-system-ffi configure arg (based on python3)
And apparently `--with-system-ffi` does not take any arguments.
But it's only in Python 3.6 that a check was added for that.
After checking, Python 2.7 does not take any args either
for `--with-system-ffi` ; so, remove it [for the case when this
change may get backported].

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-01-04 15:08:36 +02:00
Hannu Nyman
ccb650f109 Merge pull request #3737 from commodo/python3-upgrade
python3: upgrade to version 3.6.0
2017-01-02 22:11:39 +02:00
Alexandru Ardelean
2244ad9f56 python3: upgrade to version 3.6.0
Python 3.6 comes with some new cross-compilation logic that
generates filenames/paths with arch, abiflags and mach
included (in filename & path).

Problem is that the generated paths/filenames are not
consistent across archs (noticed on x86_64 & ar71xx),
so patch `016-adjust-config-paths.patch` was added
to mitigate this (by removing extra stuff in paths).

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-01-02 21:46:03 +02:00
Daniel Engberg
e862978eac lang/php7-pecl-http: Drop mbed TLS 1.3 (PolarSSL)
Drop mbed TLS 1.3 (PolarSSL) option as it's EOL.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-01-01 06:15:30 -06:00
Luiz Angelo Daros de Luca
9682a1d164 ruby: bump to 2.4.0
This is a stable feature release.

Notable changes:

- Introduce hash table improvement (by Vladimir Makarov)
- Binding#irb: Start a REPL session similar to binding.pry
- Unify Fixnum and Bignum into Integer
- String supports Unicode case mappings
- Performance improvements
- Thread#report_on_exception and Thread.report_on_exception changes
- Thread deadlock detection now shows threads with their backtrace and dependency
- Support OpenSSL 1.1.0 (drop support for 0.9.7 or prior)
- ext/tk is now removed from stdlib Feature #8539
- XMLRPC is now removed from stdlib Feature #12160

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2016-12-31 01:54:33 -02:00
Philip Prindeville
b88eb1b6e1 perl-cgi: Bump version to latest
This version is no longer posted on CPAN so point to latest instead.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2016-12-27 16:45:56 +08:00
Michael Heimpold
333957fba9 php7-pecl-http: fix build for big endian (fixes #3691)
While at, improve pre-seeded dependency detection.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-12-23 23:08:29 +01:00
Michael Heimpold
6fa5f409e7 php7-pecl-http: upgrade to 3.1.0
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-12-22 10:27:26 +01:00
Michael Heimpold
200c52e9dd php7-pecl-dio: upgrade to 0.0.9
The upstream release has all the patches already included, so we can
drop them here.
This also fixes issues on 64-bit archs.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-12-22 10:27:26 +01:00
David Thornley
1542acaba7 luarocks: Fix seeded uname (s/m) in siteconfig
LUAROCKS_UNAME_S/LUAROCKS_UNAME_M were being set automatically to host’s architecture and system/kernel name (e.g.. x86 and Darwin for the macOS)
The variables can now be supplied to configure via the supplied patch.
They are currently _S being hardcoded to “Linux” and _M set to the target architecture in the MakeFile.

Signed-off-by: David Thornley <david.thornley@touchstargroup.com>
2016-12-22 18:12:15 +11:00
Hannu Nyman
7abd29bc7c Merge pull request #3659 from jow-/python-move-includes
python: move includes after common package variables
2016-12-16 10:41:49 +02:00
Alexandru Ardelean
985dcd4b28 python3: split python3-version.mk from python3-package.mk
And move \`python3-package.mk\` include, same as in python package.
This is mostly to have consistency/similarity between python & python3
packages.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-12-16 09:07:44 +02:00
Jo-Philipp Wich
49cf5815e3 python: move includes after common package variables
Move the python-host.mk and python-package.mk includes after the definition of
common package variables. This is required to ensure that PKG_UNPACK is not set
to to the dummy "true" command which happens if PKG_SOURCE is not yet set.

Fixes the following error observed while attempting to build Python on a recent
LEDE version:

    make[2]: Entering directory '.../lang/python'
    true
    [ ! -d ./src/ ] || cp -fpR ./src/* .../Python-2.7.12

    Applying ./patches/001-enable-zlib.patch using plaintext:
    can't find file to patch at input line 14
    Perhaps you used the wrong -p or --strip option?
    [...]
    Patch failed!  Please fix ./patches/001-enable-zlib.patch!
    Makefile:242: recipe for target '.../Python-2.7.12/.prepared_...' failed

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-12-16 03:24:19 +01:00
Hannu Nyman
11078f3895 Merge pull request #3592 from commodo/python-setuptools-fix
python-setuptools,python3-setuptools: fix path creation in setup scripts
2016-11-28 22:52:06 +02:00
Alexandru Ardelean
c3441865ca python3-setuptools: fix path creation in setup scripts
Same as for python-setuptools (in previous commit).

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-11-28 16:51:11 +02:00
Alexandru Ardelean
df840c1e9f python-setuptools: fix path creation in setup scripts
This was fixed a few versions back.
But then python-setuptools changed.

The problem is that python scripts installed via setuptools
& pip would have `#!/build_dir_path/staging_dir/target-x86_64_musl-1.1.15/host/bin/python`
as the path in the script, rather than the path on the target (`/usr/bin/python`).

This fixes that.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-11-28 16:49:23 +02:00
Luiz Angelo Daros de Luca
12e314488b Merge pull request #3547 from luizluca/ruby-update
ruby: bump to 2.3.3
2016-11-22 14:58:55 -02:00
Luiz Angelo Daros de Luca
b6a9980d40 ruby: bump to 2.3.3
This release contains a bug fix about Refinements and Module#prepend.
The mixture use of Module#refine and Module#prepend to the same Class
could cause unexpected NoMethodError. This is a regression on Ruby 2.3.2
released last week. See [Bug #12920] for details.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2016-11-22 14:55:11 -02:00
Breuss Simon
7e1b756cd3 update micropython and micropython-lib to v1.8.6
Signed-off-by: Breuss Simon <simon.breuss@gmail.com>
2016-11-21 20:07:32 +01:00
Andrew McConachie
398109118c lang/python-pcapy: Added python-pcapy package
https://github.com/CoreSecurity/pcapy
Pcapy is a Python extension module that enables software written in Python to access the routines from the pcap packet capture library.

Signed-off-by: Andrew McConachie <andrew@depht.com>>
2016-11-19 13:12:19 -05:00
Luiz Angelo Daros de Luca
1f8432ab9a ruby: bump to 2.3.2
This release contains update of RubyGems 2.5.2 and update of included ssl certificates.

There are many bugfixes too. See the http://svn.ruby-lang.org/repos/ruby/tags/v2_3_2/ChangeLog
for details.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2016-11-18 04:50:12 -02:00
Michael Heimpold
583af8565e php7: update to 7.0.13
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-11-16 21:12:39 +01:00
Alexandru Ardelean
ee512fa36f python-dns: add python-setuptools/host as build dependency
After commit a4b0c0a9fb
python host does not install/have the built-in setuptools package.

So, for python-dns, we need to add it explicitly (since it's required).

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-11-09 09:35:19 +02:00
Alexandru Ardelean
556821951d python-dns: use --prefix & --root config options
Does not fix anything, just brings it inline with the
other python packages.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-11-09 09:28:34 +02:00
Alexandru Ardelean
9eca45fdf1 python, python3: unify HOST_ vars and get rid of HOST_CFLAGS
--sysconfigdir and --sbindir are obtained from --prefix
and --exec-prefix, so no need to have them explicitly

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-11-07 10:55:34 +02:00
Alexandru Ardelean
7d89234b86 python,python3: get rid of HOST_CFLAGS
They rely on system paths and are a bit misleading/confusing.
As seen here:
https://github.com/openwrt/packages/issues/3339

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-11-07 10:55:33 +02:00
Alexandru Ardelean
e81632ab90 python3: disable ensurepip on package & host builds
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-11-07 10:55:33 +02:00
Alexandru Ardelean
6a670f42b1 python: move PYTHON_VERSION in own .mk file
Allows for more granularity with respect to python-host.mk
and python-package.mk inclusions.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-11-07 10:55:31 +02:00
Alexandru Ardelean
45bdb70e1e python: add include guard for python-host.mk and include in Makefile
So that it can be included twice.
python-package.mk include python-host.mk, but at some point
in time python-host.mk is not exported to staging_dir yet.

So, to have in python's Makefile, we need to include it
in the Makefile, and to prevent double inclusion (if
python-host.mk is exported from a previous build), the
include guard is added.

Also, moved the includes after some vars were set.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-11-07 09:27:20 +02:00
Gergely Kiss
ed56b2ea43 python-urllib3: update to version 1.19
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2016-11-06 17:36:20 +01:00
Hannu Nyman
d015c6edfe Merge pull request #2922 from cshore/pull-request-fix-perl-utf8-dependency
lang/perlbase: Fix missing utf8 dependency on unicore
2016-11-06 11:57:42 +02:00
Hannu Nyman
2ae49e2b16 Merge pull request #3460 from Shulyaka/python-dns
python-dns: version update to 1.15.0
2016-11-04 09:28:37 +02:00
Denis Shulyaka
0e8e30eb6b python-dns: version update to 1.15.0
Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
2016-11-03 18:15:55 +03:00