Skip to content

Commit

Permalink
Merged in upstream/mainline
Browse files Browse the repository at this point in the history
  • Loading branch information
zaloisio committed Jan 11, 2020
2 parents 2f4ca15 + 4fecf77 commit 678f422
Show file tree
Hide file tree
Showing 1,264 changed files with 107,311 additions and 60,237 deletions.
35 changes: 35 additions & 0 deletions Changelog-NG.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,41 @@
Asuswrt-Merlin 384/NG Changelog
===============================

384.15 (xx-xxx-xxxx)
- NEW: wan-event script. The first parameter will be the WAN unit
(0 for first WAN, 1 for secondary). The second parameter
will be a string describing the type of event (init,
connected, etc...). A wan-event of type "connected" will
be identical to when the original wan-start script was
being run (wan-start should be considered deprecated
and will be removed in a future release)
- NEW: Implemented an official API for addon developers to
better integrate with the router. This includes up
to ten different pages that can be added anywhere within
the webui, and a dedicated storage repository for your
settings, which can be interacted with through your
custom web page. See the Wiki for more information:

(first draft of the documentation, need to be reorganized)
https://github.com/RMerl/asuswrt-merlin/wiki/Addons-API

- UPDATED: Merged with GPL 385-10002 (from RT-AC68U)
- UPDATED: odhcp6c to 1.1-97-ge199804 (themiron)
- UPDATED: curl to 7.67.0.


384.14_2 (1-1-2020)
- FIXED: Missing cifs kernel module
- FIXED: stubby was linked with OpenSSL 1.0 instead of 1.1
- FIXED: some routers were reporting the Internet connection being
disconnected. If you were affected and you had flashed
a customized bootloader, then please reflash your original
bootloader, as your modded bootloader is invalid, and other
potential issues may appear over time.
- FIXED: Random traffic spikes logged in Traffic Monitor (regression
from 384_81351)


384.14 (14-Dec-2019)
- NEW: Implement option to prevent Firefox's automatic usage of DoH.
By default, this will only apply if you have DNSPrivacy
Expand Down
8 changes: 7 additions & 1 deletion release/src-rt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ else
endif
@echo '#endif' >> router/shared/version.h
endif
@echo '$(BUILD_NAME) $(SERIALNO)-$(EXTENDNO)$(BUILDREV) $(BUILD_TIME)' > router/shared/version
@echo '$(BUILD_NAME) $(SERIALNO)_$(EXTENDNO)$(BUILDREV) $(BUILD_TIME)' > router/shared/version
@echo 'EXTENDNO=$(EXTENDNO)$(BUILDREV)' > router/extendno.conf

rt_ver_ntools:
Expand Down Expand Up @@ -1447,6 +1447,12 @@ define RouterOptions
sed -i "/RTCONFIG_PUSH_EMAIL/d" $(1); \
echo "RTCONFIG_PUSH_EMAIL=y" >>$(1); \
fi; \
if [ "$(AHS)" = "y" ]; then \
sed -i "/RTCONFIG_AHS/d" $(1); \
echo "RTCONFIG_AHS=y" >>$(1); \
sed -i "/RTCONFIG_HTTPS/d" $(1); \
echo "RTCONFIG_HTTPS=y" >>$(1); \
fi; \
if [ "$(RSYSLOGD)" = "y" ]; then \
sed -i "/RTCONFIG_RSYSLOGD/d" $(1); \
echo "RTCONFIG_RSYSLOGD=y" >>$(1); \
Expand Down
2 changes: 1 addition & 1 deletion release/src-rt/target.mak
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export RT-AC68U_BASE := IPV6SUPP=y HTTPS=y ARM=y BCM57=y AUTODICT=y BBEXTRAS=y U

export RT-AC68U := $(RT-AC68U_BASE) FAKEHDR=y FORCE_SN=384 FORCE_EN=20000
export RT-AC68U += BUILD_NAME="RT-AC68U" NEWSSID_REV2=y DBLOG=y ETHOBD=y DWB=y UUPLUGIN=y BTM_11V=y \
BCN_RPT=y INFO_EXAP=y RAST_NONMESH_KVONLY=y IPERF3=y
BCN_RPT=y INFO_EXAP=y RAST_NONMESH_KVONLY=y IPERF3=y AVBLCHAN=y FILEFLEX=y

export DSL-AC68U-NONE := LOGO_LED=y LED_BTN=y REPEATER=y ROG=y
export DSL-AC68U := $(filter-out $(DSL-AC68U-NONE),$(RT-AC68U_BASE))
Expand Down
4 changes: 2 additions & 2 deletions release/src-rt/version.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
KERNEL_VER=3.0
FS_VER=0.4
SERIALNO=384.14
EXTENDNO=0
SERIALNO=384.15
EXTENDNO=alpha1
RCNO=0
89 changes: 52 additions & 37 deletions release/src/router/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#
#


export HND_ROUTER := $(shell pwd | sed 's/.*hnd.*/y/g')
ifeq ($(HND_ROUTER),y)
export BCM_CHIP := 4908
Expand Down Expand Up @@ -719,6 +720,11 @@ obj-$(RTCONFIG_LETSENCRYPT) += socat
#obj-$(RTCONFIG_SYSSTATE) += sysstate
obj-y += sysstate

obj-$(RTCONFIG_AHS) += openssl
obj-$(RTCONFIG_AHS) += $(CURL)
obj-$(RTCONFIG_AHS) += json-c
obj-$(RTCONFIG_AHS) += ahs

obj-$(RTCONFIG_OPENVPN) += libvpn

obj-y += rc
Expand Down Expand Up @@ -855,12 +861,10 @@ obj-y += scsi-idle
endif
obj-y += libusb10
obj-y += libusb
obj-y += libusb-0.1.12
ifeq ($(RTCONFIG_USB),y)
ifneq ($(RTCONFIG_8M_SFP),y)
obj-y += hub-ctrl
endif
endif
obj-$(RTCONFIG_USB_PRINTER) += libusb-0.1.12
obj-$(RTCONFIG_USB_PRINTER) += u2ec
obj-$(RTCONFIG_USB_PRINTER) += LPRng

Expand Down Expand Up @@ -1983,7 +1987,7 @@ ifneq ($(RTCONFIG_USB_EXTRAS),y)
@rm -rf $(TARGETDIR)/lib/modules/*/kernel/drivers/connector || true
@rm -rf $(TARGETDIR)/lib/modules/*/kernel/drivers/block || true
endif
$(if $(or $(RTCONFIG_CIFS),$(RTCONFIG_APP_FILEFLEX)),@cp -f,@mv) $(TARGETDIR)/lib/modules/*/kernel/fs/cifs.*o $(PLATFORMDIR)/extras/ || true
# $(if $(or $(RTCONFIG_CIFS),$(RTCONFIG_APP_FILEFLEX)),@cp -f,@mv) $(TARGETDIR)/lib/modules/*/kernel/fs/cifs.*o $(PLATFORMDIR)/extras/ || true
@cp -f $(TARGETDIR)/lib/modules/*/kernel/fs/cifs.*o $(PLATFORMDIR)/extras/ || true
$(if $(or $(RTCONFIG_BRCM_NAND_JFFS2),$(RTCONFIG_JFFS2)),$(if $(RTCONFIG_JFFSV1),@mv,@cp -f),@mv) $(TARGETDIR)/lib/modules/*/kernel/fs/jffs2.*o $(PLATFORMDIR)/extras/ || true
$(if $(or $(RTCONFIG_BRCM_NAND_JFFS2),$(RTCONFIG_JFFS2)),$(if $(RTCONFIG_JFFSV1),@mv,@cp -f),@mv) $(TARGETDIR)/lib/modules/*/kernel/lib/zlib_*.*o $(PLATFORMDIR)/extras/ || true
Expand Down Expand Up @@ -2923,9 +2927,9 @@ getdns-configure: getdns/configure
--enable-static --disable-shared --disable-gost \
--enable-stub-only --without-libidn --without-libidn2 \
--without-getdns_query --without-getdns_server_mon --with-stubby \
--with-ssl=$(STAGEDIR)/usr --with-libyaml=$(STAGEDIR)/usr \
CFLAGS="-Os -I$(STAGEDIR)/usr/include -ffunction-sections -fdata-sections $(EXTRACFLAGS)" \
LDFLAGS="-L$(STAGEDIR)/usr/lib -Wl,--gc-sections $(EXTRALDFLAGS)" \
--with-ssl=$(TOP)/$(OPENSSL) --with-libyaml=$(STAGEDIR)/usr \
CFLAGS="-Os -I$(TOP)/$(OPENSSL)/include -I$(STAGEDIR)/usr/include -ffunction-sections -fdata-sections $(EXTRACFLAGS)" \
LDFLAGS="-L$(TOP)/$(OPENSSL) -L$(STAGEDIR)/usr/lib -Wl,--gc-sections $(EXTRALDFLAGS)" \
LIBS="-lcrypto -lssl -lyaml"

getdns: $(OPENSSL) libyaml getdns/Makefile
Expand Down Expand Up @@ -3265,36 +3269,37 @@ libupnp-1.3.1/Makefile: libupnp-1.3.1/Makefile.in
$(CONFIGURE) --prefix=/usr --disable-dependency-tracking \
)

libusb10/stamp-h1:
cd libusb10 && CFLAGS="-Os -Wall $(EXTRACFLAGS)" LIBS="-lpthread -ldl -lc $(EXTRALDFLAGS)" \
$(CONFIGURE) --enable-shared --prefix=/usr ac_cv_lib_rt_clock_gettime=no
-@$(MAKE) -C libusb10 clean
touch $@
libusb10/Makefile:
cd libusb10 && \
$(CONFIGURE) --enable-shared --prefix=/usr --disable-udev \
CFLAGS="-Os -Wall $(EXTRACFLAGS)" \
LIBS="-lpthread -ldl -lc $(EXTRALDFLAGS)" \
ac_cv_lib_rt_clock_gettime=no

libusb10: libusb10/stamp-h1
libusb10: libusb10/Makefile
$(MAKE) -C $@

libusb10-install: libusb10
install -D libusb10/libusb/.libs/libusb-1.0.so.0.0.0 $(INSTALLDIR)/libusb10/usr/lib/libusb-1.0.so.0
install -D libusb10/libusb/.libs/libusb-1.0.so.0.2.0 $(INSTALLDIR)/libusb10/usr/lib/libusb-1.0.so.0
$(STRIP) $(INSTALLDIR)/libusb10/usr/lib/*.so.*
cd $(INSTALLDIR)/libusb10/usr/lib && \
ln -sf libusb-1.0.so.0 libusb-1.0.so.0.0.0 && \
ln -sf libusb-1.0.so.0 libusb-1.0.so.0.2.0 && \
ln -sf libusb-1.0.so.0 libusb-1.0.so

libusb10-clean:
-@$(MAKE) -C libusb10 clean
@rm -f libusb10/stamp-h1

libusb/stamp-h1:
cd libusb && CFLAGS="-Wall -Os $(EXTRACFLAGS)" LIBS="-lpthread -ldl -lc $(EXTRALDFLAGS)" \
$(CONFIGURE) --prefix=/usr \
[ ! -f libusb10/Makefile ] || $(MAKE) -C libusb10 distclean
@rm -f libusb10/Makefile

libusb/Makefile:
cd libusb && \
$(CONFIGURE) --enable-shared --prefix=/usr \
CFLAGS="-Os -Wall $(EXTRACFLAGS)" \
LIBS="-lpthread -ldl -lc $(EXTRALDFLAGS)" \
LIBUSB_1_0_CFLAGS="-I$(TOP)/libusb10/libusb" \
LIBUSB_1_0_LIBS="-L$(TOP)/libusb10/libusb/.libs -lusb-1.0 \
-Wl,-R/lib:/usr/lib:/opt/usr/lib:/usr/local/share"
-@$(MAKE) -C libusb clean
touch $@

libusb: libusb10 libusb/stamp-h1
libusb: libusb10 libusb/Makefile
$(MAKE) -C $@

libusb-install: libusb
Expand All @@ -3305,8 +3310,8 @@ libusb-install: libusb
ln -sf libusb-0.1.so.4 libusb.so

libusb-clean:
-@$(MAKE) -C libusb clean
@rm -f libusb/stamp-h1
[ ! -f libusb/Makefile ] || $(MAKE) -C libusb distclean
@rm -f libusb/Makefile

usb-modeswitch-1.2.3: libusb
$(MAKE) -C $@ CC=$(CC) CFLAGS="-Os $(EXTRACFLAGS) -I$(TOP)/libusb/libusb" LIBS="\
Expand Down Expand Up @@ -4735,6 +4740,19 @@ sysstate-install:
echo "install sysstate"
$(MAKE) -C sysstate install

ahs: openssl $(CURL) json-c
@$(SEP)
echo "build ahs"
$(MAKE) -C ahs

ahs-clean:
echo "clean ahs"
$(MAKE) -C ahs clean

ahs-install:
echo "install ahs"
$(MAKE) -C ahs install

qsr10g_image:
aqr107_image:

Expand Down Expand Up @@ -6890,28 +6908,25 @@ libical-2.0.0-install:
ln -sf libicalvcal.so.2.0.0 libicalvcal.so.2

libconfuse/Makefile:
cd libconfuse && $(CONFIGURE) \
CFLAGS="$(EXTRACFLAGS) -Os -I$(STAGEDIR)/usr/include -ffunction-sections -fdata-sections -fPIC" \
LDFLAGS="$(LDFLAGS) -ffunction-sections -fdata-sections -Wl,--gc-sections" \
--prefix=/usr --disable-shared \
--without-libiconv-prefix --without-libintl-prefix --disable-examples --disable-nls
cd libconfuse && $(CONFIGURE) --prefix=/usr --disable-shared \
--disable-examples --disable-nls \
--without-libiconv-prefix --without-libintl-prefix \
CFLAGS="-Wall -Os -ffunction-sections -fdata-sections -fPIC $(EXTRACFLAGS)" \
LDFLAGS="-Wl,--gc-sections $(LDFLAGS)"

libconfuse: libiconv-1.14 libconfuse/Makefile
@$(SEP)
$(MAKE) -C $@
libconfuse: libconfuse/Makefile
$(MAKE) -C $@ && $(MAKE) $@-stage

libconfuse-install:
@$(SEP)
# Do nothing
@true
# install -D libconfuse/src/.libs/libconfuse.so.1.1.0 $(INSTALLDIR)/libconfuse/usr/lib/libconfuse.so.1.1.0
# cd $(INSTALLDIR)/libconfuse/usr/lib && \
# ln -sf libconfuse.so.1.1.0 libconfuse.so.1 &&\
# ln -sf libconfuse.so.1.1.0 libconfuse.so
# $(STRIP) $(INSTALLDIR)/libconfuse/usr/lib/*.so.*


libconfuse-clean:
@$(SEP)
[ ! -f libconfuse/Makefile ] || $(MAKE) -C libconfuse distclean
@rm -f libconfuse/Makefile

Expand Down
2 changes: 1 addition & 1 deletion release/src/router/acme.sh/acme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4002,7 +4002,7 @@ $_authorizations_map"
fi

if [ "$ACME_VERSION" = "2" ]; then
response="$(echo "$_authorizations_map" | grep "^$(_idn "$d")," | sed "s/$d,//")"
response="$(echo "$_authorizations_map" | grep -i "^$(_idn "$d")," | sed "s/$d,//i")"
_debug2 "response" "$response"
if [ -z "$response" ]; then
_err "get to authz error."
Expand Down
Binary file modified release/src/router/acsd_arm/prebuilt/acsd
Binary file not shown.
4 changes: 4 additions & 0 deletions release/src/router/config/config.in
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,10 @@ config RTCONFIG_SYSSTATE
bool "Support additional debug logs"
default n

config RTCONFIG_AHS
bool "Auto Healing System"
default n

config RTCONFIG_DUALWAN
bool "Dual WAN Support"
default n
Expand Down
1 change: 1 addition & 0 deletions release/src/router/config_base
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ RTCONFIG_DNSSEC_OPENSSL=y
# RTCONFIG_MERLINUPDATE is not set
# RTCONFIG_DNSFILTER is not set
RTCONFIG_NTPD=y
# RTCONFIG_AHS is not set
# RTCONFIG_LETSENCRYPT is not set
# RTCONFIG_FBWIFI is not set
# RTCONFIG_ADV_RAST is not set
Expand Down
Loading

0 comments on commit 678f422

Please sign in to comment.