Commit Graph

6855 Commits

Author SHA1 Message Date
Jayantajit Gogoi
d20975bfbc sunxi: add support for FriendlyARM NanoPi R1
Specification:

- CPU: Allwinner H3, Quad-core Cortex-A7 Up to 1.2GHz
- DDR3 RAM: 512MB/1GB
- Network:
    10/100/1000M Ethernet x 1,
    10/100M Ethernet x 1
- WiFi: 802.11b/g/n, with SMA antenna interface
- USB Host: Type-A x2
- MicroSD Slot x 1
- MicroUSB: for OTG and power input
- Debug Serial Port: 3Pin 2.54mm pitch pin-header
- LED:
    nanopi:red:status
    nanopi:green:wan
    nanopi:green:lan
- KEY:
    reset
- Power Supply: DC 5V/2A

Installation:

- Write the image to SD Card with dd
- Boot NanoPi from the SD Card

Signed-off-by: Jayantajit Gogoi <jayanta.gogoi525@gmail.com>
2021-02-05 18:01:10 +08:00
David Bauer
7c23f6fcde base-files: add function for generating random MAC
This adds a function for generating a valid random MAC address (unset MC
bit / set locally administered bit).

It is necessary for devices which do not have a MAC address programmed
by the manufacturer.

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-02-05 12:26:15 +08:00
Sungbo Eo
ad523ce465 base-files: add functions to set or clear bit in MAC address
Some devices (e.g. Arduino Yun) need bitwise operations during MAC address
setup. This commit adds generalized versions of macaddr_setbit_la(), which
are helpful when manipulating a single bit in a MAC address.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2021-02-05 12:25:08 +08:00
Mattraks
4bf328701a
luci-app-ssr-plus: bump to 183-6
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-03 22:02:48 +08:00
xiaorouji
db1f516662
luci-app-passwall: sync with upstream source
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-03 22:02:47 +08:00
CN_SZTL
6e72f01d54
xray: remove upstreamed package
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
(backport from ba30665ea3)
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-03 21:23:53 +08:00
Curtis Deptuck
159bff1ae8 iptables: update to 1.8.7
ChangeLog:
https://netfilter.org/projects/iptables/files/changes-iptables-1.8.7.txt

Refresh patch:
None required

Signed-off-by: Curtis Deptuck <curtdept@me.com>
2021-02-03 12:28:56 +08:00
CN_SZTL
bf38de5ce6
[OpenWrt-18.06] Core: Update to Mod 21.02
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-02 23:48:53 +08:00
David Bauer
3e329ecf75 dnsmasq: abort dhcp_check on interface state
Abort the dhcp-check based on the interface instead of the carrier
state. In cases where the interface is up but the carrier is down,
netifd won't cause a dnsmasq reload, thus dhcp won't become active
on this interface.

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-02-02 18:25:18 +08:00
CN_SZTL
e40ea5a22e fast-classifier: re-added example package
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-02 16:06:18 +08:00
AmadeusGhost
f974f90b44 fast-classifier: clearup Makefile
Fast-classifier should be started last, so just let luci control it.
2021-02-02 15:50:03 +08:00
AmadeusGhost
381764db1d luci-app-turboacc: update dependencies of shortcut-fe
No need to specifically select the noload version.
Fixes: 4201dbd ("Package Lean: Cleanup Makefile")
2021-02-02 12:18:11 +08:00
Rosen Penev
2db38112f1
util-linux: remove custom pkgconfig patch
Replace with sed as done elsewhere.

Fixes error with at least btrfs-progs:

Package '@LIBSELINUX@', required by 'mount', not found
Package '@LIBCRYPTSETUP@', required by 'mount', not foun

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2021-02-02 01:03:04 +08:00
Daniel Golle
60610ff4c6
selinux-policy: update to git tag v0.5
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2021-02-02 01:02:47 +08:00
CN_SZTL
80c7de1a91
rtl_wifi: update PKG_MAINTAINTER
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-01 20:18:54 +08:00
AmadeusGhost
8c637017e4 mt7601u-ap: build error fixes 2021-02-01 20:08:31 +08:00
CN_SZTL
33b80c2ba1
luci-app-adguardhome: fix wrong conf dir
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-01 18:58:20 +08:00
CN_SZTL
478548d7d2
luci-app-adguardhome: update dependencies
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-01 10:18:48 +08:00
xiaorouji
144f53cb17
luci-app-passwall: sync with upstream source
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-01 00:09:38 +08:00
CN_SZTL
69f50eed03
xray-core: bump to 1.2.4
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-01 00:08:21 +08:00
AmadeusGhost
89e1421c18 tinyfecVPN: update to version 20210116 2021-01-31 22:26:28 +08:00
Hans Dedecker
83d02addfb glibc: update to latest 2.32 commit (bug 27256)
760e1d2878 gconv: Fix assertion failure in ISO-2022-JP-3 module (bug 27256)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2021-01-31 22:19:42 +08:00
Rosen Penev
24867d68bf tools/zstd: compile with cmake
It's faster and more reliable.

Removed ccache cmake build dependency as it's now implicit.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-31 22:18:38 +08:00
Rosen Penev
28789a58da tools/zstd: update to 1.4.8
Switch to the normal tarball instead of the codeload generated one. The
latter has the potential to change hashes based on changes in the repo.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-31 22:16:07 +08:00
Paul Spooren
9495bbe075 rules: fix empty COMMITCOUNT/AUTORELEASE
Packages that are in-tree only often lack a PKG_VERSION and only use the
PKG_RELEASE to mark changes. Using COMMITCOUNT/AUTORELEASE variables
causes an issue as both variables are empty during the metadata DUMP
phase.

Instead of leaving these variables empty and causing an error message
like below, set the variables to 0 during dumping. On actual building
the variable is evaluated causing in a value above 0.

ERROR: please fix package/utils/px5g-wolfssl/Makefile - \
	see logs/package/utils/px5g-wolfssl/dump.txt for details

Makefile:48: *** Package/px5g-wolfssl is missing the VERSION field.  Stop.

Reported-by: Daniel Golle <daniel@makrotopia.org>
Reported-by: Stijn Segers <foss@volatilesystems.org>
Reported-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-01-31 22:15:46 +08:00
Geordan Neukum
9a20d5bef4 strace: update package to v5.10
v5.10 has been released for strace. As such, let's go ahead bring in the
latest version of this package.

See here for the changelog:
    https://github.com/strace/strace/releases/tag/v5.10

Signed-off-by: Geordan Neukum <gneukum1@gmail.com>
2021-01-31 22:09:39 +08:00
Brian Norris
b3e6339dcd base-files: mount pstore if present
Pstore (persistent store) can be used to stash debug information (kernel
console, panics, ftrace) across reboots or crashes. If the filesystem is
present, mount it.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2021-01-31 22:09:14 +08:00
Paul Menzel
e4f6c3948e ca-certicficates: Update to version 20210119
Update the ca-certificates and ca-bundle package from version 20200601 to
version 2021019.

This version uses Python 3 for the build, fixing a build issue on systems,
where `/usr/bin/python3` is a wrapper script [1].

[1]: https://github.molgen.mpg.de/mariux64/mxtools/issues/148
[2]: https://metadata.ftp-master.debian.org/changelogs//main/c/ca-certificates/ca-certificates_20210119_changelog

Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
2021-01-31 22:06:46 +08:00
CN_SZTL
47f9294dbb
nps: refactor upx compresstion
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-31 14:26:25 +08:00
CN_SZTL
fae46404a0
AdGuardHome: remove upstreamed package
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-31 13:24:17 +08:00
CN_SZTL
d7e6f64f42
luci-app-adguardhome: adjust config for upstream
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-31 13:23:46 +08:00
garypang13
9fe0ea1a28
vlmcsd: fix mistake caused by wrong source file in my env
Co-authored-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-31 13:16:18 +08:00
CN_SZTL
ffab952833
default-settings: fix missing INSTALL_DIR
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-31 11:43:41 +08:00
CN_SZTL
4b01a61311
Package Lean: fix typo err of PKG_SOURCE_DATE
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-31 02:59:08 +08:00
CN_SZTL
4201dbd9bb
Package Lean: Cleanup Makefile
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-30 20:09:14 +08:00
CN_SZTL
31a39f976a
wireguard: bump to 1.0.20210124
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-30 20:01:22 +08:00
xiaorouji
d9b9fd8365
luci-app-passwall: sync with upstream source
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-30 19:25:58 +08:00
Promix953
7df9dffe94
luci-app-jd-dailybonus: sync with upstream source
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-30 19:22:44 +08:00
garypang13
9b6254e099
ChinaDNS: fix download url
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-30 19:14:09 +08:00
Adrian Schmutzler
2911e0db62
x86: fix upgrade by emptying SUPPORTED_DEVICES
x86 uses append-metadata, but only for signing and not for the
metadata itself.

Since recently SUPPORTED_DEVICES was assigned with a global value
and is not empty anymore, append-metadata will now actually put
metadata into x86 images. This breaks sysupgrade on x86.

To fix it for the moment, let's just empty SUPPORTED_DEVICES for
this target again.

In the long term, one should either not add metadata to the images
if it is not desired, and/or remove the unintended fwtool check.

Fixes: f52081bcf9 ("treewide: provide global default for SUPPORTED_DEVICES")

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 22:56:03 +08:00
Adrian Schmutzler
75697c9c12
treewide: provide global default for SUPPORTED_DEVICES
The majority of our targets provide a default value for the variable
SUPPORTED_DEVICES, which is used in images to check against the
compatible on a running device:

  SUPPORTED_DEVICES := $(subst _,$(comma),$(1))

At the moment, this is implemented in the Device/Default block of
the individual targets or even subtargets. However, since we
standardized device names and compatible in the recent past, almost
all targets are following the same scheme now:

  device/image name:  vendor_model
  compatible:         vendor,model

The equal redundant definitions are a symptom of this process.

Consequently, this patch moves the definition to image.mk making it
a global default. For the few targets not using the scheme above,
SUPPORTED_DEVICES will be defined to a different value in
Device/Default anyway, overwriting the default. In other words:
This change is supposed to be cosmetic.

This can be used as a global measure to get the current compatible
with: $(firstword $(SUPPORTED_DEVICES))
(Though this is not precisely an achievement of this commit.)

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 22:47:58 +08:00
Adrian Schmutzler
5a2cbf522c
base-files: remove execute bit and shebang from functions.sh
/lib/functions.sh was executable for no obvious reason and its
execute property was even checked in package-ipkg.mk just to
source it afterwards.

Remove the execute bit and shebang as this is clearly a library.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Philip Prindeville <philipp@redfish-solutions.com>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 22:36:08 +08:00
Adrian Schmutzler
f36ab2f662
treewide: drop shebang from non-executable lib files
This drops the shebang from another bunch of files in various /lib
folders, as these are sourced and the shebang is useless.

Fix execute bit in one case, too.

This should cover almost all trivial cases now, i.e. where /lib is
actually used for library files.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 22:36:07 +08:00
Kevin Darbyshire-Bryant
e7f3fc4e4f dnsmasq: Bump to v2.84
dnsmasq v2.84rc2 has been promoted to release.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2021-01-29 22:30:08 +08:00
CN_SZTL
fb6fb1e597
Package CTCGFW/Lienol: Cleanup Makefile
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 21:23:11 +08:00
CN_SZTL
f22c6ed39e
smartdns: move to feeds
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 15:10:18 +08:00
CN_SZTL
349b61756b
smartdns: bump to latest git HEAD
Removed upstreamed patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 15:07:13 +08:00
CN_SZTL
c358438250
brook: build with OpenWrt golang toolchain
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 14:51:43 +08:00
CN_SZTL
4bdb5a3dac
microsocks11: fix bugs made by upstream
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 13:42:40 +08:00
CN_SZTL
829c5aa67b
microsocks11: add new package
MicroSocks11 is a SOCKS5 library and server based on the microsocks project that uses
CMake and C++11 for cross-platform support. MicroSocks11 supports IPv4, IPv6, and DNS.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 13:11:17 +08:00