Commit graph

548 commits

Author SHA1 Message Date
Steven Barth
277746170b Merge pull request #1109 from kissg1988/vala
vala: update to 0.28.0
2015-04-02 08:23:15 +02:00
Gergely Kiss
a98b445987 vala: update to 0.28.0
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2015-04-01 20:47:43 +02:00
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
Marcel Denia
404a4362ac perl: Update to 5.20.2
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-02-16 15:15:49 +01:00
Marcel Denia
325128f754 perl: Improve CONFIG_PERL_TESTS help text
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-02-16 15:15:49 +01:00
Marcel Denia
d091b65926 perl: Enable CONFIG_PERL_THREADS properly by default for x86
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-02-16 15:15:49 +01:00
Marcel Denia
052129858e perl: Upgrade configuration files to perl 5.20.2
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-02-16 15:15:48 +01:00
Alexandru Ardelean
705b381b5b python: add ncurses(w) include folders for host python
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-02-11 20:20:14 +02:00
Zvonimir Fras
2e416a28b6 python3-bottle: add package
Signed-off-by: Zvonimir Fras <zvonimir.fras@sartura.hr>
Signed-off-by: Luka Perkov <luka@openwrt.org>
2015-02-11 17:02:15 +01:00
Marcel Denia
39518078d8 perl: Bump PKG_RELEASE
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-02-07 23:22:54 +01:00
Marcel Denia
7236fe401f perl: Provide correct CFLAGS through perlmod.mk
In case threading is enabled, perl is compiled with -D_REENTRANT
and -D_GNU_SOURCE, which, apart from other things, enables usage
of off64_t. As we override module CFLAGS manually, we'll have to
pass that flags as well.

Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-02-07 23:22:54 +01:00
Marcel Denia
60b61d35fb perl: Bump PKG_RELEASE
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-02-04 13:57:27 +01:00
Marcel Denia
8ab3731392 perl: Cleanup
- Update copyright notice
- Make perlbase-experimental's TITLE show up in menuconfig again
- Formatting changes

Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-02-04 13:56:30 +01:00
Marcel Denia
30753fd5e5 perl: Add threading configuration for all remaining architectures
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-02-04 13:51:21 +01:00
Marcel Denia
fe91afba66 perl: Add i486 threading configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-02-04 13:51:21 +01:00
Marcel Denia
4248b8b72d perl: Add new CONFIG_PERL_THREADS option for enabling threading support
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-02-04 13:51:16 +01:00
Maxim Storchak
be4158484b luaposix: remove deprecated/compatibility modules, remove dependency on luabitop
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2015-02-03 01:46:25 +02:00
Nicolas Thill
048a311c7a luaposix: disable detection of ldoc
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-01-30 12:33:05 +00:00
Maxim Storchak
61a0a47bb6 luaposix: add missing libs to .ipk
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2015-01-30 00:12:11 +00:00
Marcel Denia
f7357407f8 perl-www-mechanize: Update to 1.74
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-01-28 05:09:49 +01:00
Marcel Denia
2153bf4edd perl-test-harness: Update to 3.35
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-01-25 00:24:45 +01:00
Marcel Denia
12be7b3835 perl-compress-bzip2: Update to 2.20
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-01-25 00:24:45 +01:00
Michael Heimpold
925ee26c1d php5: update to 5.4.37
This include fixes for CVE-2015-0231, CVE-2014-9427 and CVE-2015-0232.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2015-01-23 23:34:27 +01:00
Alexandru Ardelean
677ed22b3e python: fix goof
This should have gone in python3.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-01-20 10:45:09 +02:00
Alexandru Ardelean
8c057f39d8 python3: update using python updates as template
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-01-19 20:22:41 +02:00
wuqiong
f45b02697f php5: add php5-fpm module build (closes #789)
Signed-off-by: wuqiong <memccpy@gmail.com>

- split fpm config into main and pool file
- introduced uci config file
- re-worked init script

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2015-01-18 22:04:19 +01:00
Steven Barth
fa8a8f91e6 Merge pull request #784 from commodo/python-fix-debian
python: add patch to remove Debian/Ubuntu multiarch support
2015-01-16 08:33:54 +01:00
Luiz Angelo Daros de Luca
2ffaee345c ruby: update to 2.2.0
For ruby changes since 2.1.x:

 https://github.com/ruby/ruby/blob/v2_2_0/NEWS

Relevant changes for OpenWRT:

* all patches for ruby-core where merged upstream and
  they are not needed anymore (only rdoc patch remains)
 - PR for the rdoc github project was added to the patch header
   (https://github.com/rdoc/rdoc/pull/340)
* new package ruby-powerassert for introduced new bundled gem power_assert
* new package ruby-unicodenormalize for Unicode normalization files
* removed ruby-dl as DL was removed after being deprecated
* ruby-{minitest,testunit} where removed from ruby library. Now they
  are bundled gems
* test and sample files where removed from gems in order to save resources
  and reduce pkgs dependencies
* script ruby_find_pkgsdeps was updated to match upstream changes

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2015-01-16 03:19:56 -02:00
Alexandru Ardelean
903432c91e python: add patch to remove Debian/Ubuntu multiarch support
Seems when cross compiling on x86_64 Debian (most likely Ubuntu too)
the host's paths will be added too causing build failures for some extensions.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-01-15 23:24:59 +02:00
Marcel Denia
56d2dde55b perl-dbi: Update to 1.633
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-01-12 10:52:14 +01:00
Szilárd Pfeiffer
0394a1e286 python: Install .pc files from Python package.
Signed-off-by: Szilárd Pfeiffer <coroner@pfeifferszilard.hu>
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-01-11 20:15:13 +02:00
Alexandru Ardelean
b474e60d6d python: add patch to fix _ctypes build on certain X86_64 hosts
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-01-11 20:15:13 +02:00
Alexandru Ardelean
11fba7e6bd python: remove libffi/host; we're not using it
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-01-11 20:15:13 +02:00
Alexandru Ardelean
7123d31a0b python: enable pip installation of pip on the host-side
Python packs some pip installation script during the build,
which looks like a better idea to use for the python-pip
and/or python-setuptools packages.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-01-11 20:15:13 +02:00
Alexandru Ardelean
f5f8d83dcd python: change _PYTHON_HOST_PLATFORM to linux2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-01-11 20:15:13 +02:00
Marcel Denia
a32cb24122 perl: Bump PKG_RELEASE
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-01-10 15:19:10 +01:00
Marcel Denia
14d601c0eb perl: Fix version configuration symbols
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-01-10 15:19:10 +01:00
Marcel Denia
c68e888e88 perl: Add mips64 configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-01-10 15:19:03 +01:00
Nicolas Thill
aae5275bea erlang: bump to 17.4
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-01-09 18:27:38 +01:00
Alexandru Ardelean
a236e91914 python-setuptools: remove windows support
Causes some build issues.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-01-08 14:57:15 +02:00
Alexandru Ardelean
46a47aeb80 python-setuptools: fix Build/InstallDev rule
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-01-08 13:08:25 +02:00
Steven Barth
296ecfdbdf Merge pull request #735 from danak6jq/new-jamvm
move jamvm to new repo, update to jamvm 2.0.0
2015-01-06 18:04:34 +01:00
Maxim Storchak
4aee8e7574 luaposix: update to v33.2.1
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2015-01-06 18:16:57 +02:00
Dana
b3f588f357 jamvm: move to new repo
Signed-off-by: Dana H. Myers <k6jq@comcast.net>
2015-01-06 08:03:36 -08:00
Steven Barth
99e6f27075 Merge pull request #744 from commodo/python-upg-2.7.9
python: upgrade to version 2.7.9
2015-01-06 15:18:31 +01:00
Steven Barth
741a463d8a Merge pull request #743 from commodo/python-pip-cleanups
Python pip cleanups
2015-01-06 15:18:03 +01:00
Steven Barth
383a505eb0 Merge pull request #742 from commodo/python-setuptools-cleanup
python-setuptools cleanup
2015-01-06 15:17:50 +01:00
Steven Barth
d2f2fbcb40 Merge pull request #741 from commodo/python-dns-cleanup
python-dns: remove PyPackage filespec
2015-01-06 15:17:43 +01:00
Alexandru Ardelean
87c4cbff5c python: upgrade to version 2.7.9
Release notes here:
   https://www.python.org/downloads/release/python-279/

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-01-06 15:10:59 +02:00
Alexandru Ardelean
1ee71252e7 python-pip: remove windows binaries
Seem pip comes bundled with some Python libs.

Some more work will be needed to split them out of pip.
For now, some Windows executables are safe to remove.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-01-06 14:59:35 +02:00
Alexandru Ardelean
2a66f00b87 python-pip: add preinst and postrm scripts
Thanks to Xuefer Tinys <xuefer@gmail.com> for reporting this.

Case is:
  opkg install python-setuptools - works fine
  opkg install python-pip - reports conflicts for
                            files easy_install.pth & site.py

So the solution is to add some preinst script that backs up those files
on 'opkg install python-pip' and moves them back on 'opkg remove python-pip'.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-01-06 14:29:38 +02:00
Alexandru Ardelean
ca8f3dcf5c python-setuptools: remove PyPackage filespec
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-01-06 14:21:37 +02:00
Alexandru Ardelean
16f53ee9c8 python-setuptools: use $(PYTHON_PKG_DIR) short-hand
Signed-off-by: Xuefer Tinys <xuefer@gmail.com>
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-01-06 14:21:36 +02:00
Alexandru Ardelean
71bd162dde python-dns: remove PyPackage filespec
Default will be used.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-01-06 14:19:19 +02:00
Alexandru Ardelean
8b86c1528a python: add default PyPackage/filespec if not defined
Most packages will install in /usr/lib/python$(PYTHON_VERSION)/site-packages

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-01-06 14:15:02 +02:00
Alexandru Ardelean
9b94e3cb6e python: trim all whitespaces for the operator in the filespec
That would allow for files (in filespecs) to be indented.
As it is now, the files need to be added at the begginning of the line.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-01-06 10:50:31 +02:00
Xuefer
591af75d2e python: whitespace fix for PYTHONPATH
Seems that using += adds a space in the PYTHONPATH.
Could be some other error, but at least this way
it's sure to not leave any spaces.

Thanks @Xuefer.

Signed-off-by: Xuefer Tinys <xuefer@gmail.com>
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-01-06 10:50:31 +02:00
Michael Heimpold
ee6be18e88 php5: remove patches for sqlite2 support
SQLite2 support was dropped by upstream a long time ago, so
let's remove the leftovers here, too.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2015-01-02 22:44:24 +01:00
Michael Heimpold
455e72f7da php5: sort modules alphabetically
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2015-01-02 21:12:29 +01:00
Michael Heimpold
45fedef511 php5: fix iconv dependency
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2015-01-02 21:12:29 +01:00
Michael Heimpold
b17f0cd5d1 php5: drop a few unneeded dependencies
- fileinfo: PHP actually uses its own libmagic implementation
- pdo-sqlite/sqlite3: libsqlite3 itself depends on libpthread,
  not the extension
- xml{reader,writer}: both do not use iconv stuff

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2015-01-02 21:12:29 +01:00
Michael Heimpold
7c4ed7731c php5: gd: do not link against libiconv (fixes #706)
This commit adds a patch to enforce the usage of an alternative
code path, preventing the need of libiconv in the bundled libgd
of php.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2015-01-02 21:12:29 +01:00
Michael Heimpold
8bd80bde68 php5: add missing $(SDK)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2015-01-02 21:12:29 +01:00
Steven Barth
64a2717e49 Merge pull request #614 from the2masters/luasec
luasec: update to 0.5 to fix memory leak hit by prosody
2015-01-02 00:05:04 +01:00
Michael Heimpold
d543e3372a php5: update to 5.4.36
This fixes CVE-2014-8142.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2014-12-28 19:39:32 +01:00
Michael Heimpold
4ae5239098 php5: disable mips16 support (fixes #675)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2014-12-23 08:20:24 +01:00
Gergely Kiss
9243322ff7 vala: update to version 0.26.1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2014-12-21 20:34:08 +01:00
Steven Barth
a8d3259695 Merge pull request #672 from remakeelectric/lua-mosquitto
lang: lua-mosquitto: import new package
2014-12-20 10:19:04 +01:00
Karl Palsson
e895f5aa5e lang: lua-mosquitto: import new package
Based on released version of lua binding to libmosquitto.
Advantages compared to lua-mqtt:
* qos 1/2 support
* substantially faster

Signed-off-by: Karl Palsson <karlp@remake.is>
2014-12-18 17:14:01 +00:00
Karl Palsson
8649be4361 lang: lua: Add penlight library
Created new package for last current release of penlight.

Signed-off-by: Karl Palsson <karlp@remake.is>
2014-12-18 15:14:09 +00:00
Gergely Kiss
da4bb88762 simplejson: import version 3.6.5
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
Tested-by: Gergely Kiss <mail.gery@gmail.com>
2014-12-16 08:39:13 +01:00
Gergely Kiss
b35330fd8f python-mysql: import version 1.2.5 of the MySQL-python package
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
Tested-by: Gergely Kiss <mail.gery@gmail.com>
2014-12-16 08:39:13 +01:00
Gergely Kiss
e842d3329d python-imglib: import version 1.1.7 of Python Imaging Library
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
Tested-by: Gergely Kiss <mail.gery@gmail.com>
2014-12-16 08:39:13 +01:00
Gergely Kiss
5d88024f88 vala: import version 0.26
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
Tested-by: Gergely Kiss <mail.gery@gmail.com>
2014-12-16 08:39:13 +01:00
Gergely Kiss
fabb55271d python: fix file conflict between python and python-base packages
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
Tested-by: Gergely Kiss <mail.gery@gmail.com>
2014-12-15 15:26:41 +01:00
Luiz Angelo Daros de Luca
2df27eab26 ruby: update to 2.1.5
Ruby 2.1.5 has been released.

This release includes a security fix for a DoS vulnerability of REXML.
It is similar to the fixed vulnerability in the previous release, but
new and different from it.

CVE-2014-8090: Another Denial of Service XML Expansion
And, some bug fixes are also included. See tickets and ChangeLog for details.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2014-12-14 23:19:28 -02:00
Maxim Storchak
24e41808dc luaposix: update to v33.0.0
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2014-12-14 13:02:42 +02:00
Alexandru Ardelean
1a108389e2 python-dns: update PKG_NAME
PKG_NAME should be the name of the actual OpenWRT package, and not
the name of the original package name.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-12-10 13:28:04 +02:00
Alexandru Ardelean
0bfec165fa python-dns: update compile rule and add PyPackage rules
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-12-10 13:28:04 +02:00
Alexandru Ardelean
50bbabec9f python-dns: add $(eval $(call PyPackage,python-dns))
Should be included by Python packages if they want to run
Python-package-specific build rules.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-12-10 13:27:02 +02:00
Alexandru Ardelean
4be1abe228 python-dns: fix python-mini dependency to python
python-mini does not exist anymore
For now we'll just fix the build, and we'll do a bit more smart
packaging later.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-12-10 13:25:55 +02:00
Ted Hess
8b5421f699 misc: Correct tag spelling PKG_LICENSE_FILES
Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-12-09 11:38:38 -05:00
Roger
a07a24b781 micropython: update to latest
Signed-off-by: Roger D <rogerdammit@gmail.com>
2014-12-09 09:53:16 -06:00
Alexandru Ardelean
9e639dbf87 python3: add $(PKG_INSTALL_DIR)/$(PYTHON3_PKG_DIR) to PYTHON3PATH
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-12-09 14:17:56 +02:00
Alexandru Ardelean
48aaf18057 python3: disable Python3 bytecode generation by default
Same as python.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-12-09 14:16:03 +02:00
Alexandru Ardelean
465c95ab71 python-setuptools: remove explicit PYTHONPATH set
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-12-09 12:43:59 +02:00
Alexandru Ardelean
f51458dfd3 python-pip: remove explicit PYTHONPATH set
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-12-09 12:43:21 +02:00
Alexandru Ardelean
97d7cff5d1 python: add $(PKG_INSTALL_DIR)/$(PYTHON_PKG_DIR) to PYTHONPATH
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-12-09 12:42:36 +02:00
Stefan Hellermann
9c2110c7e2 luasec: update to 0.5 to fix memory leak hit by prosody
Noted in luasec 0.4.1 Changelog:
Activate SSL_MODE_RELEASE_BUFFERS by default if it is available (thanks Prosody project)

Update to latest 0.5 to fix a few other leaks.
luasec moved to github, so update URL and license info.
Move package maintainer to correct place in Makefile, hope he is okay with it.

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>
2014-12-08 14:43:28 +01:00
Alexandru Ardelean
ec10e7e2e4 python3 upgrade to version 3.4.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-28 21:15:20 +02:00
Alexandru Ardelean
84cf76e7a6 python3: sync build rules with python's
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-27 23:47:28 +02:00
Steven Barth
6c97ad84be Merge pull request #563 from antonlacon/license-updates
License updates and metadata typo correction
2014-11-26 14:20:54 +01:00
Alexandru Ardelean
94b090cb9c python: use Build/Prepare rule for the config.site file
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-26 11:51:40 +02:00
Ian Leonard
ac7cd4c6e6 misc: correct typo in Makefiles for PKG_LICENSE_FILES
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-11-24 23:43:37 -08:00
Michael Heimpold
235db573c8 php5: upgrade to 5.4.35
This fixes CVE-2014-3710.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2014-11-19 21:18:19 +01:00
Marcel Denia
36a5223bc2 perl-uri: Update to 1.65
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-11-18 11:01:19 +01:00
Marcel Denia
c4a6039279 perl-test-harness: Update to 3.34
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-11-18 11:01:19 +01:00
Marcel Denia
87cb353bfd perl-dbi: Update to 1.632
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-11-18 11:01:18 +01:00
Marcel Denia
91a52fed0f perl-compress-bzip2: Update to 2.19
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-11-18 11:01:18 +01:00
Alexandru Ardelean
5b85eff6b2 python: add patch to disable python byte codes by default
Use export PYTHONDONTWRITEBYTECODE=0 to re-enable writing byte codes.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-16 23:31:59 +02:00
Alexandru Ardelean
286e50a0bd python-pip: first revision
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-13 10:25:37 +02:00
sbyx
3805f5183c Merge pull request #539 from commodo/python-setuptools
python-setuptools: first revision
2014-11-13 08:22:07 +01:00
sbyx
5a0ec8fb72 Merge pull request #538 from commodo/python-update-6
Python update 6
2014-11-13 08:21:59 +01:00
Alexandru Ardelean
47ed969646 python-setuptools: first revision
Signed-off-by: Alexandru Ardelean <aa@ocedo.com>
2014-11-13 00:22:55 +02:00
Alexandru Ardelean
ad9c57beae python: add distutils back (selectively)
This patch reduces distutils from 1.7 MB to 0.7 MB.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-12 23:45:39 +02:00
Alexandru Ardelean
8623c2942a python: update MAKE_FLAGS
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-12 23:24:30 +02:00
Nicolas Thill
59d841c968 erlang: bump to 17.3
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2014-11-12 02:29:59 +01:00
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