Commit Graph

16590 Commits

Author SHA1 Message Date
Sebastian Kemper 234fe24e48 apache: revisit suEXEC setup
When adding suEXEC to the apache package, Alpine's package [1] served as
a template. Not enough attention was paid to the details.

Alpine uses a different layout. So for OpenWrt to use /var/www as
DocumentRoot does not make sense. /var is also volatile on OpenWrt. This
commit removes the configure argument. The default is htdocsdir.

This also does away with uidmin/gidmin 99. The default is 100, which is
fine.

Finally, the suexec binary is moved from /usr/sbin to
/usr/lib/apache2/suexec_dir. Upstream recommends installing suexec with
"4750" (see [2]) and the group set to the user's group. While that would
be possible, it would cause a few headaches on OpenWrt. The group would
need to be changed first in a post-install script and a call to chmod
would need to be made afterward, to make the binary SUID again.

It's easier to hide the SUID binary away from others in a directory.
This way we don't need to use chmod in the post-install script.

[1] https://github.com/alpinelinux/aports/tree/master/main/apache2
[2] https://httpd.apache.org/docs/2.4/suexec.html

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-08 16:19:22 +02:00
Sebastian Kemper d5096a76f5 apache: create log directory o=
Hides away the contents of the log directory from others.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-08 16:19:10 +02:00
Rosen Penev 30e81c3db1 Merge pull request #13046 from EricLuehrsen/unbound_20200806_1907
[19.07] unbound: retrofit master for scripts robustness
2020-08-08 00:15:36 -07:00
Eric Luehrsen 47288133f0 unbound: update to 1.11.0
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2020-08-07 01:10:27 -04:00
Eric Luehrsen d00237135d unbound: improve startup and dhcp script robustness
- prevent rapid overlap in DHCP script updates
- check and allow localhost forwards with specific applications
- add option for rate limiting inbound queries
- change UCI list to table format with Unbound conf references

Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2020-08-07 01:10:26 -04:00
Eric Luehrsen f73ed87a12 unbound: add dns assistants on local host
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2020-08-07 01:08:36 -04:00
Jan Pavlinec d4be5de1c6 tor-hs: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 5906bfecd5)
2020-08-06 13:43:15 +02:00
Alexander Ryzhov c856721aaa libzdb: fix headers path
Signed-off-by: Alexander Ryzhov <github@ryzhov-al.ru>
(cherry picked from commit 6fa5a63675)
2020-08-06 11:46:10 +02:00
Alexandru Ardelean 650da029bc libs: libzdb: bump to version 3.2.1
Patches require a bit of rework:
- dropped 010-missing-header.patch
- add 010-do-not-run-test-progs.patch
- re-updated 020-filterh-use-host-built-version.patch
  - Makefile.in gets regenerated from PKG_FIXUP:=autoreconf
- added PKG_FIXUP:=autoreconf ; it's easier to patch automake stuff that
  big configure scripts

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit dcdceb526e)
2020-08-06 11:45:55 +02:00
Rosen Penev 43db5293ce libzdb: update to 3.2
Removed most patches. The last was upstreamed and the others can be worked
around using Makefile.

Removed inactive maintainer.

Added PKG_BUILD_PARALLEL for faster compilation.

Fixed license information.

Massive reorganization of Makefile for consistency between packages.

Removed --with-sql options. These are totally broken when cross compiling.
Leaving them out works just as well.

Added cpp patch as the test needs a header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 496ee7f91b)
2020-08-06 11:45:47 +02:00
Rosen Penev 7c5fe897f6 v4l-utils: bring back getsubopt patch
During the update to 1.20.0, this patch was mistakenly removed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 8df4e29cff)
2020-08-06 11:27:10 +02:00
Rosen Penev e9a4d689fc libv4l: update to 1.20.0
Removed upstreamed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit dd74a7cb87)
2020-08-06 11:27:05 +02:00
Rosen Penev 59f45c6cc6 libv4l: update to 1.16.8
Fixed license information.

Update argp dependency to be for non glibc.

Added PKG_BUILD_PARALLEL for faster compilation.

Added --as-needed linker flag for slightly smaller size.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 0cd1a9b537)
2020-08-06 11:27:01 +02:00
Rosen Penev 01ae3c69ba libv4l: fix compilation under kernel 4.14
The last patch used a macro unavailable with older kernel headers.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 13278007f9)
2020-08-06 11:26:57 +02:00
Rosen Penev 896359e4c9 libv4l: fix compilation with newer musl
This is using the input_event struct directly, instead of using the proper
defines.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit ffb7da67a3)
2020-08-06 11:26:52 +02:00
Ted Hess e0deb2c5f9 libv4l: Update to 1.16.6. Fix missing includes patch
Signed-off-by: Ted Hess <thess@kitschensync.net>
(cherry picked from commit 67b8da50c1)
2020-08-06 11:26:47 +02:00
Rosen Penev d9e221d6c9 libv4l: Add missing INTL dependency
Needed for FULL NLS. Not bumping PKG_RELEASE as this is no-op.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit dcba53b40b)
2020-08-06 11:26:37 +02:00
Karl Palsson cd2de9dc51 net/pagekitec: Update to v0.91.200718
This fixes misleading errors in the status file, and increases buffer
sizes to match the python implementation.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2020-08-05 16:34:24 +00:00
Rosen Penev 54e8263c21 Merge pull request #13022 from stangri/19.07-simple-adblock
[19.07] simple-adblock: README and config update
2020-08-04 18:42:36 -07:00
Stan Grishin d7b38d736d simple-adblock: README and config update
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-08-04 22:50:49 +00:00
Rosen Penev 9f9152e3e7 Merge pull request #13006 from ja-pa/tor-backport-conf
[OpenWrt 19.07] tor: backport uci config
2020-08-03 15:59:08 -07:00
Hannu Nyman bb1c980227 Merge pull request #13005 from commodo/netatalk-fix-clang-19.07
[19.07] netatalk: fix compile error in mac os
2020-08-03 12:51:27 +03:00
Rosen Penev 0d8f39a36b tor: fix init scripts
pidfile should not be set. tor handles it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-03 11:45:03 +02:00
Jan Pavlinec a21ffc8eb9 tor: update init script
Changes:
-add uci config
-create pid file by procd
-add reload function

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-03 11:43:12 +02:00
Liangbin Lian 30f5119a4f netatalk: fix compile error in mac os
fix compile error in mac os when dtrace installed.

Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2020-08-03 12:28:36 +03:00
Josef Schlehofer 8658203e68 gerbera: fix conffiles
In OpenWrt master branch, there is just /etc/config/gerbera.
It was reported to me that if there is an update of gerbera in OpenWrt
19.07, it overwrites /etc/gerbera/config. So, I removed file extension.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-07-30 08:45:13 +02:00
Josef Schlehofer 83e58b67de youtube-dl: update to version 2020.7.28
Become the only maintainer of this package

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 7046a31ab9)
2020-07-29 08:27:16 +02:00
Josef Schlehofer 98480822ef youtube-dl: update to version 2020.6.16.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit c8187f7f16)
2020-07-28 18:11:25 +02:00
Josef Schlehofer f384d8d78b youtube-dl: update to version 2020.6.6
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit ec0b891b62)
2020-07-28 18:11:20 +02:00
Josef Schlehofer 65d98a79f0 youtube-dl: update to version 2020.5.29
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 32333c5d92)
2020-07-28 18:11:15 +02:00
Josef Schlehofer 010b5e6fbc youtube-dl: update to version 2020.5.8
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit b8d7ff754a)
2020-07-28 18:11:07 +02:00
Florian Eckert 25c3d34de3 Merge pull request #12950 from TDT-AG/pr/openwrt-19.07-mwan3
mwan3: backport version 2.8.12 to stable branch openwrt-19.07
2020-07-28 07:31:03 +02:00
Florian Eckert b32500958b mwan3: update version to 2.8.12
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 85e91377cf)
2020-07-28 07:24:58 +02:00
Florian Eckert 5f934c6678 mwan3: unify variable check
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 981d1eb83a)
2020-07-28 07:24:49 +02:00
Florian Eckert 138d02cfcb mwan3: remove lock file entirely
Removing the lock file ist not necessary

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit ab747fe0fb)
2020-07-28 07:24:41 +02:00
Florian Eckert 520eeb0804 mwan3: revert: also cleanup lock on mwan3 stop
This reverts commit cde2a77ed3.

Applying this change has shown that it is even quicker to provoke the
race condtition on simultan mwan3 commands execution.
By reversing the change we have the same behaviour as before.

But the race condition on mwan3 execute at the same time still exists.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit b5bd6d757b)
2020-07-28 07:24:32 +02:00
Florian Eckert 294e7503b5 mwan3: fix race condition on mwan3 restart
This adjustment of the locks fixes the race condition when a mwan3
hotplug script and a mwan3 command are running at the same time.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 2dac1bcdc9)
2020-07-28 07:24:12 +02:00
Rosen Penev e8e290e0f8 gerbera: enable matroska and ffmpeg
The latter requires BUILD_PATENTED, as in master.

Backported linking patches for libebml and libmatroska.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-27 13:05:18 -07:00
Rosen Penev f73b1da1a5 libmatroska: update to 1.6.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit a661c24bca)
2020-07-27 13:04:35 -07:00
Rosen Penev 16d65196a0 libmatroska: add
Needed for gerbera's matroska support.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit d265c88ebe)
2020-07-27 13:04:35 -07:00
Rosen Penev 18b9aeb4c8 libebml: update to 1.4.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit b6ed48dcbc)
2020-07-27 13:04:35 -07:00
Rosen Penev 39abfa8d76 libebml: add
Needed for libmatroska.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 116f11e54c)
2020-07-27 13:04:35 -07:00
Dirk Brenken f994812858 Merge pull request #12934 from dibdot/mc-19.07
mc [19.07]: update to 4.8.25
2020-07-27 19:55:10 +02:00
Florian Eckert 5bfc1c9cfd mwan3: update version to 2.8.11
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit f601e6cfa4)
2020-07-27 12:20:46 +02:00
Florian Eckert e02cac8152 mwan3: add online and uptime to detail output
Add also online time value and uptime time value from netifd to the
detail output view.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit b0acbf057e)
2020-07-27 12:20:37 +02:00
Florian Eckert 538d2fd7c3 mwan3: add workaround for procd change
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 058a2b6f30)
2020-07-27 12:20:27 +02:00
Florian Eckert b340df6824 mwan3: also cleanup lock on mwan3 stop
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit cde2a77ed3)
2020-07-27 12:19:59 +02:00
Florian Eckert b5ed0033c8 mwan3: fix rtmon routing table function generation
If the uci option family is not set in the interface section, then there
is no default value set as in the `config_load / config_get` API.
The problem here is that if the family is not set, the default value ipv4
is normaly assumed. But the comparison fails here because the value is empty
and therefore the dedicated routing table for this interface is not compared
with the other routes from the main table and so not updated.

To fix this set the default value for this config option which is`false`
for enabled and `ipv4` for family.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit bcd13ba95c)
2020-07-27 12:19:50 +02:00
Florian Eckert 2c89e14c31 mwan3: fix IPv6 routing add handling
This fixes routing handling. Introduced with the last version update.
The following message disappears on the shell
when mwan3 is called with 'mwna3 restart`.

`Error: Invalid gateway address.`

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
[aaronjg@stanford.edu: fully unset variable and handle ipv4 as well]
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
(cherry picked from commit 8e3e6f8dde)
2020-07-27 12:19:41 +02:00
Florian Eckert 447d51edbf mwan3: fix idx calculation
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
[aaronjg@stanford.edu: fix syntax error]
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
(cherry picked from commit a796b7a84e)
2020-07-27 12:19:32 +02:00