23627 Commits

Author SHA1 Message Date
Josef Schlehofer 1b8711877c psmisc: add package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-10-17 18:16:19 +02:00
Van Waholtz eaa201b774 boost: fix the LDFLAGS and reduce the package size
1. Add -lstdc++ to LDFLAGS.
2. Add "-Wl,--gc-sections,--as-needed" to LDFLAGS and "-ffunction-sections -fdata-sections -flto" to CFLAGS which will reduce the size by 10% ~ 13%.
3. Only a virtual package will be created if only static libs are built, which will avoid compiliation failures.
4. Other improvements

Signed-off-by: Van Waholtz <vanwaholtz@gmail.com>
2020-10-17 06:17:14 -07:00
Josef Schlehofer 725b9481d7 logrotate: add runtime test
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-10-17 13:54:41 +02:00
Josef Schlehofer ba8a34e0d9 logrotate: update to version 3.17.0
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-10-17 13:54:38 +02:00
Rosen Penev b24b837822 Merge pull request #13666 from neheb/lmar
libmariadb: update to 3.8.10
2020-10-16 23:57:49 -07:00
Rosen Penev 2415ab0e5b Merge pull request #13658 from miska/mariadb-procd
mariadb: procd adoption
2020-10-16 14:25:07 -07:00
Rosen Penev 365977c54d Merge pull request #13681 from jefferyto/golang-cache-fixes
golang: Cache fixes
2020-10-16 14:22:42 -07:00
Toke Høiland-Jørgensen e77bb5a1ec Merge pull request #13689 from jannispinter/master
acme: Allow custom ACME server directory URL
2020-10-16 22:07:04 +02:00
Jannis Pinter 3f7d03eda6 acme: Allow custom ACME server directory URL
The underlying `acme.sh` allows custom ACME server URLs (using `--server`). Adding the necessary field to specify a custom ACME server URL from UCI.

Signed-off-by: Jannis Pinter <jannis+openwrt@pinterjann.is>
2020-10-16 21:47:42 +02:00
Josef Schlehofer b1b11e155e CI: fix CVE-2020-15228
More details:
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-10-16 08:15:53 -10:00
Josef Schlehofer afca2f2a71 CI: fix grammar typo when test is succesful
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-10-16 08:15:53 -10:00
Josef Schlehofer 28c075d2c8 Merge pull request #13683 from BKPepe/netdata-1.26.0
netdata: update to version 1.26.0
2020-10-16 18:05:18 +02:00
Josef Schlehofer 5e3e021f3d Merge pull request #13578 from BKPepe/bind
bind: update to version 9.16.7
2020-10-16 17:45:48 +02:00
Josef Schlehofer 0d52fb1beb netdata: add runtime test
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-10-16 17:20:32 +02:00
Josef Schlehofer 5ba339b49a netdata: update to version 1.26.0
Disable ebpf plugin as in OpenWrt there is no package libbpf.
- With that, I need to introduce patch, which is not merged into netdata,
yet. Without it, I still got during cross-compilation this error:
checking for externaldeps/libbpf/libbpf.a... configure: error: cannot check for file existence when cross compiling

- And yes, the flag was there.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-10-16 17:14:06 +02:00
James White 14d62d6599 mwan3: Simplify default configuration, mostly use defaults
Signed-off-by: James White <james@jmwhite.co.uk>
2020-10-16 09:55:40 -04:00
Aaron Goodman 41d5f486ee mwan3: cleanup mwan3track
- reduce duplicate logging code
- simplify nping track code
- simplify ping result parsing

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:55:40 -04:00
Aaron Goodman 1990a90702 mwan3: add back support for iputils ping
With the new wrapper code, we can override the broken binding behavior of
iputils ping v20101006.

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:55:40 -04:00
Aaron Goodman d49ca29eca mwan3: add "use" function to mwan3 utils
Use "mwan3 use" to wrap a command with interface bindings so that you can
avoid the mwan3 rules and test behavior on a specific interface.

eg "mwan3 use wan ping -c1 1.1.1.1"

Additional binding arguments to the command will have their system
calls intercepted and ignored.

eg "mwan3 use wan ping -c1 -I tun0 1.1.1.1" will use the
device associated with "wan", rather than "tun0".

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman bbbc6127ab mwan3: use helper library for mwan3track
Rather than using a special mwan3 user to manage mwan3track's tracking
packets, this commit implements a small helper library to bind to
device and to set a fwmark so that the tracking packets can be routed
out of the correct interface.

This provides a consistent method for binding to a device rather than
relying on various packages potentially buggy implementations. For
example: #8139 and #12836

This helper issue also allows for more tracking methods to be added
even if they do not have a command line option to bind to device,
such as iperf3 (eg  #13050).

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman fb4a2d99ef mwan3: give warning if ip of incorrect family specified in a rule
also use global IPv4_REGEX environment variable as consistent IPv4 regex

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman 566293d228 mwan3: use procd for mwan3rtmon and mwan3track
start all mwan3mon and mwan3track instances on mwan3 start
if an interface is down when mwan3track starts, it waits
for a signal from the hotplug script to start

procd can then handle stopping all of the scripts when mwan3
is halted

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman 5faa99f3b8 mwan3: fix bug when one interface is a prefix of another
correctly terminate interface status checks with new lines so that
interface status does not get confused when one interface is a prefix
of another interface.

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman 189f92da4a mwan3: only update src_iface rules on ifup
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman c8deccc0e7 mwan3: improvements to route creation
handle creation of routing tables in mwan3rtmon to avoid race
conditions and potentially missing routes

handle ipv6 routes that have expiry

update directly connected ipset when routes are added or deleted

add fall through rules so that the default routing table is not
used if no rule in the interface-specific routing table matches

add option to comply with mwan3 source based routing

get default route parameters from main routing table

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman 27492f64f8 mwan3: use MWAN3TRACK_STATUS_DIR variable throughout
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman b7e26dd431 mwan3: fixup some extra spaces and shellcheck warnings
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Jeffery To 0a4d40b37e golang: Fix vars not passed when calling cache_cleanup
Fixes https://github.com/openwrt/packages/issues/13674.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-16 17:38:17 +08:00
Jeffery To b70fb40c11 golang: Move build cache into $(TMP_DIR)
This changes the default build cache directory from $(TOPDIR)/.go-build
to $(TMP_DIR)/go-build, so that the cache directory is ignored by git
and is removed by "make dirclean".

This does not move/remove a build cache directory in the previous
location; it will need to be removed manually.

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

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-16 17:13:42 +08:00
Rosen Penev 386f18a7e5 Merge pull request #13664 from neheb/pros
prosody: update to 0.11.7
2020-10-15 20:19:36 -07:00
Rosen Penev eb46e231cd prosody: fix shellcheck warnings
Remove paxctl stuff. pax is not packaged in OpenWrt.

Add reload support.

Install lua cfg file as 644. It's needed to be readable as prosody user

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-15 18:20:20 -07:00
Daniel Golle f3a4ca5916 libinput: update to version 1.16.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-16 00:14:31 +01:00
Daniel Golle 66ad52fd1b libp11: update to version 0.4.11
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-16 00:14:28 +01:00
Rosen Penev 68a3a06e98 prosody: update to 0.11.7
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-15 15:34:51 -07:00
Rosen Penev 2b684a4759 Merge pull request #13669 from neheb/jool2
jool: update to 4.1.4
2020-10-15 13:30:33 -07:00
Oldřich Jedlička 53e9a3296a fwknop: Use sensible defaults.
* Change KEY/HMAC_KEY to __CHANGEME__, which is rejected by fwknopd
   during start-up. The value CHANGEME is used only by LuCI package
   luci-app-fwknopd - pull request for generating keys directly from
   LuCI has been created already.
 * Add sensible defaults for ENABLE_IPT_FORWARDING and ENABLE_NAT_DNS,
   which both are/were set by luci-app-fwknopd. Move the defaults here.

Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
2020-10-15 20:11:30 +02:00
Rosen Penev ddcc273f08 Merge pull request #13667 from neheb/glib2
glib2: update to 2.66.1
2020-10-15 03:34:48 -07:00
Rosen Penev 1ff2e6c7f6 Merge pull request #13665 from neheb/idn
libidn: update to 1.36
2020-10-15 03:33:26 -07:00
Rosen Penev fe30e50178 Merge pull request #13673 from neheb/gerb
gerbera: update to 1.6.4
2020-10-15 03:32:22 -07:00
Rosen Penev bd4436c427 Merge pull request #13668 from neheb/gam
gammu: update to 1.42.0
2020-10-15 01:27:18 -07:00
Rosen Penev 537f96d458 spdlog: update to 1.8.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-14 19:49:43 -07:00
Rosen Penev 6ea95d9720 libnpupnp: update to 4.0.12
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-14 19:49:43 -07:00
Rosen Penev ed4677adeb gerbera: update to 1.6.4
Remove upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-14 19:49:43 -07:00
Rosen Penev 3865fc63c6 qrencode: update to 4.1.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-14 19:46:56 -07:00
Rosen Penev cdaf0a8b3d jool: update to 4.1.4
Added BUILDONLY to eliminate warning.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-14 19:46:08 -07:00
Rosen Penev 9ea62e1507 gammu: update to 1.42.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-14 19:45:13 -07:00
Rosen Penev 4e22fb2560 glib2: update to 2.66.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-14 19:43:48 -07:00
Rosen Penev 6e60d97564 libmariadb: update to 3.8.10
Remove upstreamed patch.

Fixed license info.

Several whitespace changes.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-14 19:42:54 -07:00
Rosen Penev 70c7e1f29b libidn: update to 1.36
Refreshed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-14 19:41:58 -07:00
Rosen Penev 9156655ce9 Merge pull request #13663 from nickberry17/update_mm_1.14.6
modemmanager: bump to 1.14.6
2020-10-14 17:41:25 -07:00