Commit graph

1600 commits

Author SHA1 Message Date
Alexandru Ardelean
6c1cc1a8db python-pyopenssl: bump to version 18.0.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-06-11 12:02:40 +03:00
Hannu Nyman
d4b7b2b571
Merge pull request #5620 from kvuorine/python-pyserial
python-pyserial: Update to version 3.4
2018-06-06 21:38:22 +03:00
Hannu Nyman
1df7a521bb
Merge pull request #6087 from cotequeiroz/luasec_openssl-1.1
luasec: added openssl 1.1.0 compatibility
2018-06-05 19:27:07 +03:00
Hannu Nyman
d9efc1d7df
Merge pull request #6191 from valdi74/python-curl_fix
python-curl: Fix compilation error after upgrade to 7.43.0.2
2018-06-05 07:22:16 +03:00
Waldemar Konik
c888c876d7 python-curl: Fix compilation error after upgrade to 7.43.0.2
Signed-off-by: Waldemar Konik <informatyk74@interia.pl>
2018-06-05 00:32:20 +02:00
Hannu Nyman
3e6334873d
Merge pull request #6085 from cotequeiroz/lua-openssl_openssl-1.1
lua-openssl: upgrade to version 0.7.1
2018-06-04 23:13:08 +03:00
Waldemar Konik
fda40dbb3a python-curl: update to 7.43.0.2
Signed-off-by: Waldemar Konik <informatyk74@interia.pl>
2018-06-04 10:12:26 +02:00
Michael Heimpold
ff319fe353 php7: update to 7.2.6
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-05-27 17:04:08 +02:00
Michael Heimpold
68f1d3555a
Merge pull request #6134 from MikePetullo/php7-pecl-krb5
php7-pecl-krb5: add new package
2018-05-27 14:07:49 +02:00
W. Michael Petullo
294117e847 php7-pecl-mcrypt: add new package
PHP 7.2 dropped support for the libmcrypt binding. The binding is now
provided by PECL, and a number of applications still rely on this package.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2018-05-26 19:51:21 -04:00
W. Michael Petullo
c27403d8f8 php7-pecl-krb5: add new package
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2018-05-26 19:49:53 -04:00
Jo-Philipp Wich
bd6fc2465c
Merge pull request #5780 from jefferyto/golang
golang: new packages
2018-05-24 15:05:01 +02:00
Eneas U de Queiroz
6858948658 luasec: added openssl 1.1.0 compatibility
This patch was a backport of 0.7alpha, without changing version 0.6
functionality.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-05-23 14:08:18 -03:00
Eneas U de Queiroz
ca7b00b469 lua-openssl: upgrade to version 0.7.1
This version brings compatibility with openssl 1.1.0

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-05-21 14:51:40 -03:00
Hirokazu MORIKAWA
3482320c2a node: Fix incorrect detection of arm_version and arm_fpu
Automatic detection of the arm architecture does not work well.

http://downloads.lede-project.org/snapshots/faillogs/arm_arm1176jzf-s_vfp/packages/node/compile.txt

```
../deps/v8/src/arm/assembler-arm.cc:176:2: error: #error "CAN_USE_ARMV7_INSTRUCTIONS should match CAN_USE_VFP3_INSTRUCTIONS"
 #error "CAN_USE_ARMV7_INSTRUCTIONS should match CAN_USE_VFP3_INSTRUCTIONS"
   ^~~~~
```

https://github.com/openwrt/packages/issues/5728

Explicitly set cpu arch optimization flag to the compiler option so that "configure" script correctly identifies "arm version".

(Raspberry Pi Zero W)
Raspbian:
```
raspberrypi:~ $ echo | gcc -dM -E - | grep ARM_ARCH
```
OpenWrt (cross-env):
```
ubuntu:~ $ echo | ./arm-openwrt-linux-muslgnueabi-gcc -dM -E - | grep ARM_ARCH
```
```
ubuntu:~ $ echo | ./arm-openwrt-linux-muslgnueabi-gcc -mcpu=arm1176jzf-s -dM -E - | grep ARM_ARCH
```

Also specifying an option lines compactly.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2018-05-17 15:16:52 +09:00
Hirokazu MORIKAWA
818770d273 node: fix host build fail
modify patch.
 https://github.com/nodejs/node/pull/19196

made not to use libressl headers
 fix to include path not to use "host/include"

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2018-05-16 10:02:53 +08:00
Michael Heimpold
1bcab624cf php7: replace libmysqlclient dependencies with libmariadbclient
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-05-15 22:12:35 +02:00
Alexandru Ardelean
995b48121e python,python3: remove --ignore-installed flag for host packages
This was copied over from python-packages, when support for installing
packages host-side (via pip) was added.

Based on the discussion on this commit:
  612c53fc6c
it was mentioned that removing this may add more benefit in terms of
reducing build time, because packages won't get reinstalled every time.

I'm not entirely sure about any potential side-effects of this, but it's
worth trying it out.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-05-14 12:11:00 +03:00
Alexandru Ardelean
b7d1d2149e python3: update to version 3.6.5
Add PKG_RELEASE for setuptools and pip.
Refresh all patches.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-05-03 14:46:35 +03:00
Alexandru Ardelean
2ef484615d python: update to version 2.7.15
This also updates pip and setuptools.
With this occasion, they also get PKG_RELEASEs of their own.

Dropped patch 011-remove-setupterm-definition.patch
Manually re-applied 005-fix-bluetooth-support.patch
Ran make package/python/refresh to refresh other patches.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-05-03 14:46:12 +03:00
Philip Prindeville
b82ff264bf
Merge pull request #5987 from pprindeville/perl-text-csv_xs-update-1.35
perl-text-csv_xs: update to 1.35
2018-04-30 13:04:24 -06:00
Philip Prindeville
bb24039935 perl-text-csv_xs: update to 1.35
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-04-29 18:15:17 -06:00
Philip Prindeville
79092d4705 perl: update to 5.26.2
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-04-29 16:18:14 -06:00
Hannu Nyman
db0bdd6124
Merge pull request #5975 from hauke/zlib
python/python3: remove zlib/host dependency
2018-04-29 10:37:57 +03:00
Michael Heimpold
d0057d5eb4 php7: update to 7.2.5
Also drop obsolete patches.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-04-28 23:41:31 +02:00
Hauke Mehrtens
f9016b5977 python/python3: remove zlib/host dependency
zlib is now a host tool and the zlib/host package was removed. this
dependency is not needed any more as there will always be a zlib host
library.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2018-04-28 16:20:44 +02:00
Michael Heimpold
8716b28f7f php7-pecl-libevent: update to latest commit
This includes several minor bugfixes.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-04-20 22:18:29 +02:00
Michael Heimpold
6a9d2386c4 php7-pecl-propro: update to 2.1.0
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-04-18 22:38:31 +02:00
Michael Heimpold
2da394c4f1 php7-pecl-http: fix build if libidn and libidn2 are both available
We now select libidn2 as dependency, but libidn -if available-
is also linked against.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-04-18 22:32:20 +02:00
Marko Ratkaj
9d200c0080 node-mozilla-iot-gateway: add new package
Signed-off-by: Arturo Rinaldi <arty.net2@gmail.com>
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2018-04-16 13:41:05 +02:00
Michael Heimpold
7c0dd7ae87 php7: fix compile issue with icu 61.1 (refs #5853)
Compile tested only at the moment.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-04-02 23:29:54 +02:00
Matthias Schiffer
16930779a9
ldbus: remove nonshared flag
As confirmed by the maintainer, the flag was not added intentionally.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-03-31 15:08:23 +02:00
Michael Heimpold
518e6745b2 php7: update to 7.2.4
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-03-31 08:58:42 +02:00
Luiz Angelo Daros de Luca
04c6285a7a ruby: bump to 2.5.1
This release includes some bug fixes and some security fixes.

* CVE-2017-17742: HTTP response splitting in WEBrick
* CVE-2018-6914: Unintentional file and directory creation with directory traversal in tempfile and tmpdir
* CVE-2018-8777: DoS by large request in WEBrick
* CVE-2018-8778: Buffer under-read in String#unpack
* CVE-2018-8779: Unintentional socket creation by poisoned NUL byte in UNIXServer and UNIXSocket
* CVE-2018-8780: Unintentional directory traversal by poisoned NUL byte in Dir
* Multiple vulnerabilities in RubyGems

There are also some bug fixes.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2018-03-29 15:11:15 -03:00
Jeffery To
c137c38257 golang: new packages
From golang.org:
The Go programming language is an open source project to make
programmers more productive.

This commit consists of two "parts":

* golang/host: Main Go compiler for host (installed to
  STAGING_DIR_HOST/lib/go-cross), used to cross-compile Go programs to
  be packaged.

* golang (and golang-src/golang-doc): Main Go compiler for on-target
  development. These packages are quite large, but I would expect only
  developers to install these.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-03-21 09:21:57 +08:00
Alexandru Ardelean
b6973e5deb python,python3: remove --with-system-ffi=no config arg
Report https://github.com/openwrt/packages/issues/5638
It was mentioned that this causes build failures on Mac OS X.

The default behavior [in the setup.py script] is to check whether
`--with-system-ffi` is present in the CONFIG_ARGS env var.

However that back-fires a bit when `--with-system-ffi=no`, because the
condition `not '--with-system-ffi' in sysconfig.get_config_var("CONFIG_ARGS")`
evaluates to true.

This is a small bug in the `setup.py` script, but it looks like the
easiest/cleanest way to address it on our end is to just remove it entirely
from the HOST_CONFIGURE_ARGS.
At least that's how it looks like when testing on a Linux machine.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-03-14 16:21:41 +02:00
Alexandru Ardelean
ea62d1217c python,python3: limit underlinking behavior to linux platforms
This change was introduced in commit 1c54e2b0fb to address build
issues on Ubuntu 12.04.

However it was reported to cause issues on Mac OS X.
Report: https://github.com/openwrt/packages/issues/5310

It was also reported that removing this on MacOS X fixes the issue.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-03-14 16:18:30 +02:00
Hannu Nyman
0b7eed7fef
Merge pull request #5726 from commodo/python3-more-reproducible
lang/python/python-package-install.sh: assign SOURCE_DATE_EPOCH to PYTHONHASHSEED
2018-03-10 11:36:16 +02:00
Marko Ratkaj
4e5abce7e0 node-arduino-firmata: bump to 0.3.4
Signed-off-by: Arturo Rinaldi <arty.net2@gmail.com>
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2018-03-10 13:44:59 +08:00
Marko Ratkaj
3f7e630788 node-hid: bump to 0.7.2
Signed-off-by: Arturo Rinaldi <arty.net2@gmail.com>
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2018-03-10 13:44:28 +08:00
Marko Ratkaj
296e3ecdc4 node-cylon: bump to 0.24.0
Signed-off-by: Arturo Rinaldi <arty.net2@gmail.com>
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2018-03-10 13:43:48 +08:00
Marko Ratkaj
92a817e8ba node-serialport: bump to 6.1.1
Signed-off-by: Arturo Rinaldi <arty.net2@gmail.com>
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2018-03-10 13:43:21 +08:00
Marko Ratkaj
cff6ebb809 node: bump to 8.10.0
Changes:
Version bump to 8.10.0
Refreshed patches
Added npx install
Added 004-node_crypto-remove-std.patch

Additional patch fixes node_cypto compile failure:
./src/node_crypto.cc:5626:32: error: expected unqualified-id before '('

Signed-off-by: Arturo Rinaldi <arty.net2@gmail.com>
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2018-03-10 13:42:52 +08:00
Alexandru Ardelean
f53904ebda lang/python/python-package-install.sh: assign SOURCE_DATE_EPOCH to PYTHONHASHSEED
Following a discussion on bugs.python.org:
* https://bugs.python.org/issue29708
* https://bugs.python.org/msg313384

It seems that setting a fixed value to PYTHONHASHSEED guarantees that
the bytecodes are generated consistently/in a reproducible manner.

Hopefully, this is the last bit to make Python3 build reproducible.
Tested this locally on a few files [that were not reproducible without
this change].

The PYTHONHASHSEED is only assigned to the host Python/Python3 during
compilation of byte-codes [from python source].

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-03-07 20:52:15 +02:00
Michael Heimpold
7ffa1641d8 php7: update to 7.2.3
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-03-04 14:21:46 +01:00
Dirk Brenken
85e5bfc601
Merge pull request #5668 from kissg1988/pytz
pytz: update to version 2018.3
2018-02-26 19:30:41 +01:00
Gergely Kiss
3d34c3a94d pytz: update to version 2018.3
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2018-02-23 21:29:32 +01:00
Laurent Papier
cb44bfebd5 luasocket: fix build on mpc85xx
Signed-off-by: Laurent Papier <papier[at]tuxfan.net>
2018-02-23 14:49:48 +01:00
Kimmo Vuorinen
acfed5352c python-pyserial: Update to version 3.4
Update to version 3.4
Add build for python3
Add source packages

Signed-off-by: Kimmo Vuorinen <kimmo.vuorinen@gmail.com>
2018-02-16 15:48:16 +02:00
Philip Prindeville
b6705c650c
Merge pull request #5612 from pprindeville/add-perl-authen-sasl
perl-mod: add authen-sasl
2018-02-14 19:01:29 -07:00
Michael Heimpold
9ace92dd7a php7: fix linking to libpcre
PHP comes with a bundled version of libpcre which is then statically
linked. However, we already depend on the packaged library, so we
can reduce the footprint when linking to it dynamically.
This saves around 200-300 kB (this depends on other configuration).

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-02-14 01:13:54 +01:00
Philip Prindeville
0aad63038f perl: add Authen::SASL::XS module
Required by Authen::SASL to have actual plug-ins to handle the
protocol.

Uses Devel::CheckLib which doesn't work with cross-compilation with
the current perlmod.mk machinery.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-02-13 11:41:38 -07:00
Philip Prindeville
184cb956b1 perl: add Authen::SASL module
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-02-13 11:35:41 -07:00
Yousong Zhou
ffbdc7e4fd node: depends on availability of fpu
It requires either hardware or software emulated fpu, otherwise program
can fail with SIGILL for fp instructions emitted by the JIT compiler

See #1937, #2633, #2442, FS#1257 for details

From code snippet at deps/v8/src/mips/constants-mips.h

    #elif(defined(__mips_soft_float) && __mips_soft_float != 0)
    // This flag is raised when -msoft-float is passed to the compiler.
    // // Although FPU is a base requirement for v8, soft-float ABI is used
    // // on soft-float systems with FPU kernel emulation.
    // const bool IsMipsSoftFloatABI = true;

[1] https://bugs.chromium.org/p/v8/issues/detail?id=4704

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-02-09 15:47:50 +08:00
Michael Heimpold
379f4a9507 php7: update to 7.2.2
Also refresh patches to reflect new year.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-02-05 20:50:46 +01:00
Gergely Kiss
14ddd5d4da django-statici18n: update to 1.6.1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2018-01-28 01:55:52 +01:00
Philip Prindeville
cda0e18b27
Merge pull request #5504 from pprindeville/perl-cleanup
perlmod: avoid 'do' semantics and just concatenate
2018-01-26 16:41:46 -07:00
Philip Prindeville
951f1da08b
Merge pull request #5503 from tmn505/perl-aarch64
perl: add build config for aarch64
2018-01-26 12:54:41 -07:00
Philip Prindeville
47cf9884f5
Merge pull request #5500 from remakeelectric/luaposix-xopen-rt
luaposix: musl compatibility with XOPEN_REALTIME
2018-01-26 08:23:52 -07:00
Philip Prindeville
1e0db9ba80 perlmod: avoid 'do' semantics and just concatenate
In Perl the 'do' construct has some odd side-effects regarding $@,
$!, and return values (i.e. 'do'ing a file which evaluates to undef
can be a little ambiguous).

Instead, generate a preamble to the Makefile.PL and execute it as
stdin.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-01-25 18:48:34 -07:00
Philip Prindeville
6973d0e1d8 Revert "perl-inline-c: patch Makefile.PL to not eval undef"
This reverts commit 5470c60a91.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-01-25 18:48:34 -07:00
Philip Prindeville
531eb4404b Revert "perl: when Makefile.PL fails give more feedback"
This reverts commit a4aaaf8d8f.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-01-25 18:48:34 -07:00
Philip Prindeville
be52f902d8 Revert "perlmod: redux handling odd Makefile.PL eval value"
This reverts commit f03cd7b5ac.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-01-25 18:48:34 -07:00
Tomasz Maciej Nowak
6535c76395 perl: add build config for aarch64
Because nonexistent aarch64.config the build of perl will fail for ARM
64-bit targets. Fix it by adding mentioned config. Fixes #2963.

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
2018-01-26 00:40:17 +01:00
Philip Prindeville
e1a4178de1 php7: redux of fix for issue #5488
Upstream was a little premature on asking for a change and not
vetting it.  Here is the currently proposed fix.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-01-25 15:19:30 -07:00
Michael Heimpold
74eecfebcc
Merge pull request #5501 from pprindeville/issue/5488
php7: fix issue 5488
2018-01-25 21:08:48 +01:00
Philip Prindeville
6230ab4437 php7: fix issue 5488
Depending on which version of libiconv you're using, php_iconv_string()
doesn't always null out *out as part of its initialization.  This
patch makes that behavior invariant.

Submitted upstream as https://github.com/php/php-src/pull/3037 where
it's approved and waiting a merge.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-01-25 12:51:51 -07:00
Karl Palsson
1ac343bd80 luaposix: musl compatibility with XOPEN_REALTIME
musl-libc doesn't define _XOPEN_REALTIME as it doesn't implement the
full set of the realtime operations.  However, it _does_ implement
POSIX_TIMERS, which is what luaposix _should_ be checking for in the
posix.time module.

I've filed https://github.com/luaposix/luaposix/issues/295 to track this
upstream, but this is a simpler, verified fix for our older version of
luaposix.

This restores functions like posix.time.clock_gettime(CLOCK_MONOTONIC)
for instance, which was available with pre-musl builds of luaposix.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-01-25 15:11:46 +00:00
Hannu Nyman
7ced677124
Merge pull request #5456 from jefferyto/python-automat
python-automat: new package
2018-01-19 18:03:13 +02:00
Hannu Nyman
fbae202394
Merge pull request #5455 from jefferyto/python-hyperlink
python-hyperlink: new package
2018-01-19 18:03:02 +02:00
Hannu Nyman
9da7e1eaf4
Merge pull request #5454 from jefferyto/python-incremental
python-incremental: new package
2018-01-19 18:02:53 +02:00
Hannu Nyman
60d47335d6
Merge pull request #5453 from jefferyto/python-constantly
python-constantly: new package
2018-01-19 18:02:40 +02:00
Jeffery To
3690cac14b twisted: updated to 17.9.0, add src package
There have been some new dependencies added in recent versions of
Twisted (mostly internal classes that have been spun out into their own
libraries):

* constantly (#5453), since 16.5.0
* incremental (#5454), since 16.5.0
* Automat (#5456), since 17.1.0
* hyperlink (#5455) since 17.5.0

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-19 01:24:46 +08:00
Alexandru Ardelean
6494642caf python,python3: fix recursive deps caused by dangling DEPENDS
For python `src` packages we should clear out the DEPENDS
to prevent recursive deps from happening.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-17 17:30:48 +02:00
Hannu Nyman
f6f239f159
Merge pull request #5457 from jefferyto/python-pkg-setup-args-vars
python,python3: add vars to customize setup arguments / variables
2018-01-17 16:07:41 +02:00
Alexandru Ardelean
63dfa19812 python,python3: disable dependencies between python src packages
Related to:
 https://github.com/openwrt/packages/issues/5424

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-16 16:18:47 +02:00
Jeffery To
021271c1d3 python,python3: add vars to customize setup arguments / variables
This adds:

* PYTHON_PKG_SETUP_ARGS
* PYTHON_PKG_SETUP_VARS
* PYTHON3_PKG_SETUP_ARGS
* PYTHON3_PKG_SETUP_VARS

to customize Python package setup arguments / environment variables.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-16 04:10:49 +08:00
Jeffery To
39914d1f2c python-automat: new package
This is a new requirement for the Twisted package.

From the readme:

Automat is a library for concise, idiomatic Python expression of
finite-state automata (particularly deterministic finite-state
transducers).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-16 03:33:46 +08:00
Jeffery To
368d81a94d python-hyperlink: new package
This is a new requirement for the Twisted package.

From the readme:

Hyperlink provides a pure-Python implementation of immutable URLs. Based
on RFC 3986 and 3987, the Hyperlink URL makes working with both URIs and
IRIs easy.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-16 02:06:28 +08:00
Jeffery To
c394db70b0 python-incremental: new package
This is a new requirement for the Twisted package.

From the readme:

Incremental is a small library that versions your Python projects.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-16 01:35:35 +08:00
Jeffery To
036d57e6b8 python-constantly: new package
This is a new requirement for the Twisted package.

From the readme:

A library that provides symbolic constant support. It includes
collections and constants with text, numeric, and bit flag values.
Originally twisted.python.constants from the Twisted project.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-16 01:07:47 +08:00
Hannu Nyman
72a4ac1585
Merge pull request #5440 from jefferyto/python-txsocksx-src
python-txsocksx: use variant PyBuild/Compile syntax, add src package, refresh patches
2018-01-15 09:36:28 +02:00
Hannu Nyman
adca5fcdd6
Merge pull request #5441 from jefferyto/python-src-packages
python-*,python3-*: add src packages for multiple packages
2018-01-15 09:36:01 +02:00
Jeffery To
472514e606 python-cffi: update to 1.11.4, add src packages
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-15 01:59:14 +08:00
Jeffery To
64ae3625e1 python-*,python3-*: add src packages for multiple packages
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-15 01:33:01 +08:00
Jeffery To
44a362de08 python-txsocksx: use variant PyBuild/Compile syntax, add src package,
refresh patches

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-14 23:48:43 +08:00
Hannu Nyman
f460719bf4
Merge pull request #5360 from commodo/python_reproducible
python,python3: honour the SOURCE_DATE_EPOCH for the build-info
2018-01-14 17:32:57 +02:00
Hannu Nyman
2cb09305ce
Merge pull request #5439 from jefferyto/python-pyptlib-src
python-pyptlib: use default variant build/compile rule, add src package
2018-01-14 17:30:22 +02:00
Hannu Nyman
e7fba5f643
Merge pull request #5438 from jefferyto/python-ipaddress-src
python-ipaddress: use default variant build/compile rule, add src package
2018-01-14 17:29:51 +02:00
Jeffery To
953179225b python-pyptlib: use default variant build/compile rule, add src package
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-14 23:24:16 +08:00
Jeffery To
b8e77a8990 python-ipaddress: use default variant build/compile rule, add src
package

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-14 23:01:51 +08:00
Jeffery To
fa60629c99 python-crypto: add python3 variant, src packages, omit tests
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-14 22:31:01 +08:00
Jeffery To
c52fa2a1cf python-enum34: use default variant build/compile rule, add src package
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-12 07:55:09 +08:00
Hannu Nyman
f2313b4e7c
Merge pull request #5423 from jefferyto/zope-interface-4.4.3
zope-interface: update to 4.4.3, rename to python-zope-interface, add python3 variant
2018-01-12 00:32:24 +02:00
Jeffery To
ed1993458f zope-interface: update to 4.4.3, rename to python-zope-interface, add
python3 variant

Renaming the package is needed to allow for a Python 3 variant
(python3-zope-interface). Packages that depend on this (only twisted)
also have their dependencies adjusted.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-12 06:27:23 +08:00
Jeffery To
b549da3aea python-service-identity: update to 17.0.0, add python3 variant
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-12 01:55:16 +08:00
Hannu Nyman
48e1f18b8b
Merge pull request #5419 from commodo/python-package-mk-localize
treewide: re-organizing python-package.mk & python3-package.mk
2018-01-11 16:33:33 +02:00
Jeffery To
3720796b00 python-pyopenssl: update to 17.5.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-11 05:19:39 +08:00
Alexandru Ardelean
1476739d5f treewide: use local python-package.mk & python3-package.mk files
This guarantees for the package feeds that
the mk files will always be available for all packages.

Will need to see about external-feed Python packages
a bit later.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-10 23:06:23 +02:00
Alexandru Ardelean
f4c098cc85 python,python3: merge package install scripts
The only difference just a parameter for Python3
[ -b to compile bytecodes in legacy mode ].
No need to keep 2 almost identical files now
that they're exported.

I'm a bit scared of that param, since it may get
removed at some point.
But let's see until then.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-10 23:06:22 +02:00
Alexandru Ardelean
57987b699b python,python3: simplify path to install shell-script
Now that all files are exported, it makes sense
to just reference the script directly.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-10 23:01:51 +02:00
Alexandru Ardelean
ccdc6bc530 python,python3: export mk files outside of python package dirs
Since `lang/python` is it's own folder of Python packages
(for both Python 2 & 3), and these build rules are needed
in a lot of packages [especially Python packages],
putting them here makes sense architecturally,
to be shared.

This also helps get rid of the `include_mk` construct
which relies on OpenWrt core to provide, and seems
like a broken design idea that has persisted for a while.
Reason is: it requires that Python 2/3 be built to provide
these mk files for other Python packages,
which seems like a bad idea.

Long-term, there could be an issue where some other feeds
would require these mk files [e.g. telephony] for
some Python packages.
We'll see how we handle this a bit later.

For now we limit this to this feed.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-10 23:01:51 +02:00
Matthias Schiffer
55c0b5ae19 python,python3: do not install .mk snippets
The .mk snippets are not really usable at the moment, as they cannot be
considered for metadata collection (package DUMP) when included through
include_mk. Python packages do not use include_mk anymore for this reason,
so the install commands can be removed as well.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-01-10 23:01:51 +02:00
Hannu Nyman
c6b24960cd
Merge pull request #5412 from jefferyto/python-pycparser-2.18
python-pycparser: update to 2.18, fix _build_tables error
2018-01-10 19:47:16 +02:00
Hannu Nyman
ff8a9afd35
Merge pull request #5411 from jefferyto/python-pyasn1-modules-0.2.1
python-pyasn1-modules: update to 0.2.1
2018-01-10 18:22:57 +02:00
Hannu Nyman
bc0adc7a6e
Merge pull request #5410 from jefferyto/python-pyasn1-0.4.2
python-pyasn1: update to 0.4.2
2018-01-10 18:22:36 +02:00
Hannu Nyman
970f7c2f07
Merge pull request #5409 from jefferyto/python-parsley-py3
python-parsley: add python3 variant
2018-01-10 18:22:14 +02:00
Hannu Nyman
6c1963d1e6
Merge pull request #5408 from jefferyto/python-ipaddress-1.0.19
python-ipaddress: update to 1.0.19
2018-01-10 18:21:45 +02:00
Hannu Nyman
5ceefacdd7
Merge pull request #5407 from jefferyto/python-gmpy2-py3
python-gmpy2: add python3 variant
2018-01-10 18:21:24 +02:00
Hannu Nyman
820b3325bf
Merge pull request #5404 from jefferyto/python-cryptography-2.1.4
python-cryptography: update to 2.1.4, refresh patches
2018-01-10 18:20:53 +02:00
Jeffery To
1a025036d8 python-pycparser: update to 2.18, fix _build_tables error
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-11 00:00:57 +08:00
Jeffery To
7e303024c1 python-pyasn1-modules: update to 0.2.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-10 23:10:26 +08:00
Jeffery To
3d2e61b47f python-pyasn1: update to 0.4.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-10 23:03:58 +08:00
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
Jeffery To
6bd2eaf415 python-ipaddress: update to 1.0.19
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-10 21:53:18 +08:00
Jeffery To
bbcd4b053a python-gmpy2: add python3 variant
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-10 21:37:30 +08:00
Jeffery To
f47dfab5ae python-cryptography: update to 2.1.4, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-10 19:55:42 +08:00
Jeffery To
320857993b python-attrs: update to 17.4.0, add python3 variant
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-10 17:35:11 +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
Alexandru Ardelean
c54b312043 python,python3: honour the SOURCE_DATE_EPOCH for the build-info
The Modules/getbuildinfo.c allows the use of DATE and TIME
macros to be defined via CFLAGS.

These vars, control the build date & time when the
interpreter is opened, and can be read via the
`platform._sys_version()` function.

So, a conversion from SOURCE_DATE_EPOCH to DATE & TIME
is required at build-time.

This is especially needed for `platform._sys_version()`
to work.
The installation of pip seems to rely on this.

The logic has been adapted from:
 https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal#Makefile

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-08 15:32:47 +02: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
Val Kulkov
50308e4fd7 php7: add configuration files to conffiles
Two important configuration files, /etc/php7-fpm.conf and
/etc/php7-fpm.d/www.conf are silently overwritten on each php7-fpm
upgrade or lost on a sysupgrade.

This commit adds the conffiles section for php7-fpm and revises
the conffiles section for php7.

Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
2017-11-10 19:50:34 -05:00
Karl Palsson
dbec5d9f69 lua-mosquitto: bump to 0.3 release
Minor additions of bindings.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-11-10 09:20:40 +00:00
Karl Palsson
92f9377610 lua-mosquitto: update maintainer email
Signed-off-by: Karl Palsson <karlp@remake.is>
Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-11-10 09:20:40 +00:00
Lucian Cristian
dbaaedef99 php7: add php7-mod-imap
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-11-08 21:44:38 +02:00
Philip Prindeville
ee41431af8 perl-inline-c: extutils not a run-time dependency
Just about everything needs extutils to be built.  But very little
requires it to run.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-11-07 17:40:09 -07:00
Philip Prindeville
09f4be311e perl-inline-c: update to 0.78
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-11-07 17:40:09 -07:00
Philip Prindeville
e69441be6f
Merge pull request #5083 from pprindeville/perl-inline-c-fix-makefile_pl
perl-inline-c: patch Makefile.PL to not eval undef
2017-11-07 23:30:45 +00:00
Philip Prindeville
5470c60a91 perl-inline-c: patch Makefile.PL to not eval undef
Our build wrappers don't like Makefile.PL scripts which evaluate
to undef.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-11-07 16:15:58 -07:00
Philip Prindeville
f03cd7b5ac perlmod: redux handling odd Makefile.PL eval value
It seems that Inline::C evaluates to undef which is problematic, so
we need to handle this better.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-11-07 16:13:02 -07:00
Philip Prindeville
4776a50114
Merge pull request #5052 from pprindeville/perl-text-csv_xs
perl: package Text::CSV_XS module
2017-11-07 04:27:29 +00:00
Daniel Golle
d7253f8bcb pyodbc: update to version 4.0.21
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-11-07 01:30:02 +01:00
Enrico Mioso
764fdfd49b ldbus: add new package
This package contains "ldbus": LUA bindings to interact with the DBUS
message bus, and services connected to it.
See https://github.com/daurnimator/ldbus
for more details.

Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com>
2017-11-07 00:05:47 +01:00
Enrico Mioso
181460a7f1 luarocks: allow building for the host
Allow building luarocks for the host-side, thus making luarocks-based LUA
modules packging easier.

Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com>
2017-11-06 23:29:06 +01:00
Hannu Nyman
b7119e4ae9
Merge pull request #5071 from commodo/python-batch-upgrade
Python batch upgrade
2017-11-06 21:14:30 +02:00
Alexandru Ardelean
8750a59d3d python,python3: apply PKG_FIXUP:=autoreconf
Should hopefully provide more consistent results
across distros.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:06:02 +02:00
Alexandru Ardelean
007c7a1428 python-asn1crypto: update to version 0.23.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:06:02 +02:00
Alexandru Ardelean
9f232051b8 python-cryptography: update to version 2.1.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:06:02 +02:00
Alexandru Ardelean
6b31702827 python-cffi: update to version 1.11.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:06:02 +02:00
Alexandru Ardelean
3a7d2c6794 python-pyasn1-modules: update to version 0.1.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:06:02 +02:00
Alexandru Ardelean
7eadc0912f python-pyasn1: update to version 0.3.7
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:06:02 +02:00
Alexandru Ardelean
2f3cc6eada python-lxml: upgrade to version 4.1.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:06:02 +02:00
Alexandru Ardelean
652553e552 python3: bump to version 3.6.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:05:59 +02:00
Philip Prindeville
62267be558
Merge pull request #5067 from pprindeville/perl-cgi-update-4.37
perl-cgi: update to 4.37
2017-11-06 04:09:42 +00:00
Philip Prindeville
200312325f perl-cgi: update to 4.37
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-11-05 20:36:27 -07:00
Philip Prindeville
941c7f5120 perl: add Text::CSV_XS for iptables-mod-geoip
There are scripts to download and preprocess the GeoIP database
for iptables-mod-geoip which require this Perl module.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-11-01 19:12:03 -06:00
Mirko Vogt
32b60fa32b python3: package CGI component
Signed-off-by: Mirko Vogt <mirko-openwrt@nanl.de>
2017-10-31 13:45:29 +01:00
Michael Heimpold
dddfd6c00a php7: update to 7.1.11
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-10-31 12:44:53 +01:00
Philip Prindeville
4bf720985e
Merge pull request #5027 from pprindeville/perl-makefile_pl-failure
perl: when Makefile.PL fails give more feedback
2017-10-29 20:17:50 +00:00
Gergely Kiss
fdb8267c2d openpyxl: update to 2.5.0b1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:28:12 +01:00
Gergely Kiss
8a54d94325 django-constance: update to 2.0.0
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:24:43 +01:00
Gergely Kiss
430dce852a django-restframework: update to 3.7.1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:21:42 +01:00
Gergely Kiss
e8dac18034 python-urllib3: update to 1.22
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:17:18 +01:00
Gergely Kiss
bc1b9fa0e3 django-compressor: update to 2.2
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:13:03 +01:00
Gergely Kiss
467582f7d9 django-picklefield: update to 1.0.0
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:09:55 +01:00
Gergely Kiss
2c9a1f9b4e gunicorn: update to 19.7.1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:07:20 +01:00
Gergely Kiss
68f0085fe2 jdcal: update to 1.3
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:04:19 +01:00
Gergely Kiss
e3a971558a chardet: update to 3.0.4
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:00:58 +01:00
Gergely Kiss
90173afbbb pytz: update to 2017.2
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 06:56:07 +01:00
Gergely Kiss
e6010224b5 simplejson: update to 3.11.1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 06:52:08 +01:00
Gergely Kiss
23fc92b308 django-postoffice: update to 3.0.3
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 06:47:27 +01:00
Gergely Kiss
0bcfa490ef python-dateutil: update to 2.6.1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 06:43:47 +01:00
Gergely Kiss
1ae1024041 django-statici18n: update to 1.4.0
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 06:36:29 +01:00
Philip Prindeville
a4aaaf8d8f perl: when Makefile.PL fails give more feedback
There are a few packages which mysteriously fail during the configure
stage.  Give us better means of understanding why.

Also, some Makefile.PL's have "use" statements which reference
files which are in or under ".".

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-10-27 18:22:13 -06:00
Philip Prindeville
c79911b66d perl: modules failing due to dot not in @INC
5.26.1 introduced default_inc_excludes_dot which is causing
perl-html-tags and possibly other modules to fail.  Add explict
dot back when invoking module's ./Makefile.PL.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-10-27 15:43:14 -06:00
Philip Prindeville
aacfbb244a Merge pull request #4956 from pprindeville/perl-update-5.26.1
perl: update to 5.26.1
2017-10-26 01:28:49 +01:00
Philip Prindeville
4a94479f96 perl: update to 5.26.1
Required changes:

* Add qualifying '.' to scripts or to @INC, as appropriate since we're
  enabling default_inc_excludes_dot;

* Add new platform/library definitions like double-double format and
  locale library functions/headers;

* Delete patch 020 as it's been upstreamed;

Optional changes:

* Instead of using -@rm and having that fail, emit an error message,
  and be ignored, just use @rm -f instead which will always succeed.

Security
[CVE-2017-12837] Heap buffer overflow in regular expression compiler

Compiling certain regular expression patterns with the case-insensitive
modifier could cause a heap buffer overflow and crash perl. This has
now been fixed. [perl #131582]

[CVE-2017-12883] Buffer over-read in regular expression parser

For certain types of syntax error in a regular expression pattern, the
error message could either contain the contents of a random, possibly
large, chunk of memory, or could crash perl. This has now been fixed.
[perl #131598]

[CVE-2017-12814] $ENV{$key} stack buffer overflow on Windows

A possible stack buffer overflow in the %ENV code on Windows has been
fixed by removing the buffer completely since it was superfluous anyway.
[perl #131665]

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-10-24 11:40:34 -06:00
Gergely Kiss
69d3e1fbc4 vala: bump to version 0.34.5
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-18 21:58:38 +02:00
Hannu Nyman
d57926cfea Merge pull request #4954 from kissg1988/django
django: update to 1.8.18
2017-10-18 19:16:15 +03:00
Gergely Kiss
326c336bd9 django: update to 1.8.18
Fixes CVE-2017-7233 and CVE-2017-7234

Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-17 22:15:30 +02:00
Philip Prindeville
d58ac19c9f perl: put -rdynamic in proper build variable
The standard way to pass -rdynamic (or -Wl,--dynamic-export) is via
the $ccdlflags variable.  Do what is best practice.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-10-16 16:40:22 -06:00
Philip Prindeville
b392cd595a perl: simplify passing in ldflags
Originally as PR #2383 but rewritten.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
2017-10-16 16:40:22 -06:00
Alexandru Ardelean
8d011baf89 python-lxml: update to version 4.1.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-10-16 16:01:04 +03:00
Hannu Nyman
52157ed602 Merge pull request #4897 from commodo/python-egg-info-disable
python,python3: add option to keep egg-info dirs for python packages
2017-10-04 22:22:38 +03:00
Michael Heimpold
848ded4157 php7: upgrade to 7.1.10
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-10-03 12:55:07 +02:00
Alexandru Ardelean
074d2863be python,python3: add option to keep egg-info dirs for python packages
That way some python packages can choose
to keep their egg-info dirs, if they want to, or they're needed.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-10-03 10:40:26 +03:00
Michael Heimpold
6e706bb593 php7: add conditional dependency to libstdcpp for FPM
This should fix buildbot breakage introduced by last commit.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-09-27 20:45:50 +02:00
Michael Heimpold
7ba5a7f6d1 php7: drop dependency to cgi for fpm sapi (refs #4522)
The FPM SAPI works fine without the CGI SAPI installed. It seems that
this is a copy & paste error introduced a long time ago, when FPM support
was added - and nobody noticed.
So drop the dependency now to allow smaller footprints on installations
which only use FPM.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-09-26 23:19:40 +02:00
champtar
3d47220c14 Merge pull request #4848 from commodo/python-updates3
python: update interpreter to 2.7.14 & update some packages
2017-09-23 16:23:38 -07:00
champtar
f64cd74ce3 Merge pull request #4826 from nxhack/node-cylon_fix_PKG_NODE_VERSION
node-cylon: fix PKG_NODE_VERSION
2017-09-23 16:10:23 -07:00
champtar
088c66a5ef Merge pull request #4824 from nxhack/node-arduino-firmata_fix_depends
node-arduino-firmata: Correct multiple DEPENDS lines
2017-09-23 16:09:57 -07:00
champtar
db62bfbcef Merge pull request #4827 from nxhack/node-serialport_fix_PKG_NODE_VERSION
node-serialport: fix PKG_NODE_VERSION
2017-09-23 15:20:32 -07:00
champtar
5016a3c4dc Merge pull request #4825 from nxhack/node-hid_fix_depends
node-hid: Correct multiple DEPENDS lines
2017-09-23 15:19:35 -07:00
Anton Patrushev
dc0b2e60a7 micropython: updated to v1.9.2, micropython-lib: updated to v1.9
Signed-off-by: Anton Patrushev <apatrushev@gmail.com>
2017-09-23 16:51:06 +05:00
Alexandru Ardelean
c0912ed80b python-idna: update to version 2.6
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:48 +03:00
Alexandru Ardelean
0ffa20d07e python-six: update to version 1.11.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:48 +03:00
Alexandru Ardelean
a6f2c15791 python-pyopenssl: update to version 17.3.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:48 +03:00
Alexandru Ardelean
aa1149b105 python-pyasn1-modules: update to version 0.1.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:48 +03:00
Alexandru Ardelean
f05f3c7513 python-pyasn1: update to version 0.3.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:48 +03:00
Alexandru Ardelean
a51bf20d08 python-lxml: update to version 4.0.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:48 +03:00
Alexandru Ardelean
630679cb14 python-cffi: update to version 1.11.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:48 +03:00
Alexandru Ardelean
79276ef7b7 python: bump to version 2.7.14
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:44 +03:00
Luiz Angelo Daros de Luca
699d9bef30 ruby: bump to 2.4.2
This release contains some security fixes.

 CVE-2017-0898: Buffer underrun vulnerability in Kernel.sprintf
 CVE-2017-10784: Escape sequence injection vulnerability in the Basic authentication of WEBrick
 CVE-2017-14033: Buffer underrun vulnerability in OpenSSL ASN1 decode
 CVE-2017-14064: Heap exposure in generating JSON
 Multiple vulnerabilities in RubyGems
 Update bundled libyaml to version 0.1.7.

And many other bugfix.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2017-09-20 09:17:38 -03:00
Alexandru Ardelean
21a18bd97f python3: fix install mk filenames
Copy + paste error.

Seems I fixed it while testing but forgot to update PR with this.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-15 08:59:47 +03:00
champtar
622894c3fc Merge pull request #4632 from smutt/python-dpkt
python-dpkt:Add package lang/python-dpkt
2017-09-14 17:43:47 -07:00
Hannu Nyman
2f6c2a2e3e Merge pull request #4478 from valdi74/add_package_python-curl
python-curl: add new package
2017-09-14 17:27:36 +03:00
Alexandru Ardelean
2eb3979d28 python,python3: install mk files in both host build and InstallDev part
Not sure how it can happen that the files are not
installed via the host build.

Maybe some SDK-like build.

Let's make sure they are installed via InstallDev rule too.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-14 11:44:01 +03:00
Alexandru Ardelean
4d0a44d31a python,python3: add host-flags/settings to host pip install rules
The host pip install should have the host's CFLAGS, LDFLAGS, etc
available.
And not the target's flags.
Otherwise, weird things can happen when installing
packages (host-side) that need to build C code.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-14 11:44:01 +03:00
Hirokazu MORIKAWA
1bfa3503e2 node-serialport: fix PKG_NODE_VERSION
and modify position of DEPENDS line

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-09-13 14:59:14 +09:00
Hirokazu MORIKAWA
9eb23306d3 node-hid: Correct multiple DEPENDS lines
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-09-13 14:56:11 +09:00
Hirokazu MORIKAWA
1e60a2c07d node-cylon: fix PKG_NODE_VERSION
and modify position of DEPENDS line

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-09-13 14:51:52 +09:00
Hirokazu MORIKAWA
617441d0a9 node-arduino-firmata: Correct multiple DEPENDS lines & fix PKG_NODE_VERSION
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-09-13 14:46:20 +09:00
Hirokazu MORIKAWA
dd3dbcfd07 node: delete unnecessary TAB characters at the end of a line
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-09-11 12:49:04 +09:00