Commit graph

1282 commits

Author SHA1 Message Date
Jeffery To
ac9aaa7ad2 python-parsley: add python3 variant
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-10 22:55:28 +08:00
Matthias Schiffer
00fce347a5
treewide: fix incorrect *_BUILD_DEPENDS
Build depends refer to source package names, not binary package names.

In many cases, PKG_BUILD_DEPENDS simply duplicated runtime dependencies of
a source package's binary packages; as the corresponding source packages
are implicitly added as bulid dependencies, PKG_BUILD_DEPENDS can simply be
dropped in these cases. In the other cases, *_BUILD_DEPENDS is fixed to
refer to the correct source package name.

Dependency of mysql-server is adjusted from libncursesw to libncurses
(as libncursesw is a virtual package provided by libncurses), so the build
dependency on ncurses is emitted unconditionally.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-01-09 16:36:02 +01:00
Jeffery To
c5cbd44cea python,python3: undo egg-info removal
This reverts commits 4333d1dcbf and
074d2863be, making Python packages
discoverable again by pkg_resources.

Fixes #5361.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-08 17:26:54 +08:00
Matthias Schiffer
6e3a609d07
treewide: remove superfluous + signs from PKG_BUILD_DEPENDS
A + sign does not have meaning in build depends.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-01-07 20:08:31 +01:00
Matthias Schiffer
778af6722a
luaposix: move PKG_BUILD_DEPENDS to generic part of Makefile
Also remove the superfluous + sign in PKG_BUILD_DEPENDS (a + sign does not
have meaning in build depends).

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-01-07 20:08:31 +01:00
Luiz Angelo Daros de Luca
22ede31af6
Merge pull request #5356 from luizluca/ruby-2.5.0
ruby: bump to 2.5.0
2018-01-05 22:30:59 -02:00
Luiz Angelo Daros de Luca
e22dc61d3f ruby: bump to 2.5.0
2.5.0 introduces many new features and performance improvements.
See: https://www.ruby-lang.org/en/news/2017/12/25/ruby-2-5-0-released/

Packaging changes:
* As date was promoted into a gem, ruby-datetime
  was splitted into ruby-date and ruby-time
* New packages for gemified stdlib files:
  - ruby-cmath (from ruby-math)
  - ruby-date (from ruby-datetime)
  - ruby-etc (from ruby-misc)
  - ruby-fcntl (from ruby-misc)
  - ruby-fileutils (from ruby-filelib)
  - ruby-ipaddr (from ruby-socket)
  - ruby-scanf (from ruby-misc)
  - ruby-stringio (from ruby-misc)
  - ruby-strscan (from ruby-misc)

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2018-01-05 22:09:47 -02:00
Michael Heimpold
9f4b18c757 php7: update to 7.2.1
Remove a patch which was included upstream.

While at, also add openssl configuration parameters when modules are selected
which depend on openssl (reported by Philip Prindeville).

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-01-04 20:43:57 +01:00
Alexandru Ardelean
36bb5706a2 python,python3: add zlib/host to HOST_BUILD_DEPENDS (ver 2)
This reverts commit 3c6d14021e.
( which is a revert of commit c764f77dc1 )

The initiall commit ( c764f77dc1 )
was reverted, becase zlib did not have a host-build.

Now it does:
 cbe71649bc

So, now it should be good to put this in.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-02 18:59:53 +02:00
Alexandru Ardelean
4ec5d3d62f python3: bump to version 3.6.4
Re-worked patch `003-do-not-run-distutils-tests.patch`
to reduce patch-size.

Removed `011-fix-ncursesw-definition-colisions.patch`
it is fixed upstream.

Refreshed with `make package/python3/refresh`

Resetting PKG_RELEASE to 1.
This variable was never used for pip3 & setuptools, since
VERSION is specified in the package definitions.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-12-31 17:58:34 +02:00
Hannu Nyman
750f19ab26
Merge pull request #5303 from commodo/python-source-date-epoch
python,python3: add support for SOURCE_DATE_EPOCH var
2017-12-31 10:56:39 +02:00
Hannu Nyman
f0cef0a021
Merge pull request #5334 from commodo/python-cffi-fix-host-build
python-cffi: fix host build/installation
2017-12-30 13:11:54 +02:00
Philip Prindeville
97efa62c22 php7: fix syntax issue in MIPS code for pcre
Copied from upstream (master).

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-12-29 17:41:12 -07:00
Alexandru Ardelean
77ee36c7c8 python-cffi: fix host build/installation
Fixes:
https://github.com/openwrt/packages/issues/5318

Not sure how this worked before.
The host python-cffi needs a libffi installed on the host side.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-12-29 21:04:58 +02:00
Michael Heimpold
97305e41b6 php7: disable valgrind support
The check to enable/disable this new feature of PHP 7.2 works
incorrectly when cross-compiling because it detects the host headers
only and there is no way to pass in a dedicated directory.

The wish to change this was reported upstream at:
https://bugs.php.net/bug.php?id=75722

For the meantime, use a self-cooked patch.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-12-28 22:00:07 +01:00
Michael Heimpold
f51dca14cd Merge branch 'php7-update-7.2.0' of https://github.com/pprindeville/packages
into pprindeville-php7-update-7.2.0

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-12-28 21:44:25 +01:00
champtar
8c69bc4436
Merge pull request #5061 from mrkiko/hostside-luarocks
luarocks: Allow building luarocks for the host
2017-12-23 15:29:21 -08:00
Luiz Angelo Daros de Luca
fc01053917 ruby: bump to 2.4.3
This release includes some bug fixes and a security fix.

CVE-2017-17405: Command injection vulnerability in Net::FTP

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2017-12-23 01:14:03 -02:00
Philip Prindeville
1d1d67e0b9 php7: update to 7.2.0
Also drop mcrypt module as it's deprecated.

Dropped patches have been accepted upstream or something homologous.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-12-22 18:26:04 -07:00
Alexandru Ardelean
1b6dd4781f python,python3: add support for SOURCE_DATE_EPOCH var
See:
https://github.com/openwrt/packages/issues/5278

This should make Python & Python3 packages reproducible
when building.
In my local tests, I got the same sha256 for a sample
.pyc file, so likely this is the solution that should address
this.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-12-20 00:11:47 +02:00
Philip Prindeville
249127bae2
Merge pull request #5236 from lynxis/rb_perl
perl: remove build timestamp
2017-12-16 13:41:23 -07:00
Hannu Nyman
3c6d14021e Revert "python,python3: add zlib/host to HOST_BUILD_DEPENDS"
This reverts commit c764f77dc1.

The commit caused warnings to be displayed at make defconfig etc.
  WARNING: Makefile 'package/feeds/packages/python/python/Makefile'
  has a host build dependency on 'zlib/host' but
  'package/libs/zlib/Makefile' does not implement a 'host' build type

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-12-16 17:02:45 +02:00
Hannu Nyman
96edbd3da9
Merge pull request #5274 from commodo/python-host-zlib
python,python3: add zlib/host to HOST_BUILD_DEPENDS
2017-12-16 12:23:10 +02:00
Michael Heimpold
ea9a7b5d45
Merge pull request #5237 from lynxis/rb_php7
php7: remove build timestamp
2017-12-15 22:55:49 +01:00
Alexander Couzens
5dbbb1ba11 php7: remove build timestamp
Build timestamp prevents reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-14 19:00:11 +01:00
Alexander Couzens
a73e96cb0c perl: remove build timestamp
Build timestamp prevents reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-14 18:59:10 +01:00
Alexandru Ardelean
c764f77dc1 python,python3: add zlib/host to HOST_BUILD_DEPENDS
This should fix the zlibmodule build on the host side.

Usually, if zlib is not found, Python/Python3 builds fine
without it, but there are some cases where the Python/Python3
interpreter on the host-side requires zlib to run.

At the moment, zlib does not have a host-build.
This should be available when this PR gets merged:
https://github.com/lede-project/source/pull/1329
[ or a similar one that contains host-build support for zlib ].

In the meantime, this change can go into Python/Python3.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-12-13 21:07:46 +02:00
Ted Hess
f0f4128850
Merge pull request #5218 from lynxis/rb_lua-rs232
lua-rs232: remove build timestamp
2017-12-12 09:30:28 -05:00
champtar
1484eee759
Merge pull request #5259 from valdi74/update_python-curl
python-curl: update to 7.43.0.1
2017-12-10 16:51:32 -08:00
Waldemar Konik
04f6b4cdce python-curl: update to 7.43.0.1
Signed-off-by: Waldemar Konik <informatyk74@interia.pl>
2017-12-10 23:26:55 +01:00
Alexandru Ardelean
59f0506622 python,python3: define config option for bluetooth support
It was reported via
https://github.com/openwrt/packages/pull/5122#issuecomment-347395472
that if bluez-libs is selected as an installable package,
then the error below will show up:
```
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for python-light:
 *	bluez-libs *
 * opkg_install_cmd: Cannot install package python-light.
```

This looks like a limitation in the design of package deps,
and maybe a misuse of conditional deps (i.e. PACKAGE_bluez-libs:bluez-libs).

So, to fix this, an idea we're adding an extra symbol
that enfoces installation of bluez-libs if selected.

We also need to add a way to disable bluetooth build
if PYTHON(3)_BLUETOOTH_SUPPORT is de-selected.
Otherwise, bluetooth is installed and the socket
module is broken due to linker errors.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-12-10 19:49:23 +02:00
Alexandru Ardelean
00bb46866b python-pip-conf: split package away from python package
This should improve build time if you only want to
build Python3 (and not Python).

Because python-pip-conf was part of the python package,
the whole python package (host + target) would get built if Python3
would need to get built.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-12-10 19:49:23 +02:00
Philip Prindeville
a13715ea39
Merge pull request #5220 from pprindeville/perl-cgi-4.38
perl-cgi: Update to 4.38
2017-12-03 16:31:18 -07:00
Philip Prindeville
55a7a610a2 perl-cgi: Update to 4.38
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-12-03 16:26:23 -07:00
Alexander Couzens
d36447fde4
lua-rs232: remove build timestamp
Build timestamp prevents reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-03 14:26:45 +01:00
champtar
411b85b664
Merge pull request #4869 from apatrushev/master
micropython: updated to v1.9.2, micropython-lib: updated to v1.9
2017-12-02 15:13:09 -08:00
champtar
a999828a64
Merge pull request #5148 from mach327/openwrt_519
python3-idna: Fix openwrt/openwrt#519, opkg package list segfault.
2017-12-02 12:50:04 -08:00
Michael Heimpold
2abc95402a php7-mod-imap: add missing dependency for libpam
When libpam is selected, then mod_imap pulls in a dep to libpam,
and there seems no way to disable it via configure arguments.
So add this dep here conditionally.

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-12-02 10:00:05 +01:00
Lucian Cristian
ab82aa0997 php7: try fix imap build-bot build
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-12-01 01:28:27 +02:00
Michael Heimpold
9a901e05e9 php7: try to fix compilation on LEDE buildbots
Detection of U8T_DECOMPOSE seems to be broken when cross-compiling,
so needs to be preseeded.

-snip-
checking for utf8_mime2text signature... new
checking for U8T_DECOMPOSE...
configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL
 is missing. This should not happen. Check config.log for additional information.
-snap-

This requires also a patch for PHP to make the preseeding working.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-11-26 22:07:45 +01:00
Michael Heimpold
9e24f18a5a php7: update to 7.1.12
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-11-25 13:08:50 +01:00
Michael Heimpold
020807de9b php7-pecl-http: add dependency to php7-mod-hash
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-11-25 13:08:18 +01:00
Michael Heimpold
0809a949f2
Merge pull request #5066 from lucize/php7imap
php7: add php7-mod-imap
2017-11-25 07:31:52 +01:00
Tomasz Maciej Nowak
ccfc8ed013 perl-uri: upgrade to 1.72
Fixes #5089

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
2017-11-22 12:57:08 +01:00
Val Kulkov
e5d785ca3b php7-mod-gd: add Freetype 2 support
Add Freetype 2 support to php7-mod-gd. Introduce a configuration
parameter to disable Freetype 2 support if the increased package
size is a concern.

Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
2017-11-19 10:30:31 -05:00
mike mcginty
0815c0211c python3-idna: Fix openwrt_repo 519, opkg segfault.
Signed-off-by: mike mcginty <mach327@gmail.com>
2017-11-17 22:27:13 -05:00
Michael Heimpold
84e5012e88 php7: re-enable system timezone data usage
This part of the Makefile was commented out during update from
PHP 5.x to 7.x and not re-enabled in the meanswhile, so fix this finally.

Reported-by: Val Kulkov <val.kulkov@gmail.com>
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-11-15 21:01:30 +01:00
Alexandru Ardelean
c2b3496977 python,python3: build bluetooth support if bluez-libs selected
This should hopefully fix the Python3 build on buildbot.

For a while I assumed it may be a build-bot issue, but
then looking through the packages repo [and finding
the bluez package] it looks like, if you try
to build all packages, Python3 detects the bluetooth
headers installed by bluez.

It looks like Python's bluetooth support was somewhat
broken ; it was not detecting the <bluetooth/bluetooth.h>
header, so a backport from Python3 to Python fixed that.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-14 13:50:14 +02:00
Philip Prindeville
2feef328ed
Merge pull request #5113 from pprindeville/perl-text-csv_xs-update-1.34
perl-text-csv_xs: update to 1.34
2017-11-12 14:24:18 -07:00
Philip Prindeville
babba99c69 perl-text-csv_xs: update to 1.34
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-11-12 13:50:59 -07:00