Commit graph

15183 commits

Author SHA1 Message Date
Rosen Penev
91c97efbf4 make: Do not use libelf
libelf is used under Solaris for nlist. This is not needed in OpenWrt.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-02 14:06:24 -07:00
Jeffery To
e094a67337 newt: Update to 0.52.21
This also removes $(FPIC) from TARGET_CFLAGS.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-06-03 04:59:36 +08:00
Rosen Penev
a5c540e2d5
Merge pull request #9117 from neheb/evht2
libevhtp: Remove random hacks
2019-06-02 13:48:08 -07:00
Peter Wagner
d57c86bc77 glib2: fix CVE-2019-12450
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2019-06-02 22:01:15 +02:00
Jeffery To
b74d45e88a python-cryptography: Update to 2.7
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-06-03 02:56:01 +08:00
Rosen Penev
a544658ffc libevhtp: Remove random hacks
There's no point in overriding the defaults. They work fine.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-02 11:49:20 -07:00
Rosen Penev
72dc6f669a
Merge pull request #8965 from neheb/pow
powertop: Switch to uClibc++
2019-06-02 09:48:25 -07:00
Jeffery To
9331fbb1a0 python,python3: Fix CVE-2019-9740 and CVE-2019-9947
These patches address issues:
CVE-2019-9740: Python urllib CRLF injection vulnerability
CVE-2019-9947: Header Injection in urllib

Links to Python issues:
https://bugs.python.org/issue36276 (resolved duplicated of 30458)
https://bugs.python.org/issue35906 (resolved duplicated of 30458)
https://bugs.python.org/issue30458

Issue 30458 is still currently open, waiting for a decision for
Python 3.5; these patches for Python 2.7 and 3.7 have been merged.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-06-03 00:38:53 +08:00
Hannu Nyman
982c389732 irqbalance: add support for uci config
Add support for uci config file.

Only a global 'enabled" switch has been implemented so far.

* Default config disables irqbalance initially, so that there is
  no change with the previous behaviour (and the possibly existing
  separate launch scripts in people's builds).

Config file and init script can be later extended for irqbalance
options like the oneshot mode or the evaluation interval

(Also change the init file to use tabs)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-06-02 12:43:08 +03:00
Aleksandr Mezin
df14fa949f irqbalance: add init script
Signed-off-by: Aleksandr Mezin <mezin.alexander@gmail.com>
2019-06-02 12:13:53 +03:00
Nikos Mavrogiannopoulos
e053ce17c7 gnutls: removed autogen patch
It was causing regressions in systems without some particular
development tools (see #8129)

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2019-06-01 08:14:37 +02:00
Rosen Penev
729eb5da3a
Merge pull request #9097 from neheb/softe
softethervpn: Fix compilation with full/stub iconv
2019-05-31 20:49:02 -07:00
Rosen Penev
2c67456537
Merge pull request #9034 from neheb/do
dosfstools: Fix compilation with full NLS
2019-05-31 20:48:21 -07:00
Rosen Penev
1cc3c11739
Merge pull request #9111 from neheb/fol
libfolly: Update to version 2019.05.27.00
2019-05-31 18:26:55 -07:00
Rosen Penev
b2269ff2f1 fbthrift: Update to 2019.05.27.00
Simplify dependencies.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-31 17:00:23 -07:00
Rosen Penev
650c7e6eec libwangle: Update to 2019.05.27.00
Simplify dependencies.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-31 17:00:08 -07:00
Rosen Penev
2d9ad583f5 librsocket-cpp: Simplify dependencies
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-31 16:59:41 -07:00
Rosen Penev
b9c64ba003 libfizz: Update to 2019.05.27.00
Simplified DEPENDS. libfolly is all that's needed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-31 16:58:56 -07:00
Rosen Penev
0c69a7b336 softethervpn: Fix compilation with full/stub iconv
Needs -liconv.

Also fixed compilation without deprecated OpenSSL APIs.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Add OPENSSL_init_crypto to deprecated patch
Co-Authored-By: Eneas Queiroz <cote2004-github@yahoo.com>
2019-05-31 13:58:30 -07:00
Jeffery To
1f1eacc484 python,python3: Record PKG_RELEASE for host setuptools/pip
This changes the "patched" indicator files for host setuptools and pip
to include their PKG_RELEASE values. This also removes host setuptools
and/or pip before host install, if the installed copy does not match the
version (and PKG_RELEASE) of the copy to be installed.

This will allow added or removed patches to affect host setuptools /
pip, since these changes will cause PKG_RELEASE to be incremented.

This also fixes the host install error, when the install tries to patch
an already patched copy of setuptools. (This error occurs because the
existing indicator files do not have version numbers in their file
names, whereas host install expected version numbers to be present.)

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-06-01 03:52:23 +08:00
Rosen Penev
e243f40fd4 libfolly: Update to version 2019.05.27.00
Removed upstreamed patches. Also fixes a redefinition error on some
platforms.

Cleaned up the DEPENDS to be simpler and more concise.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-31 11:33:03 -07:00
Stijn Tintel
99411ab743
Merge pull request #9056 from lucize/strongup
strongswan: update to 5.8.0
2019-05-31 10:08:37 +02:00
Daniel F. Dickinson
b6da58fabf nbd: Update to 3.19 and remove unneed patches
Current version in OpenWrt (3.16.2) fails against the Arch Linux
in System Rescue CD's NBD as rootfs (to allow sharing ISO across
network).  Based on resolved issues and web searching it seems
nbd had endianness issues (which affected my ath79 device).

This updates to 3.19 which allows System Rescue CD PXE boot with
NBD rootfs to work.

Removed patches no longer required due to upstream changes, and
added new configure option (--without-libnl) required to avoid
linking against full libnl and libnl-genl (if present in build).

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2019-05-31 07:08:06 +00:00
Dirk Brenken
d347c432b4
Merge pull request #9106 from dibdot/banIP
banip: update 0.1.3
2019-05-31 07:13:46 +02:00
Rosen Penev
3d7970b169
Merge pull request #9090 from neheb/dnsd
dnsdist: Fix several issues
2019-05-30 08:59:18 -07:00
Dirk Brenken
f5de0439c1
banip: update 0.1.3
* change iptables whitelist target from 'ACCEPT' to 'RETURN'
  to stop traversing the banIP chain and resume at the next chain
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-05-30 16:30:39 +02:00
Josef Schlehofer
26b31c2645
Merge pull request #9087 from BKPepe/urllib3
python-urllib3: update to version 1.25.3
2019-05-30 15:19:21 +02:00
Josef Schlehofer
4b76657bf8
Merge pull request #9086 from BKPepe/youtubedl
youtube-dl: update to version 2019.5.20
2019-05-30 15:18:45 +02:00
Hannu Nyman
b5917b25aa
Merge pull request #9028 from dengqf6/cappy
libcap: update to 2.27
2019-05-30 11:12:27 +03:00
Hannu Nyman
e3dbc87bd9
Merge pull request #9103 from jefferyto/python-host-patch-upgraded-setuptools-pip
python,python3: Allow upgraded host setuptools/pip to be patched
2019-05-30 11:11:26 +03:00
Hannu Nyman
b7e689aefd
Merge pull request #9101 from jefferyto/python-setuptools-pip-install
python-setuptools,python-pip: Installation changes
2019-05-30 11:10:23 +03:00
Hannu Nyman
9d65877b5c
Merge pull request #9102 from jefferyto/python-cffi-cryptography-build-depends
python-cffi,python-cryptography: Fix build depends
2019-05-30 11:09:39 +03:00
Nikos Mavrogiannopoulos
ebb45bb559 openconnect: updated to 8.03
Resolves: #8218

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2019-05-30 07:31:22 +02:00
Nikos Mavrogiannopoulos
8e62aeef46 gnutls: removed FIXUP
This addresses regression discussed in #8129

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2019-05-30 07:24:34 +02:00
Rosen Penev
16efdcae67
Merge pull request #9105 from zhaojh329/fix-cgi-io
cgi-io: Fix bug
2019-05-29 19:11:54 -07:00
Jianhui Zhao
63ea52965f cgi-io: Fix bug
The installation name is inconsistent with the code

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2019-05-30 10:03:29 +08:00
Rosen Penev
3e6e4b622e dnsdist: Fix several issues
Add patch that detects when -latomic is needed.

Fix compilation without deprecated OpenSSL APIs.

Hard-code lua to avoid luajit dependency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-29 13:35:31 -07:00
Rosen Penev
7e3811ba01 hwloc: Add PCI support
Since libpciaccess got added, hwloc is picking it up.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-29 13:31:57 -07:00
Jeffery To
e074cbc285 python,python3: Allow upgraded host setuptools/pip to be patched
This adds the current setuptools/pip version numbers to the indicator
files' names, which should allow upgraded versions to be patched.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-30 01:48:29 +08:00
Hannu Nyman
e9d59949ce
Merge pull request #8979 from val-kulkov/python-curl
python-curl: remove hardcoded dependency on mbedtls
2019-05-29 19:38:32 +03:00
Hannu Nyman
96ae56b1e5
Merge pull request #9093 from jefferyto/python-host-ensurepip-upgrade-uninstall
python,python3: Use ensurepip=upgrade for host Python
2019-05-29 19:36:29 +03:00
Hannu Nyman
7d9511ae9d
Merge pull request #9085 from commodo/readme-multi-package-feeds
lang: python: readme: document mechanism for corner-case python[3]-package.mk location
2019-05-29 19:35:43 +03:00
Hannu Nyman
f6ce2f3b28
Merge pull request #9083 from jefferyto/python-src-pkg-info
python,python3: Clear more fields for src packages
2019-05-29 19:33:49 +03:00
Jeffery To
c94c98efca python-cffi,python-cryptography: Fix build depends
python-cryptography's build depends (host cffi, libffi) were transferred
to python-cffi at some point; this corrects the situation.

python-cryptography's host Python build depends is copied from its
setup.py[1].

[1]: https://github.com/pyca/cryptography/blob/2.6.1/setup.py#L47

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-29 23:08:19 +08:00
Jeffery To
b8e7a197db python3-setuptools,python3-pip: Use more predictable pycache cleanup
This uses two find commands to delete __pycache__ contents then the
__pycache__ directories, rather than a for loop.

The second command omits a -empty test, so that if the first command
doesn't remove all directory contents for some reason, the second
command will return an error (find will not delete a non-empty
directory).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-29 22:42:02 +08:00
Jeffery To
be751236aa python-setuptools,python-pip: Change prefix to /usr
This changes the --prefix option, passed to host pip when "installing"
target setuptools and pip, to /usr, in case the prefix is recorded in
the packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-29 22:38:30 +08:00
Jeffery To
688825f37a python-setuptools,python-pip: Set pip cache dir, disable version check
This adds --cache-dir and --disable-pip-version-check options for host
pip, when "installing" target setuptools and pip.

This also changes the pip command to use $(HOST_PYTHON[3]_PIP) from
python[3]-host.mk.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-29 22:29:20 +08:00
Jeffery To
87a31e49f7 python,python3: Disable user site-packages for host Python
Normally, Python will include the user's site-packages directory
(~/.local/lib/python$(PYTHON_VERSION)/site-packages) in it's internal
search path for modules.

This disables this default inclusion for host Python.

This change is applied during Host/Configure instead of as a patch to
keep this setting unchanged for target Python.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-29 22:03:18 +08:00
Jeffery To
ae80ddc7ab python,python3: Update host pip[3] install functions
* Add --cache-dir option to set the pip cache to a directory in
$(DL_DIR), instead of pip's default (build user's ~/.cache/pip),
fixes #9066

* Add --disable-pip-version-check option, since the version check only
prints a message saying a new version is available

* Combine host_python_pip_install and host_python_pip_install_host into
Build/Compile/HostPy[3]PipInstall

* Remove --root and --prefix options, since this function is only used
to install packages to host Python's default site-packages directory
(setting these may serve to confuse pip)

* Pass all of $(HOST_PYTHON[3]_PACKAGE_BUILD_DEPENDS) to the function,
since pip can handle multiple arguments/packages

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-29 21:45:16 +08:00
Eneas U de Queiroz
c83b8787a5 xtables-addons: adapt build to EXTERNAL_TOOLCHAIN
Commit 32aaaaa led to failures when openwrt ARCH did not match kernel
ARCH, and this may not be its only side-effect.

This restores the previous Build/Compile and Build/Install, using the
default ones only when using external toolchain; in this case, ARCH is
set to LINUX_KARCH.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-29 09:04:23 -03:00