3265 Commits

Author SHA1 Message Date
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
Rosen Penev e87573a5a7 lua-rs232: Update to latest master
Should fix the no previous prototype errors.

Also fixed the install paths. Now running this should be correct.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-16 12:55:39 -08:00
Martin Matějek b450ceb4d7 python3-pyroute2: Update to version 0.5.7
Signed-off-by: Martin Matějek <martin.matejek@gmx.com>
2019-12-16 16:42:59 +01:00
Rosen Penev eba6f0dda3 Merge pull request #10771 from nxhack/serialport_bindings_8
node-serialport-bindings: update to 8.0.4
2019-12-12 19:19:34 -08:00
Hirokazu MORIKAWA 5a489da86a node-serialport: update to 8.0.5
support node v12

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2019-12-13 11:32:25 +09:00
Hirokazu MORIKAWA 78c6bc300b node-serialport-bindings: update to 8.0.4
support node v12

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2019-12-12 17:24:19 +09:00
Hirokazu MORIKAWA 2ae31d1788 node-hid: update to 1.1.0
Up to Node v12, v13

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2019-12-12 15:00:02 +09:00
Josef Schlehofer 802e8bf3f0 golang: Update to 1.13.5
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-12-09 23:27:24 +01:00
Rosen Penev 68cf6c1aea Merge pull request #10736 from commodo/python-lxml-update
python-lxml: bump to version 4.4.2
2019-12-09 14:25:06 -08:00
Alexandru Ardelean ca40997653 python-lxml: bump to version 4.4.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-12-09 09:36:03 +02:00
Josef Schlehofer cb26649d92 python-sentry-sdk: Update to version 0.13.5
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-12-09 04:09:19 +01:00
Rosen Penev a8c2180b8e perl-www: Update to 6.43
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-30 21:15:19 -08:00