Commit graph

2526 commits

Author SHA1 Message Date
Eneas U de Queiroz
c799f2a913
python-certify: bump to 2019.11.28
This is a regular Mozilla CA bundle update.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2020-01-17 10:58:00 -03:00
Rosen Penev
51de4b2e35
luajit: do not install static libraries to InstallDev
The dynamic library change removed static libraries.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-16 18:07:52 -08:00
Rosen Penev
820d1e830f
Merge pull request #11027 from neheb/luaj
luajit: use dynamic buildmode
2020-01-15 16:21:55 -08:00
Jeffery To
b621d1b0f3 golang: Update for ASLR PIE tristate option change
The ASLR PIE option was changed to a tristate option
(openwrt/openwrt@19cbac7d26). This updates
the Go compiler package and golang-package.mk to account for this
change.

This also adds warning messages for when the user has selected PIE but
Go does not have PIE support for the chosen target.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-01-15 19:36:09 +08:00
Rosen Penev
d9487590c6
luajit: use dynamic buildmode
Reduces package size with about 50%

Fixes: https://github.com/openwrt/packages/issues/10848

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-14 20:07:05 -08:00
Rosen Penev
d869dc8010
python3: Fix compilation without deprecated APIs
This is based on upstream work here:

https://github.com/python/cpython/pull/3934
and
https://github.com/python/cpython/pull/39430

First patch was kept as is (just rebased) while the second was combined
into one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-14 14:43:58 -08:00
Rosen Penev
87fe739803
Merge pull request #11025 from jefferyto/python-pyasn1-modules-0.2.8
python-pyasn1-modules: Update to 0.2.8
2020-01-14 14:01:29 -08:00
Jeffery To
a6f1e7689b python-pyasn1-modules: Update to 0.2.8
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-01-15 05:06:21 +08:00
Rosen Penev
e899347ed6
Merge pull request #11020 from jefferyto/golang-updates
golang: More updates
2020-01-14 12:10:33 -08:00
Rosen Penev
3e8d88b354
Merge pull request #11006 from commodo/evdev
python-evdev: bump to version 1.3.0
2020-01-14 12:08:43 -08:00
Jeffery To
7459757039 golang: Update to 1.13.6
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-01-14 22:34:07 +08:00
Jeffery To
c18adadd91 golang: Add support for ASLR/PIE for Go packages
This adds support to compile position-independent executables for
packages that use golang-package.mk.

Go packages will have PIE enabled if:
* Go supports PIE on the target platform;
* CONFIG_PKG_ASLR_PIE is selected; and
* PKG_ASLR_PIE (for the package) is not set to 0

Go 1.13 supports PIE for x86 and arm targets; mips support is in
progress[1].

[1]: https://github.com/golang/go/issues/21222#issuecomment-542064462

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-01-14 22:17:21 +08:00
Jeffery To
b36f27716f golang: Fix selection of GOARM value
This fixes how GOARM is selected for arm platforms, based on support for
VFP/VFPv3 rather than CPU version.

Fixes #10967.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-01-14 22:11:02 +08:00
Alexandru Ardelean
fafccab54f python-evdev: bump to version 1.3.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-01-13 09:49:23 +02:00
Alexandru Ardelean
d62b27d499 pymysql: add new package (only Py3 variant)
This change adds support for the pymysql package, which is a pure Python
MySQL client. This package will replace the current python-mysqlclient.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-01-13 09:22:10 +02:00
Rosen Penev
105c3fcf8b
Merge pull request #10971 from jefferyto/golang-pie-misc-updates
golang: ASLR/PIE support and misc updates
2020-01-12 14:55:11 -08:00
Michael Heimpold
5c486c7897 Merge branch 'libgd-fix' (fixes #10970)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2020-01-12 11:28:13 +01:00
W. Michael Petullo
fa0d982c77 php7: update the gd module to depend on libgd-full
The php7-mod-gd package requires that freetype support exist in libgd. The
libgd-full package provides this, whereas the libgd package does only
if explicitly configured.

Ref: https://github.com/openwrt/packages/issues/10944
Signed-off-by: W. Michael Petullo <mike@flyn.org>
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2020-01-12 11:24:02 +01:00
Karl Palsson
a1500cec86 lua-penlight: bump to 1.7.0
Maintainership upstream has changed: https://github.com/Tieske/Penlight/issues/306#issuecomment-536194901

Various fixes across the project, nothing individually standout.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2020-01-09 13:39:01 +00:00
Jeffery To
c377576734 golang: Add support for ASLR/PIE for host and target Go
This adds support to compile host and target Go as position-independent
executables.

Host Go will have PIE enabled if Go supports PIE on the host platform.

Target Go will have PIE enabled if Go supports PIE on the target
platform and CONFIG_PKG_ASLR_PIE is selected.

Go 1.13 supports PIE for x86 and arm targets; mips support is in
progress[1].

[1]: https://github.com/golang/go/issues/21222#issuecomment-542064462

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-01-08 19:29:54 +08:00
Jeffery To
53603abaae golang: Make golang-values.mk more readable
This replaces conditional functions with conditional directives to make
golang-values.mk more readable.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-01-08 19:29:54 +08:00
Jeffery To
232634fb9a golang: Strip whitespace when using Go package variables
This adds calls to the strip function in golang-package.mk when using
variables expected to be set by Go packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-01-08 19:29:54 +08:00
Jeffery To
12812d328f golang: Update valid os/arch combinations for host Go
The list is updated for Go 1.13.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-01-08 19:29:54 +08:00
Jeffery To
c9781b027a golang: Update variables unexported in golang-values.mk
The lists of variables are updated for Go 1.13.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-01-08 19:29:54 +08:00
Jeffery To
afaf95b4d8 golang: Re-format environment variable unexports
This changes the formatting of environment variable unexports in
golang-values.mk to be more maintainable, and to document the sources of
variables.

There should be no change to the actual list of variables unexported.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-01-08 19:29:54 +08:00
Hannu Nyman
88690c865b
Merge pull request #10952 from commodo/asn1crypto-update
python-asn1crypto: bump to version 1.3.0 + rework
2020-01-06 19:47:35 +02:00
Alexandru Ardelean
9f4377ab8b python-asn1crypto: bump to version 1.3.0 + rework
This change:
* bumps the version 1.3.0
* switches to pypi.org download
* removes the python2 variant

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-01-06 15:45:14 +02:00
Alexandru Ardelean
d7d99ddc1b django: bump to version 3.0.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-01-06 13:29:43 +02:00
Alexandru Ardelean
5dc070e1db django: remove conditional deps
These are left over/forgotten. Remove them.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-01-06 13:29:26 +02:00
Rosen Penev
2628584ffd
perl: Don't build InstallDev under ARC
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-03 20:06:40 -08:00
Rosen Penev
71f82ad771
luasec: Update to 0.9
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-31 21:27:14 -08:00
Jeffery To
dbd6f224c3 golang: Format TARGET_LDFLAGS for gcc
go invokes the external linker by calling gcc, so -zxxx options in
TARGET_LDFLAGS (in golang-package.mk) need to be formatted as -Wl,z,xxx.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-12-29 18:49:06 +08:00
Daniel F. Dickinson
d782e8201e passlib: Update passlib to 1.7.2
Relevant bits of upstream changelog

New Features

    argon2: Support more hashes
    scrypt: Now uses python 3.6 stdlib’s hashlib.scrypt() as backend, if present (issue 86).

Bugfixes

    Python 3.8 compatibility fixes
    passlib.apache.HtpasswdFile: improve compatibility with Apache 2.4's htpasswd
    passlib.totp: fix some compatibility issues with older TOTP clients (issue 92)
    Fixed error in argon2.parsehash() (issue 97)

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2019-12-28 01:48:35 -05:00
Rosen Penev
4b7e8d8593
Merge pull request #10874 from jefferyto/golang-ldflags-fix
golang: Fix ldflags when GO_PKG_LDFLAGS is set
2019-12-26 13:52:59 -08:00
Luiz Angelo Daros de Luca
92e2eec20a
Merge pull request #10817 from Cynerd/ruby-enable-some-extensions
ruby: activate some of the extensions
2019-12-26 17:27:57 -03:00
Jeffery To
4827bc7509 golang: Fix ldflags when GO_PKG_LDFLAGS is set
go build/install supports multiple -ldflags arguments, but they are not
combined; for each package, the latest match on the command line is
used.[1]

Previously, the main executable would not be affected by the default
ldflags if GO_PKG_LDFLAGS or GO_PKG_LDFLAGS_X were set. (The default
ldflags instructs go to use the external linker.)

This fixes golang-package.mk so that the default ldflags take effect in
all cases.

[1]: https://golang.org/cmd/go/#hdr-Compile_packages_and_dependencies

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-12-26 20:53:40 +08:00
Josef Schlehofer
d2c997f39e
python3: Updated to version 3.8.1
Removed upstream patch: 002-fix-blake2-detection.patch

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-12-21 20:04:30 +01:00
Michael Heimpold
6d2ec456bd php7-pecl-redis: adapt to PHP 7.4
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-12-21 16:59:53 +01:00
Michael Heimpold
b5bf07a762 php7-pecl-raphf: adapt to PHP 7.4
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-12-21 16:59:53 +01:00
Michael Heimpold
d1f64672c1 php7-pecl-propro: adapt to PHP 7.4
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-12-21 16:59:53 +01:00
Michael Heimpold
805e6d0041 php7-pecl-mcrypt: adapt to PHP 7.4
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-12-21 16:59:53 +01:00
Michael Heimpold
5d46380861 php7-pecl-libevent: adapt to PHP 7.4
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-12-21 16:59:53 +01:00
Michael Heimpold
9d50c48a21 php7-pecl-krb5: adapt to PHP 7.4
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-12-21 16:59:53 +01:00
Michael Heimpold
93476b68f7 php7-pecl-http: adapt to PHP 7.4
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-12-21 16:59:53 +01:00
Michael Heimpold
b5b73185c3 php7-pecl-dio: adapt to PHP 7.4
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-12-21 16:59:53 +01:00
Michael Heimpold
0f10c8c841 php7: major upgrade to 7.4.1
- remove obsolete patches and update other ones
- filter support is now available as an extension module
- php7-mod-hash: this extension is now part of the core binary
  and cannot be built as an extension module anymore
- php7-mod-gd:
  - do not use bundled libgd, but rely on external one
  - this also obsoletes dependencies and configuration options
- php7-mod-zip: requires external libzip now

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-12-21 16:59:53 +01:00
Karel Kočí
82a1ae00f3
ruby: activate some of the extensions
This activates following extensions:
* io/nonblock
* io/wait
* openssl
* pathname
* ipper
* socket
* zlib

zlib and socket are required for gem so they should be just enabled
because otherwise it does not make sense to provide host gem at all.

The rest of extensions are activated to support compass.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-12-19 10:21:22 +01:00
Luiz Angelo Daros de Luca
5c5f7fa76f ruby: openssl requires digest
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2019-12-19 02:09:39 -03:00
Josef Schlehofer
338486f433
python-urllib3: Update to version 1.25.7
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-12-18 21:46:08 +01:00
Michael Heimpold
d5c18b1d5e php7: update to 7.2.26
This fixes:
  - CVE-2019-11046
  - CVE-2019-11044
  - CVE-2019-11045
  - CVE-2019-11050
  - CVE-2019-11047

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-12-18 20:57:34 +01:00