feed/packages.git
5 years agodovecot: Improve packaging and include configs
Josef Schlehofer [Sun, 18 Aug 2019 11:18:44 +0000 (13:18 +0200)]
dovecot: Improve packaging and include configs

- Add dovenull user, otherwise, dovecot doesn't start
- Build docs to have configuration files for dovecot
- Remove init script as conffile
- Move build options from Makefile to Config.in
- Install section to be more readable
- Refresh patches

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit e27438f14082ae2f5fee3353033b0396175c855b)

5 years agodovecot: update to version 2.3.7.1
Josef Schlehofer [Sun, 18 Aug 2019 11:18:01 +0000 (13:18 +0200)]
dovecot: update to version 2.3.7.1

Move PKG_MAINTAINER above PKG_LICENSE to be sync with other packages

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit fcbc1cad2c9e79eb77ab01f14496d526192d8683)

5 years agodovecot: update to 2.3.7
Lucian Cristian [Sun, 14 Jul 2019 20:08:01 +0000 (23:08 +0300)]
dovecot: update to 2.3.7

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry-picked from commit 971b20380eef8a2a8358ed4619c5d18e64ed2915)

5 years agopython-oauthlib: bump to 3.1.0
Eneas U de Queiroz [Thu, 22 Aug 2019 17:36:14 +0000 (14:36 -0300)]
python-oauthlib: bump to 3.1.0

This is a feature release including improvement to OIDC and security
enhancements, as well as bugfixes.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry-picked from commit ab990af307cb401317e4e3d041b2bfe60ee0ccdb)

5 years agomeasurement-kit: update to version 0.10.5
Jan Pavlinec [Fri, 23 Aug 2019 12:08:21 +0000 (14:08 +0200)]
measurement-kit: update to version 0.10.5

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry-picked from 17ebaf2a3f0fcda71e92f0047485faaae4b4d583)

5 years agonetdata: Add patch to disable optional libraries
Daniel Engberg [Fri, 23 Aug 2019 00:45:22 +0000 (00:45 +0000)]
netdata: Add patch to disable optional libraries

Netdata adds optional libraries if found, add patch (PR#6658) to avoid pulling in unnecessary libraries.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(cherry-picked from commit 35a7f8721ab86fc0f2c5bb8274418de7e1a82a84)

5 years agonetdata: Update to 1.16.1, disable https and dbengine
Daniel Engberg [Mon, 12 Aug 2019 00:33:31 +0000 (00:33 +0000)]
netdata: Update to 1.16.1, disable https and dbengine

Disable https and dbengine to get rid of openssl and liblz4
Add (lib)json-c as dependency
Disable anonymous statistics sent to Google Analytics

Source: https://github.com/netdata/netdata/blob/master/docs/anonymous-statistics.md

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(cherry-picked from commit b95f19207e006b447b7355ab29485781d21ebd8b)

5 years agonetdata: update to version 1.16.0
Josef Schlehofer [Sun, 21 Jul 2019 15:33:40 +0000 (17:33 +0200)]
netdata: update to version 1.16.0

- Add dependencies: libopenssl, liblz4
- Correct SPDX License Identifier
- Change URL of the website

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit b64558b1badbb6e043b2d16abd93f38687fde381)

5 years agonetdata: netdata.init: fix indentation
Yousong Zhou [Fri, 21 Jun 2019 01:56:55 +0000 (01:56 +0000)]
netdata: netdata.init: fix indentation

(cherry-picked from commit 9ff174097b54a7946692884d14c37affe241f8f3)

5 years agosyslog-ng: update to version 3.22.1
Josef Schlehofer [Thu, 4 Jul 2019 04:44:36 +0000 (06:44 +0200)]
syslog-ng: update to version 3.22.1

- Bump version in the config and improve a link for documentation
- Disable snmp destination for now

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit e07cc32)

5 years agoadblock: update 3.8.2
Dirk Brenken [Wed, 21 Aug 2019 09:16:43 +0000 (11:16 +0200)]
adblock: update 3.8.2

* background service: no longer miss "signal" events for the
  dns backend (to trigger adblock)
* fix a dns backend reload issue during switch between
  different blocking modes
* domain query: report found domains only once in
  "null" blocking mode with IPv4 & IPv6 list entries

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 806f5ca9d807657d7ad16490aa114f0b8488368c)

5 years agoadblock: update 3.8.1
Dirk Brenken [Mon, 19 Aug 2019 21:34:31 +0000 (23:34 +0200)]
adblock: update 3.8.1

* fix a possible race condition during DNS file reset on slow hardware
* optimize DNS restart behaviour in 'null' blocking mode
* mute useless warnings

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 866878aa78cd04f97174e726670f634983abd6a6)

5 years agoadblock: release 3.8.0
Dirk Brenken [Thu, 15 Aug 2019 12:02:30 +0000 (14:02 +0200)]
adblock: release 3.8.0

* add support for 'DNS File Reset', where the final DNS blockfile
  will be purged after DNS backend loading (save storage space).
  A small background service will be started to trace/handle
  dns backend reloads/restarts
* add support for the 'null' blocking variant in dnsmasq
  (via addn-hosts), which may provide better response times
  in dnsmasq
* enhance the report & search engine to support
  the new blocking variants. Search now includes
  backups & black-/whitelist as well
* compressed source list backups are now mandatory (default to '/tmp')
* speed up TLD compression
* E-Mail notification setup is now integrated in UCI/LuCI
* update the LuCI frontend to reflect all changes (separate PR)
* drop preliminary dnscrypt-proxy-support (use dnsmasq instead)
* drop additional 'dnsjail' blocklist support (not used by anyone)
* procd cleanups in init
* various shellcheck cleanups
* update readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 504412ccdbe9e6f1f65b34cf28641ec9aa9b7c22)

5 years agoMerge pull request #9800 from Rixerx/openwrt-19.07
Etienne Champetier [Thu, 22 Aug 2019 20:56:38 +0000 (13:56 -0700)]
Merge pull request #9800 from Rixerx/openwrt-19.07

[OpenWrt 19.07] zabbix: update to 4.0.11

5 years agozabbix: update to 4.0.11 9800/head
Krystian Kozak [Thu, 22 Aug 2019 20:19:03 +0000 (22:19 +0200)]
zabbix: update to 4.0.11

Updated to 4.0.11 LTS version.

Deleted 003-change-user-and-foreground.patch in according to [ZBX-10611] fixed changing process user owner on startup in foreground when AllowRoot disabled.

Compile tested: Yes, lantiq
Run tested: Yes, lantiq

Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
5 years agoruamel-yaml: Update to version 0.15.100
Josef Schlehofer [Tue, 20 Aug 2019 18:35:48 +0000 (20:35 +0200)]
ruamel-yaml: Update to version 0.15.100

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit 907287b)

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 agogolang: Update to 1.12.9
Jeffery To [Mon, 19 Aug 2019 14:55:38 +0000 (22:55 +0800)]
golang: Update to 1.12.9

Includes fixes (in 1.12.8) for:
CVE-2019-14809 - https://nvd.nist.gov/vuln/detail/CVE-2019-14809
CVE-2019-9512 - https://nvd.nist.gov/vuln/detail/CVE-2019-9512
CVE-2019-9514 - https://nvd.nist.gov/vuln/detail/CVE-2019-9514

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
5 years agoclamav: update to version 0.101.3
Josef Schlehofer [Tue, 6 Aug 2019 21:16:03 +0000 (23:16 +0200)]
clamav: update to version 0.101.3

Correct SPDX License Identifier

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from e19f753be5981f94a81a61d2ba8cb190d245c5de)

5 years agoclamav: don't install dev files into package
Eneas U de Queiroz [Tue, 13 Aug 2019 17:06:19 +0000 (14:06 -0300)]
clamav: don't install dev files into package

This avoids copying /usr/include, unversioned *.so files, pkgconfig,
/usr/lib/*.la, and the build-time libs/cflags configuration utility
clamav-config.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry-picked from 815e05e38eddd0933d06078e4bbf5ba2fd95457f)

5 years agoclamav: avoid host pickup of libxml2
Eneas U de Queiroz [Sat, 10 Aug 2019 22:59:47 +0000 (19:59 -0300)]
clamav: avoid host pickup of libxml2

If libxml2 is installed in the host, then the host library is used and
compilation fails.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry-picked from 199ccc94756bc6c577bf4be96014c27bf12ea3ef)

5 years agoyggdrasil: fix #9712 upstream dependency with branch develop
William Fleurant [Thu, 15 Aug 2019 19:39:26 +0000 (15:39 -0400)]
yggdrasil: fix #9712 upstream dependency with branch develop

Signed-off-by: William Fleurant <meshnet@protonmail.com>
(cherry-picked from 07625bb6a7daf5af49a0a303ff42d426ebe43319)

5 years agoyggdrasil: properly call the daemon with procd
William Fleurant [Wed, 7 Aug 2019 23:45:27 +0000 (19:45 -0400)]
yggdrasil: properly call the daemon with procd

Signed-off-by: William Fleurant <meshnet@protonmail.com>
(cherry-picked from 9436ff426171d5ff4f3b4d31edf5c7db7b08a78b)

5 years agoyggdrasil: match contributing.md order of config section
William Fleurant [Mon, 5 Aug 2019 02:36:02 +0000 (22:36 -0400)]
yggdrasil: match contributing.md order of config section

Signed-off-by: William Fleurant <meshnet@protonmail.com>
(cherry-picked from fee12663cb4b67d790f54cbb12c262e019418293)

5 years agoyggdrasil: package LICENSE filename, update license id name
William Fleurant [Mon, 5 Aug 2019 02:26:27 +0000 (22:26 -0400)]
yggdrasil: package LICENSE filename, update license id name

Signed-off-by: William Fleurant <meshnet@protonmail.com>
(cherry-picked from e08d17fbe043ad7ae73aa004ee57ad6a425db846)

5 years agoyggdrasil: bump to 0.3.6
William Fleurant [Sun, 4 Aug 2019 21:54:23 +0000 (17:54 -0400)]
yggdrasil: bump to 0.3.6

Signed-off-by: William Fleurant <meshnet@protonmail.com>
(cherry-picked from 8128ef3793beb16d7b72154afa37ed7b60396bc6)

5 years agosquashfs-tools: need to include sys/sysmacros.h
Eneas U de Queiroz [Thu, 15 Aug 2019 11:47:02 +0000 (08:47 -0300)]
squashfs-tools: need to include sys/sysmacros.h

The inclusion of <sys/sysmacros.h> by <sys/types.h> was deprecated and
removed.  This is causing major, minor, and makedev to be undefined.

The patch is an upstream commit fixing it.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
5 years agoMerge pull request #9764 from stangri/19.07-simple-adblock
Hannu Nyman [Sun, 18 Aug 2019 18:08:00 +0000 (21:08 +0300)]
Merge pull request #9764 from stangri/19.07-simple-adblock

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

5 years ago[19.07] simple-adblock: support for varios DNS resolvers/options 9764/head
Stan Grishin [Sat, 17 Aug 2019 13:09:56 +0000 (06:09 -0700)]
[19.07] simple-adblock: support for varios DNS resolvers/options

Signed-off-by: Stan Grishin <stangri@melmac.net>
5 years agoMerge pull request #9762 from jefferyto/host-python-mac-openwrt-19.07
Rosen Penev [Sat, 17 Aug 2019 06:00:11 +0000 (23:00 -0700)]
Merge pull request #9762 from jefferyto/host-python-mac-openwrt-19.07

[openwrt-19.07] python,python3: Fix host Python compilation for macOS

5 years agopython,python3: Fix host Python compilation for macOS 9762/head
Jeffery To [Fri, 16 Aug 2019 20:45:58 +0000 (04:45 +0800)]
python,python3: Fix host Python compilation for macOS

* Remove $$$$(pkg-config --static --libs libcrypto libssl) from
  HOST_LDFLAGS

  Having this leads to an "unknown type name 'u_int'" error on Mac.
  Removing it doesn't appear to affect Python's ability to find
  buildroot LibreSSL.

* Change -Wl,-rpath=... to -Wl,-rpath,... in HOST_LDFLAGS

  The equals sign version is not supported by the Mac linker (appears to
  be an GNU extension). The comma version is supported; -rpath and its
  argument will be separated by a space when passed to the linker.

* Add ac_cv_header_libintl_h=no to HOST_CONFIGURE_VARS for Mac

  Python on Mac doesn't expect to use libintl, but if gettext-full is
  compiled for host, it will try, leading to undefined symbol errors
  during compilation. This prevents configure from finding libintl.h.

Fixes #7171.
Fixes #9621.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
5 years agoMerge pull request #9714 from jefferyto/python-twisted-19.7.0-openwrt-19.07
Josef Schlehofer [Fri, 16 Aug 2019 14:50:23 +0000 (16:50 +0200)]
Merge pull request #9714 from jefferyto/python-twisted-19.7.0-openwrt-19.07

[openwrt-19.07] python-twisted: Update to 19.7.0, refresh patches

5 years agoMerge pull request #9751 from champtar/openwrt-19.07
Etienne Champetier [Fri, 16 Aug 2019 05:55:41 +0000 (22:55 -0700)]
Merge pull request #9751 from champtar/openwrt-19.07

[19.07] prometheus-node-exporter-lua: add target & system to OpenWrt collector

5 years agoprometheus-node-exporter-lua: add target & system to OpenWrt collector 9751/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 agocoova-chilli: disable parallel build
Eneas U de Queiroz [Thu, 4 Jul 2019 12:01:52 +0000 (09:01 -0300)]
coova-chilli: disable parallel build

Parallel building is causing a failure because it executes some
commands, such as patch, more than once.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
5 years agotravelmate: update 1.4.11
Dirk Brenken [Thu, 8 Aug 2019 10:57:59 +0000 (12:57 +0200)]
travelmate: update 1.4.11

* fix logical glitch in last commit

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 751f312334b4d30f05059560f912c9b1bfdd1aca)

5 years agotravelmate: update 1.4.10
Dirk Brenken [Tue, 6 Aug 2019 13:29:00 +0000 (15:29 +0200)]
travelmate: update 1.4.10

* add missing dnsmasq dependency
* add a captive portal auto-login hook (configurable via uci/LuCI),
  you could reference an external auto-login script - see readme
* provide an auto-login script for german ICE hotspots
  (/etc/travelmate/wifionice.login), requires 'curl'
* small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 5a2a4fa20a29d39aae91448c632be447444aa11f)

5 years agopython-twisted: Update to 19.7.0, refresh patches 9714/head
Jeffery To [Tue, 13 Aug 2019 19:55:26 +0000 (03:55 +0800)]
python-twisted: Update to 19.7.0, refresh patches

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
5 years agoMerge pull request #9731 from jefferyto/ci-improvements-openwrt-19.07
Etienne Champetier [Wed, 14 Aug 2019 18:58:49 +0000 (11:58 -0700)]
Merge pull request #9731 from jefferyto/ci-improvements-openwrt-19.07

[openwrt-19.07] CI fixes and improvement

5 years agocircleci: provide prereq output in the build log 9731/head
Petr Štetiar [Tue, 13 Aug 2019 13:20:15 +0000 (15:20 +0200)]
circleci: provide prereq output in the build log

Commit 200f2666fb1c ("sdk: fix GCC and Python dangling symlinks") in
master tree has forced prereq build step, which is now failing on the CI
as the Docker CI images are missing Python3 support, so now every build
fails with the following error:

 make: *** [staging_dir/host/.prereq-build] Error 1

which is not helpful due to the silenced output of `make defconfig >
/dev/null`, so let's add `make prereq` build step in order to get
something usable next time.

Reported-by: Karl Palsson <karlp@etactica.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
5 years agocircleci: use Docker image v1.0.4
Petr Štetiar [Tue, 13 Aug 2019 09:25:30 +0000 (11:25 +0200)]
circleci: use Docker image v1.0.4

This new image which is already available contains Python3 support.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
5 years agocircleci: make logs of build failures more readable
Petr Štetiar [Mon, 5 Aug 2019 08:50:08 +0000 (10:50 +0200)]
circleci: make logs of build failures more readable

Due to concurrent build, it's currently not that easy to find the proper
reason for the package build failure, so let's just build the failing
package with -j1 in order to provide more human readable build log
failures.

Ref: https://github.com/openwrt/packages/pull/9584#issuecomment-518038631
Signed-off-by: Petr Štetiar <ynezz@true.cz>
5 years agocircleci: add python3 package into Docker image
Petr Štetiar [Mon, 5 Aug 2019 08:42:49 +0000 (10:42 +0200)]
circleci: add python3 package into Docker image

We've switched to Python3 some time ago so it would make sense to
provide Python3 in the CI image as well.

Ref: https://github.com/openwrt/packages/pull/9584#issuecomment-518038631
Reported-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
5 years agonet/mosquitto: bump to 1.6.4
Karl Palsson [Wed, 7 Aug 2019 16:50:59 +0000 (16:50 +0000)]
net/mosquitto: bump to 1.6.4

Full changelog here: https://mosquitto.org/blog/2019/08/version-1-6-4-released/

Fixes a regression in persistent session handling, and various other
regressions related to the mqtt5 support.

Signed-off-by: Karl Palsson <karlp@etactica.com>
5 years agozeromq: update to version 4.1.7 (security fix)
Jan Pavlinec [Wed, 10 Jul 2019 13:18:16 +0000 (15:18 +0200)]
zeromq: update to version 4.1.7 (security fix)

Fixes:
CVE-2019-13132
Added CPE ID

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry-picked from commit 92bf4b40126438c77f99a758ba7884436314ee12)

5 years agogddrescue: Add uClibc-ng support
Rosen Penev [Fri, 26 Jul 2019 02:22:31 +0000 (19:22 -0700)]
gddrescue: Add uClibc-ng support

It turns out, this breaks only when compiling with both uClibc-ng and
uClibc++. If the libc or libc++ gets swapped out, it compiles fine.

libstdcpp is fine because it already undefs these macros. The actual
bug is probably in uClibc-ng but this is a fine workaround.

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

5 years agofossil: Remove
Rosen Penev [Sun, 14 Jul 2019 22:41:14 +0000 (15:41 -0700)]
fossil: Remove

The maintainer is inactive, in addition to this package being woefully out
of date. It probably does not work properly.

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

5 years agoMerge pull request #9680 from mrstegeman/remove
Rosen Penev [Thu, 8 Aug 2019 16:47:31 +0000 (09:47 -0700)]
Merge pull request #9680 from mrstegeman/remove

node-mozilla-iot-gateway: Remove package

5 years agonode-mozilla-iot-gateway: Remove package 9680/head
Michael Stegeman [Tue, 6 Aug 2019 16:33:53 +0000 (08:33 -0800)]
node-mozilla-iot-gateway: Remove package

As the WebThings Gateway moves into a full-fledged router
distribution, it no longer makes sense to have this as a
standalone package, as it now modifies system-wide settings.

References #9629
References mozilla-iot/gateway#2060
References https://gitlab.labs.nic.cz/turris/turris-os-packages/issues/452

Signed-off-by: Michael Stegeman <michael@stegeman.me>
5 years agoMerge pull request #9656 from liudf0716/kcptun
Rosen Penev [Thu, 8 Aug 2019 16:40:10 +0000 (09:40 -0700)]
Merge pull request #9656 from liudf0716/kcptun

[openwrt-19.07]kcptun: add new package

5 years agokcptun: add new package 9656/head
Dengfeng Liu [Mon, 5 Aug 2019 02:40:57 +0000 (10:40 +0800)]
kcptun: add new package

kcptun is a stable & secure tunnel based on kcp with N:M multiplexing.
https://github.com/xtaci/kcptun

Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
5 years agontpdate: use uci configured servers instead of static list
Karl Palsson [Tue, 18 Dec 2018 14:49:13 +0000 (14:49 +0000)]
ntpdate: use uci configured servers instead of static list

If we're going to have a list of ntp servers, we should at least respect
them.  Fallback to the original static list if no configured servers are
found.

Signed-off-by: Karl Palsson <karlp@etactica.com>
5 years agosubversion: update to the latest release
Val Kulkov [Mon, 5 Aug 2019 17:35:34 +0000 (13:35 -0400)]
subversion: update to the latest release

Update to the latest maintenance release, fixing CVE-2018-11782 and
CVE-2019-0203 among other things.

Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
(cherry-picked from commit 53f33e5e74e648cd1b1435d354ccd214098d885b)

5 years agobtrfs-progs: scan devices in preinit instead of init script 9646/head
Karel Kočí [Mon, 5 Aug 2019 11:47:17 +0000 (13:47 +0200)]
btrfs-progs: scan devices in preinit instead of init script

There is no gain to do device scan in init. Commonly we want to always
scan BTRFS devices to ensure that after boot raids are correctly linked.
It should be done before any init script tries to mount any raid FS.

Comparing init scripts and preinit scripts there are I think two primary
considerations. First is if user is expected to restart/reload/stop
given service on will. I think that there is no such reason for this as
user can easily enough just call btrfs utility it self. Second
consideration is if it makes sense to have it optional. This means if we
want to have ability to enable and disable given service. I think that
there is no such need in this case. It is pretty much doing nothing if
you don't have BTRFS FS connected and when you have you probably want to
scan it.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
5 years agobtrfs-progs: use box version of btrfs tool (busybox like)
Karel Kočí [Mon, 5 Aug 2019 11:31:52 +0000 (13:31 +0200)]
btrfs-progs: use box version of btrfs tool (busybox like)

This instead of building every tool separately builds one btrfs binary
and additional tools are links to this binary. This is same approach as
busybox is using.

This splits list of tools to two. boxprogs are tools that are boxed to
code btrfs binary and progs are tools that are not.
This also overload default all make target of Build/Compile and instead
builds (unified) btrfs.progs and separate progs.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
5 years agobtrfs-progs: Update to version 5.2.1
Josef Schlehofer [Sun, 4 Aug 2019 17:58:44 +0000 (19:58 +0200)]
btrfs-progs: Update to version 5.2.1

- Move Depends under URL
- Fix PKG_LICENSE to use correct SPDX License Identifier instead of
deprecated one

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
5 years agolibsigar: Add missing header
Rosen Penev [Fri, 2 Aug 2019 23:45:45 +0000 (16:45 -0700)]
libsigar: Add missing header

The new version of musl does not include this header internally anymore.

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

5 years agolibsigar: Remove deprecated rindex function
Rosen Penev [Wed, 31 Jul 2019 05:03:16 +0000 (22:03 -0700)]
libsigar: Remove deprecated rindex function

Optionally unavailable with uClibc-ng.

Switched to local tarballs. .xz is smaller.

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

5 years agomt-st: Add missing header
Rosen Penev [Fri, 2 Aug 2019 23:41:18 +0000 (16:41 -0700)]
mt-st: Add missing header

New version of musl no longer includes this header internally.

Removed several unnecessary variables in Makefile.

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

5 years agoxz: Remove bash dependency
Rosen Penev [Thu, 25 Jul 2019 01:30:55 +0000 (18:30 -0700)]
xz: Remove bash dependency

Bash is not needed here. These scripts are POSIX compliant.

This was originally added as the configure script looks for /bin/bash
locally. Passing gl_cv_posix_shell overrides this.

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

5 years agoMerge pull request #9661 from gladiac1337/haproxy-2.0.3-2
Rosen Penev [Mon, 5 Aug 2019 17:20:18 +0000 (10:20 -0700)]
Merge pull request #9661 from gladiac1337/haproxy-2.0.3-2

[openwrt-19.07] haproxy: Update all patches for HAProxy v2.0.3

5 years agoMerge pull request #9649 from jefferyto/python-pyasn1-0.4.6-openwrt-19.07
Rosen Penev [Mon, 5 Aug 2019 17:00:52 +0000 (10:00 -0700)]
Merge pull request #9649 from jefferyto/python-pyasn1-0.4.6-openwrt-19.07

[openwrt-19.07] python-pyasn1: Update to 0.4.6

5 years agoMerge pull request #9651 from jefferyto/python-pyasn1-modules-0.2.6-openwrt-19.07
Rosen Penev [Mon, 5 Aug 2019 17:00:36 +0000 (10:00 -0700)]
Merge pull request #9651 from jefferyto/python-pyasn1-modules-0.2.6-openwrt-19.07

[openwrt-19.07] python-pyasn1-modules: Update to 0.2.6

5 years agohaproxy: Update all patches for HAProxy v2.0.3 9661/head
Christian Lachner [Mon, 5 Aug 2019 07:24:49 +0000 (09:24 +0200)]
haproxy: Update all patches for HAProxy v2.0.3

- Add new patches (see https://www.haproxy.org/bugs/bugs-2.0.3.html)
- Raise PKG_RELEASE to 2

Signed-off-by: Christian Lachner <gladiac@gmail.com>
5 years agohaproxy: Get rid of bashisms from get-latest-patches.sh
Rosen Penev [Thu, 25 Jul 2019 02:07:31 +0000 (19:07 -0700)]
haproxy: Get rid of bashisms from get-latest-patches.sh

Plus some other shellcheck cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
5 years agofindutils: Add missing header
Rosen Penev [Sun, 4 Aug 2019 21:47:06 +0000 (14:47 -0700)]
findutils: Add missing header

New version of musl no longer internally includes this header.

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

5 years agofindutils: Fixed up LICENSE information.
Rosen Penev [Fri, 2 Aug 2019 23:53:09 +0000 (16:53 -0700)]
findutils: Fixed up LICENSE information.

Also cleaned some whitespace.

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

5 years agopython-pyasn1-modules: Update to 0.2.6 9651/head
Jeffery To [Sun, 4 Aug 2019 20:03:36 +0000 (04:03 +0800)]
python-pyasn1-modules: Update to 0.2.6

Requires python-pyasn1 0.4.6 (#9649).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
5 years agopython-pyasn1: Update to 0.4.6 9649/head
Jeffery To [Sun, 4 Aug 2019 19:41:05 +0000 (03:41 +0800)]
python-pyasn1: Update to 0.4.6

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
5 years agoMerge pull request #9642 from noblepepper/gcc-7.4.0
Rosen Penev [Sun, 4 Aug 2019 15:46:28 +0000 (08:46 -0700)]
Merge pull request #9642 from noblepepper/gcc-7.4.0

gcc: fix build on x86 targets

5 years agogcc: fix build on x86 targets 9642/head
Noble Pepper [Sun, 4 Aug 2019 12:33:48 +0000 (07:33 -0500)]
gcc: fix build on x86 targets

Signed-off-by: Noble Pepper <noblepepper@gmail.com>
5 years agoMerge pull request #9627 from jefferyto/slide-switch-0.9.5-openwrt-19.07
Rosen Penev [Sun, 4 Aug 2019 13:47:51 +0000 (06:47 -0700)]
Merge pull request #9627 from jefferyto/slide-switch-0.9.5-openwrt-19.07

[openwrt-19.07] slide-switch: Update to 0.9.5

5 years agophp7: update to 7.2.21
Michael Heimpold [Sat, 3 Aug 2019 22:27:08 +0000 (00:27 +0200)]
php7: update to 7.2.21

This fixes CVE-2019-11042 and CVE-2019-11041.

Compile and run tested on mxs platform

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
5 years agognutls: updated to 3.6.9
Nikos Mavrogiannopoulos [Fri, 2 Aug 2019 19:15:00 +0000 (21:15 +0200)]
gnutls: updated to 3.6.9

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
5 years agoslide-switch: Update to 0.9.5 9627/head
Jeffery To [Thu, 1 Aug 2019 22:55:00 +0000 (06:55 +0800)]
slide-switch: Update to 0.9.5

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
5 years agoMerge pull request #9624 from micmac1/19.07-maria10226
Daniel Engberg [Thu, 1 Aug 2019 23:09:04 +0000 (01:09 +0200)]
Merge pull request #9624 from micmac1/19.07-maria10226

mariadb (19.07): security bump to 10.2.26

5 years agomariadb: security bump to 10.2.26 9624/head
Sebastian Kemper [Thu, 1 Aug 2019 19:57:40 +0000 (21:57 +0200)]
mariadb: security bump to 10.2.26

mariadb: security bump to 10.2.26

New upstream release. Addresses:

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

Package updates:

  - includes "THIRDPARTY" in PKG_LICENSE_FILES
  - drops client_ed25519 as a dynamic plugin and install it with the lib
    as per upstream decision
  - refreshes patches

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoulogd: Backport JSON network patch
Rosen Penev [Mon, 29 Jul 2019 00:59:10 +0000 (17:59 -0700)]
ulogd: Backport JSON network patch

It was requested in #9065 .

Cleaned up Makefile slightly.

Removed inactive maintainer.

Added PKG_BUILD_PARALLEL for faster compilation.

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

5 years agobcrypt: add python-cffi/host build dependency
Eneas U de Queiroz [Tue, 18 Jun 2019 18:35:35 +0000 (15:35 -0300)]
bcrypt: add python-cffi/host build dependency

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

5 years agoMerge pull request #9567 from blocktrron/openwrt-19.07
Matthias Schiffer [Thu, 25 Jul 2019 18:48:00 +0000 (20:48 +0200)]
Merge pull request #9567 from blocktrron/openwrt-19.07

[19.07] fastd: fix segmentation fault with musl >1.1.20

5 years agofastd: fix segmentation fault with musl >1.1.20 9567/head
David Bauer [Thu, 25 Jul 2019 16:58:03 +0000 (18:58 +0200)]
fastd: fix segmentation fault with musl >1.1.20

When compiled with musl >1.1.20, fastd will crash in case it can't
resolve a peers hostname. This is due to a changed implementation of
freeaddrinfo in musl 1.1.21 onwards.

This segfault is fixed by not calling freeaddrinfo in case the supplied
pointer is null.

Signed-off-by: David Bauer <mail@david-bauer.net>
5 years agoMerge pull request #9544 from jefferyto/prometheus-fix-mips64-build-openwrt-19.07
Rosen Penev [Thu, 25 Jul 2019 17:31:38 +0000 (10:31 -0700)]
Merge pull request #9544 from jefferyto/prometheus-fix-mips64-build-openwrt-19.07

[openwrt-19.07] prometheus: Fix build for mips64/mips64el

5 years agonetifyd: Don't build on uClibc-ng
Rosen Penev [Wed, 24 Jul 2019 06:27:18 +0000 (23:27 -0700)]
netifyd: Don't build on uClibc-ng

This absolutely needs symbols from libresolv, which uClibc-ng does not
support.

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

5 years agohaproxy: Update HAProxy to v2.0.3
Christian Lachner [Wed, 24 Jul 2019 05:54:52 +0000 (07:54 +0200)]
haproxy: Update HAProxy to v2.0.3

- Update haproxy download URL and hash
- Add new patches

Signed-off-by: Christian Lachner <gladiac@gmail.com>
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 agopython-cachelib: package added
Stepan Henek [Fri, 19 Jul 2019 13:27:33 +0000 (15:27 +0200)]
python-cachelib: package added

Signed-off-by: Stepan Henek <stepan.henek@nic.cz>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
5 years agoprometheus: Fix build for mips64/mips64el 9544/head
Jeffery To [Mon, 22 Jul 2019 20:05:09 +0000 (04:05 +0800)]
prometheus: Fix build for mips64/mips64el

Prometheus uses an older version of fsnotify, which uses a system call
(unix.InotifyInit) that is not implemented for mips64/mips64el.

This patches Prometheus to use a newer version of fsnotify that uses a
different system call (unix.InotifyInit1) that should be available on
all Linux systems.

Fixes #9494.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
5 years agopython: add patch for CVE-2018-20852
Josef Schlehofer [Mon, 22 Jul 2019 12:21:10 +0000 (14:21 +0200)]
python: add patch for CVE-2018-20852

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
5 years agoMerge pull request #9533 from jefferyto/python-musl-find_library-openwrt-19.07
Josef Schlehofer [Mon, 22 Jul 2019 13:28:49 +0000 (15:28 +0200)]
Merge pull request #9533 from jefferyto/python-musl-find_library-openwrt-19.07

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

5 years agopython,python3: Fix ctypes.util.find_library() 9533/head
Jeffery To [Sun, 21 Jul 2019 20:42:54 +0000 (04:42 +0800)]
python,python3: Fix ctypes.util.find_library()

Python's ctypes.util.find_library() function currently doesn't work for
musl libraries/systems[1].

This adds a patch to fix this function, based on a patch from Alpine
Linux[2].

Fixes #9448.

[1]: https://bugs.python.org/issue21622
[2]: https://git.alpinelinux.org/aports/tree/main/python2/musl-find_library.patch

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
5 years agotgt: update to 1.0.79
Maxim Storchak [Sat, 13 Jul 2019 12:10:24 +0000 (15:10 +0300)]
tgt: update to 1.0.79

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
(cherry-picked from 9c5d11a9daac433d6691288a970388c374a7589d)

5 years agogolang: Update to 1.12.7
Jeffery To [Tue, 16 Jul 2019 16:31:39 +0000 (00:31 +0800)]
golang: Update to 1.12.7

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
5 years agodiffutils: provide diff, cmp as alternatives
Yousong Zhou [Wed, 12 Jun 2019 05:50:36 +0000 (05:50 +0000)]
diffutils: provide diff, cmp as alternatives

Resolves openwrt/packages#6361

Resolves openwrt/packages#9524 by backporting from master b02e4eafd

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
5 years agoddns-scripts: various fixes
Dirk Brenken [Tue, 28 May 2019 07:30:45 +0000 (09:30 +0200)]
ddns-scripts: various fixes

* use '$ddns_rundir' in 'get_service_data' for pipe creation, fix #8971
* add missing local variables in 'get_service_data'
* change DNS server verification with drill in 'verify_host_port',
fix/supersed #8935
* remove needless cat calls in 'verify_host_port'
* set cloudfare TTL to min. 120 seconds, fix #7745
* bump/align package version number

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 2e06c4ec93acb0f941b4aabe79df4437b9520110)

5 years agoddns-scripts: modify deSEC update url
James Qian [Wed, 26 Jun 2019 08:41:42 +0000 (16:41 +0800)]
ddns-scripts: modify deSEC update url

the latest update url format for deSEC is
http(s)://update.dedyn.io/update?username=[USERNAME]&password=[PWD]

Signed-off-by: James Qian <sotux82@gmail.com>
(cherry picked from commit e4951651e2c57c86e681d239dc98887f7970bc45)

5 years agosoftethervpn5: update to 5.01.9671
Andy Walsh [Thu, 11 Jul 2019 14:55:19 +0000 (16:55 +0200)]
softethervpn5: update to 5.01.9671

* update to 5.01.9671
* switch to release tar's
* add cmake iconv and musl patches

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
(cherry-pick from 46c320f18f8f6715d4e578ce8015de6a5a249843)

5 years agosoftethervpn: Really fix iconv support
Rosen Penev [Wed, 10 Jul 2019 19:37:25 +0000 (12:37 -0700)]
softethervpn: Really fix iconv support

softethervpn overrides nls.mk by defining its iconv functions. This only
works if the libc has iconv. In addition, it does not allow external
libiconv usage. TARGET_LDFLAGS is also the wrong place to add -liconv.

Removed SSL3 patch. It was needed for OpenSSL 1.0.2 but not anymore.

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

5 years agocoova-chili: Fix compilation with newer GCC
Rosen Penev [Thu, 27 Jun 2019 07:07:24 +0000 (00:07 -0700)]
coova-chili: Fix compilation with newer GCC

Added -Wno-error to fix.

Also added patch to fix compilation without deprecated OpenSSL APIs.

Added PKG_BUILD_PARALLEL for faster compilation.

Switched libcyassl to libwolfssl.

Reorganized makefile for consistency between packages.

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

5 years agodosfsutils: Properly fix iconv linking
Rosen Penev [Thu, 20 Jun 2019 22:21:15 +0000 (15:21 -0700)]
dosfsutils: Properly fix iconv linking

Necessary when using libiconv.

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