3265 Commits

Author SHA1 Message Date
Jeffery To 4e3ae81b0c python: use external libffi for host python
This will ensure that ctypes will use the same version of libffi as
other packages, e.g. python-cffi.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2016-03-06 19:09:13 +08:00
Luiz Angelo Daros de Luca f42b6fd6e3 ruby: bump to 2.3.0
New feature release for ruby.More info:
https://www.ruby-lang.org/en/news/2015/12/25/ruby-2-3-0-released/

Patches changes:
(-) 001-rdoc-remove_gems_dep.patch was merged
(+) 001-acinclude.m4_rename_aclocal.m4.patch backported from upstream.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2016-03-06 02:13:08 -03:00
Jeffery To 7eee7533de python-cryptography: update to latest version
This version fixes a compilation error when used with OpenSSL 1.0.2g
(https://github.com/pyca/cryptography/issues/2750).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2016-03-05 02:31:14 +08:00
Jeffery To 57c7942e25 python packages: update host install prefix
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2016-03-05 02:30:13 +08:00
Jeffery To b70b978cc6 python: use default host build prefix, remove cross-compile workarounds for host
The sets host Python's prefix and exec-prefix to the same value
($(STAGING_DIR)/host for packages, as currently defined in
include/host-build.mk), which avoids the case where pyconfig.h is
not in the same location as Python's other header files (see
https://bugs.python.org/issue896330).

This also removes some cross compilation workarounds
(_python_sysroot/prefix/exec_prefix, disabling byte-compilation,
__PYVENV_LAUNCHER__) that are not necessary when compiling packages
for host.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2016-03-05 02:30:12 +08:00
Hannu Nyman d43df25b1f python-cffi: mark BROKEN due to buildbot breakage
python-cffi's host section has trouble compiling at buildbot.
Yesterday it stopped all buildbot runs that reached the package.

Mark the package temporarily as BROKEN to enable buildbot to complete the build.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-03-04 11:51:15 +02:00
Jo-Philipp Wich 0d18627cd2 perl: securely handle duplicate environment variables [CVE-2016-2381]
Stephane Chazelas discovered a bug in the environment handling in Perl.

Perl provides a Perl-space hash variable, %ENV, in which environment
variables can be looked up.  If a variable appears twice in envp, only
the last value would appear in %ENV, but getenv would return the first.
Perl's taint security mechanism would be applied to the value in %ENV,
but not to the other rest of the environment.  This could result in an
ambiguous environment causing environment variables to be propagated to
subprocesses, despite the protections supposedly offered by taint
checking.

With this update Perl changes the behavior to match the following:

 a) %ENV is populated with the first environment variable, as getenv
    would return.
 b) Duplicate environment entries are removed.

References:

 * http://perl5.git.perl.org/perl.git/commit/ae37b791a73a9e78dedb89fb2429d2628cf58076
 * https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2381

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-03-01 17:26:51 +01:00
Marcel Denia b41beefe42 perl-cgi: Update to 4.26
Signed-off-by: Marcel Denia <naoir@gmx.net>
2016-02-24 20:36:21 +01:00
Luiz Angelo Daros de Luca e8bfef392f ruby: refactor package to use more macros
ruby subpackages now are generated by a macro. This reduces the
Makefile size by half and the chance of errors.

No change in packages contents, install-size or dependencies, except
for some removed doc files.

Improved ruby_missingfiles and ruby_find_pkgsdeps script

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2016-02-14 01:00:09 -02:00
Hannu Nyman 9569df4961 Merge pull request #2370 from jefferyto/python-cryptography-update
python-cryptography: update to latest version
2016-02-14 02:25:40 +02:00
Jeffery To 2140d8f6d2 python: fix HOST_PYTHON_INC_DIR path
Host python moved in c5564133, this updates HOST_PYTHON_INC_DIR to
match.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2016-02-14 01:46:56 +08:00
Jeffery To 92de76051a python-cryptography: update to latest version
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2016-02-11 14:32:39 +08:00
Hannu Nyman 9e40560316 Merge pull request #2360 from jefferyto/python-cffi-update
python-cffi: update to latest version
2016-02-08 12:52:38 +02:00
Jeffery To 25127acd0b python-cffi: update to latest version
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2016-02-08 18:48:34 +08:00
Michael Heimpold 0265b62153 php5: update to 5.6.18
Note: Upstream tagged this as security release.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-02-06 23:26:07 +01:00
Hannu Nyman 6d02bab6d3 Merge pull request #2282 from commodo/python3-setuptools-upgrade
python3-setuptools: upgrade to version 19.4
2016-01-26 09:17:43 +02:00
Hannu Nyman 1c1eaf820e Merge pull request #2281 from commodo/python-setuptools-upgrade
python-setuptools: upgrade to version 19.4
2016-01-26 09:17:22 +02:00
Naoir 305b844767 Merge pull request #2267 from jow-/CVE-2015-8607
perl: ensure File::Spec::canonpath() preserves taint [CVE-2015-8607]
2016-01-23 15:52:09 +01:00
Marcel Denia 50d66746a2 perl-test-harness: Update to 3.36
Signed-off-by: Marcel Denia <naoir@gmx.net>
2016-01-23 14:17:39 +01:00
Marcel Denia fa9937d14e perl-html-parser: Update to 3.72
Signed-off-by: Marcel Denia <naoir@gmx.net>
2016-01-23 14:17:13 +01:00
Marcel Denia d47ac781c8 perl-uri: Update to 1.71
Signed-off-by: Marcel Denia <naoir@gmx.net>
2016-01-23 14:15:55 +01:00
Felix Fietkau 9f8e5aca34 treewide: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST), sync with changes in trunk
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2016-01-20 21:56:03 +01:00
Alexandru Ardelean 4784656b09 python3-setuptools: upgrade to version 19.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-01-18 18:07:26 +02:00
Alexandru Ardelean 8a8ac8e4e4 python-setuptools: upgrade to version 19.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-01-18 18:06:50 +02:00
Jo-Philipp Wich f73e358558 perl: ensure File::Spec::canonpath() preserves taint [CVE-2015-8607]
Beginning in PathTools 3.47 and/or perl 5.20.0, the File::Spec::canonpath()
routine returned untained strings even if passed tainted input. This defect
undermines the guarantee of taint propagation, which is sometimes used to
ensure that unvalidated user input does not reach sensitive code.

This defect was found and reported by David Golden of MongoDB, and a patch
was provided by Tony Cook.

References:

 * https://rt.perl.org/Public/Bug/Display.html?id=126862
 * https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-8607

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-14 12:17:56 +01:00
Michael Heimpold 48f1406b18 php5: update to 5.6.17
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-01-08 21:44:39 +01:00
Jeffery To fbefa73e28 python-pyopenssl: new package (closes #2036)
From the package description:

Python wrapper module around the OpenSSL library

This depends on python-cryptography (#2035)

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2016-01-01 23:32:33 +01:00
Jeffery To 342bcd66d5 python-cryptography: new package (closes #2035)
From the README:

cryptography is a package which provides cryptographic recipes and
primitives to Python developers.  Our goal is for it to be your "cryptographic
standard library". It supports Python 2.6-2.7, Python 3.3+, and PyPy 2.6+.

This depends on python-cffi host install (#2034)

Signed-off-by: Jeffery To <jeffery.to@gmail.com>

[Squashed update to latest upstream version into this introducing commit]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-01-01 23:32:33 +01:00
Hannu Nyman 1fec4d323c Merge pull request #2215 from MikePetullo/luasec
luasec: update to 0.5.1
2015-12-31 11:33:32 +02:00
Hannu Nyman f5eabcbb17 Merge pull request #2209 from jefferyto/python-sysroot-fix
python: fixed _python_sysroot paths
2015-12-31 11:31:58 +02:00
Jeffery To 94578145cd python: fixed _python_sysroot paths
AFAIK sysroot is combined with prefix/exec_prefix, so sysroot shouldn't
include "/usr". (cf. the HostPython function in older versions of
python-package.mk)

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2015-12-31 11:55:12 +08:00
W. Michael Petullo 3059512e91 luasec: update to 0.5.1
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2015-12-30 19:23:25 -05:00
Jeffery To 7389d3d5c5 python packages: update host install path
Host installs should now go into $(STAGING_DIR_HOST)/usr to match
python-host.mk.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2015-12-30 22:43:40 +08:00
Luiz Angelo Daros de Luca ad987faf15 Merge pull request #2163 from luizluca/ruby-update
ruby: bump to 2.2.4
2015-12-29 22:36:24 -02:00
Michael Heimpold f61b29241d Merge pull request #2200 from jefferyto/python-cffi-update
python-cffi: update to latest version
2015-12-29 13:33:57 +01:00
Jeffery To 6b0482f6b7 python-cffi: update to latest version
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2015-12-29 20:28:06 +08:00
Jeffery To d96991f5a2 python-enum34: update to latest version
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2015-12-29 20:26:40 +08:00
Luiz Angelo Daros de Luca fbd2b86dca ruby: bump to 2.2.4
This release includes a security fix for Fiddle extension.

* CVE-2015-7551: Unsafe tainted string usage in Fiddle and DL

There are also some bugfixes.

In package, now LD_FLAGS is copied to DLD_FLAGS (used by ruby for libraries).
The missing values from LD_FLAGS cause build error when gcc does not implicitly
include staging/usr/lib.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2015-12-22 18:54:19 -02:00
Marcel Denia 09f97c7b35 perl-cgi: Update to 4.25
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-12-21 17:59:34 +01:00
Marcel Denia 1557f6c4da perl-www: Update to 6.15
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-12-21 17:54:02 +01:00
Marcel Denia 9405a8faec perl-compress-bzip2: Update to 2.24
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-12-21 17:53:25 +01:00
Marcel Denia a23ffef7e9 perl: Update to 5.22.1
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-12-21 17:53:02 +01:00
Alexander Ryzhov 8974291c60 luaposix: suppress docs compilation errors
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
2015-12-21 04:33:44 -05:00
John Crispin b44c01a072 Merge pull request #2147 from commodo/node-x86-build-fix
node: fix build on x86 & x86.64 targets
2015-12-20 21:20:23 +01:00
Alexandru Ardelean e5ca27a97c node: fix build on x86 & x86.64 targets
For x86 and x86_64, nodejs has some special CPU
code that needs to be selected by specifying
the correct CPU name (correct for nodejs).

On OpenWRT x86 is i386 ; node wants ia32 for this.
And x86_64 is x64 on nodejs.

So, we just need to do the proper substitutions.

Note: the ARCH env-var is obtained from CONFIG_ARCH, after
some subtitutions are applied.
So, it shouldn't affect other target archs.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-12-19 18:23:23 +02:00
Daniel Dickinson 83d992a8a9 lang/python: Make building additional (non-base) python modules easier
This adds code to make it easier to build third-party python
modules such as ones from PyPi.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
2015-12-18 17:15:36 -05:00
Hannu Nyman 298c826361 Merge pull request #2092 from cshore/pull-request-python-system-expat
lang/python: Depend on system expat
2015-12-16 10:23:57 +02:00
Hannu Nyman 2e3fb832fc python: bump PKG_RELEASE
Bump PKG_RELEASE of python 2.7.11 as there have been several fixes
since the initial release.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-12-13 17:13:19 +02:00
Alexandru Ardelean 65b388adbc python2: fix typo in HostPython function
I call this the curse of the End-Of-The-Year for me.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-12-13 14:56:45 +02:00
Alexandru Ardelean fdde13be29 python: fix HostPython again
Tested on python-setuptools.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-12-12 14:51:50 +02:00