Commit Graph

2351 Commits

Author SHA1 Message Date
Luiz Angelo Daros de Luca e707020e18 ruby: add auxiliar scripts in order to help tests
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>
2014-10-07 14:14:53 -03:00
Luiz Angelo Daros de Luca c755b298c3 ruby: spin-off ruby-digest from ruby-openssl
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>
2014-10-07 14:14:53 -03:00
Luiz Angelo Daros de Luca 8d46e8a453 ruby: remove refs from dropped syck
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>
2014-10-07 14:14:53 -03:00
Luiz Angelo Daros de Luca 52ba3a1122 ruby: move gems out of core
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>
2014-10-07 14:14:53 -03:00
Luiz Angelo Daros de Luca cfcd564d9c ruby: link ext/digest/* to openssl only when needed, fix rmd160 name
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>
2014-10-07 14:14:53 -03:00
Luiz Angelo Daros de Luca 7fda1869e3 ruby: remove minitest deps on gems
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>
2014-10-07 14:14:53 -03:00
Luiz Angelo Daros de Luca c90a4cb178 ruby: rdoc can run without gems (with patch)
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>
2014-10-07 14:14:53 -03:00
Luiz Angelo Daros de Luca a0e65256e9 ruby: wrap script to disable gems if not installed
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>
2014-10-07 14:14:52 -03:00
Luiz Angelo Daros de Luca 205becb6e8 ruby: Disable doc generation
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>
2014-10-07 14:14:52 -03:00
Luiz Angelo Daros de Luca 117b18bbd6 ruby: remove ruby-ncurses
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>
2014-10-07 14:14:50 -03:00
Ted Hess 692338d6e4 Merge pull request #399 from roger-/micropython
micropython: update to latest
2014-10-06 19:58:08 -04:00
Roger 6a6cd39c0a micropython: update to latest
Signed-off-by: Roger D <rogerdammit@gmail.com>
2014-10-06 17:58:37 -05:00
Alexandru Ardelean 4ed312143a python: reset packages and start off with minimal python
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-10-06 21:07:37 +03:00
Alexandru Ardelean 7bf1ae65a8 python: upgrade to version 3.4.1
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>
2014-10-06 21:07:31 +03:00
Alexandru Ardelean da85f0770a python: reorganize package
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>
2014-10-06 17:34:28 +03:00
Alexandru Ardelean 1472a35f36 python: update copyright & maintainer
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-10-06 17:31:23 +03:00
Alexandru Ardelean 0169d40b81 python: import package as-is from old packages
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-10-06 17:31:23 +03:00
W. Michael Petullo 7771752217 Copy php5 from old repository and update
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-09-28 21:56:33 -04:00
Roger 72e79cc896 micropython: update to latest
Signed-off-by: Roger D <rogerdammit@gmail.com>
2014-09-25 14:53:23 -05:00
W. Michael Petullo 117238889d luaexpat: update to 1.3.0
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-09-06 23:51:51 -04:00
Karl Palsson 9c35f14edf dkjson: Fix PKG_BUILD_DIR paths
This fixes builds on clean checkouts, and also fixes the "md5sum tests
aren't working" notes.

Signed-off-by: Karl Palsson <karlp@remake.is>
2014-09-05 17:00:13 +00:00
Roger ca423611e8 micropython: simplify makefile + update
Platform detection now done upstream.

Signed-off-by: Roger D <rogerdammit@gmail.com>
2014-09-04 11:19:55 -05:00
sbyx cf255a44ab Merge pull request #265 from berlinmeshnet/meshbox
Import dkjson, lua-bencode, and lua-sha2
2014-09-02 14:15:11 +02:00
Lars Gierth 2fea5020f6 lua-sha2: clean up makefile
Signed-off-by: Lars Gierth <larsg@systemli.org>
2014-09-02 03:02:04 +02:00
Lars Gierth 77c074db39 lua-bencode: import from https://github.com/SeattleMeshnet/meshbox.git
Signed-off-by: Lars Gierth <larsg@systemli.org>
2014-09-02 03:01:03 +02:00
Lars Gierth b1a8fd93ae lua-sha2: import from https://github.com/SeattleMeshnet/meshbox.git
Signed-off-by: Lars Gierth <larsg@systemli.org>
2014-09-02 03:00:37 +02:00
Lars Gierth 9c37a78aae dkjson: import from https://github.com/SeattleMeshnet/meshbox.git
Signed-off-by: Lars Gierth <larsg@systemli.org>
2014-09-02 03:00:33 +02:00
John Crispin 1881ab2550 perl: create the Host install path before using it
this caused a compile fail on the BB builder

Signed-off-by: John Crispin <blogic@openwrt.org>
2014-08-31 10:07:27 +02:00
Roger 7944c5f7c0 micropython: cleanup makefile + update to latest
Now uses default build options for non-MIPS platforms

Signed-off-by: Roger D <rogerdammit@gmail.com>
2014-09-01 11:57:25 -05:00
sbyx 14da1d1def Merge pull request #256 from roger-/micropython-lib
micropython-lib: update to latest and fix version tag
2014-08-29 11:56:37 +02:00
Roger fcb76f9eba micropython: update to latest and fix version info
Signed-off-by: Roger D <rogerdammit@gmail.com>
2014-08-28 17:50:40 -05:00
Roger 0dfa0abacd micropython-lib: update license info
Signed-off-by: Roger D <rogerdammit@gmail.com>
2014-08-28 17:48:12 -05:00
Roger b4c305fd15 micropython-lib: update to latest and fix version tag
Signed-off-by: Roger D <rogerdammit@gmail.com>
2014-08-28 11:49:45 -05:00
Nicolas Thill a4079863ff luasql: import from old packages feed
- update source URL
 - simplify build rules
 - add license info
 - add myself as maintainer

Signed-off-by: Nicolas Thill <nico@openwrt.org>
2014-08-27 13:27:05 +02:00
Xiongfei(Alex) GUO fef64650b9 Add PKG_LICENSE part. 2014-08-27 15:12:16 +08:00
Peng Liu 847c53f111 luasoap: bump luasoap from 2.x to 3.x.
Signed-off-by: Peng Liu <pengliu@credosemi.com>
2014-08-26 04:19:28 -04:00
Luiz Angelo Daros de Luca f0bdbbe8f7 Merge pull request #226 from psycho-nico/my-fixes
ruby: fix ruby/host build
2014-08-20 15:31:57 -03:00
Nicolas Thill efec55b785 erlang: import from old packages feed
- update to latest version (v17.1)
 - add license info
 - add myself as maintainer

Signed-off-by: Nicolas Thill <nico@openwrt.org>
2014-08-20 15:50:32 +02:00
Nicolas Thill 84c04a73e6 ruby: fix ruby/host build
- build ruby/host extensions as static,
  - remove dependency on gmp/host

Signed-off-by: Nicolas Thill <nico@openwrt.org>
2014-08-20 15:12:18 +02:00
Luiz Angelo Daros de Luca 0ecf63a655 ruby: Fix build dependency of gmp/host
libgmp.so is needed for miniruby, that is compiled in host.
Using PKG_BUILD_DEPENDS=gmp/host eventually compiled gmp/host
before ruby/host. However, when this did not happened, build
failed. Using HOST_BUILD_DEPENDS=gmp/host seems to be the
correct way to require it.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2014-08-20 00:33:29 -03:00
Luiz Angelo Daros de Luca 3ac06f9ee9 Merge branch 'master' into trunk/luizluca 2014-08-19 01:22:51 -03:00
Marcel Denia 1b7eadb14c perl-*: Adopt to SPDX license identifiers
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-08-18 12:58:33 +02:00
Marcel Denia 9817512619 perl-test-harness: Update to upstream 3.33
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-08-18 12:50:26 +02:00
Steven Barth 21bbbcde12 micropython: remove unnecessary libc, libm, libdl dependencies
Signed-off-by: Steven Barth <steven@midlink.org>
2014-08-18 07:40:44 +02:00
Roger 24e5e8aa2c micropython-lib: fix DEPENDS
Signed-off-by: Roger D <rogerdammit@gmail.com>
2014-08-18 07:39:11 +02:00
Roger a0658b5ca1 micropython-lib: add
Signed-off-by: Roger D <rogerdammit@gmail.com>
2014-08-18 07:39:11 +02:00
Roger 5be2bd3ba9 micropython: fix version number
Signed-off-by: Roger D <rogerdammit@gmail.com>
2014-08-17 17:29:40 -05:00
Luiz Angelo Daros de Luca 115fd87cc2 ruby: import from oldpackages and update to 2.1.2
This commit imports the old Makefile from old openwrt feeds.
Also, the package was updated to the latest version.

The new version was tested in a VM with no aparent problem.
No patches are needed.

I added myself as maintainer. If possible, I would like to gain
commit access.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2014-08-17 03:47:40 -03:00
Roger f1d00bbb6e add micropython
Signed-off-by: Roger D rogerdammit@gmail.com
2014-08-16 21:25:57 -05:00
Marcel Denia 20bb2a1b69 perl-dbi: Bump PKG_RELEASE
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-08-14 17:14:23 +02:00