Commit graph

1650 commits

Author SHA1 Message Date
Hannu Nyman
f26eb2ba62
Merge pull request #7045 from neheb/patch-11
python-dateutil: Update to 2.7.3
2018-09-17 18:01:04 +03:00
Alexandru Ardelean
768c675123 python3: fix build with SSL module
No idea how this creeped up. Probably OpenSSL been has updated recently.
Will send this patch upstream as well, but in the meantime we should fix
the Python3 build.

Build error seems to be:
```
<openwrt>/build_dir/target-i386_pentium4_musl/Python-3.7.0/Modules/_ssl.c:4000:5: error: implicit declaration of function 'DH_free'; did you mean 'lh_free'? [-Werror=implicit-function-declaration]
     DH_free(dh);
     ^~~~~~~
     lh_free
cc1: some warnings being treated as errors

Python build finished successfully!
The necessary bits to build these optional modules were not found:
_tkinter              _uuid                 nis
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

The following modules found by detect_modules() in setup.py, have been
built by the Makefile instead, as configured by the Setup files:
_abc                  atexit                pwd
time                  zlib

Failed to build these modules:
_ssl

Makefile:618: recipe for target 'sharedmods' failed
```

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-09-17 12:53:57 +03:00
Rosen Penev
440d94b592
pytz: Update to 2018.5
Switched to standard pythonhosted URL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-16 21:21:05 -07:00
Rosen Penev
b162585872
python-lxml: Update to 4.2.5
Switched URL to the standard pythonhosted one. The website directs users there.

Tarballs are identical.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-16 21:18:03 -07:00
Rosen Penev
13c1ba5959 python-pcapy: Update to 0.11.4
Switched to regular tarballs from standard pythonhosted source.

Small Makefile rearrangements for consistency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-16 21:11:27 -07:00
Rosen Penev
9144190d15
python-psycopg2: Update to 2.7.5
Switched URL to standard pythonhosted one.

Reorganized Makefile for consistency with other packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-16 21:06:32 -07:00
Rosen Penev
8803b88f3c
python-dateutil: Update to 2.7.3
Switch to standard URL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-16 20:55:44 -07:00
Rosen Penev
beda71bfd5
jdcal: Update to 1.4
Switched URL to the more standard pythonhosted one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-16 08:41:42 -07:00
Hannu Nyman
fbc482df0c
Merge pull request #6988 from commodo/python-batch-upgrades
python packages: upgrade to newer versions
2018-09-11 17:54:35 +03:00
Alexandru Ardelean
decb892a97 python-lxml: bump to version 4.2.4
Version 4.2.4 has been released recently.
Update it.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-09-11 09:55:46 +03:00
Alexandru Ardelean
8fd1b6f177 python-cryptography: bump to version 2.3.1
Version 2.3.1 has been released recently and requested via Github #6967
Fixes #6967.

Also, changed URL to `https://files.pythonhosted.org` ; fewer redirects.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-09-11 09:55:24 +03:00
Alexandru Ardelean
50f1041874 python-pyasn1-modules: bump to version 0.2.2
Version 0.2.2 has been released recently.
Pull it in the packages feed.

Also, change URL to a fixed form.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-09-11 09:54:50 +03:00
Dirk Brenken
8064761a2d
Merge pull request #6979 from neheb/patch-35
flup: Update to 1.0.3
2018-09-11 08:54:38 +02:00
Alexandru Ardelean
0e2609d95e python-evdev: bump to version 1.1.2
Version 1.1.2 has been released recently.
Pull newer version into the packages feed.

Also, switch URL to a fixed form.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-09-11 09:53:45 +03:00
Dirk Brenken
8df5991ea2
Merge pull request #6913 from cotequeiroz/certifi-2018.8.24
python-certifi: bump to 2018.8.24
2018-09-09 07:03:44 +02:00
Rosen Penev
0aebe453ba flup: Update to 1.0.3
Changed URL to pythonhosted for consistency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-08 17:43:29 -07:00
Michael Heimpold
3b6e346a4c php7: mod-intl: add optional dep for icu-full-data (fixes #6536)
As worked out, ICU library needs its data archive to be useful.
Explain the situation in help text and add option to declare/prevent
this dependency in package meta-data.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-09-08 00:11:51 +02:00
Guo Li
2f96d96aff jamvm: Use <fenv.h> instead of <fpu_control.h>
musl libc (http://musl-libc.org lack the non-standard <fpu_control.h>
header, which is used in src/os/linux/{i386,x86_64}/init.c files to
setup the floating point precision. This patch makes it use the
standard C <fenv.h> header instead.

Original patch at Felix Janda at
https://sourceforge.net/p/jamvm/patches/6/

Signed-off-by: Guo Li <uxgood.org@gmail.com>
2018-09-05 22:18:02 +08:00
Michael Heimpold
5afeb3f9c8 php7: adjust load priority for openssl (fixes #6893)
This orders loading of openssl extension before extensions
which require openssl functions.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-09-02 21:44:41 +02:00
Krystian Kozak
9cfca32347 php7: add bcmath module
Added bcmath module, which is required for some packages. For example it
is required for zabbix-server frontend

Compile tested: Yes, brcm2708
Run tested: Yes, brcm2708

Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2018-09-02 14:19:27 +02:00
Eneas U de Queiroz
98386d15f0 python-certifi: bump to 2018.8.24
This updates the CA bundle to Mozilla's current version.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-08-31 11:38:57 -03:00
Luiz Angelo Daros de Luca
9e87246c16 ruby: add PKG_CPE_ID id
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2018-08-26 02:27:52 -03:00
Michael Heimpold
cf142bb9a6 php7: update to 7.2.9
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-08-23 22:13:11 +02:00
Michael Heimpold
8d2764f193 php7: add dependency to hash for mysqlnd
The following error shows that mysqlnd depends on functions
provided by hash:

root@OpenWrt:/etc/php7# php-cli -m
PHP Warning:  PHP Startup: Unable to load dynamic library
'mysqlnd.so' (tried: /usr/lib/php/mysqlnd.so (Error
relocating /usr/lib/php/mysqlnd.so: PHP_SHA256Final: symbol
not found), /usr/lib/php/mysqlnd.so.so (Error loading shared
library /usr/lib/php/mysqlnd.so.so: No such file or
directory)) in Unknown on line 0

So let's model this dep in package metadata.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-08-23 22:13:11 +02:00
Dirk Brenken
d872a0dbc4
Merge pull request #6784 from neheb/patch-21
python-pyasn1: Update to 0.4.4
2018-08-20 09:49:01 +02:00
Rosen Penev
b2427ca1cf python-urllib3: Update to 1.23
Use a better URL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-19 20:47:21 -07:00
Philip Prindeville
8d710085da
Merge pull request #6812 from pprindeville/perl-cgi-4.40
perl-cgi: Update to 4.40
2018-08-19 14:51:36 -06:00
Philip Prindeville
c4dbc0147f perl-cgi: Update to 4.40
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-08-19 14:26:15 -06:00
Rosen Penev
7ea11eefc6
python-yaml: Update to 3.13
Switch URL to use a more standard location.

Add HTTPS to everything.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-18 14:21:49 -07:00
Rosen Penev
22baa9f3ed python-pyasn1: Update to 0.4.4
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-17 23:14:00 -07:00
Michael Heimpold
f8a7546537 php7-pecl-http: update to 3.2.0
Drop already upstreamed patches.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-08-17 23:18:57 +02:00
Daniel Golle
4c99cab7d3
Merge pull request #6726 from neheb/patch-27
python-gnupg: Update to 0.4.3
2018-08-16 00:49:49 +02:00
Philip Prindeville
ac35fa13c2
Merge pull request #6752 from pprindeville/perl-build-redux
perl: version modules and non-base packages
2018-08-14 15:26:44 -04:00
Karl Palsson
fdf7cdb283 lua-lsqlite3: update to 0.9.5
Changes in the package
* ability to pass flags to the open() calls
* multithreading helpers

Full log at http://lua.sqlite.org/index.cgi/artifact/cc0df52dfc332ae0

Changes in packaging
* actually use PKG_BUILD_DIR
* Work with current upstream sources.  (current release only builds
because it's archived on openwrt servers)
* don't link against liblua, this is an anti-pattern
* properly specify the LSQLITE version instead of overriding the SQLITE
version.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-08-14 16:17:16 +00:00
Philip Prindeville
0d9584724f perl: version modules and non-base packages
Currently external modules and non-base packages are numbered
from their own internal number space, and even though the Perl
ABI number is embedded into them this isn't externally visible.

For example, perl-html-parser-3.72.1 could be built for ABI
5.26 or for 5.28, we can't easily tell.  This changes all of
that by embedding the ABI number into the filename.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-08-13 13:23:11 -06:00
Andy Walsh
7e890ac565 python/twisted: switch to libtirpc
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2018-08-13 00:58:48 +02:00
W. Michael Petullo
ba5e9aa945 luajit: install libluajit-5.1.so.2
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2018-08-10 07:35:34 +08:00
Rosen Penev
9aad8f0825
python-gnupg: Update to 0.4.3
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-09 13:00:07 -07:00
W. Michael Petullo
efb7d0be6d luajit: add .hpp to InstallDev
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2018-08-09 08:31:19 +08:00
Rosen Penev
63b50f6433
dkjson: Switch to codeload
Simpler and more consistent

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-03 20:04:16 -07:00
Rosen Penev
8b4b1b7816
json4lua: Update to 0.9.54 and switch to codeload
Should be more consistent. Also simpler.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-03 19:28:45 -07:00
Philip Prindeville
4e29b4f3bb perl: build with -fno-strict-liasing and -fwrapv
Looking at Configure and Porting/config.sh, it seems that Perl
requires both of these options to build correctly.

Should fix FS #1464.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-08-01 11:19:32 -06:00
Philip Prindeville
b94744496f perl: update to 5.28
Refresh patches 900 and 910.

Add fix (920) for improperly gated variable.

Add workaround (020) for Storable's run-time check for stacksize.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-07-31 15:45:35 -06:00
Michael Heimpold
dd49827511 php7: update to 7.2.8
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-07-21 23:27:58 +02:00
Sebastian Kemper
7cfabe8de4 python-mysql: include nls.mk, remove hack
mariadb was sorted out to include nls.mk. Update python-mysql to do the
same and remove the hack.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-13 22:58:54 +02:00
Karol Wrona
23b7d14b24 python3: fix libuuid missing dependency for python3-light
Signed-off-by: Karol Wrona <wrona.vy@gmail.com>
2018-07-13 12:57:44 +02:00
Hannu Nyman
666602f7f7
Merge pull request #6411 from crza/update-python
python3: update to python 3.7.0
2018-07-12 15:12:03 +03:00
Martin Strobel
2080550f76 python3: add override for uuid.h header check
Signed-off-by: Martin Strobel <arctus@crza.de>
2018-07-11 06:35:36 +02:00
Martin Strobel
fe01c8fc05 python3: update to python 3.7.0
Fixes python3 host SSL build -> host-pip can use https:// urls again.
Updates Pip to 10.0.1
rebased patches

Signed-off-by: Martin Strobel <arctus@crza.de>
2018-07-11 06:34:54 +02:00
W. Michael Petullo
97c756f748 luafilesystem: update to 1.7.0.2
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2018-07-09 21:08:00 -04:00
Yousong Zhou
5eb07af2b7 treewide: add missing mirror hash
They are missed out from the FIXUP check probably because of a flaw in
the fixup-makefile.pl script

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-07-09 11:33:55 +08:00
Sebastian Kemper
230bfc96ac python-mysql: fix uclibc build failure
libmariadb 10.2.x needs to be linked in together with iconv. On uclibc
iconv is not included in libc and libiconv-full needs to be used. This
commit helps python-mysql find the shared library.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-08 10:44:29 +02:00
Sebastian Kemper
9d236132c6 python-mysql: fix download URL
During a previous pull request the PKG_NAME was first changed and then
reverted back. But the download URL was not changed accordingly.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-08 10:41:33 +02:00
Hannu Nyman
5a27e1c4cd
Merge pull request #6202 from cotequeiroz/seafile_openssl-1.1
seafile: upgrade to 6.3.0
2018-07-07 20:29:21 +03:00
Hannu Nyman
0545484f88
Merge pull request #6279 from neheb/patch-19
lzmq: Update to 0.4.4
2018-07-07 20:28:39 +03:00
Michael Heimpold
b7f71c69d8 php7: fix load order of mysqli extension
This problem was reported by Teun Lubberhuizen, thanks!

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-07-06 22:53:54 +02:00
Hannu Nyman
4eda808119
Merge pull request #6332 from micmac1/mysql-python-up
python-mysql: upgrade to 1.3.12
2018-07-06 23:26:55 +03:00
Sebastian Kemper
c9a9f6f98a luasql: fix compile with mariadb-10.2.x
This is in anticipation of the mariadb upgrade to 10.2.x. luasql compile
fails:

In file included from src/ls_mysql.c:21:0:
src/ls_mysql.c: In function 'luaopen_luasql_mysql':
src/ls_mysql.c:605:25: error: expected ')' before 'MYSQL_SERVER_VERSION'
     lua_pushliteral (L, MYSQL_SERVER_VERSION);
                         ^
src/ls_mysql.c:605:5: error: too few arguments to function 'lua_pushlstring'
     lua_pushliteral (L, MYSQL_SERVER_VERSION);
     ^
/home/equeiroz/src/openwrt-asus/staging_dir/target-mipsel_74kc_musl/usr/include/lua.h:175:16: note: declared here
 LUA_API void  (lua_pushlstring) (lua_State *L, const char *s, size_t l);
                ^~~~~~~~~~~~~~~

To fix this cherry-pick upstream commit
6df3f672313f8dbca219199c8ec8d20c0247347f.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-05 11:32:57 +00:00
Hirokazu MORIKAWA
9ce4d5191f node: bump to 8.11.3
Update to v8.11.3 Several security fixes:
CVE-2018-7167, CVE-2018-7161, CVE-2018-1000168,CVE-2018-7158, CVE-2018-7159, CVE-2018-7160

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2018-07-03 10:32:43 +08:00
Philip Prindeville
54121977fe
Merge pull request #6389 from pprindeville/perl-text-csv_xs-update-1.36
perl-text-csv_xs: update to 1.36
2018-07-02 16:22:57 -06:00
Michael Heimpold
045fdb5336 php7: update to 7.2.7
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-07-02 22:42:48 +02:00
Yousong Zhou
d03e32c513 treewide: fix missing/wrong MIRROR_HASH for sources from github
Some of them forgot to update MIRROR_HASH on version change, others
updated with wrong hash value.  The new values were generated from
tarballs prepared by the newly introduced github-tarball download
methoded and confirmed consistent with those from sources.openwrt.org

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-07-02 10:40:47 +08:00
Yousong Zhou
7c2c1cd66a luai2c: remove it for missing sources
The github repo is gone

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-07-02 10:40:47 +08:00
Philip Prindeville
a0831458c2 perl-text-csv_xs: update to 1.36
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-07-01 18:10:54 -06:00
Michael Heimpold
4529584690
Merge pull request #6333 from micmac1/php7-mysqlnd
php7: use mysqlnd
2018-06-29 22:53:02 +02:00
Jeffery To
2fa8e650d7 golang: Download bootstrap source directly, use golang-specific mirrors
These changes are a result of this conversation:
1929265024 (r29531922)

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-29 14:57:50 +08:00
Jeffery To
e8adf63001 golang: Allow additional arguments when compiling Go packages
This updates GoPackage/Build/Compile in golang-package.mk to accept
additional arguments that are passed to the go command line.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-28 02:51:09 +08:00
Jeffery To
1929265024 golang: update to 1.10.3, add mirrors
This also changes the bootstrap source URL to the official GitHub
mirror, to make building easier for places where Google sites aren't
accessible. Fixes #6326.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-27 11:35:48 +08:00
Sebastian Kemper
91c6f4f82c python-mysql: upgrade to 1.3.12
- change source from MySQL-python to mysqlclient, which is a fork of the
  former. The former project hasn't seen any updates in years.
- this is also in anticipation of the upgrade of MariaDB from 10.1.x to
  10.2.x. With the latter python-mysql does not compile - mysqlclient
  does.
- the patch is dropped as libmaria is threadsafe anyway.
- add variant for Python3.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-06-26 19:27:57 +02:00
Hannu Nyman
ffdbc7a637
Merge pull request #6342 from jefferyto/python-packages-update
Python packages update
2018-06-25 22:07:29 +03:00
Jeffery To
9c6d03db9e obfs4proxy: new packages (including dependencies)
obfs4proxy is a Tor pluggable transport proxy, implementing obfs4.

This commit also includes obfs4proxy's build time dependencies:

* golang-github-agl-ed25519: Go implementation of Ed25519 signature
  algorithm
* golang-github-dchest-siphash: Go implementation of SipHash-2-4
* golang-golang-x-crypto: Go supplementary cryptography libraries
* golang-golang-x-net: Go supplementary network libraries
* golang-golang-x-sys: Go packages for interaction with the OS
* golang-golang-x-text: Go text processing support
* golang-torproject-pluggable-transports-goptlib: Tor pluggable
  transports library for Go

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 16:52:59 +08:00
Jeffery To
4269a8b8ff twisted: update to 18.4.0, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 04:00:16 +08:00
Rafał Miłecki
0421787098 php7: add package dependency on zoneinfo-core
Having "select PACKAGE_zoneinfo-core" wasn't enough for builds without
php7-cli=y or php7-cgi=y. It didn't result in installing zoneinfo-core
when using "opkg install" (during runtime or when building images with
CONFIG_TARGET_PER_DEVICE_ROOTFS).

Missing zoneinfo results in PHP fatal errors, e.g.:
Fatal error: DateTime::createFromFormat(): Timezone database is corrupt - this should *never* happen!

For years users were told to manually install zoneinfo-core package.
This problem was hidden for some time (including 17.01 release) due to
disabled support for CONFIG_PHP7_SYSTEMTZDATA. It's now back as support
for --with-system-tzdata was enabled again.

The proper solution is to simply make php7 package depend on
zoneinfo-core when PHP7_SYSTEMTZDATA is used.

Fixes: 84e5012e88 ("php7: re-enable system timezone data usage")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2018-06-24 21:33:56 +02:00
Jeffery To
a8c87eb1e4 python-zope-interface: update to 4.5.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 02:33:11 +08:00
Jeffery To
6d733be85c python-pyasn1: update to 0.4.3
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 02:32:26 +08:00
Jeffery To
e977641b58 python-ply: update to 3.11
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 02:31:52 +08:00
Jeffery To
9645c2fa13 python-ipaddress: update to 1.0.22
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 02:31:02 +08:00
Jeffery To
76ccf6c556 python-hyperlink: update to 18.0.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 02:30:39 +08:00
Jeffery To
6e0c997405 python-automat: update to 0.7.0, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 02:30:08 +08:00
Jeffery To
1cede43ab7 python-attrs: update to 18.1.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 02:29:34 +08:00
Eneas U de Queiroz
65b01bb752 pyjwt: add new package
JSON Web Token implementation in Python.
This package is a direct dependency of python-requests-oauthlib, a
dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 17:00:51 -03:00
Eneas U de Queiroz
441e270e2f python-oauthlib: add new package
A generic, spec-compliant, thorough implementation of the OAuth
request-signing logic.
This package is a direct dependency of python-requests-oauthlib, a
dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:59:01 -03:00
Eneas U de Queiroz
d53997d59a python-requests-oauthlib: add new package
OAuthlib authentication support for Requests.
This package is a direct dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:57:21 -03:00
Eneas U de Queiroz
1f74df5b95 python-certifi: add new package
Python package for providing Mozilla's CA Bundle.
This package is a direct dependency of python-requests, a dependency of
seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:55:55 -03:00
Eneas U de Queiroz
01d9b705bc python-requests: add new package
HTTP library for Python.
This package is a direct dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:55:05 -03:00
Eneas U de Queiroz
2f6a99991d python-qrcode: add new package
QR Code image generator.
This package is a direct dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:50:49 -03:00
Eneas U de Queiroz
c6ce18f25c django-webpack-loader: add new package
Transparently use webpack with django.
This package is a direct dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:48:01 -03:00
Eneas U de Queiroz
ac62fb6188 django-ranged-response: add new package
Modified Django FileResponse that adds Content-Range headers.
This package is a direct dependency of django-simple-captcha, a
dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:45:26 -03:00
Eneas U de Queiroz
84afee131d django-simple-captcha: add new package
A very simple, yet powerful, Django captcha application.
This package is a direct dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:38:24 -03:00
Eneas U de Queiroz
d9ad4b14cf django-formtools: add new package
A set of high-level abstractions for Django forms.
This package is a direct dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:33:31 -03:00
Sebastian Kemper
f6e06384f1 php7: use mysqlnd
This is in anticipation of the MariaDB upgrade from mariadb 10.1.x to
10.2.x. With the latter the PHP MySQL plugins fail to compile, e.g.:

In file included from /home/equeiroz/src/openwrt-asus/build_dir/target-mipsel_74kc_musl/php-7.2.6/ext/mysqli/php_mysqli_structs.h:63:0,
                 from /home/equeiroz/src/openwrt-asus/build_dir/target-mipsel_74kc_musl/php-7.2.6/ext/mysqli/mysqli.c:34:
/home/equeiroz/src/openwrt-asus/staging_dir/target-mipsel_74kc_musl/usr/include/mysql/my_global.h:3:2: warning: #warning This file should not be included by clients, include only <mysql.h> [-Wcpp]
 #warning This file should not be included by clients, include only <mysql.h>
  ^~~~~~~
In file included from /home/equeiroz/src/openwrt-asus/build_dir/target-mipsel_74kc_musl/php-7.2.6/ext/mysqli/php_mysqli_structs.h:79:0,
                 from /home/equeiroz/src/openwrt-asus/build_dir/target-mipsel_74kc_musl/php-7.2.6/ext/mysqli/mysqli.c:34:
/home/equeiroz/src/openwrt-asus/staging_dir/target-mipsel_74kc_musl/usr/include/mysql/my_sys.h:3:2: warning: #warning This file should not be included by clients, include only <mysql.h> [-Wcpp]
 #warning This file should not be included by clients, include only <mysql.h>
  ^~~~~~~
In file included from /home/equeiroz/src/openwrt-asus/build_dir/target-mipsel_74kc_musl/php-7.2.6/ext/mysqli/mysqli.c:34:0:
/home/equeiroz/src/openwrt-asus/build_dir/target-mipsel_74kc_musl/php-7.2.6/ext/mysqli/php_mysqli_structs.h:82:10: fatal error: my_list.h: No such file or directory
 #include <my_list.h>

Upstream seems unlikely to fix this, see
https://bugs.php.net/bug.php?id=75612. In the bug report it is suggested
to not use libmysqlclient/libmariadbclient and instead utilize mysqlnd
(MySQL Native Driver) provided by PHP. This is the default anyway.

So add the mysqlnd module and remove the libmariadbclient depends.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-06-22 21:28:16 +02:00
Hannu Nyman
b23d146bfe
Merge pull request #6064 from nxhack/fix_arm_arch_detection
node: Fix incorrect detection of arm_version and arm_fpu
2018-06-20 12:04:44 +03:00
Hannu Nyman
05bf36f734
Merge pull request #6204 from cretingame/master
erlang: update to version 19.3, add packages
2018-06-13 19:23:08 +03:00
Arnaud Sautaux
5a56e39f1d erlang: update to version 19.3, add packages
New packages:
* erlang-tools: This Erlang/OTP package provides support for misc tools.
* erlang-reltool: This Erlang/OTP package provides support for release management.
* erlang-erl-interface: This Erlang/OTP package provides support for erlang interoperability with other languages.
* erlang-os_mon: This Erlang/OTP package provides the following services:
  - cpu_sup CPU load and utilization supervision
  - disksup Disk supervision
  - memsup Memory supervision
* erlang-xmerl: This Erlang/OTP package provides functions for exporting XML data to an external format

Signed-off-by: Arnaud Sautaux <arnaud.sautaux@infoteam.ch>
2018-06-13 13:56:38 +02:00
Rosen Penev
da9ace7dc3
lzmq: Update to 0.4.4
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-06-11 21:32:02 -07:00
Alexandru Ardelean
81894aa414 python-cryptography: bump to version 2.2.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-06-11 12:02:40 +03:00
Alexandru Ardelean
61929b083e python-idna: bump to version 2.7
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-06-11 12:02:40 +03:00
Alexandru Ardelean
ee26caa72b python-cffi: bump to version 1.11.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-06-11 12:02:40 +03:00
Alexandru Ardelean
5ab6fb2c06 python-lxml: bump to version 4.2.1
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
2018-06-11 12:02:40 +03:00
Alexandru Ardelean
fc0844e40a python-asn1crypto: bump to version 0.24.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-06-11 12:02:40 +03:00
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