Commit Graph

6484 Commits

Author SHA1 Message Date
Brian Norris
a76ee70a14 scripts/feeds: warn when skipping core package override
Otherwise, a n00b like myself can get quite confused when moving a
package from core to feeds, for example.

(Hint: one *really* needs to clear out the tmp/info/.packageinfo...
entries for the stale package, but '-f' works as well.)

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2020-12-10 11:17:45 +08:00
Jo-Philipp Wich
bad0a15237 lldpd: fix autoreconf failure
The lldpd sources ship a modified local AX_LIB_READLINE M4 macro which
conflicts with the official macro shipped by autoconf-archive.

Due to the official macro having the same name and a higher serial
number, autoconf will prefer including that one instead of the local
copy, preventing the substitution of @READLINE_LIBS@ in Makefile.in
templates, ultimately leading to the following build failure when
linking lldpcli:

    ...-gcc: error: READLINE_LIBS@: No such file or directory

Avoid this problem by renaming the locally shipped macro to not clash
with the official implementation anymore.

Ref: lldpd/lldpd/pull/423
Acked-by: Stijn Tintel <stijn@linux-ipv6.be>
Tested-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-12-10 11:16:38 +08:00
Mattraks
74da1b1048
luci-app-ssr-plus: fix V2 TLS configuration servername issue 2020-12-08 13:22:41 +08:00
Mattraks
1b2c199ba9
luci-app-ssr-plus: fix v2ray tcp>http and http2 configuration errors 2020-12-08 13:18:28 +08:00
John Beckett
264f85cc4c build: find_md5 list with mod time and sorted
It was observed that the MD5 would not change after source files had been
modified, looking deeper into the build process it was discovered that
find_md5 build function makes a list of the files being built and then
passes the list to a summing utility on stdin.  The resultant MD5 is of
the file list, not the contents of the files.

The MD5 would change if the ordering of the list changed, or items were
removed or deleted.

The proposed fix is to add the modification time after the filename and
then sort the list to prevent find returning files in a different order
falsely re-triggering a rebuild. The MD5 will now change when a file is
modified or files are added/removed from the list.

Using 'T@' to show time in epoch for timezone independent behaviour.

Signed-off-by: John Beckett <john.beckett@net2edge.com>
2020-12-08 11:39:50 +08:00
Stijn Tintel
ff03f2a749 build: require rsync
It seems to be required to build toolchain/kernel-headers.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2020-12-08 11:39:28 +08:00
Stijn Tintel
72b33d8f30 rules.mk: use -fPIC instead of -fpic on arm64
Some packages fail to build on arm64 when PKG_ASLR_PIE_ALL=y, due to
machine-specific size restrictions on the global offset table.
While the manual instructs to recompile with -fPIC if it fails with
-fpic, by doing this per package, there is still a risk of random
breakage due to version bumps or other changes, so let's use -fPIC on
arm64 by default.

While comparing the sizes of 141 packages built with -fpic vs -fPIC,
most packages are either equal or smaller in size. Only 9 of the
compared packages turned out slightly larger.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2020-12-08 11:38:48 +08:00
Rosen Penev
351fa28e49 mtd-utils: remove lzo build dependency
The build option `--withouth-lzo` is added in the Makefile which makes
the existence of lzo obsolete. To remove the lzo package from
openwrt.git entirely, remove the legacy dependency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
[improved commit message]
Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-12-08 11:34:30 +08:00
Eneas U de Queiroz
fe59f3e741 openssl: use --cross-compile-prefix in Configure
This sets the --cross-compile-prefix option when running Configure, so
that that it will not use the host gcc to figure out, among other
things, compiler defines.  It avoids errors, if the host 'gcc' is
handled by clang:

mips-openwrt-linux-musl-gcc: error: unrecognized command-line option
'-Qunused-arguments'

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Tested-by: Rosen Penev <rosenp@gmail.com>
2020-12-08 11:32:43 +08:00
Paul Spooren
5c696f8af4 build: reduce cleanup binary calls in rootfs.mk
Both `find` and `rm` only need to be called once for folders and files.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-12-08 11:31:45 +08:00
Hans Dedecker
652c0fb157 glibc: update to latest 2.32 commit (BZ# 26224)
050022910b iconv: Accept redundant shift sequences in IBM1364 [BZ #26224]
ac0a6929c5 sh: Add sh4 fpu Implies folder
3ea24955bf struct _Unwind_Exception alignment should not depend on compiler flags

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2020-12-08 11:31:22 +08:00
Hans Dedecker
87d9db309c odhcp6c: update to git HEAD
faed29a dhcpv6: only refresh timers when reconfigure is valid
9c50975 dhcpv6: fix printing identity association id
a7b2221 dhcpv6: avoid sending continuous renew/rebind messages
d7afa2b dhcpv6: add extra syslog info traces
f5728e4 odhcp6c_find_entry: exclude priority from the list of fields that must match

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2020-12-08 11:30:55 +08:00
Mattraks
569d2fab11
xray: bump to 1.1.2 2020-12-07 13:08:47 +08:00
Mattraks
86f0e96b2c
luci-app-ssr-plus: fix startup failure caused by mux of xtls 2020-12-07 13:06:03 +08:00
CN_SZTL
5ebb9ef15b
luci-theme-edge: bump to 2.4 2020-12-06 13:10:11 +08:00
CN_SZTL
67180dfb92
luci-app-vssr: bump to v1.19 2020-12-06 13:08:09 +08:00
CN_SZTL
3255a69719
luci-app-v2ray-server: use xray by default 2020-12-06 12:53:51 +08:00
CN_SZTL
4f92143f08
lienol/luci-app-v2ray-server: drop dupicate package 2020-12-06 12:51:28 +08:00
Mattraks
d862fa4825
luci-app-ssr-plus: fix v2ray/xray config file generation 2020-12-06 02:26:58 +08:00
ElonH
23eca47a34 kernel 4.9: compatible with shortcut-fe 2020-12-06 00:58:05 +08:00
ElonH
3ff8e8ae4e Revert "shortcut-fe: Backward compatible with kernel 4.9"
This reverts commit 3cddb450f3.
2020-12-06 00:53:55 +08:00
CN_SZTL
6c69b7539e
kernel: bump to kernel 4.9.247, 4.14.210, 4.19.161
Resolve conflicted:
 - generic/pending-4.14/607-tcp_bbr-adapt-cwnd-based-on-ack-aggregation-estimation.patch
 - layerscape/patches-4.14/804-i2c-support-layerscape.patch
 - ramips/patches-4.14/0053-mtd-spi-nor-add-w25q256-3b-mode-switch.patch

Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-12-06 00:24:09 +08:00
Kuan-Yi Li
01483ac70a
kernel: backport GD25Q256 support from 4.15
Backport below changes for GigaDevice GD25Q256 support from v4.15:

  e27072851bf7 mtd: spi-nor: add a quad_enable callback in struct flash_info
  65153846b18c mtd: spi-nor: add support for GD25Q256

This chip is used on newer Quad-E4G boards.

Before:

[    2.366493] m25p80 spi0.0: unrecognized JEDEC id bytes: c8, 40, 19
[    2.372853] m25p80: probe of spi0.0 failed with error -2

After:

[    2.371722] m25p80 spi0.0: gd25q256 (32768 Kbytes)
[    2.376694] 5 fixed-partitions partitions found on MTD device spi0.0
[    2.383043] Creating 5 MTD partitions on "spi0.0":
[    2.387824] 0x000000000000-0x000000030000 : "u-boot"
[    2.394138] 0x000000030000-0x000000031000 : "u-boot-env"
[    2.400608] 0x000000031000-0x000000040000 : "config"
[    2.406830] 0x000000040000-0x000000050000 : "factory"
[    2.413169] 0x000000050000-0x000002000000 : "firmware"

Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
2020-12-06 00:23:36 +08:00
David Bauer
a6b2db864f
generic: ipeth: fix iOS 14 tethering
This fixes tethering with devices using iOS 14. Prior to this patch,
connections to remote endpoints were not possible while data transfers
between the OpenWrt device and the iOS endpoints worked fine.

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-12-06 00:23:24 +08:00
CN_SZTL
519f234ad7
luci-app-passwall: sync with upstream source 2020-12-05 22:46:15 +08:00
ElonH
3cddb450f3 shortcut-fe: Backward compatible with kernel 4.9 2020-12-05 21:53:04 +08:00
CN_SZTL
c65e7232e5
Core: Mod 20.12 2020-12-05 19:40:17 +08:00
CN_SZTL
15158b2eee
OpenClash: bump to 0.14.06 2020-12-05 19:00:55 +08:00
Beginner
176ef65fef
v2ray: bump to v4.33.0 2020-12-05 18:56:36 +08:00
xiaorouji
575fefe76d
brook: bump to 20210101 2020-12-05 18:55:49 +08:00
CN_SZTL
f1c9a3e410
luci-app-vssr: use xray by default 2020-12-05 18:55:03 +08:00
CN_SZTL
98750d0a13
luci-app-passwall: bump to 4-1 2020-12-05 18:54:37 +08:00
CN_SZTL
c5811f6512
luci-app-ssr-plus: bump to 181-2 2020-12-05 18:49:45 +08:00
CN_SZTL
9339c7c6d6
luci-app-ssr-plus: bump to 181-1 2020-12-05 18:44:42 +08:00
CN_SZTL
c76528e6e3
v2ray/xray: move to Proxies 2020-12-05 18:40:14 +08:00
Mattraks
880955f451
v2ray/xray: remove custom options 2020-12-05 18:39:54 +08:00
Mattraks
a6180bf3fe
luci-app-v2ray-server: add compatibility with Xray
Co-authored-by: caicaicai21 <caicaicai21@outlook.com>
2020-12-05 18:39:50 +08:00
Beginner
a925c950a4
Xray: bump to v1.1.1 2020-12-05 18:39:34 +08:00
Beginner
2a91e95e3c
xray: add new package 2020-12-05 18:39:11 +08:00
CN_SZTL
d6d472cd09
luci-app-jd-dailybonus: bump to v0.8.8 2020-12-05 17:37:33 +08:00
CN_SZTL
97b185d830
luci-app-vssr: bump to v1.18 2020-12-05 17:37:33 +08:00
Petr Štetiar
8006327e8b
rules.mk: remove redundant target flags
We're patching the GCC specs [1], [2] to implicitly add
$STAGING_DIR/usr/lib to the linker and $STAGING_DIR/usr/include to the
CPP flags. There is no need to globally pass these as -I and -L flags
respectively.

1. https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=toolchain/gcc/final/Makefile#l86
2. https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=scripts/patch-specs.sh#l37

Ref: https://patchwork.ozlabs.org/project/openwrt/patch/20200820060637.533293-1-a.heider@gmail.com/#2511505
Suggested-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-12-05 17:37:31 +08:00
Stan Grishin
6563466240
base-files: informative service command in /etc/shinit. service command shows services enabled/disabled and running status, when the service command is invoked with no/invalid arguments, like this:
Usage: service <service> [command]
The following services are available:
/etc/init.d/acme                   enabled         stopped
/etc/init.d/boot                   enabled         stopped
/etc/init.d/cron                   enabled         running
/etc/init.d/dnsmasq                enabled         running
...

Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-12-05 17:37:31 +08:00
Huangbin Zhan
c21858e852
base-files: fix alias more to properly detect /usr/bin/more
Package more is installed to /usr/bin rather than /bin.

Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2020-12-05 17:37:31 +08:00
HoldOnBro
4ba4109ee9
luci-app-autoipsetadder: add missing dependencies 2020-12-04 12:45:41 +08:00
CN_SZTL
1f0029526d
luci-app-unblockmusic: drop deprecated server 2020-11-29 15:03:54 +08:00
Rosen Penev
8d826d496d
libnetfilter-queue: remove
Nothing in base uses this. This will be moved to packages where it is
used.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-29 00:06:31 +08:00
Rosen Penev
e868232ebf
libnetfilter-log: remove
ulogd in the packages feed is the only user of this. It will be moved
there.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-29 00:06:27 +08:00
Rosen Penev
a7b70af562
libnetfilter-cttimeout: remove
conntrack was moved to packages where this is used. This will be moved
there as well.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-29 00:06:23 +08:00
Rosen Penev
ca8accd4ea
libnetfilter-cthelper: remove
conntrack was moved to packages where this is used. This will be moved
there as well.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-29 00:06:18 +08:00