feed/packages.git
5 years agolighttpd: fix CVE-2018-19052 9889/head
Josef Schlehofer [Sun, 1 Sep 2019 11:15:34 +0000 (13:15 +0200)]
lighttpd: fix CVE-2018-19052

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
5 years agoMerge pull request #9841 from cshoredaniel/pr-18.06-nut-targetted
Rosen Penev [Fri, 30 Aug 2019 17:13:47 +0000 (10:13 -0700)]
Merge pull request #9841 from cshoredaniel/pr-18.06-nut-targetted

[18.06] Targeted fixes based on 19.07/master

5 years agoMerge pull request #9703 from BKPepe/squid-18.06
Josef Schlehofer [Thu, 29 Aug 2019 21:40:33 +0000 (23:40 +0200)]
Merge pull request #9703 from BKPepe/squid-18.06

[OpenWrt 18.06] squid: update to version 3.5.28

5 years agoMerge pull request #9814 from guidosarducci/speedtest-18.06
Hannu Nyman [Thu, 29 Aug 2019 17:41:04 +0000 (20:41 +0300)]
Merge pull request #9814 from guidosarducci/speedtest-18.06

[18.06] speedtest-netperf: backport stable package from 19.07 and master

5 years agoMerge pull request #9777 from BKPepe/tar_1806
Rosen Penev [Wed, 28 Aug 2019 01:55:27 +0000 (18:55 -0700)]
Merge pull request #9777 from BKPepe/tar_1806

[OpenWrt 18.06] tar: update to version 1.3.2

5 years agoMerge pull request #9821 from cotequeiroz/vim_host
Rosen Penev [Tue, 27 Aug 2019 18:31:22 +0000 (11:31 -0700)]
Merge pull request #9821 from cotequeiroz/vim_host

[18.06] vim: Add host build to install xxd

5 years agonut: Bump PKG_RELEASE 9841/head
Daniel F. Dickinson [Tue, 27 Aug 2019 05:22:41 +0000 (01:22 -0400)]
nut: Bump PKG_RELEASE

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
5 years agonut: Handle FSD properly
Daniel F. Dickinson [Tue, 27 Aug 2019 04:56:42 +0000 (00:56 -0400)]
nut: Handle FSD properly

Make sure we force shutdown of UPS only when we should, and when
we should that shutdown happens.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
5 years agonut: Fix init actions (server/driver)
Daniel F. Dickinson [Tue, 27 Aug 2019 04:53:42 +0000 (00:53 -0400)]
nut: Fix init actions (server/driver)

The server and driver were not starting/restarting reliably. In
addition on interface changes NUT got very confused.  So we fix
handling of restarts and add a reload trigger for interface
changes.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
5 years agonut: Fix extra diver params config
Daniel F. Dickinson [Tue, 27 Aug 2019 04:49:46 +0000 (00:49 -0400)]
nut: Fix extra diver params config

Extra parameters for the UPS driver were not being handled correctly.
Fix that (was wrong variable name).

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
5 years agonut: Fix permissions with runas
Daniel F. Dickinson [Tue, 27 Aug 2019 04:43:25 +0000 (00:43 -0400)]
nut: Fix permissions with runas

Fix directory and conf file creation and owner/mode setting
for when running as non-root.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
5 years agonut: Fix statepath handling
Daniel F. Dickinson [Tue, 27 Aug 2019 04:19:03 +0000 (00:19 -0400)]
nut: Fix statepath handling

The statepath was getting the wrong permission and/or not created
at the right time.  This commit includes fixes for handling the
statepath (typically /var/run/nut).

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
5 years agonut: Fix unset of runas user (ups server)
Daniel F. Dickinson [Tue, 27 Aug 2019 04:15:12 +0000 (00:15 -0400)]
nut: Fix unset of runas user (ups server)

Running as non-root was failing due to misplace local keyword
causing runas to be unset from calling value.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
5 years agonut: Fix bad check for conf exists
Daniel F. Dickinson [Tue, 27 Aug 2019 03:48:49 +0000 (23:48 -0400)]
nut: Fix bad check for conf exists

We were `cat`ing the file instead of just checking for non-empty
existance.  Fix that.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
5 years agonut: Fix upsmon init actions
Daniel F. Dickinson [Tue, 27 Aug 2019 03:43:16 +0000 (23:43 -0400)]
nut: Fix upsmon init actions

1) For upsmon start and stop were at wrong position in rc.d
2) Stop needs more than just killing the procd instead but rather
needs a  stop command to be issued.
3) Interface up/down was causing not to enter a crashloop (we fix this
with procd trigger on interface changes).

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
5 years agonut: Fix unset of runas user (upsmon)
Daniel F. Dickinson [Tue, 27 Aug 2019 03:38:10 +0000 (23:38 -0400)]
nut: Fix unset of runas user (upsmon)

Running as non-root was failing due to misplace local keyword
causing runas to be unset from calling value.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
5 years agonut: Remove unecessary libwrap dependency
Daniel F. Dickinson [Tue, 27 Aug 2019 03:18:05 +0000 (23:18 -0400)]
nut: Remove unecessary libwrap dependency

CONFIG_ARGS has --without-wrap so libwrap as a dependency is
extraneous as it is not actually used.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
5 years agonano: update to 4.4
Hannu Nyman [Sun, 25 Aug 2019 17:38:01 +0000 (20:38 +0300)]
nano: update to 4.4

Update nano editor to 4.4

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit d9347059a80fc8977a1e148153693a2851b4e253)

5 years agottyd: Add dependency for vim 9821/head
Rosen Penev [Wed, 10 Apr 2019 21:55:37 +0000 (14:55 -0700)]
ttyd: Add dependency for vim

Needed to avoid error in case xxd is not installed:

[ 16%] Generating html.h from index.html
/bin/sh: 1: CMAKE_XXD-NOTFOUND: not found
CMakeFiles/ttyd.dir/build.make:61: recipe for target 'html.h' failed
make[6]: *** [html.h] Error 127

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 773c19afad0723bc2ba49b36e8172776e2eaf207)

5 years agovim: Add host build to install xxd
Rosen Penev [Mon, 8 Apr 2019 00:20:01 +0000 (17:20 -0700)]
vim: Add host build to install xxd

Packages such as ttyd and device-observatory need this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 8e93386b804f8029a1180755ce240fbc0f06b009)

5 years agospeedtest-netperf: new package to measure network performance 9814/head
Tony Ambardar [Fri, 26 Oct 2018 01:51:11 +0000 (18:51 -0700)]
speedtest-netperf: new package to measure network performance

The speedtest-netperf.sh script measures the network throughput while
monitoring latency under load and capturing key CPU usage and frequency
statistics. The script can emulate a web-based speed test by downloading
and then uploading from an internet server, or perform simultaneous
download and upload to mimic the stress of the FLENT test program.

It simplifies tasks such as validating ISP provisioned speeds or setting
up and fine-tuning SQM, directly on the router. The CPU usage details
can also help determine if the demands of SQM, routing and other tasks
such as the test itself are exhausting the device's CPUs.

This script leverages earlier scripts from the CeroWrt project used for
bufferbloat mitigation, betterspeedtest.sh and netperfrunner.sh. They are
used with the permission of the author, Rich Brown.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
(cherry-picked from 463590e2bcf94e09890f7ba98e910ff58090e29b)

5 years agoMerge pull request #9789 from ja-pa/libarchive-security-fix-18.06
Rosen Penev [Fri, 23 Aug 2019 01:18:46 +0000 (18:18 -0700)]
Merge pull request #9789 from ja-pa/libarchive-security-fix-18.06

[OpenWrt 18.06] libarchive: update to version 3.4.0 (security fix)

5 years agoapinger: Update to latest git revision
Rosen Penev [Fri, 28 Jun 2019 17:53:53 +0000 (10:53 -0700)]
apinger: Update to latest git revision

This project seems abandoned. Updated to latest version.

Also cleaned up the Makefile quite a bit.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from dff6d2639eabb93e2d3782bfc1262bb6f7dccc33)

5 years agonode-serialport: fix i386 build fail
Hirokazu MORIKAWA [Fri, 19 Apr 2019 00:22:23 +0000 (09:22 +0900)]
node-serialport: fix i386 build fail

more stability for parallel build

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry-picked from 1ce1ca6e0622c6ad7fb61e44b7c96b028939186a)

5 years agonode-hid: fix i386 build fail
Hirokazu MORIKAWA [Wed, 17 Apr 2019 05:55:05 +0000 (14:55 +0900)]
node-hid: fix i386 build fail

more stability for parallel build

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry-picked from 1aa55f86b56766074677bcda23f19cd7e5b5601f)

5 years agolibarchive: update to version 3.4.0 (security fix) 9789/head
Jan Pavlinec [Tue, 23 Jul 2019 13:13:49 +0000 (15:13 +0200)]
libarchive: update to version 3.4.0 (security fix)

Fixes:
CVE-2019-1000019
CVE-2019-1000020
CVE-2018-1000880
CVE-2018-1000879
CVE-2018-1000878
CVE-2018-1000877

Changes:
add bsdtar libopenssl variant
switch to github codeload
polish tab/spaces

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
5 years agoMerge branch 'pr/9778' into openwrt-18.06
Noah Meyerhans [Wed, 21 Aug 2019 14:44:05 +0000 (07:44 -0700)]
Merge branch 'pr/9778' into openwrt-18.06

PR #9778

Signed-off-by: Noah Meyerhans <frodo@morgul.net>
5 years agofastd: update URL and PKG_SOURCE_URL
Matthias Schiffer [Wed, 21 Aug 2019 14:03:57 +0000 (16:03 +0200)]
fastd: update URL and PKG_SOURCE_URL

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
5 years agolibuecc: update URL and PKG_SOURCE_URL
Matthias Schiffer [Wed, 21 Aug 2019 14:03:28 +0000 (16:03 +0200)]
libuecc: update URL and PKG_SOURCE_URL

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
5 years agoMerge pull request #9754 from champtar/openwrt-18.06
Etienne Champetier [Tue, 20 Aug 2019 23:07:32 +0000 (16:07 -0700)]
Merge pull request #9754 from champtar/openwrt-18.06

[18.06] prometheus-node-exporter-lua: update to 2019.08.14

5 years agobind: update to 9.11.9 9778/head
DENG Qingfang [Sat, 20 Jul 2019 17:21:24 +0000 (01:21 +0800)]
bind: update to 9.11.9

Fixes CVEs:
CVE-2018-5738
CVE-2018-5740
CVE-2018-5743
CVE-2018-5744
CVE-2018-5745
CVE-2019-6465
CVE-2019-6471

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
[mention fixed CVEs;patches: refreshed and removed those which are in
upstream now]

5 years agotar: update to version 1.32 9777/head
Daniel Golle [Sun, 10 Mar 2019 20:37:01 +0000 (21:37 +0100)]
tar: update to version 1.32

Fixes CVE-2019-9923

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
[mention CVE in commit message]

5 years agotar: Update to 1.31
Rosen Penev [Tue, 29 Jan 2019 00:45:58 +0000 (16:45 -0800)]
tar: Update to 1.31

Fixes CVE-2018-20482

Added PKG_BUILD_PARALLEL for faster compilation.

Added PKG_CPE_ID for proper CVE tracking.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
5 years agolcdringer: Remove libcheck dependency to fix compilation
Rosen Penev [Sat, 30 Mar 2019 08:48:17 +0000 (01:48 -0700)]
lcdringer: Remove libcheck dependency to fix compilation

libcheck is some kind of testing framework. it is not only unnecessary, it
is not even used in the code.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
5 years agoMerge pull request #9765 from stangri/18.06-simple-adblock
Hannu Nyman [Sun, 18 Aug 2019 18:08:10 +0000 (21:08 +0300)]
Merge pull request #9765 from stangri/18.06-simple-adblock

[18.06] simple-adblock: support for varios DNS resolvers/options

5 years agodovecot: update to version 2.2.36.3 9768/head
Josef Schlehofer [Sat, 17 Aug 2019 21:16:30 +0000 (23:16 +0200)]
dovecot: update to version 2.2.36.3

- Fixes CVE-2019-7524
- Refresh patch

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
5 years ago[18.06] simple-adblock: support for varios DNS resolvers/options 9765/head
Stan Grishin [Sat, 17 Aug 2019 13:09:43 +0000 (06:09 -0700)]
[18.06] simple-adblock: support for varios DNS resolvers/options

Signed-off-by: Stan Grishin <stangri@melmac.net>
5 years agolinknx: Fix compilation with libiconv
Rosen Penev [Fri, 16 Aug 2019 20:02:54 +0000 (13:02 -0700)]
linknx: Fix compilation with libiconv

Based on ee94a1e9120e369666909de97ddf68966d61f8e2

Signed-off-by: Rosen Penev <rosenp@gmail.com>
5 years agorp-pppoe: redo glibc patch
Eneas U de Queiroz [Thu, 14 Jun 2018 15:00:55 +0000 (12:00 -0300)]
rp-pppoe: redo glibc patch

Previous fix broke compilation with kernel < 4.8

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
(cherry-picked from e40d67a48f6dc82c5e52f07859251460d6064a09)

5 years agorp-pppoe: Fixed compilation with glibc
Eneas U de Queiroz [Wed, 23 May 2018 17:24:35 +0000 (14:24 -0300)]
rp-pppoe: Fixed compilation with glibc

Do not inlcude <netinet/in.h> when using glibc to avoid various
redefinitions.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
(cherry-picked from 0c995cabe7d1e8d6e695772848d1d54f0e978bf9)

5 years agoldbus: Add zip/host build dependency
Rosen Penev [Fri, 16 Aug 2019 19:51:27 +0000 (12:51 -0700)]
ldbus: Add zip/host build dependency

Needed when zip is missing on the host (very rare).

Signed-off-by: Rosen Penev <rosenp@gmail.com>
5 years agogcc: Do not build on ARC
Rosen Penev [Fri, 16 Aug 2019 19:46:22 +0000 (12:46 -0700)]
gcc: Do not build on ARC

Not supported until GCC8.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
5 years agoprometheus-node-exporter-lua: add target & system to OpenWrt collector 9754/head
Etienne Champetier [Thu, 15 Aug 2019 03:48:48 +0000 (20:48 -0700)]
prometheus-node-exporter-lua: add target & system to OpenWrt collector

Before:
node_openwrt_info{revision="r10756+1-7546be6007",model="GL.iNet GL-AR150",id="OpenWrt",board_name="glinet,gl-ar150",release="SNAPSHOT"} 1

After:
node_openwrt_info{revision="r10756+1-7546be6007",target="ath79/generic",board_name="glinet,gl-ar150",id="OpenWrt",model="GL.iNet GL-AR150",release="SNAPSHOT",system="Atheros AR9330 rev 1"} 1

Fixes #9730, replace #9735

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
(cherry picked from commit a14bed1bc959116617b0eb75d2d9a46551a480e6)

5 years agoprometheus-node-exporter-lua: Add more wifi_station metrics and fix naming according...
Kirill Lukonin [Thu, 11 Apr 2019 18:52:16 +0000 (23:52 +0500)]
prometheus-node-exporter-lua: Add more wifi_station metrics and fix naming according to original wifi_linux.go node exporter

Signed-off-by: Kirill Lukonin <klukonin@gmail.com>
(cherry picked from commit 5eb8e47df282473aede488cad9ae40cad626c0bc)

5 years agoprometheus-node-exporter-lua: Bump PKG_RELEASE
Alex Tomlins [Mon, 8 Apr 2019 18:52:32 +0000 (19:52 +0100)]
prometheus-node-exporter-lua: Bump PKG_RELEASE

Signed-off-by: Alex Tomlins <alex@tomlins.org.uk>
(cherry picked from commit 4b6f76bfac7bd1969c8ca8829a7fe8f9fed43cd0)

5 years agoprometheus-node-exporter-lua: Add wifi_station_count
Alex Tomlins [Sun, 7 Apr 2019 13:01:12 +0000 (14:01 +0100)]
prometheus-node-exporter-lua: Add wifi_station_count

To return the number of connected clients.

At present this can be partially inferred by using a count() over one of
the existing metrics, however this doesn't handle the case when there
are no connected clients. When that happens, the count() will return no
data instead of 0.

Signed-off-by: Alex Tomlins <alex@tomlins.org.uk>
(cherry picked from commit 1237e196b47dbbd7cac7cf7cabe4b8c86e09e0da)

5 years agoprometheus-node-exporter-lua: wifi packets should be a counter
Alex Tomlins [Sun, 7 Apr 2019 13:08:31 +0000 (14:08 +0100)]
prometheus-node-exporter-lua: wifi packets should be a counter

These output a count of the number of packets transmitted/received, so
should be tracked as a counter. As it stands, promtool is warning that
these shouldn't be named ending _total if they're a gauge.

Signed-off-by: Alex Tomlins <alex@tomlins.org.uk>
(cherry picked from commit a45c702baa1c5e913ac6561ef0e0465b8bd780ce)

5 years agoprometheus-node-exporter-lua: Bump PKG_RELEASE
Alex Tomlins [Thu, 4 Apr 2019 21:28:40 +0000 (22:28 +0100)]
prometheus-node-exporter-lua: Bump PKG_RELEASE

Signed-off-by: Alex Tomlins <alex@tomlins.org.uk>
(cherry picked from commit deab22044be7ea52fd0e3863516a07c5bee72d68)

5 years agoprometheus-node-exporter-lua: fix missing conntrack values
Alex Tomlins [Wed, 3 Apr 2019 20:08:11 +0000 (21:08 +0100)]
prometheus-node-exporter-lua: fix missing conntrack values

If the /proc/sys/net/netfilter/nc_conntrack_* files are not present,
this exporter was outputting a blank value, which is invalid. These
files will not be present when using an image that doesn't include the
iptables and firewall packages (eg a minimal access-point type image).

This updates the collector to only output the metrics if the
corresponding /proc files are present.

Signed-off-by: Alex Tomlins <alex@tomlins.org.uk>
(cherry picked from commit 0100a2cb26c30ee091a259625b9496dd7805aaaa)

5 years agoprometheus-node-exporter-lua: change network metric type to counter
Piotr Machała [Sun, 30 Dec 2018 21:03:11 +0000 (22:03 +0100)]
prometheus-node-exporter-lua: change network metric type to counter

Signed-off-by: Piotr Machała <pm7gt@933x.net>
(cherry picked from commit 626b197cc1b7f8cbb6937d7b6c1ed9982296feac)

5 years agoprometheus-node-exporter-lua: add lantiq dsl modem collector
Rene Treffer [Sat, 28 Jul 2018 10:43:57 +0000 (12:43 +0200)]
prometheus-node-exporter-lua: add lantiq dsl modem collector

a.heider: Address PR comments and clean up.

Signed-off-by: Rene Treffer <treffer+github@measite.de>
Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit c751af86160f4467a2856ecceb2c8b599f517676)

5 years agoopenssh: fix pthread functions redefine with pam module
Guo Li [Sat, 8 Sep 2018 11:04:04 +0000 (19:04 +0800)]
openssh: fix pthread functions redefine with pam module

we should pass -DUNSUPPORTED_POSIX_THREADS_HACK to CFLAGS to openssh
to prevent function redefine, I don't know why pam module use
micro UNSUPPORTED_POSIX_THREADS_HACK to detect whether define
pthread functions, but not detect whether define
UNSUPPORTED_POSIX_THREADS_HACK.

Signed-off-by: Guo Li <uxgood.org@gmail.com>
5 years agoMerge pull request #9403 from BKPepe/yt-18.06
Josef Schlehofer [Wed, 14 Aug 2019 19:20:07 +0000 (21:20 +0200)]
Merge pull request #9403 from BKPepe/yt-18.06

[18.06] youtube-dl: update to version 2019.8.2

5 years agoMerge pull request #9513 from BKPepe/openwrt-18.06_python_shebang
Josef Schlehofer [Wed, 14 Aug 2019 19:19:50 +0000 (21:19 +0200)]
Merge pull request #9513 from BKPepe/openwrt-18.06_python_shebang

[OpenWrt 18.06] python,python3: move shebang handle in install script

5 years agolibinput: Add missing header to fix compilation
Rosen Penev [Tue, 12 Feb 2019 20:36:07 +0000 (12:36 -0800)]
libinput: Add missing header to fix compilation

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 671f0363a438518e676517b4fb5ed9fd8d4d5f49)

5 years agolibglog: fix removing libunwind dependency
Eneas U de Queiroz [Fri, 7 Dec 2018 19:02:05 +0000 (17:02 -0200)]
libglog: fix removing libunwind dependency

ac_cv_header_libunwind_h needs to be set to 0, as ac_cv_have_libunwind_h
overwritten based on the former's value.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
(cherry-picked from ec317934b2317e0e0f1831c703a643028d1acaa6)

5 years agolibseccomp: workaround a recursive dependency
Eneas U de Queiroz [Wed, 15 May 2019 12:42:47 +0000 (09:42 -0300)]
libseccomp: workaround a recursive dependency

DEPENDS:=@!arc is causing a recursive dependency because of the optional
selection of libseccomp by util/lxc.  The workaround hides the package
in Package/libseccomp/config instead.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
(cherry-picked from e29483d7e202b06c49b3ede7fbb63c2ba1879321)

5 years agolxc: Backport uClibc patch
Rosen Penev [Thu, 16 May 2019 00:23:04 +0000 (17:23 -0700)]
lxc: Backport uClibc patch

Fixes compilation

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 189a1700383a9d6cb964f764344194e4a904ce12)

5 years agolxc: hide seccomp support for arc
Eneas U de Queiroz [Wed, 15 May 2019 12:40:45 +0000 (09:40 -0300)]
lxc: hide seccomp support for arc

libseccomp does not compile for arc, so we can't show that option for
arc.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
(cherry-picked from 57b4d94d98a572c02b9b78e4bb1d3e9810a95db7)

5 years agolxc: Disable use of unwanted libraries explicity
Daniel F. Dickinson [Mon, 21 Jan 2019 05:12:18 +0000 (00:12 -0500)]
lxc: Disable use of unwanted libraries explicity

Otherwise one gets a failure if the libraries (e.g. Python
header file) exist in the build system.  Worse in some cases
is host headers being found if one doesn't specifically
disable a library search in autotools.  It is especially
important that Python is disabled by default.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
(cherry-picked from cc039d801e28cf2fdf6a1d1466865d142a4ef278)

5 years agoboost: Fix compilation with uClibc-ng
Rosen Penev [Wed, 1 May 2019 20:58:07 +0000 (13:58 -0700)]
boost: Fix compilation with uClibc-ng

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 053faa31e53122eb7efdc78f954e9563ed06116e)

5 years agoiodine: Fix compilation with uClibc-ng
Rosen Penev [Wed, 1 May 2019 19:01:03 +0000 (12:01 -0700)]
iodine: Fix compilation with uClibc-ng

daemon is supported now.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 3226673a48f42fd9f9a66ec1578a6ea887a0ccf6)

5 years agomariadb: add dependency on libaio for arc as well
Sebastian Kemper [Mon, 24 Jun 2019 08:36:20 +0000 (10:36 +0200)]
mariadb: add dependency on libaio for arc as well

Now that libaio compiles on arc targets we need to add the dependency to
libaio on these targets as well.

resolves #9298

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry-picked from c571c37e5c7e68eb9c431869f09a83d2a7ffaea2)

5 years agolibudev-fbsd: update to git source as of 2017-12-16
Daniel Golle [Fri, 8 Feb 2019 20:59:50 +0000 (21:59 +0100)]
libudev-fbsd: update to git source as of 2017-12-16

Remove patches 001-fix-unused.patch and 002-replace-nitems.patch,
similar fixes to make libudev-fbsd compile were applied upstream.
Refresh remaining patches.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry-picked from 58f1de60f87cc9d81934749d020aa69b83d3bee9)

5 years agoMerge pull request #9710 from BKPepe/icu_fix
Rosen Penev [Tue, 13 Aug 2019 15:54:36 +0000 (08:54 -0700)]
Merge pull request #9710 from BKPepe/icu_fix

[OpenWrt 18.06] icu: fix patch, which adds big endian ARM support

5 years agoicu: fix patch, which adds big endian ARM support 9710/head
Josef Schlehofer [Tue, 13 Aug 2019 11:13:30 +0000 (13:13 +0200)]
icu: fix patch, which adds big endian ARM support

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
5 years agogolang: update to version 1.10.8 9702/head
Josef Schlehofer [Mon, 12 Aug 2019 19:43:24 +0000 (21:43 +0200)]
golang: update to version 1.10.8

Fixes CVEs

1.10.6
CVE-2018-16873
CVE-2018-16874
CVE-2018-16875

1.10.8
CVE-2019-6486

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
5 years agolibgee: copy vapi files to versioned vala dir
Eneas U de Queiroz [Thu, 13 Dec 2018 17:27:36 +0000 (15:27 -0200)]
libgee: copy vapi files to versioned vala dir

The version is obtained via `valac --api-version`

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
(cherry-picked from fb4b5c57015bcae10c1ba11aa575ba6ec93dbf4f)

5 years agolibgee: use unversioned vala dir, misc fixes
Eneas U de Queiroz [Mon, 10 Dec 2018 02:22:15 +0000 (00:22 -0200)]
libgee: use unversioned vala dir, misc fixes

Copy vapi files to unversioned vala dir.
Added vala/host to PKG_BUILD_DEPENDS.
Removed TARGET_LDFLAGS
Removed copyright lines

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
(cherry-picked from 2cf76d52780d352b2ecb4bf14cb5eb403ef5144d)

5 years agoicu: Fix patch from faulty backport
Rosen Penev [Mon, 12 Aug 2019 23:05:04 +0000 (16:05 -0700)]
icu: Fix patch from faulty backport

Signed-off-by: Rosen Penev <rosenp@gmail.com>
5 years agosquid: update to version 3.5.28 9703/head
Josef Schlehofer [Mon, 12 Aug 2019 21:04:53 +0000 (23:04 +0200)]
squid: update to version 3.5.28

Fixes CVEs:
CVE-2018-1000024
CVE-2018-1000027
CVE-2018-1172

Add patches from Squid Proxy Cache Security Update Advisory:
http://www.squid-cache.org/Advisories/SQUID-2018_4.txt
http://www.squid-cache.org/Advisories/SQUID-2018_5.txt
http://www.squid-cache.org/Advisories/SQUID-2019_3.txt
http://www.squid-cache.org/Advisories/SQUID-2019_6.txt

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
5 years agoprotobuf-c: add build time dependency protobuf
Mislav Novakovic [Thu, 7 Jun 2018 10:26:42 +0000 (12:26 +0200)]
protobuf-c: add build time dependency protobuf

Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
(cherry-picked from a35581902cf6c6d4b51fc44a4db4d8c5bc8b51a5)

5 years agojamvm: depends on supported architectures
Yousong Zhou [Thu, 27 Sep 2018 03:48:53 +0000 (03:48 +0000)]
jamvm: depends on supported architectures

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry-picked from 11f054474446a9984e828637e0a474011b3b16f6)

5 years agoicu: Backport ARMEB support patch
Rosen Penev [Thu, 11 Apr 2019 01:39:34 +0000 (18:39 -0700)]
icu: Backport ARMEB support patch

This should fix php compilation on PPC.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from a958f49bd0947e3647a77fb16394ec035544f34d)

5 years agogammu: Really fix compilation under 64-bit
Rosen Penev [Sat, 30 Mar 2019 08:31:27 +0000 (01:31 -0700)]
gammu: Really fix compilation under 64-bit

The InstallDev section needed the same treatment as the Install one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 5fbc6c873e29dcde6d048ffbbea252411816f884)

5 years agogammu: Fix build under 64-bit targets.
Rosen Penev [Sun, 16 Dec 2018 18:31:02 +0000 (10:31 -0800)]
gammu: Fix build under 64-bit targets.

There's a faulty suffix variable that points to the wrong place.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from bf42426e4a97f3e771de2d3063a4d38f7c8f40e8)

5 years agoyoutube-dl: update to version 2019.8.2 9403/head
Josef Schlehofer [Thu, 8 Aug 2019 17:16:18 +0000 (19:16 +0200)]
youtube-dl: update to version 2019.8.2

Backport the Makefile from branches 'master' and 'openwrt-19.07'
- It means that now it will be created as Python package
with one difference that this one uses Python2

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
5 years agopython,python3: Fix overridden usr/bin symlinks 9513/head
Jeffery To [Sun, 31 Mar 2019 11:11:15 +0000 (19:11 +0800)]
python,python3: Fix overridden usr/bin symlinks

Currently, all files in usr/bin (presumably all Python scripts) are run
through sed to replace the shebang; sed will overwrite the file whether
or not a match is found. This causes symlinks to be overridden and made
into copies of their targets. python[3]-base and python[3]-dev are
affected by this.

This adds the --follow-symlinks flag to sed, in addition to using
$(SED), so that symlinks are not overridden.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
5 years agopython,python3: move shebang handle in install script
Alexandru Ardelean [Mon, 4 Feb 2019 14:36:25 +0000 (16:36 +0200)]
python,python3: move shebang handle in install script

This extends the Python[3] shebang fixup to all packages.
Only Python scripts in `/usr/bin` will be handled at the moment. Later it
may make sense to also cover executables in `/bin`, though typically Python
executables shouldn't be placed there.

Previously the shebang handling was only done for python[3]-pip &
python[3]-setuptools.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
5 years agosubversion: update to version 1.10.6
Josef Schlehofer [Mon, 5 Aug 2019 21:13:57 +0000 (23:13 +0200)]
subversion: update to version 1.10.6

Most interesting changes:
- Fixes CVEs
1.10.6
- CVE-2018-11782
- CVE-2019-0203
1.10.4
- CVE-2018-11803

Other misc changes:
- Fixes indentation in Makefile
- Reorder some things in Makefile to be sync with other packages
- Use HTTPS in URL

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
5 years agojq: compile with _GNU_SOURCE (fixes #7785)
W. Michael Petullo [Mon, 11 Feb 2019 00:31:53 +0000 (19:31 -0500)]
jq: compile with _GNU_SOURCE (fixes #7785)

Signed-off-by: W. Michael Petullo <mike@flyn.org>
(cherry-picked from 4bb18b04b6750af9a62b68792415d527f0a54f5e)

5 years agolibsoc: fix compilation error caused by multiple goals on make
Yousong Zhou [Thu, 5 Jul 2018 01:56:04 +0000 (09:56 +0800)]
libsoc: fix compilation error caused by multiple goals on make

Error of the following kind can happen when parallel build with goals "all" and
"install" both specified on the command line.  Seems like make can parallelly
build for both targets causing race conditions

make[3]: Entering directory `/tmp/tmp.HIR3tEIqBb/build_dir/target-mips_24kc_musl/libsoc-2016-12-22-5b788d4d'
Making all in lib
Making install in lib
make[4]: Entering directory `/tmp/tmp.HIR3tEIqBb/build_dir/target-mips_24kc_musl/libsoc-2016-12-22-5b788d4d/lib'
  CC       libsoc_la-gpio.lo
make[4]: Entering directory `/tmp/tmp.HIR3tEIqBb/build_dir/target-mips_24kc_musl/libsoc-2016-12-22-5b788d4d/lib'
  CC       libsoc_la-spi.lo
  CC       libsoc_la-gpio.lo
  CC       libsoc_la-file.lo
  CC       libsoc_la-i2c.lo
  CC       libsoc_la-spi.lo
  CC       libsoc_la-pwm.lo
  CC       libsoc_la-board.lo
  CC       libsoc_la-file.lo
  CC       libsoc_la-conffile.lo
  CC       libsoc_la-debug.lo
  CC       libsoc_la-pwm.lo
  CC       libsoc_la-conffile.lo
  CCLD     libsoc.la
OpenWrt-libtool: link: `libsoc_la-pwm.lo' is not a valid libtool object
make[4]: *** [libsoc.la] Error 1

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry-picked from 19bde8da683bfee543b3815d0614e7bf900acda3)

5 years agortl-ais: Fix compilation on i386
Rosen Penev [Wed, 9 Jan 2019 23:59:29 +0000 (15:59 -0800)]
rtl-ais: Fix compilation on i386

The code from 1996 is using pre-c99 inline semantics that cause compilation
failures on i386. Added std-gnu89 to fix this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 16f623b38765bb6218fd622d4d3ae92da4d9ae0e)

5 years agolibdouble-conversion: Update to 3.1.4
Rosen Penev [Mon, 1 Apr 2019 03:51:19 +0000 (20:51 -0700)]
libdouble-conversion: Update to 3.1.4

Added patch to fix compilation on big endian ARM.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 4252d20f6ac36d7caf5010e18cba78c2093bd373)

5 years agolibdouble-conversion: Update to 3.1.1
Rosen Penev [Wed, 26 Dec 2018 19:33:59 +0000 (11:33 -0800)]
libdouble-conversion: Update to 3.1.1

Switched to codeload and updated the Makefile to standards.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 9da161b8aefe23e074b04c773a9aa882835102de)

5 years agolibaio: Update to 0.3.112
Rosen Penev [Tue, 18 Jun 2019 18:02:47 +0000 (11:02 -0700)]
libaio: Update to 0.3.112

Replace inactive maintainer with myself.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 7cd204e99e564ea9c19e2e1b50e7088ffc5252a8)

5 years agolibaio: Backport DESTDIR patch to simplify the Makefile
Rosen Penev [Fri, 7 Jun 2019 21:02:36 +0000 (14:02 -0700)]
libaio: Backport DESTDIR patch to simplify the Makefile

Fixes issue where OpenWrt CFLAGS like relro were not being passed.

Updated license information.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 5e34f4a32b6649ec87ca082b8fbe50d90c994caa)

5 years agolibaio: Update to 0.3.111
Rosen Penev [Wed, 27 Jun 2018 00:04:22 +0000 (17:04 -0700)]
libaio: Update to 0.3.111

Switched to new upstream at pagure.io.

Refreshed debian patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 9428e4cbd27bf0bca0d540a51566a2136055ee56)

5 years agoquassel-irssi: Fix compilation with GCC8
Rosen Penev [Fri, 17 May 2019 01:38:58 +0000 (18:38 -0700)]
quassel-irssi: Fix compilation with GCC8

It throws new warnings which triggers -Werror. Remove it.

Added support for full NLS.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
)cherry picked from 623d25a86b7e6bd5db68fe8e07c221d3db558360)

5 years agoquasselc: Fix compilation with uClibc-ng
Rosen Penev [Sat, 11 May 2019 23:12:27 +0000 (16:12 -0700)]
quasselc: Fix compilation with uClibc-ng

nls.mk is needed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 54e6f29df1309b7cc80a9045ec60876975966011)

5 years agoMerge pull request #9625 from micmac1/18.06-mariadb10141
Rosen Penev [Fri, 2 Aug 2019 00:22:14 +0000 (17:22 -0700)]
Merge pull request #9625 from micmac1/18.06-mariadb10141

mariadb (18.06): security bump to 10.1.41

5 years agomariadb: security bump to 10.1.41 9625/head
Sebastian Kemper [Thu, 1 Aug 2019 22:07:43 +0000 (00:07 +0200)]
mariadb: security bump to 10.1.41

New upstream release. Addresses:

  CVE-2019-2805
  CVE-2019-2740
  CVE-2019-2739
  CVE-2019-2737

Package updates:

  - refreshes patches

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agosoftethervpn: Fix compilation under 64-bit targets 9619/head
Rosen Penev [Mon, 1 Apr 2019 19:43:37 +0000 (12:43 -0700)]
softethervpn: Fix compilation under 64-bit targets

-m64 is not compatible with OpenWrt's compilers.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 23134b07de24cce815c4c1f0f700393ada69a33e)

5 years agoMerge pull request #9542 from jefferyto/python-musl-find_library-openwrt-18.06
Josef Schlehofer [Wed, 24 Jul 2019 07:11:35 +0000 (09:11 +0200)]
Merge pull request #9542 from jefferyto/python-musl-find_library-openwrt-18.06

[openwrt-18.06] python,python3: Fix ctypes.util.find_library()

5 years agoopendkim: Fix compilation with uClibc-ng
Rosen Penev [Fri, 19 Jul 2019 07:02:21 +0000 (00:02 -0700)]
opendkim: Fix compilation with uClibc-ng

res_nsend and res_send are both not available in uClibc-ng as configured
in OpenWrt. Having this function return an error is the only sensible way
to fix.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from b5b776fc9ad807739977e82f809c3fe7b485d262)

5 years agotvheadend: Fix compilation on GCC8
Rosen Penev [Wed, 1 May 2019 02:25:07 +0000 (19:25 -0700)]
tvheadend: Fix compilation on GCC8

New string warnings were introduced. Adding -Wno-error to TARGET_CFLAGS
does not work so patch it out.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 9eea417e92f332e2c0a6b014655c0c5bbaebb48b)

5 years agotvheadend: Fix compilation without deprecated OpenSSL 1.0.2 APIs
Rosen Penev [Wed, 2 Jan 2019 05:46:47 +0000 (21:46 -0800)]
tvheadend: Fix compilation without deprecated OpenSSL 1.0.2 APIs

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from c59e53619e0b0b3c19651023456e500e6906dbd2)

5 years agotvheadend: Fix compilation without OpenSSL deprecated APIs
Rosen Penev [Mon, 19 Nov 2018 22:48:02 +0000 (14:48 -0800)]
tvheadend: Fix compilation without OpenSSL deprecated APIs

Also switched to codeload for Makefile simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 5033e594ccca4368ee0562abd7ea618f19f10948)

5 years agolibartnet: Fix compilation with GCC8
Rosen Penev [Sun, 5 May 2019 22:30:07 +0000 (15:30 -0700)]
libartnet: Fix compilation with GCC8

Previous GCC7 fix was incorrect and GCC8 correctly complains about it.
Fix it properly.

Also cleaned up the Makefile for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from fac6f0e0a5a6f419ffef2e2add78366233139304)

5 years agopoco: Do not build on ARC
Rosen Penev [Tue, 23 Jul 2019 03:26:26 +0000 (20:26 -0700)]
poco: Do not build on ARC

Not supported.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(ported from ec2f6326033d2d1a7f90c47f7c693e284c9a8d27)