aboutsummaryrefslogtreecommitdiff
path: root/lang
Commit message (Collapse)AuthorAge
* python: add libopenssl and libcrypto as package depsAlexandru Ardelean2014-10-17
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: _md5 + _sha libs are now grouped under _hashlibsAlexandru Ardelean2014-10-17
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: add patch to disable package compiles/tests during cross-builtsAlexandru Ardelean2014-10-17
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: add ac_cv_buggy_getaddrinfo=no to config.site fileAlexandru Ardelean2014-10-17
| | | | | | Required when IPv6 support gets enabled. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: patch setup.py so that it does not include system include dirsAlexandru Ardelean2014-10-17
| | | | | | | | | | | 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>
* python: enforce the existence of files in the filespecsAlexandru Ardelean2014-10-17
| | | | | | | | 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>
* python: reduce bloat by removing *.pyo and *.pyc filesAlexandru Ardelean2014-10-17
| | | | | | | Seems that if you add a package folder this would also include the compiled python files which increases fw size. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* perl: Bump PKG_RELEASEMarcel Denia2014-10-16
| | | | Signed-off-by: Marcel Denia <naoir@gmx.net>
* perl: Don't try to link against libnslMarcel Denia2014-10-16
| | | | | | | | And also remove all other references to avoid confusion. libnsl isn't really needed. Removing it allows glibc based toolchains to build perl. Signed-off-by: Marcel Denia <naoir@gmx.net>
* perl: Make I8/I16/I32 types explicitly signed for PPCMarcel Denia2014-10-16
| | | | | | | | Type signedness is undefined for char. char may actually be unsigned for some CPUs. This fixes various bugs on PPC, like negative array indices. Signed-off-by: Marcel Denia <naoir@gmx.net>
* python: upgrade to version 2.7.8Alexandru Ardelean2014-10-15
|
* python: add python2 symlink to python as per PEP394Alexandru Ardelean2014-10-15
|
* python: use command instead of 'ln -sf'Alexandru Ardelean2014-10-15
|
* python: include python*-package.mk irespective of DUMP env varAlexandru Ardelean2014-10-15
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: enforce version assignmentAlexandru Ardelean2014-10-15
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: move python package versioning to python-package.mkAlexandru Ardelean2014-10-15
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: add old python 2 package backAlexandru Ardelean2014-10-15
| | | | | | | | | | | | | | According to PEP394 (http://legacy.python.org/dev/peps/pep-0394/) the 'python' command should refer to 'python2'. In our case, this means we should reboot the old python package. We could rename the package name to python2, but that would just complicate things a bit with other packages, and since we're doing this reboot, such a complication would be unnecessary. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: fix python host pathAlexandru Ardelean2014-10-15
|
* python3: add python3 symlink to python exec as per PEP394Alexandru Ardelean2014-10-15
|
* python3: suffix vars with 3Alexandru Ardelean2014-10-15
|
* python3: include python*-package.mk irespective of DUMP env varAlexandru Ardelean2014-10-15
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: enforce version assignmentAlexandru Ardelean2014-10-15
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: avoid making python3 the default python commandAlexandru Ardelean2014-10-15
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: fixup python-package.mk includeAlexandru Ardelean2014-10-15
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* renaming python-package.mk to python3-package.mkAgent 422014-10-13
|
* rename package name to python3Agent 422014-10-13
|
* rename folder to python3Agent 422014-10-13
|
* Merge pull request #396 from commodo/python-migrationsbyx2014-10-08
|\ | | | | python: import from old packages and update to version 3.4
| * python: reset packages and start off with minimal pythonAlexandru Ardelean2014-10-06
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
| * python: upgrade to version 3.4.1Alexandru Ardelean2014-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some notes: - Python 3 (at least version 3.4) is pretty cross-compiler-friendly, so a lot of patches were thrown away. - Arguments below were moved to ./files/config.site file, and disabled ac_cv_have_chflags=no \ ac_cv_have_lchflags=no \ ac_cv_py_format_size_t=no \ ac_cv_have_long_long_format=yes \ ac_cv_buggy_getaddrinfo=no \ - --without-ensurepip added, because the build wants to ensure that it works; that's a good idea, but for now, it requires special setup, and we can do that later - --without-pymalloc added, becase in Python 3, modules are suffixed with m; e.g. so some paths are python3.4m instead of python3.4 all this is detailed here: http://legacy.python.org/dev/peps/pep-3149/ Maybe it will be a good idea to re-add this back Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
| * python: reorganize packageAlexandru Ardelean2014-10-06
| | | | | | | | | | | | | | | | | | | | | | | | Make python-mini the top-level and default Python package. Make the other packages subpackages of the top-level python package. Make old python package the python-full package. Note: at this point, this package can be split/renamed to python-legacy should anyone need Python 2. After this commit it's going to be Python 3 all the way. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
| * python: update copyright & maintainerAlexandru Ardelean2014-10-06
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
| * python: import package as-is from old packagesAlexandru Ardelean2014-10-06
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | Merge pull request #398 from luizluca/ruby_fixes-n-updateLuiz Angelo Daros de Luca2014-10-07
|\ \ | | | | | | Ruby many fixes n update to 2.1.3
| * | ruby: reorder subpackages (alphabetical order)Luiz Angelo Daros de Luca2014-10-07
| | | | | | | | | | | | Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
| * | ruby: adds help text for pkgsLuiz Angelo Daros de Luca2014-10-07
| | | | | | | | | | | | Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
| * | ruby: update to 2.1.3Luiz Angelo Daros de Luca2014-10-07
| | | | | | | | | | | | Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
| * | ruby: explode ruby-core into subpkgsLuiz Angelo Daros de Luca2014-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ruby-core is problematic as it is too big. It is impossible to fix pkgs dependencies as ruby-core would generate multiple cycled dependencies between packages. Also, "core" in ruby context means "classes that does not need a 'require'". This is not the case of ruby-core classes. They are, actually, a subset of Ruby Standard Library. In every detected case where a portion of ruby-core could be isolated and save another pkgs from requiring all ruby-core where spin-off into a new subset. Also, big portions of ruby-core, not require by current ruby-* pkgs where spin-off in new pkgs. The remaining of ruby-core was put into a new ruby-misc. ruby-stdlib was created as a meta package that requires all ruby packages that are part of Ruby Standard Library. For a full Ruby Standard Library, just install ruby-stdlib and its deps. Created pkgs from ruby-stdlib: - ruby-misc - ruby-csv - ruby-datetime - ruby-dbm - ruby-debuglib - ruby-drb - ruby-fiddle - ruby-filelib - ruby-logger - ruby-math - ruby-multithread - ruby-mkmf - ruby-net - ruby-optparse - ruby-patterns - ruby-prettyprint - ruby-pstore - ruby-racc - ruby-rbconfig - ruby-rinda - ruby-ripper - ruby-sdbm - ruby-shell - ruby-socket - ruby-uri Some files from ruby-openssl where moved to new subpkgs (as ruby-net and ruby-drb). All dependencies where redefined based on auxiliar script ruby_find_pkgsdeps Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
| * | ruby: move files to ruby-xmlrpc,ruby-dl left in ruby-coreLuiz Angelo Daros de Luca2014-10-07
| | | | | | | | | | | | | | | | | | | | | Some files that belong to other subpkgs where still in ruby-core. Just moved them to the correct place. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
| * | ruby: create subpkgs ruby-enc-extra from ruby-encLuiz Angelo Daros de Luca2014-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ruby encoding library was too big and bring unecessary encodings for a simple ruby usage. All not directly required encodings from stdlib where moved to ruby-enc-extra. Created pkg from ruby-enc - ruby-enc-extra (from ruby-enc) Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
| * | ruby: add auxiliar scripts in order to help testsLuiz Angelo Daros de Luca2014-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ruby_find_pkgsdeps: look for file dependencies (checks require and Encoding references) and extrapolate it to pkgs deps. Also checks whether a dep is redundant or missing in pkgs. Must run inside an OpenWRT with all ruby* pkgs installed. ruby_missingfiles: list files in staging/target and from files comparing side by side its contents. It helps to easly visualize which file is not packaged in an ipk. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
| * | ruby: spin-off ruby-digest from ruby-opensslLuiz Angelo Daros de Luca2014-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Digest can use OpenSSL or ruby internal implementation of hash functions. The first uses less disk space but requires openssl, that is relatively big. As internal hash implementations are not too much bigger than openssl version, it is compiled by default. A new config option can change it to use OpenSSL instead. As digest is independent from openssl, ruby-digest was created as a new pkgs. Adds pkgs: - ruby-digest (from ruby-openssl) Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
| * | ruby: remove refs from dropped syckLuiz Angelo Daros de Luca2014-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | syck was replaced by psych in yaml. (ref: https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/36786) Also add ruby-psych to ruby-yaml deps Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
| * | ruby: move gems out of coreLuiz Angelo Daros de Luca2014-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some ruby gems where still in ruby-core pkg. These files where moved outside ruby-core into ruby-gems or their own subpkg. ruby-unit renamed to ruby-testunit as its gem is named test-unit. ruby-rdoc left a file in ruby-core. Psych is a gem and deserves its own subpkg. It replaces syck (used by yaml) on recent ruby version (ref: https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/36786) Also, some psych files where packed incorrecly into ruby-json. The asterisk in */json was intend to match <arch>/json/ and not psych/json. Files where derived from ruby-core and a lost file in ruby-json. New subpkgs: - ruby-bigdecimal - ruby-io-console - ruby-minitest - ruby-psych Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
| * | ruby: link ext/digest/* to openssl only when needed, fix rmd160 nameLuiz Angelo Daros de Luca2014-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ext/digest/rmd160 was referencing a function that never existed in openssl. The name was simply mistyped. Now it can use openssl. openssl was always linked to ext/digest when library is avaiable, even when it was disable by configure option and not used by code. upstream refs: https://bugs.ruby-lang.org/issues/10252 upstream refs: https://bugs.ruby-lang.org/issues/10324 Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
| * | ruby: remove minitest deps on gemsLuiz Angelo Daros de Luca2014-10-07
| | | | | | | | | | | | | | | | | | | | | minitest can live without gems. Just a minor fix to solve a require that fails when gem is missing Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
| * | ruby: rdoc can run without gems (with patch)Luiz Angelo Daros de Luca2014-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rdoc seems to be written to run without gem. However, some internal code still does not check for gems presence. With a small patch, rdoc can run without gems. Ref: https://bugs.ruby-lang.org/issues/10196 Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
| * | ruby: wrap script to disable gems if not installedLuiz Angelo Daros de Luca2014-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ruby, by default, try to load gems on start. If not present, it fails. As gems brings many deps, this make ruby unsuitable for routers limited resources. ruby can avoid to load gems with the option "--disable-gems". So, a wrap script in the place of /usr/bin/ruby adds this option if gems are not found. Also add vendor/site directories Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
| * | ruby: Disable doc generationLuiz Angelo Daros de Luca2014-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | Docs are not currently packaged. So, there is no need to install them. Also, doxygen have some problem with the usaged of git in build_dir as it takes ages running git commands on every file. Disabling the docs reduces the compilation time. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
| * | ruby: remove ruby-ncursesLuiz Angelo Daros de Luca2014-10-07
| |/ | | | | | | | | | | | | | | ruby-ncurses where removed from ruby upstream (ruby commit 9c5b2fd8aa0fd343ad094d47a638cfd3f6ae0a81) and become solely a gem now. OpenWRT subpackage removed. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>