1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Merge branch 'develop'

This commit is contained in:
antrouter 2021-03-30 22:52:30 +08:00
commit 31d8aa6cbf
646 changed files with 29683 additions and 5156 deletions

View file

@ -9,7 +9,7 @@ jobs:
build: build:
strategy: strategy:
matrix: matrix:
OMR_TARGET: [rpi2, rpi4, r2s, x86_64, 4018, 4019] OMR_TARGET: [rpi2, rpi4, x86_64, 4018, 4019]
runs-on: ubuntu-latest runs-on: ubuntu-latest
continue-on-error: true continue-on-error: true

0
6in4/Makefile Executable file → Normal file
View file

0
CLA-entity.md Executable file → Normal file
View file

0
CLA-individual.md Executable file → Normal file
View file

0
CODE_OF_CONDUCT.md Executable file → Normal file
View file

0
CONTRIBUTING.md Executable file → Normal file
View file

0
LICENSE Executable file → Normal file
View file

0
README.md Executable file → Normal file
View file

0
bcm27xx-eeprom/Makefile Executable file → Normal file
View file

View file

View file

0
contributors/cr3ative.md Executable file → Normal file
View file

0
contributors/example.md Executable file → Normal file
View file

0
dsvpn/Makefile Executable file → Normal file
View file

0
dsvpn/patches/nofirewall.patch Executable file → Normal file
View file

0
dsvpn/patches/nostrip.patch Executable file → Normal file
View file

0
glorytun-udp/Makefile Executable file → Normal file
View file

0
glorytun-udp/patches/aegis-arm.patch Executable file → Normal file
View file

0
glorytun/Makefile Executable file → Normal file
View file

0
glorytun/glorytun.config Executable file → Normal file
View file

0
golang-protobuf/Makefile Executable file → Normal file
View file

0
golang/golang-build.sh Executable file → Normal file
View file

0
golang/golang-compiler.mk Executable file → Normal file
View file

0
golang/golang-golang-x-crypto/Makefile Executable file → Normal file
View file

0
golang/golang-golang-x-net/Makefile Executable file → Normal file
View file

0
golang/golang-golang-x-sys/Makefile Executable file → Normal file
View file

0
golang/golang-golang-x-text/Makefile Executable file → Normal file
View file

0
golang/golang-host-build.mk Executable file → Normal file
View file

0
golang/golang-package.mk Executable file → Normal file
View file

0
golang/golang-values.mk Executable file → Normal file
View file

0
golang/golang/Config.in Executable file → Normal file
View file

0
golang/golang/Makefile Executable file → Normal file
View file

0
golang/golang/files/go-gcc-helper Executable file → Normal file
View file

22
https-dns-proxy/Makefile Executable file → Normal file
View file

@ -1,14 +1,14 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=https-dns-proxy PKG_NAME:=https-dns-proxy
PKG_VERSION:=2019-12-03 PKG_VERSION:=2021-01-17
PKG_RELEASE=5 PKG_RELEASE=2
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/aarond10/https_dns_proxy PKG_SOURCE_URL:=https://github.com/aarond10/https_dns_proxy
PKG_SOURCE_DATE:=2019-12-03 PKG_SOURCE_DATE:=2021-01-17
PKG_SOURCE_VERSION:=2adeafb67cbe8d67148219c48334856ae4f3bd75 PKG_SOURCE_VERSION:=37511cc08712d7548978a4f6f1cc457b7594fb96
PKG_MIRROR_HASH:=58088baa092cd9634652d65f9b5650db88d2e102cb370710654db7b15f2f0e42 PKG_MIRROR_HASH:=4e6a7dcb69e350d1df9f17570439b589e031e249da7f91f2ec7600a955e0aaa3
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.net> PKG_MAINTAINER:=Stan Grishin <stangri@melmac.net>
PKG_LICENSE:=MIT PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE PKG_LICENSE_FILES:=LICENSE
@ -22,14 +22,26 @@ define Package/https-dns-proxy
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
TITLE:=DNS Over HTTPS Proxy TITLE:=DNS Over HTTPS Proxy
URL:=https://docs.openwrt.melmac.net/https-dns-proxy/
DEPENDS:=+libcares +libcurl +libev +ca-bundle DEPENDS:=+libcares +libcurl +libev +ca-bundle
CONFLICTS:=https_dns_proxy CONFLICTS:=https_dns_proxy
endef endef
define Package/https-dns-proxy/description
https-dns-proxy is a light-weight DNS<-->HTTPS, non-caching translation proxy for the RFC 8484 DoH standard.
It receives regular (UDP) DNS requests and issues them via DoH.
Please see https://docs.openwrt.melmac.net/https-dns-proxy/ for more information.
endef
define Package/https-dns-proxy/conffiles
/etc/config/https-dns-proxy
endef
define Package/https-dns-proxy/install define Package/https-dns-proxy/install
$(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d ${1}/etc/config $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d ${1}/etc/config
$(INSTALL_BIN) $(PKG_BUILD_DIR)/https_dns_proxy $(1)/usr/sbin/https-dns-proxy $(INSTALL_BIN) $(PKG_BUILD_DIR)/https_dns_proxy $(1)/usr/sbin/https-dns-proxy
$(INSTALL_BIN) ./files/https-dns-proxy.init $(1)/etc/init.d/https-dns-proxy $(INSTALL_BIN) ./files/https-dns-proxy.init $(1)/etc/init.d/https-dns-proxy
$(SED) "s|^\(PKG_VERSION\).*|\1='$(PKG_VERSION)-$(PKG_RELEASE)'|" $(1)/etc/init.d/https-dns-proxy
$(INSTALL_CONF) ./files/https-dns-proxy.config $(1)/etc/config/https-dns-proxy $(INSTALL_CONF) ./files/https-dns-proxy.config $(1)/etc/config/https-dns-proxy
endef endef

0
https-dns-proxy/files/README.md Executable file → Normal file
View file

0
https-dns-proxy/files/https-dns-proxy.config Executable file → Normal file
View file

View file

@ -1,13 +1,25 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright 2019 Stan Grishin (stangri@melmac.net) # Copyright 2019-2020 Stan Grishin (stangri@melmac.net)
# shellcheck disable=SC2039 # shellcheck disable=SC2039
PKG_VERSION='dev-test'
export START=80 # shellcheck disable=SC2034
export USE_PROCD=1 START=80
# shellcheck disable=SC2034
USE_PROCD=1
if type extra_command 1>/dev/null 2>&1; then
extra_command 'version' 'Show version information'
else
# shellcheck disable=SC2034
EXTRA_COMMANDS='version'
fi
readonly PROG=/usr/sbin/https-dns-proxy
dnsmasqConfig='' dnsmasqConfig=''
forceDNS='1'
PROG=/usr/sbin/https-dns-proxy version() { echo "$PKG_VERSION"; }
xappend() { param="$param $1"; } xappend() { param="$param $1"; }
@ -35,27 +47,27 @@ append_parm() {
start_instance() { start_instance() {
local cfg="$1" param listen_addr listen_port i local cfg="$1" param listen_addr listen_port i
append_parm "$cfg" 'resolver_url' '-r'
append_parm "$cfg" 'polling_interval' '-i'
append_parm "$cfg" 'listen_addr' '-a' '127.0.0.1' append_parm "$cfg" 'listen_addr' '-a' '127.0.0.1'
append_parm "$cfg" 'listen_port' '-p' "$p" append_parm "$cfg" 'listen_port' '-p' "$p"
append_parm "$cfg" 'dscp_codepoint' '-c'
append_parm "$cfg" 'bootstrap_dns' '-b' append_parm "$cfg" 'bootstrap_dns' '-b'
append_parm "$cfg" 'resolver_url' '-r'
append_parm "$cfg" 'user' '-u' 'nobody' append_parm "$cfg" 'user' '-u' 'nobody'
append_parm "$cfg" 'group' '-g' 'nogroup' append_parm "$cfg" 'group' '-g' 'nogroup'
append_parm "$cfg" 'edns_subnet' '-e'
append_parm "$cfg" 'proxy_server' '-t' append_parm "$cfg" 'proxy_server' '-t'
append_parm "$cfg" 'logfile' '-l' append_parm "$cfg" 'logfile' '-l'
append_bool "$cfg" 'use_http1' '-x' append_bool "$cfg" 'use_http1' '-x'
config_get_bool ipv6_resolvers_only "$cfg" 'use_ipv6_resolvers_only' '0' config_get_bool ipv6_resolvers_only "$cfg" 'use_ipv6_resolvers_only' '0'
config_get verbosity "$cfg" 'verbosity' "0" config_get verbosity "$cfg" 'verbosity' '0'
# shellcheck disable=SC2086,SC2154 # shellcheck disable=SC2086,SC2154
for i in $(seq 1 $verbosity); do for i in $(seq 1 $verbosity); do
xappend "-v" xappend '-v'
done done
# shellcheck disable=SC2154 # shellcheck disable=SC2154
if [ "$ipv6_resolvers_only" = 0 ]; then if [ "$ipv6_resolvers_only" = 0 ]; then
xappend "-4" xappend '-4'
fi fi
procd_open_instance procd_open_instance
@ -80,19 +92,36 @@ start_instance() {
p="$((p+1))" p="$((p+1))"
} }
service_triggers() { is_force_dns_active() { iptables-save | grep -q -w -- '--dport 53'; }
procd_add_reload_trigger 'https-dns-proxy'
}
start_service() { start_service() {
local p=5053 local p=5053
config_load 'https-dns-proxy' config_load 'https-dns-proxy'
config_get dnsmasqConfig 'config' 'update_dnsmasq_config' '*' config_get dnsmasqConfig 'config' 'update_dnsmasq_config' '*'
config_get_bool forceDNS 'config' 'force_dns' '1'
dhcp_backup 'create' dhcp_backup 'create'
config_load 'https-dns-proxy' config_load 'https-dns-proxy'
config_foreach start_instance 'https-dns-proxy' config_foreach start_instance 'https-dns-proxy'
if [ "$p" != "5053" ] && [ "$dnsmasqConfig" = "*" ]; then if [ "$forceDNS" -ne 0 ]; then
uci -q del_list "dhcp.@dnsmasq[0].server=127.0.0.1#5353" procd_open_instance 'main'
procd_set_param command /bin/true
procd_set_param stdout 1
procd_set_param stderr 1
procd_open_data
json_add_array firewall
json_add_object ''
json_add_string type redirect
json_add_string name https_dns_proxy_dns_redirect
json_add_string target DNAT
json_add_string src lan
json_add_string proto tcpudp
json_add_string src_dport 53
json_add_string dest_port 53
json_add_string reflection 0
json_close_object
json_close_array
procd_close_data
procd_close_instance
fi fi
if [ -n "$(uci -q changes dhcp)" ]; then if [ -n "$(uci -q changes dhcp)" ]; then
uci -q commit dhcp uci -q commit dhcp
@ -102,7 +131,7 @@ start_service() {
stop_service() { stop_service() {
config_load 'https-dns-proxy' config_load 'https-dns-proxy'
config_get dnsmasqConfig 'config' 'update_dnsmasq_config' '*' config_get dnsmasqConfig 'config' 'update_dnsmasq_config' '*'
dhcp_backup 'restore' dhcp_backup 'restore'
if [ -n "$(uci -q changes dhcp)" ]; then if [ -n "$(uci -q changes dhcp)" ]; then
uci -q commit dhcp uci -q commit dhcp
@ -111,9 +140,12 @@ stop_service() {
} }
service_triggers() { service_triggers() {
procd_add_reload_trigger 'https-dns-proxy' procd_add_config_trigger "config.change" "https-dns-proxy" /etc/init.d/https-dns-proxy reload
} }
service_started() { procd_set_config_changed firewall; }
service_stopped() { procd_set_config_changed firewall; }
dnsmasq_add_doh_server() { dnsmasq_add_doh_server() {
local cfg="$1" address="$2" port="$3" local cfg="$1" address="$2" port="$3"
case $address in case $address in

0
ipcalc/Makefile Executable file → Normal file
View file

View file

@ -1,84 +0,0 @@
#
# Copyright (C) 2007-2010 OpenWrt.org
# Copyright (C) 2019 Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=iperf
PKG_SOURCE_VERSION:=02a5f4755878b319f0db5ccd490daf61e6d76043
PKG_VERSION:=3.7-$(PKG_SOURCE_VERSION)
PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/esnet/iperf.git
PKG_MAINTAINER:=Yannick Chabanois <ycarus@zugaina.org>
PKG_LICENSE:=BSD-3-Clause
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
PKG_FIXUP:=autoreconf
include $(INCLUDE_DIR)/package.mk
DISABLE_NLS:=
define Package/iperf3/default
SECTION:=net
CATEGORY:=Network
TITLE:=Internet Protocol bandwidth measuring tool
URL:=https://github.com/esnet/iperf
endef
define Package/iperf3
$(call Package/iperf3/default)
VARIANT:=nossl
endef
define Package/iperf3-ssl
$(call Package/iperf3/default)
TITLE+= with iperf_auth support
VARIANT:=ssl
DEPENDS:= +libopenssl
endef
TARGET_CFLAGS += -D_GNU_SOURCE
CONFIGURE_ARGS += --disable-shared
ifeq ($(BUILD_VARIANT),ssl)
CONFIGURE_ARGS += --with-openssl="$(STAGING_DIR)/usr"
else
CONFIGURE_ARGS += --without-openssl
endif
MAKE_FLAGS += noinst_PROGRAMS=
define Package/iperf3/description
Iperf is a modern alternative for measuring TCP and UDP bandwidth
performance, allowing the tuning of various parameters and
characteristics.
endef
# autoreconf fails if the README file isn't present
define Build/Prepare
$(call Build/Prepare/Default)
touch $(PKG_BUILD_DIR)/README
endef
define Package/iperf3/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/iperf3 $(1)/usr/bin/
endef
define Package/iperf3-ssl/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/iperf3 $(1)/usr/bin/
endef
$(eval $(call BuildPackage,iperf3))
$(eval $(call BuildPackage,iperf3-ssl))

0
iptables-mod-fullconenat/Makefile Executable file → Normal file
View file

0
iptables-mod-fullconenat/README.md Executable file → Normal file
View file

0
iptables-mod-fullconenat/files/Makefile Executable file → Normal file
View file

0
iptables-mod-fullconenat/patches/000-printk.patch Executable file → Normal file
View file

0
lcd4linux/Config.in Executable file → Normal file
View file

0
lcd4linux/Makefile Executable file → Normal file
View file

0
lcd4linux/files/lcd4linux.init Executable file → Normal file
View file

View file

0
lcd4linux/patches/140-no_repnop_T6963.patch Executable file → Normal file
View file

0
lcd4linux/patches/150-addlibmpdclient.patch Executable file → Normal file
View file

0
lcd4linux/patches/160-uinput_defs.patch Executable file → Normal file
View file

0
lcd4linux/patches/170-add-generic-spidev-driver.patch Executable file → Normal file
View file

0
lcd4linux/patches/173-glcd2usb-bigendian-fix.patch Executable file → Normal file
View file

View file

@ -1,60 +0,0 @@
#
# Copyright (C) 2018-2019 Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=libbpf
PKG_VERSION:=556e0a0
PKG_RELEASE:=1
PKG_SOURCE_URL:=https://github.com/libbpf/libbpf.git
PKG_SOURCE_VERSION:=556e0a0def956ece0476d99ccb0570ee4ecd4d23
PKG_MAINTAINER:=Yannick Chabanois (Ycarus) <ycarus@zugaina.org>
PKG_SOURCE_PROTO:=git
include $(INCLUDE_DIR)/package.mk
define Package/libbpf
SECTION:=net
CATEGORY:=Network
TITLE:=libbpf
DEPENDS:=+libstdcpp +libelf1
KCONFIG:=CONFIG_BPF_STREAM_PARSER=y
endef
define Package/libbpf/description
libbpf
endef
EXTRA_CPPFLAGS += -fpermissive -Wno-variadic-macros
TARGET_CFLAGS += -DCOMPAT_NEED_REALLOCARRAY
define Build/Configure
endef
define Build/Compile
BUILD_SHARED=y $(MAKE) -C $(PKG_BUILD_DIR)/src \
CC="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)"
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/src/libbpf.so $(1)/usr/lib
$(INSTALL_DIR) $(1)/usr/include/bpf
$(CP) $(PKG_BUILD_DIR)/src/*.h $(1)/usr/include/bpf
endef
define Package/libbpf/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/src/libbpf.so $(1)/usr/lib
endef
$(eval $(call BuildPackage,libbpf))

0
libell/Makefile Executable file → Normal file
View file

0
luci-app-dsvpn/Makefile Executable file → Normal file
View file

View file

0
luci-app-dsvpn/po/fr/dsvpn.po Executable file → Normal file
View file

0
luci-app-dsvpn/po/templates/dsvpn.pot Executable file → Normal file
View file

0
luci-app-dsvpn/po/zh_Hans/dsvpn.po Executable file → Normal file
View file

View file

View file

1
luci-app-firewall/Makefile Executable file → Normal file
View file

@ -10,6 +10,7 @@ LUCI_TITLE:=Firewall and Portforwarding application
LUCI_DEPENDS:=+firewall LUCI_DEPENDS:=+firewall
PKG_LICENSE:=Apache-2.0 PKG_LICENSE:=Apache-2.0
PKG_VERSION:=omr-202103
include $(TOPDIR)/feeds/luci/luci.mk include $(TOPDIR)/feeds/luci/luci.mk

View file

View file

View file

View file

View file

0
luci-app-firewall/po/bg/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/ca/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/cs/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/de/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/el/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/en/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/es/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/fr/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/he/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/hi/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/hu/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/it/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/ja/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/ko/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/mr/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/ms/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/nb_NO/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/pl/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/pt/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/pt_BR/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/ro/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/ru/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/sk/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/sv/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/templates/firewall.pot Executable file → Normal file
View file

0
luci-app-firewall/po/tr/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/uk/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/vi/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/zh_Hans/firewall.po Executable file → Normal file
View file

0
luci-app-firewall/po/zh_Hant/firewall.po Executable file → Normal file
View file

View file

Some files were not shown because too many files have changed in this diff Show more