Commit Graph

2480 Commits

Author SHA1 Message Date
Beginner
c112db31f0
selinux-policy: update to version 0.9 (#7712)
592ac0f add a note
 4bacd14 sslcertfile: list /etc/ssl
 7bdefa4 example: indicate that skip is an option
 d1e9a85 wifi: sys pipe usage
 eb903e1 README: add note about policycoreutils-setfiles weak dependency
 762e011 ttyd: signull all subjects
 fbfc079 acme: add basic support for acme_cleanup.sh and acme_setup.sh
 9ac7592 acme: transition to sys.subj on generic initscript execution
 f3dd1ba acme: missing rules related to sys.subj trans on file.initscriptfile
 ae273fa odhcp6c/netifd: support drop-in directories
 5fa9b41 subj: do not encourage misconfiguration
 44722b6 blockd, logd, odhcpc6, ubiutil, mtdstordev
 a775d93 21.02 related
 a473691 rcboot runs rcuhttpd which creates /tmp/etc for /tmp/etc/uhttpd
 290e9fb rcuhttpd: related to rcboot and uci-defaults
 3fc0d8b rcuhttpd: lists /etc/uci-defaults
 1f5ef48 removes ubvol.lock policy and adds move mtd/ubi partitions

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-08-23 15:09:33 +08:00
HiGarfield
db28e1ee30
vsftpd-alt: update to 3.0.5 (#7720) 2021-08-23 15:08:39 +08:00
Hugo Yuan
527a117abd
ipq807x: add support for ZTE MF269 (#7713) 2021-08-22 01:27:48 +08:00
AmadeusGhost
f27a1742d6
ipq806x: add support for Arris RAC2V1A (#7680)
This commit add support for Arris RAC2V1A (aka TR4400-AC).

Hardware specs:
  SoC: Qualcomm IPQ8065
  RAM: 256 MB DDR3
  Flash: 512 MB NAND
  WiFi1: Qualcomm QCA9983 2.4 GHz
  WiFi2: Qualcomm QCA9984 5 GHz
  Ethernet1: AR8033 PHY -> Wan
  Ethernet2: QCA8337 Switch -> Lan 1~4
  LED: Status (red / blue)
  USB: 1x USB 3.0 Type-A
  Button: Reset, WPS
  Power: DC 12V,2.5A

Installation:
  Interrupt U-Boot, tftpboot initramfs image,
  than sysupgrade to openwrt.

Very thanks for asushugo's help.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-08-20 01:36:28 +08:00
Beginner
f973cb7c13
default-settings: tidy up makefile (#7699) 2021-08-19 22:37:15 +08:00
Beginner
1a654041fb
UnblockNeteaseMusic: bump to latest git HEAD (#7703)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-08-19 22:36:22 +08:00
Beginner
2761cf38bd
luci-app-pushbot: update docs links (#7704)
Updated the doc link for Dingding, Ent-Wechat

Co-authored-by: zzsj0928 <69092025+zzsj0928@users.noreply.github.com>
2021-08-19 22:35:56 +08:00
Beginner
287ffc5e01
firewall: update to git HEAD (#7682)
40e5f6a ipsets: permit default timeout of 0

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>

Co-authored-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2021-08-17 23:30:36 +08:00
Beginner
0469fc1c98
procd: update to git HEAD (#7676)
* procd: update to git HEAD

 48638ad hotplug-dispatch: yet another rare memory leak disovered by Coverity
 459b3e8 jail: fix several issues discovered by Coverity
 2562e2b ujail-console: add missing error handling discovered by coverity

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 040fecc system: fix issues reported by Coverity
 48f481b service: make sure string read is null terminated
 16dbc2a uxc: fix a bunch of issues discovered by Coverity
 ff9002f uxc: fix help output
 104b49d uxc: support config in uvol

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: add missing dependency and fix empty mount triggers

procd.sh:
 Instead of triggering on every mount.add event, there should be no
 mount trigger at all in case none of the directories passed to
 procd_add_*_mount_trigger() are located on a mountpoint configured in
 /etc/config/fstab.

uxc:
 add missing dependency on rpcd.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-08-17 18:46:22 +08:00
Beginner
0dc87d287d
fstools: update to git HEAD (#7677)
629726d blockd: fix resource leak discovered by coverity scan
 68ae639 libubi: fix several issues discovered by Coverity
 a77c4fa ubi: fix resource leak in legacy codepath
 2e3aca2 block: fix two resources leaks discovered by Coverity

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-08-16 16:59:06 +08:00
coolsnowwolf
11533a87cc Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-08-13 23:32:08 +08:00
coolsnowwolf
8a4db76249 fstools: enable any device with non-MTD rootfs_data volume 2021-08-13 23:31:58 +08:00
Beginner
f575350b7d
procd: update to git HEAD (#7670)
* procd: update to git HEAD

 2dcefbd jail: add support for cgroup devices as in OCI run-time spec

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 0ee73b2 uxc: implement support for rootfs overlay in containers
 b0a8ea1 jail: do not hack /etc/resolv.conf on container rootfs
 92aba53 jail: increase max additional env records to 64
 15997e6 jail: allow rootfs to be a symbolic link
 0114c6f jail: open() extroot folder before mounting
 ed96eda uxc: check for required blockd mounts

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 0545905 jail: make use of realpath() for rootfs and overlaydir

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 9bd1b7f jail: refactor directory handling for rootfs and overlaydir

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 772292e uxc: don't restart containers when mount shows up
 3a9d910 uxc: resolve volume UUIDs by name of UCI fstab section

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 f26233e watchdog: Add an info message if the watchdog reset the system

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* procd: update to git HEAD

Fix build on glibc targets and address a bunch of compiler warnings.

 93fc089 jail: cgroups-bpf: don't use sys/reg.h when building with glibc
 548d057 jail: don't ignore return value of seteuid()
 220b716 jail: ignore return value when creating default /dev symlinks
 78d5baa hotplug-dispatch: don't ignore asprintf() return value
 736aee5 uxc: always handle asprintf() return value
 2b20456 hotplug-dispatch: replace wrongly used assert()
 bfc86a2 jail: cgroups: replace wrongly used assert()
 516bdf2 jail: don't ignore return value of write()

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD and add new script helpers

 e10de28 jail: cgroups-bpf: fix compile with musl 1.2
 f5d9b14 hotplug-dispatch: fix rare memory leaks in error paths

Add new init script helpers:
 procd_add_start_mount_trigger
 procd_add_reload_mount_trigger
 procd_get_mountpoints

Both trigger helpers expect a list of paths which are checked against
the mount targets configured in /etc/config/fstab and a trigger for all
mountpoints covered by the list of paths is setup.

procd_get_mountpoints is useful to find out if and which mountpoints
are covered by a list of paths.

Example:
  DATADIRS="/mnt/data/foo /mnt/data/bar /etc/foo/baz /var/lib/doe"

  start_service() {
    [ "$_BOOT" = "1" ] &&
      [ "$(procd_get_mountpoints $DATADIRS)" ] && return 0

    procd_open_instance
    # ...
    procd_close_instance
  }

  boot() {
    _BOOT=1 start
  }

  service_triggers() {
    procd_add_start_mount_trigger $DATADIRS
  }

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: change procd_add_start_mount_trigger to do restart

Change procd_add_start_mount_trigger to procd_add_restart_mount_trigger
and make it call 'restart' instead of 'start'.
This is more useful as it allows to handle both cases, intial start of
a services as well as restarting services. Calling 'restart' on a
service which has not yet been started has the same result as calling
'start'.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 9f233f5 system: make rootfs type accessible through board call

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-08-13 23:17:18 +08:00
蛋炒饭
fc77756bf9
qbittorrent: bump to v4.3.7 (#7667)
* qbittorrent: bump to v4.3.7

* qBittorrent-static: bump to v4.3.7_v1.2.14
2021-08-13 23:16:24 +08:00
Beginner
0a5b74053a
hostapd: fix broken check in radar detection notification (#7663)
This check was accidentally left in after reworking the code,
causing a segfault

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-08-12 16:01:08 +08:00
Beginner
a0a93fb2e0
rpcd: update to latest Git HEAD (#7655)
1fa3576 session: unload rpcd configuration before checking login

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

Co-authored-by: Jo-Philipp Wich <jo@mein.io>
2021-08-12 10:38:01 +08:00
Beginner
339a3a0b07
ethtool: update to v5.13 (#7656)
* ethtool: introduce ethtool-full build variant

Netlink support is required for using the virtual cable tester
functionality.

Remove the pretty print build option and instead create a second package
variant ethtool-full. This allows users to install the full ethtool
featureset using opkg.

Signed-off-by: David Bauer <mail@david-bauer.net>

* ethtool: update to v5.13

Signed-off-by: David Bauer <mail@david-bauer.net>

* ethtool: fix depends

Co-authored-by: David Bauer <mail@david-bauer.net>
Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2021-08-11 17:29:09 +08:00
然后七年
ed865731cc
Fix Pushbot symbols (#7659) 2021-08-11 17:26:57 +08:00
Beginner
e0f5decd3c
luci-app-pushbot: tidy up Makefile (#7640) 2021-08-10 14:13:45 +08:00
xingkong
0f59ed510f
add luci-app-pushbot (#7638)
luci-app-pushbot跟-luci-app-serverchan不同点如下:
实现了 IOS-bark的通知推送
通知栏:直接显示推送主题,一目了然,按设备不同,分组显示
消息列表:直接显示最新推送的标题
消息内容:直接显示所有推送信息,不用二次点开再查看
2021-08-10 10:45:13 +08:00
Beginner
4885638ce1
libpcap: update to 1.10.1 (#7636)
Switch to AUTORELEASE to avoid manual increments.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

Co-authored-by: Rosen Penev <rosenp@gmail.com>
2021-08-10 10:40:51 +08:00
Beginner
6240e663d4
hostapd: respect fixed channel BW in HE20 mode (#7629)
When using htmode 'HE20' with a radio mode that uses wpa-supplicant
(like mesh or sta), it will default to 40 MHz bw if disable_ht40 is not
set. This commit fixes this behaviour.

Signed-off-by: Jesus Fernandez Manzano <jesus.manzano@galgus.net>

Co-authored-by: Jesus Fernandez Manzano <jesus.manzano@galgus.net>
2021-08-09 22:35:40 +08:00
Beginner
27060c997a
libpcap: add rpcapd as package (#7631)
This enables building of rpcapd and adds it as a package.

It is a daemon that allows remote packet capturing from another machine.
E.g. Wireshark can talk to it using the Remote Capture Protocol (RPCAP).
https://www.tcpdump.org/manpages/rpcapd.8.html

Compile and run tested: OpenWrt SNAPSHOT r17190-2801fe6132 on x86/64

Signed-off-by: Stephan Schmidtmer <hurz@gmx.org>

Co-authored-by: Stephan Schmidtmer <hurz@gmx.org>
2021-08-09 22:34:49 +08:00
coolsnowwolf
fd6b6c4bf2
kmod-r8168: fix kernel dependence 2021-08-09 18:31:50 +08:00
Beginner
8de440368d
r8168: update to 8.049.01 (#7625)
Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2021-08-09 12:07:33 +08:00
coolsnowwolf
5d861ddb20 fstools: disable ubifs extroot functionality 2021-08-07 23:22:05 +08:00
coolsnowwolf
e99650c2b3 uboot: add arm-trusted-firmware-rk3328 2021-08-07 00:58:50 +08:00
coolsnowwolf
9baed7e03a Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-08-06 23:06:04 +08:00
coolsnowwolf
2e96602901 rockchip: import patch from immortalwrt 2021-08-06 23:05:53 +08:00
AmadeusGhost
129bfbf305
ipq806x: add support for askey rt4230w 256m nand version (#7595)
The difference between flashing:
  Interrupt U-Boot and run these commands:

  setenv bootcmd "setenv mtdids nand0=nand0 && set mtdparts
  mtdparts=nand0:0xDC00000@0x2400000(firmware) && ubi part firmware &&
  ubi read 0x44000000 kernel 0x6e0000 && bootm"
  saveenv
2021-08-06 18:07:10 +08:00
coolsnowwolf
6f2494ee52 Version update to R21.8.6 2021-08-06 15:24:28 +08:00
coolsnowwolf
f96fa52426 block-mount: fix nand ecc booting delay 2021-08-06 15:16:56 +08:00
Beginner
401af3c26f
base-files: sysupgrade stage2: fix losetup detection (#7601)
If the busybox applet losetup was selected, `command -v` selects that
during sysupgrade. As this applet is in another path and doesn't cover
the '-D' option which is used to make sure user-defined loop devices
are no longer active during sysupgrade.
Detect losetup at the path of the full utility to avoid error messages
in case of the busybox applet being selected.

Reported-by: fda77 <fda77@users.noreply.github.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-08-06 09:29:44 +08:00
coolsnowwolf
a8c2fab607
pcre: revert to 8.45 2021-08-06 09:27:51 +08:00
Beginner
78d3125aa5
dnsproxy: update to 0.39.2 (#7600) 2021-08-05 09:12:47 +08:00
ricksuzade-maker
0d3f765a1e
bump wireguard-tools to the latest version (#7605) 2021-08-04 14:52:21 +08:00
Beginner
f5c0cee305
dnsproxy: update to 0.39.1 (#7594) 2021-08-03 18:30:35 +08:00
coolsnowwolf
5ad600f88c Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-08-01 23:07:39 +08:00
coolsnowwolf
6ca172247d Revert "iproute2: bump to 5.13 (#7545)"
This reverts commit b772877d87.
2021-08-01 23:07:29 +08:00
Beginner
9dc595bade
dnsmasq: reset EXTRA_MOUNT in the right place (#7585)
* dnsmasq: fix more dnsmasq jail issues

 * remove superflus mounts of /dev/null and /dev/urandom
 * reset EXTRA_MOUNTS at the beginning of the script
 * add mount according to ignore_hosts_dir
 * don't add mount for file which is inside a directory already in the
   EXTRA_MOUNTS list

Fixes: 59c63224e1 ("dnsmasq: rework jail mounts")
Reported-by: Hartmut Birr <e9hack@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* dnsmasq: reset EXTRA_MOUNT in the right place

EXTRA_MOUNT variable should be reset in dnsmasq_start() rather than
just once at the beginning of the script.

Fixes: ac4e8aa2f8 ("dnsmasq: fix more dnsmasq jail issues")
Reported-by: Hartmut Birr <e9hack@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-08-01 22:26:58 +08:00
Beginner
7777b3ad7d
dnsmasq: rework jail mounts (#7578)
* split into multiple lines to improve readability
 * use EXTRA_MOUNT for addnhosts instead of blindly adding /tmp/hosts
 * remove no longer needed mount for /sbin/hotplug-call
 * add dhcp-script.sh dependencies (jshn, ubus)

Fixes: 3a94c2ca5c ("dnsmasq: add /tmp/hosts/ to jail_mount")
Fixes: aed95c4cb8 ("dnsmasq: switch to ubus-based hotplug call")
Reported-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-08-01 17:50:30 +08:00
Beginner
b772877d87
iproute2: bump to 5.13 (#7545)
Drop patch 185-libbpf-add-limits-h merged upstream
Update patch 170-ip_tiny
Update patch 130-no_netem_tpic_dcb...

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>

Co-authored-by: Ansuel Smith <ansuelsmth@gmail.com>
2021-07-31 16:50:20 +08:00
coolsnowwolf
0c928423f6 Revert "iwinfo: bump version"
This reverts commit 8c55064b3a.
2021-07-31 16:48:06 +08:00
Ailick
aa347717dd
ramips: crypto: Fix with Mediatek EIP93 Crypto Engine for MT7621 SoC (#7568) 2021-07-31 14:46:15 +08:00
coolsnowwolf
9a5d95747e Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-07-30 15:14:04 +08:00
coolsnowwolf
8c55064b3a iwinfo: bump version 2021-07-30 15:13:53 +08:00
Beginner
b72f6d6fa1
hostapd: add missing chunk for the snoop interface fix (#7551)
Fixes: 7b46377a0cd9 ("hostapd: make the snooping interface (for proxyarp) configurable")
Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-07-28 23:44:50 +08:00
Beginner
3c6aadc40e
hostapd: sync upstream (#7549)
* hostapd: make the snooping interface (for proxyarp) configurable

Use the VLAN interface instead of the bridge, to ensure that hostapd receives
untagged DHCP packets

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* hostapd: fix a segfault on sta disconnect with proxy arp enabled

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* hostapd: make proxyarp work with libnl-tiny

Remove a dependency on libnl3-route

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-07-28 13:41:38 +08:00
onewe
b01a5f922a
fix: ttyd https frame (#7548) 2021-07-28 13:40:36 +08:00
coolsnowwolf
1214d8dc98 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-07-28 10:25:37 +08:00