Commit Graph

6788 Commits

Author SHA1 Message Date
Paul Spooren
29b6bdd085 rules: fix COMMITCOUNT logic
The newly added $(COMMITCOUNT) variable was wrongly increased by plus
one. The addition should have been only added to $(AUTORELEASE) as
OpenWrt traditionally starts counting at one rather than zero.

$(AUTORELEASE) counts the commits since the last bump, which is zero on
the version bump commit itself.

This commit increases $(AUTORELEASE) by one while leaving $(COMMITCOUNT)
as is.

The base-files package is the only package using $(COMMITCOUNT) so far
and requires a pseudo commit to keep the PKG_RELEASE correct. A non
functional change (Copyright bump) is done in the next commit.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-01-27 12:19:41 +08:00
Jeffrey Elms
bc1aecc42a px5g-wolfssl: Fix certificate signature
Certificate signature algorithm was being set after call to
`wc_MakeCert`, resulting in a mismatch between specified signature in
certificate and the actual signature type.

Signed-off-by: Jeffrey Elms <jeff@wolfssl.com>
[fix commit subject, use COMMITCOUNT]
Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-01-27 12:19:12 +08:00
Rosen Penev
33532502f8 toolchain/libstdcpp: disable dual ABI and default to new
GCC 5.1 changed the std::string ABI in order to properly support C++11.
For compatibility with libraries compiled with the older ABI, that is,
linking between old-abi.so and new-abi.bin, both ABIs are enabled. In
terms of OpenWrt, all packages are compiled with the same toolchain,
which means these issues do not need to be handled.

Most importantly, this results in a significant size reduction of
libstdpp:

Before:

450794 bytes

After:

327752 bytes

Tested with all OpenWrt packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-27 12:18:17 +08:00
Paul Spooren
a14e666e0c umdns: bump to 2021-01-26
* i78aa36b umdns: fix 64-bit time format string
* Update Copyright

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-01-27 12:18:06 +08:00
Tony Ambardar
9752eb45dc bpftools: update to 5.10.10
Use the latest stable kernel since the previous 5.8.x series is EOL.

Also drop the following patches recently accepted upstream:

  * 001-libbpf-ensure-no-local-symbols-counted-in-ABI-check.patch
  * 002-libbpf-fix-build-failure-from-uninitialized-variable.patch
  * 003-bpftool-allow-passing-BPFTOOL_VERSION-to-make.patch
  * 004-v5.9-bpftool-use-only-ftw-for-file-tree-parsing.patch

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-01-26 12:05:07 +08:00
Tony Ambardar
86bedd0ae0 config: drop CONFIG_KPROBE_EVENT unused since kernel 4.9
The config setting was renamed to CONFIG_KPROBE_EVENTS.

Fixes: 97d3f800a8 ("config: kernel: Add KPROBE_EVENTS config option)
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-01-26 12:02:54 +08:00
AmadeusGhost
5cb63c747f rtl8821cu: fix the link rate on some devices
From user feedback, we should change this option to avoid slow link
speed on some wireless network cards.
Ref: brektrou/rtl8821CU/issues #5
2021-01-25 20:10:14 +08:00
Kevin Darbyshire-Bryant
22fd7dfc3d dnsmasq: Update to 2.84test3
dnsmasq v2.83 has a bug in handling duplicate queries which means it may
try to reply using the incorrect network socket.  This is especially
noticeable in dual stack environments where replies may be mis-directed to
IPv4 addresses on an IPv6 socket or IPv6 addresses on an IPv4 socket.

This results in system log spam such as:
dnsmasq[16020]: failed to send packet: Network unreachable
dnsmasq[16020]: failed to send packet: Address family not supported by protocol

dnsmasq v2.84test3 resolves these issues.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2021-01-25 12:03:08 +08:00
liwenjie119
d3c39a460e luci-app-kodexplorer: fix nginx info
修复nginx的path_info,以及可道云中查看数据库的adminer的依赖
2021-01-25 12:01:28 +08:00
Hans Dedecker
6a87bdb14e glibc: update to latest 2.32 commit (BZ#2692 BZ#26988 BZ#26831 BZ#2706)
d3cb8f6222 aarch64: fix static PIE start code for BTI [BZ #27068]
082798622d __vfscanf_internal: fix aliasing violation (bug 26690)
33dc30bc83 aarch64: Use mmap to add PROT_BTI instead of mprotect [BZ #26831]
46e1e64fe3 elf: Pass the fd to note processing
b6eae83717 elf: Move note processing after l_phdr is updated
c6090dcebd aarch64: align address for BTI protection [BZ #26988]
610e2c5150 aarch64: Fix missing BTI protection from dependencies [BZ #26926]

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2021-01-24 12:02:37 +08:00
Adrian Schmutzler
f0428617ad maccalc: remove package
This is a helpful utility, but it does not have any dependencies
in this repository. Move it to packages feed.

The package does not seem to have a maintainer.

Cc: Jo-Philipp Wich <jo@mein.io>
Cc: Nick Hainke <vincent@systemli.org>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-01-24 12:02:01 +08:00
Adrian Schmutzler
d9e355865b owipcalc: remove package
This is a helpful utility, but it does not have any dependencies
in this repository. Move it to packages feed.

Cc: Jo-Philipp Wich <jo@mein.io>
Cc: Nick Hainke <vincent@systemli.org>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-01-24 12:01:36 +08:00
CN_SZTL
b01af9983b
kernel: bump to 4.9.253, 4.14.217, 4.19.170
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-24 02:47:59 +08:00
CN_SZTL
015df15104
bpytop: install missing theme files
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-24 01:19:42 +08:00
CN_SZTL
7078e1470a
tinyfecvpn: cleanup Makefile
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 23:14:11 +08:00
CN_SZTL
e2d52f3593
tinyportmapper: cleanup Makefile
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 23:12:26 +08:00
CN_SZTL
2aaece6c54
bpytop: bump to 1.0.60
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 23:06:00 +08:00
CN_SZTL
d9083e21c6
autocore: display ? if "model name" doesn't exist
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
(cherry-pick from 285bb05ca3)
2021-01-23 22:40:43 +08:00
CN_SZTL
c05a66e3f9
autocore: remove hack for ARMv8
The related issue was fixed so this hack is totally useless now.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
(cherry-pick from 68692453e2)
2021-01-23 21:43:10 +08:00
CN_SZTL
236f828ae5
linux: arm64: cpuinfo: Add "model name" in /proc/cpuinfo for 64bit tasks also
Removed restriction of displaying model name for 32 bit tasks only.
Because of this Processor details were not displayed in
"System setting -> Details" in Ubuntu model name display is generic
and can be printed for 64 bit also.

model name : ARMv8 Processor rev X (v8l)

Signed-off-by: Sumit Gupta <sumitg@nvidia.com>

Link: https://lore.kernel.org/lkml/1472461345-28219-1-git-send-email-sumitg@nvidia.com/
Reported-by: AmadeusGhost <amadeus@jmu.edu.cn>
Tested-by: AmadeusGhost <amadeus@jmu.edu.cn>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
(backport from 68692453e2)
2021-01-23 21:42:47 +08:00
CN_SZTL
cba1985b07
kernel: bump to 4.9.252, 4.14.216, 4.19.169
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 21:36:40 +08:00
Paul Spooren
c18befafbc
uboot-envtools: use $(AUTORELEASE) for PKG_RELEASE
Use `$(AUTORELEASE)` variable rather than setting a PKG_RELEASE
on every commit manually.

Signed-off-by: Paul Spooren <mail@aparcar.org>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 20:48:20 +08:00
Paul Spooren
1c45a75927
base-files: use $(COMMITCOUNT) in PKG_RELEASE
The newly added `$(COMMITCOUNT)` varialbe allows automatic versioning
based on the number of Git commits of a package. Replace *tedious to
bump* and *merge conflict causing* `PKG_RELEASE` and replace it with
`$(COMMITCOUNT)`.

Signed-off-by: Paul Spooren <mail@aparcar.org>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 20:47:49 +08:00
Paul Spooren
a1763a0d81
rules: add AUTORELEASE and COMMITCOUNT variables
The lack of bumped PKG_RELEASE variables is a recurring theme on the
mailing list and in GitHub comments. This costs precious review time,
a rare good within the OpenWrt project.

Instead of relying on a manually set PKG_RELEASE this commit adds a
`commitcount` function that uses the number of Git commits to determine
the release. The function is called via the variables `$(AUTORELEASE)`
or `$(COMMITCOUNT)`. The `PKG_RELEASE` variable can be set to either of
the two.

- $(AUTORELEASE):

Release is automagically set to the number of commits since the last
commit containing either ": update to " or ": bump to ".

Example below:

    $ git log packages/foobar/
    foobar: fixup file location
    foobar: disable docs
    foobar: bump to 5.3.2
    foobar: fixup copyright

Resulting package name: foobar_5.3.2-3_all.ipk, two package changes
since the last upstream version change, using a 1 based counter.

- $(COMMITCOUNT):

For non-traditional versioning (x.y.z), most prominent `base-files`,
this variable contains the total number of package commits.

The new functionality can also be used by other feeds like packages.git.

In case no build information is available, e.g. when using release
tarballs, the SOURCE_DATE_EPOCH is used to have a reproducible release
identifier.

Suggested-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Paul Spooren <mail@aparcar.org>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 20:46:59 +08:00
Florian Eckert
8e9268c899
iperf3: remove
This package is not needed in base. It will be imported in the packages
feed.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 20:46:47 +08:00
Florian Eckert
8be7cdc375
iperf: remove
This package is not needed in base. It will be imported in the packages
feed.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 20:46:46 +08:00
CN_SZTL
091d84d34a
shadowsocksr-libev: remove empty package call
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 20:42:42 +08:00
Mattraks
67e3f5351f
luci-app-ssr-plus: sync with upstream source
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 20:41:19 +08:00
lean
3fcf40b0df
luci-app-uugamebooster: add qcode
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 19:37:36 +08:00
Beginner
47de7e6331
xray: Update to v1.2.3
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 19:36:01 +08:00
xiaorouji
d7dd4bfecb
luci-app-passwall: bump to 4-10
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 19:33:28 +08:00
jerrykuku
e988e529b8
luci-app-jd-dailybonus: bump to 1.0.1
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 19:29:07 +08:00
vernesong
d2d2a0d6cb
OpenClash: add auto restart support
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 19:22:42 +08:00
jerrykuku
296e65d890
luci-app-vssr: bump to v1.22
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 18:48:17 +08:00
ardanzhu
77f6cfb52d dnsmasq: place 'OPT_FILTER_AAAA' before 'OPT_LAST' 2021-01-23 12:38:59 +08:00
hue715
e392642bdd
luci-app-speederv2: fix bin check
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-21 23:53:56 +08:00
CN_SZTL
38d81ee457
feeds: packages: sync with OpenWrt snapshot
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-21 23:45:26 +08:00
xiaorouji
849594d74f
luci-app-passwall: bump to 4-9
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-21 23:25:21 +08:00
AmadeusGhost
599e9680fe
dnsmasq: add missing definition
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-21 23:11:41 +08:00
AmadeusGhost
8bd397327c
dnsmasq: refresh patches
Fix: #260
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-21 23:11:33 +08:00
Hauke Mehrtens
734782df28
dnsmasq: Update to version 2.83
This fixes the following security problems in dnsmasq:
* CVE-2020-25681:
  Dnsmasq versions before 2.83 is susceptible to a heap-based buffer
  overflow in sort_rrset() when DNSSEC is used. This can allow a remote
  attacker to write arbitrary data into target device's memory that can
  lead to memory corruption and other unexpected behaviors on the target
  device.
* CVE-2020-25682:
  Dnsmasq versions before 2.83 is susceptible to buffer overflow in
  extract_name() function due to missing length check, when DNSSEC is
  enabled. This can allow a remote attacker to cause memory corruption
  on the target device.
* CVE-2020-25683:
  Dnsmasq version before 2.83 is susceptible to a heap-based buffer
  overflow when DNSSEC is enabled. A remote attacker, who can create
  valid DNS replies, could use this flaw to cause an overflow in a heap-
  allocated memory. This flaw is caused by the lack of length checks in
  rtc1035.c:extract_name(), which could be abused to make the code
  execute memcpy() with a negative size in get_rdata() and cause a crash
  in Dnsmasq, resulting in a Denial of Service.
* CVE-2020-25684:
  A lack of proper address/port check implemented in Dnsmasq version <
  2.83 reply_query function makes forging replies easier to an off-path
  attacker.
* CVE-2020-25685:
  A lack of query resource name (RRNAME) checks implemented in Dnsmasq's
  versions before 2.83 reply_query function allows remote attackers to
  spoof DNS traffic that can lead to DNS cache poisoning.
* CVE-2020-25686:
  Multiple DNS query requests for the same resource name (RRNAME) by
  Dnsmasq versions before 2.83 allows for remote attackers to spoof DNS
  traffic, using a birthday attack (RFC 5452), that can lead to DNS
  cache poisoning.
* CVE-2020-25687:
  Dnsmasq versions before 2.83 is vulnerable to a heap-based buffer
  overflow with large memcpy in sort_rrset() when DNSSEC is enabled. A
  remote attacker, who can create valid DNS replies, could use this flaw
  to cause an overflow in a heap-allocated memory. This flaw is caused
  by the lack of length checks in rtc1035.c:extract_name(), which could
  be abused to make the code execute memcpy() with a negative size in
  sort_rrset() and cause a crash in dnsmasq, resulting in a Denial of
  Service.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-21 23:11:00 +08:00
zxlhhyccc
60d63904de
naiveproxy: bump to 88.0.4324.96-1
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-21 13:35:31 +08:00
Adrian Schmutzler
83a2987c47 sunxi: tidy up cases in base-files
This removes unnecessary quotes in cases and applies alphabetic
order to members.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-01-21 12:06:07 +08:00
Rogan Dawes
2e4457de4d
sunxi: add text referencing Allwinner H3 and H5 CPUs
This makes it a little easier to figure out which options to choose.

Signed-off-by: Rogan Dawes <rogan@dawes.za.net>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-21 00:33:29 +08:00
ZhenYu
da8aa70efb uugamebooster & luci-app-uugamebooster (#6217)
* uugamebooster: rebuild startup service
* luci-app-uugamebooster: use standerd terms
* luci-app-uugamebooster: use inter-startup funcion
* luci-app-uugamebooster: fix typo
2021-01-20 12:09:41 +08:00
lean
1e52ee2da7 Add luci-app-uugamebooster for uuplugin 2021-01-20 12:08:54 +08:00
Nick Hainke
9a8c1fa2e2 owipcalc: remove clone in cidr_contains6
The "cidr_contains6" functions clones the given cidr. The contains4
does not clone the cidr. Both functions do not behave the same.

I see no reason to push the cidr. I think that we get only a negligible
performance gain, but it makes ipv4 and ipv6 equal again.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-01-20 12:05:20 +08:00
Beginner
3a7d5224ca
kcptun: update to v20210103
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-19 23:08:00 +08:00
taowazi007
10e725ec6c
luci-app-ssrserver-python: add support for IPv6 and chacha20 cipher
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-19 23:07:16 +08:00
Mattraks
7d245fe3d4
luci-app-ssr-plus: bug fixes
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-19 23:01:34 +08:00