Commit Graph

6247 Commits

Author SHA1 Message Date
Hans Dedecker
d2eceb86a6 odhcpd: update to latest git HEAD
5700919 dhcpv6: add explicit dhcpv4o6 server address
e4f4e62 dhcpv6: add DHCPv4-over-DHCPv6 support
aff290b dhcpv6: check message type
2677fa1 router: fix advertisement interval option

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2020-11-02 11:33:16 +08:00
AmadeusGhost
f39e4b370b ar71xx: add support for Lute ZK400
Hardware Highlights:
- SoC: Qualcomm Atheros AR9531 (650MHz)
- RAM: 128 MB
- Flash: 16 MB SPI NOR
- Ethernet: 10/100: 1x WAN, 4x LAN
- Wireless: QCA9531 2.4GHz (bgn)
- Button: 1x reset button
- LED: SYS, WAN, Wireless, LAN 1~4

Installation:
 Configure PC with static IP 192.168.1.x, connect PC with one of RJ45
 ports, press the reset button and power up device. Open 192.168.1.1
 address in your browser and upload sysupgrade image.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-11-01 11:50:37 +08:00
AmadeusGhost
22490ac69c ar71xx: build error fixes
Fixes: 207049c82f "kernel: bump 4.9 to 4.9.211"
2020-11-01 11:39:19 +08:00
AmadeusGhost
9faa9fbacf sched-cake-oot: add missing constraints for kernel 4.9 2020-11-01 11:35:46 +08:00
Daniel Golle
0d97b0b124 libselinux: remove dependency on musl-fts for non-musl builds
Suggested-by: Curtis Deptuck <curtdept@users.noreply.github.com>
Tested-by: Curtis Deptuck <curtdept@users.noreply.github.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-31 10:30:40 +08:00
Jo-Philipp Wich
8d425ac86b rules.mk: simplify FAKEROOT command line
Since fakeroot is patched to discover related ressources relative to the
STAGING_DIR_HOST environment variable, there is no need to pass the path
to faked or the preload library manually anymore.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-10-31 10:26:52 +08:00
Jo-Philipp Wich
110399441a fakeroot: make fakeroot script relocatable
Patch the fakeroot script template to discover faked and libfakeroot.so
relative to the STAGING_DIR_HOST environment variable, similar to how it
is done for automake, libtool, quilt and autoconf already.

This avoids the need for passing the paths to faked and libfakeroot.so
manually every time we invoke fakeroot and subsequently allows us to
drop OS X specific logic.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-10-31 10:26:28 +08:00
Paul Spooren
5af7ce9b0b build,IB: reload packages/ only if existing
With the fix of external kmod feeds it is possible to ship the
ImageBuilder without any packages except the pseudo packages kernel and
libc. Therefore the local package feeds becomes optional.

This commit adds a check to the package_reload function to only run if
the local feed is existing.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-10-31 10:26:05 +08:00
Paul Spooren
6dd0a51520 build,IB: include kmods only in local builds
The buildbots generate a kmod archive which should be used instead of a
local copy. This is possible due to the introduction of a kernelversion
specific feed.

This commit adds the ability of using only signed package feeds.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-10-31 10:25:45 +08:00
Paul Spooren
a038e48bbe build: FeedSourcesAppend add kmod feed to snapshot
Nightly snapshot builds of OpenWrt change their kernels versions
frequently and lose thereby compatibility to kmods from the upstream
target specific packages feed.

To allow opkg to install packages over multiple days a kmod archive is
offered at $target/$subtarget/kmods/$kernelversion and added as a feed
to created snapshot images via a buildbot step[1].

Instead of using a buildstep add the kmod feed directly via
FeedSourcesAppend to be included in the ImageBuilder repositories.conf
as well. This is conditionally only done for SNAPSHOT builds and when
running as BUILDBOT. Releases are unaffected as they don't include
kernel version changes and local builds may use different kernel
versions or magics than available upstream.

This commit allows in a future step to ship ImageBuilders without a
locally stored kmod archive.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-10-31 10:23:48 +08:00
Daniel Golle
93c6729871 opkg: bump to git HEAD
8769c75 pkg_hash: don't suggest incompatible packages

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-31 10:22:19 +08:00
Petr Štetiar
0188c16467 umdns: update to version 2020-10-26
59e4fc98162d cache: cache_answer: fix off by one
4cece9cc7db4 cache: cache_record_find: fix buffer overflow
be687257ee0b cmake: tests: provide umdns-san binary
bf01f2dd0089 tests: add dns_handle_packet_file tool
134afc728846 tests: add libFuzzer based fuzzing
de08a2c71ca8 cmake: create static library
cdc18fbb3ea8 interface: fix possible null pointer dereference
1fa034c65cb6 interface: fix value stored to 'fd' is never read
3a67ebe3fc66 Add initial GitLab CI support
50caea125517 cmake: fix include dirs and libs lookup

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-10-31 10:15:24 +08:00
CN_SZTL
e0aceee93a
kernel: bump to 4.14.203, 4.19.154
Resolve conflicted:
 - 210-dwc2_defaults.patch

Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-10-31 01:29:00 +08:00
Beginner
89fc2f40af
v2ray-plugin : update v1.7.0 2020-10-31 01:15:37 +08:00
CN_SZTL
958e644ab3
AdGuardHome: bump to 0.104.0 2020-10-30 15:04:46 +08:00
CN_SZTL
acb3981c38
kernel: bump 4.9 to 4.9.241
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-10-29 23:07:32 +08:00
CN_SZTL
d51acd440f
OpenClash: bump to 0.40.14-beta 2020-10-29 22:38:27 +08:00
CN_SZTL
209028e454
luci-app-serverchan: sync with upstream source 2020-10-29 22:33:35 +08:00
CN_SZTL
bdcd93bde5
luci-app-vssr: sync with upstream source 2020-10-29 22:31:33 +08:00
CN_SZTL
6b1af41606
luci-theme-edge: bump to 2.2 2020-10-29 22:30:24 +08:00
CN_SZTL
cb548efbad
default-settings: add a warning 2020-10-29 22:14:27 +08:00
Hauke Mehrtens
13e1a94be3
uci: Backport security fixes
This packports two security fixes from master.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit f9005d4f80)
2020-10-29 21:57:03 +08:00
CN_SZTL
17c618e31c
naiveproxy: fix typo error 2020-10-25 22:13:46 +08:00
CN_SZTL
89941c8fd3
naiveproxy: fix var setting
Fixes: #216.
2020-10-25 17:55:24 +08:00
CN_SZTL
ca06b70b56
busybox: make busybox understand special cron time like @daily 2020-10-25 15:24:45 +08:00
CN_SZTL
fefab16f57
luci-app-unblockneteasemusic-go: bump to v1.14 2020-10-25 14:43:39 +08:00
CN_SZTL
fbe43dda29
UnblockNeteaseMusic-Go: bump to v0.2.7 2020-10-25 14:41:18 +08:00
CN_SZTL
1a14c9852a
luci-app-serverchan: bump to v1.79 2020-10-25 14:40:34 +08:00
CN_SZTL
3a3fe3f445
node-request: add PKG_HASH 2020-10-25 14:38:01 +08:00
CN_SZTL
8394fcaf2f
oaf: bump to latest git HEAD 2020-10-25 14:34:13 +08:00
CN_SZTL
6cfa995fba
OpenClash: bump to 0.40.13-beta 2020-10-25 14:33:05 +08:00
CN_SZTL
f1a9e235fa
luci-app-jd-dailybonus: bump to v0.8.6 2020-10-25 14:31:18 +08:00
CN_SZTL
09d5aa83cd
luci-app-passwall: sync with upstream source 2020-10-25 14:22:57 +08:00
CN_SZTL
fba54535c8
naiveproxy: sync with upstream source 2020-10-25 12:28:21 +08:00
Mattraks
b8f4857dee
v2ray: update sed args and upx ignore errors 2020-10-24 16:59:49 +08:00
Beginner
9eb3cbbc91 v2ray: update v4.31.3 2020-10-24 11:38:20 +08:00
AmadeusGhost
ea3ddbe9ca autocore-arm: adjust display order 2020-10-24 11:35:55 +08:00
Thibaut VARÈNE
ad8c4d3e8d
ar71xx: mikrotik: bypass id check in __rb_get_wlan_data()
The id parameter in __rb_get_wlan_data() was incorrectly used on the
assumption that id "0" would always be tied to ath9k with RLE encoding
and positive id (in fact, only id "1" was valid) would always be tied to
("external") ath10k with LZO encoding.

Newer hardware revisions of supported devices prove this assumption to
be invalid, with ath9k caldata being now wrapped in MAGIC_ERD and LZO
compressed, so disable this check to allow newer hardware to correctly
decode caldata for ath9k.

Note: this patch assumes that ath9k caldata is never stored with the new
"LZOR" encoding scheme found on some ath10k devices.

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
(cherry picked from commit 1c6990fe6d)
[keep publishing ath10k caldata in sysfs: it's the way it's done on 18.06]
Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
Tested-by: Baptiste Jonglez <git@bitsofnetworks.org> [Mikrotik RB941-2nD r3]
2020-10-23 17:47:04 +08:00
AmadeusGhost
47d017962c luci-theme-edge: sync upstream source code 2020-10-23 11:38:30 +08:00
AmadeusGhost
55097d4f7c autocore: enable sensors support for ipq806x 2020-10-23 11:27:42 +08:00
Petr Štetiar
c8360aeaf3 Revert "target: select procd-{ujail,seccomp} if !SMALL_FLASH"
This reverts commit 6a56a6eb30 as several
users have reported unbootable systems.

Suggested-by: Roman Kuzmitskii <damex.pp@icloud.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-10-23 11:20:10 +08:00
CN_SZTL
60a0a88809
Revert "procd: jail: clean up capability handling and non-root ubusd"
This reverts commit bfc67bcc16.
2020-10-22 22:54:49 +08:00
CN_SZTL
363add2f7c
Revert "ubus: prepare to run ubusd as non-root user"
This reverts commit 99f35613e7.
2020-10-22 22:54:26 +08:00
Daniel Golle
dee5c5ee14 target: select procd-{ujail,seccomp} if !SMALL_FLASH
Add procd-ujail and procd-seccomp to DEFAULT_PACKAGES if not building
for space-constraint (FEATURES:=small_flash) targets.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-22 11:40:26 +08:00
Daniel Golle
bfc67bcc16 procd: jail: clean up capability handling and non-root ubusd
Unify capability handling to only use OCI spec parsers even for ujail
slim containers which previously supposedly used their own format.

 80c9516 cgroups: restrict allowed keys in 'unified' section
 5ade567 cgroups: memory controller fixes
 3121467 early: run ubusd non-root as user ubus, group ubus
 12a5b97 jail: adapt to new ubus socket path
 788d144 instance: actually wire up capabilities filename
 ebc5a7f jail: nuke old capabilities code in favour of reusing OCI code
 6c5233a jail: capabilities: apply in two phases

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-22 11:37:50 +08:00
Daniel Golle
99f35613e7 ubus: prepare to run ubusd as non-root user
Move /var/run/ubus.sock to /var/run/ubus/ubus.sock in preparation for
having ubusd run as non-root user.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-22 11:36:54 +08:00
Daniel Golle
ea183a6b59 target: include selinux-variants if CONFIG_SELINUX is set
Rather than unconditionally adding busybox and procd to the set of
default packages, add busybox-selinux and procd-selinux in case
CONFIG_SELINUX is set.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-22 11:36:08 +08:00
AmadeusGhost
0e20fef781 npc: update to 0.26.9 2020-10-21 11:37:38 +08:00
AmadeusGhost
215bf7d9a0 minieap: update to 0.93 2020-10-21 11:34:48 +08:00
coolsnowwolf
9d99e47a0f r8125: bump to 9.004.01 to fix packet loss issue 2020-10-21 11:31:02 +08:00