Commit Graph

6151 Commits

Author SHA1 Message Date
Luiz Angelo Daros de Luca
06a87652ff base-files,procd: add generic service status
Adds a default status action for init.d scripts.

procd "service status" will return:

 0) for loaded services (even if disabled by conf or dead)
 3) for inactive services
 4) when filtering a non-existing instance

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
[rebased, cleaned up]
Signed-off-by: Petr Štetiar <ynezz@true.cz>

Part of the commit content is already in system/procd/files.
2020-10-13 18:28:57 +08:00
Petr Štetiar
81f41e0d58 base-files: implement generic service_running
DRY is good, otherwise we're going to suffer with a copy&paste disease
in the init scripts.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-10-13 18:28:28 +08:00
Arthur Skowronek
341548d8b8 base-files: add service_stopped as a post stop hook
Purpose of these changes is to introduce a hook for post service
shutdown in a similar fashion to the existing hook service_started. I
found it to be useful to specify a hook that is called once the service
has been stopped and not before the service is stopped like the
stop_service hook does.

The concrete use case I have for this is that I'm running a binary that
takes over the hardware watchdog timer. Said binary unfortunately can
not use ubus directly to tell procd to hand over the watchdog timer so
this has to be done in the service file for the binary in question. In
order to support a clean handover of the watchdog timer back to procd,
the service init script has to dispatch the ubus invocation once the
binary in question has been stopped.

Signed-off-by: Arthur Skowronek <ags@digineo.de>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
[added commit message, use the same form as other hooks]
2020-10-13 18:28:04 +08:00
Michael Heimpold
cbe99d64ab base-files/hotplug: fix dedicated group for tty devices
Commit 124ab1dc0a and 5523ee3459 introduced the assignment of the
group "tty" to /dev/tty* devices in order to support unprivileged
user access to serial devices.

However, due to an improperly rebased commit this feature broke.

This patch restores the lost hunk in hotplug.json file to
re-introduce this feature and also renames the existing "tty" group
to "dialout" as this is the more typical name for such a group
on desktop systems.

Fixes: 5209cfa534 ("procd: fix hotplug.json syntax")
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Acked-by: Jo-Philipp Wich <jo@mein.io>

Part of the commit content is already in system/procd/files.
2020-10-13 18:26:29 +08:00
Piotr Dymacz
d6860f8f9a base-files: diag: restore default trigger for 'boot' LED
For devices without a dedicated 'diag' LED, we use sometimes one of
other LEDs for indicating at least 'boot', 'failsafe' and 'upgrade'
stages. In some cases, at the same time these LEDs have defined default
triggers in DTS using 'linux,default-trigger' property. Current 'diag'
setup removes the trigger and turns off 'boot' LED after bootup.

This patch extends 'diag.sh' and 'leds.sh' scripts to make sure default
trigger defined in DTS is restored for 'diag' LED which isn't used for
indicating 'running' stage.

Acked-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2020-10-13 18:26:08 +08:00
Felix Fietkau
c560d70378 mac80211: do not allow bigger VHT MPDUs than the hardware supports
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit caf727767a)
[Refreshed patch]
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-10-12 17:32:28 +08:00
Adrian Schmutzler
b69fb2bf2f ath79: fix rssi-low LED for My Net Range Extender
The LED color was missing in 01_leds.

Fixes: 745dee11ac ("ath79: add support for WD My Net Wi-Fi Range
Extender")

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-10-12 17:31:04 +08:00
Andre Heider
814c8adef2 kernel: fix name of CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM
CONFIG_SND_SOC_DMAENGINE_PCM was removed and replaced with
CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM seven years ago, see:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=28c4468b00a1e55e08cc20117de968f7c6275441
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b7ae6f31d8243ec684af16bc5c763eccdfabaec0

Signed-off-by: Andre Heider <a.heider@gmail.com>
2020-10-12 11:39:12 +08:00
Josef Schlehofer
72f6de33cc trace-cmd: disable AUDIT (libaudit library)
If you compile first libaudit library and then trace-cmd package,
compilations fails with:

Package trace-cmd is missing dependencies for the following libraries:
libaudit.so.1

If you enable libaudit for trace-cmd, it will show system name calls while using command profile.
Try to be slim as much as possible - libaudit .ipk has 42,4 kB.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-10-12 11:28:31 +08:00
Rosen Penev
a4d582bf10 perf: disable libzstd support
libzstd from the packages feed gets picked up. Remove it.

Fixes:

Package perf is missing dependencies for the following libraries:
libzstd.so.1

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-12 11:27:53 +08:00
Paul Spooren
94b6a91f11 policycoreutils: add missing gettext dependency
Add missing build dependency to both host and target build. The `msgfmt`
is required which is missing without gettext-full.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-10-12 11:21:10 +08:00
CN_SZTL
d412d9c248
luci-app-passwall: bump to 3.9-70 2020-10-11 16:46:11 +08:00
nobody
6ec9c9e2ac frp: version bump to v0.34.1 2020-10-10 17:35:18 +08:00
Daniel Golle
842d56214e seclic: depends on libsepol
Add missing dependency for target build of seclic which requires
libsepol (just like the host build requires libsepol/host).

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-10 17:29:30 +08:00
Beginner
388d29532c
v2ray-plugin : update v1.6.0 2020-10-09 18:11:03 +08:00
Beginner
a6730e0f60
v2ray : update v4.31.0 2020-10-09 18:10:55 +08:00
Daniel Golle
9f75eb9e31 config: add option for dssp selinux policy
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-09 11:31:26 +08:00
Dominick Grift
c5e38974bf selinux-policy: adds new package
Signed-off-by: Dominick Grift <dominick.grift@defensec.nl>
2020-10-09 11:31:08 +08:00
Dominick Grift
7c471b5462 secilc: adds new package
Signed-off-by: Dominick Grift <dominick.grift@defensec.nl>
2020-10-09 11:30:34 +08:00
Sven Roederer
c6c66f6f5b build, imagebuilder: Do not require compilers
The buildroot and SDK both require the compilers (gcc, g++) to be
installed on the host system, however the ImageBuilder uses precompiled
binaries.

This patch changes the prerequirements checks to skip the checking for
the compilers if running as ImageBuilder. A similar change has been
made for libncurses-dev in 4a1a58a3e2.

Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
Acked-by: Paul Spooren <mail@aparcar.org>
2020-10-09 11:29:12 +08:00
CN_SZTL
0b20d90fe4
kcptun: bump to 20201004 2020-10-07 17:09:13 +08:00
CN_SZTL
364c0b8a8f
OpenClash: sync with upstream source 2020-10-07 03:10:51 +08:00
CN_SZTL
23d7257629
luci-app-passwall: bump to 3.9-68 2020-10-07 03:09:56 +08:00
CN_SZTL
3988c2ef29
x86: apply MMC config to kernel 4.9 2020-10-07 03:06:34 +08:00
EdiTurn
700879b06e
openwrt-udp2raw: bump to 20200818.0 2020-10-07 03:02:38 +08:00
Jeff Collins
e966db7fee
x86: Fix when booting from internal MMC. 2020-10-06 00:03:14 +08:00
LGA1150
e6bc858494
cryptodev-linux: bump to 1.11 2020-10-05 23:37:17 +08:00
CN_SZTL
62b99928a4
dns2socks: specify specific commit instead of HEAD 2020-10-05 18:58:33 +08:00
CN_SZTL
031ba4dd0c
LuCI: Mod20.10 2020-10-05 18:55:14 +08:00
CN_SZTL
99daf06382
autocore-arm: refresh index in every 5 sec 2020-10-05 18:54:53 +08:00
DENG Qingfang
f63a3f88e6
toolchain/binutils: update to 2.35.1
Update binutils 2.35 to 2.35.1

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-10-05 14:25:49 +08:00
Jo-Philipp Wich
e9069ae78d
uhttpd: update to latest Git HEAD
14a3cb4 ubus: fix legacy empty reply format
0f38b03 client: fix spurious keepalive connection timeouts
88ba2fa client: really close connection on timeout
c186212 ubus: support GET method with CORS requests

Fixes: FS#3369
Fixes: https://github.com/openwrt/luci/issues/4467
Fixes: https://github.com/openwrt/luci/issues/4470
Fixes: https://github.com/openwrt/luci/issues/4479
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-10-05 14:25:29 +08:00
David Bauer
f1d3d2f5d0
linux-firmware: update to 20200918
00a84c5 linux-firmware: Update AMD SEV firmware
71338c2 Merge branch 'for-master' of https://github.com/CosmicPenguin/linux-firmware into main
07367b9 linux-firmware: Update firmware file for Intel Bluetooth AX200
1d1586a linux-firmware: Update firmware file for Intel Bluetooth AX201
28b333d linux-firmware: Update firmware file for Intel Bluetooth 9560
db30380 linux-firmware: Update firmware file for Intel Bluetooth 9260
eb3aa1f Mellanox: Add new mlxsw_spectrum firmware xx.2008.1310
ec88f05 mediatek: update MT7915 firmware to 20200819
a9993f8 brcm: Fix a stale symlink for RPi3 model b+
f48fec4 qcom: Add updated a5xx and a6xx microcode
d5f9eea wl18xx: update firmware file 8.9.0.0.83
7a237c6 linux-firmware: mt7615: update firmware to 20200814 version
74bd44f amdgpu: add navi12 firmware from 20.30
b9f69cd amdgpu: update navi10 firmware for 20.30

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-10-04 21:47:20 +08:00
LGA1150
84bfad692c
build: enable ccache by default 2020-10-04 21:45:07 +08:00
LGA1150
78cb890325
base-files: do not generate ULA prefix 2020-10-04 21:44:41 +08:00
CN_SZTL
f0cd4d84fa
luci-app-ssr-plus: sync with upstream source 2020-10-04 21:06:02 +08:00
CN_SZTL
676b3aa6f6
luci-app-passwall: bump to 3.9-66 2020-10-04 06:53:57 +08:00
CN_SZTL
1d4b863d2c
Core: Mod 20.10 2020-10-04 05:30:23 +08:00
CN_SZTL
5d0355d556
luci-app-ssr-plus: fix concurrency setting for naiveproxy 2020-10-04 05:16:14 +08:00
CN_SZTL
817139b31a
naiveproxy: bump to 85.0.4183.83-4 2020-10-04 05:05:07 +08:00
CN_SZTL
230d5ce059
luci-app-ssr-plus: enable multiple threads for naiveproxy 2020-10-04 04:51:29 +08:00
CN_SZTL
2d306d413d
qBittorrent-Enhanced-Edition: drop useless docs installation 2020-10-04 04:14:29 +08:00
CN_SZTL
a8e8a69dea
qBittorrent-Enhanced-Edition: bump to 4.2.5.16 2020-10-04 04:07:58 +08:00
CN_SZTL
58e911ecfc
libtorrent-rasterbar: bump to 1.2.10 2020-10-04 04:02:38 +08:00
CN_SZTL
c841c4900a
luci-app-passwall: bump to 3.9-9-65 2020-10-04 00:04:53 +08:00
CN_SZTL
9837f0b557
luci-app-unblockneteasemusic: bump to 2.8-8 2020-10-03 21:09:16 +08:00
CN_SZTL
0a7b738e09
kernel: bump 4.9 to 4.9.238
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-10-03 01:14:39 +08:00
Beginner
6828ea441a
v2ray: update v4.30.0 2020-10-02 13:33:25 +08:00
CN_SZTL
e8110e7713
luci-app-unblockneteasemusic-mini: bump to 1.2-9 2020-10-01 22:09:03 +08:00
CN_SZTL
21e29cc2df
kernel: bump 4.19 to 4.19.149
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-10-01 21:53:50 +08:00