Breaking changes

Fix data URIs not correctly parsed.
Fix downloading files may be caught in infinite redirect loops.
Add experimental JavaScript support for providing subscriptions, filtering nodes, sorting nodes and generating groups.
Add tag support for adding group name to a specific link.
Add complete matcher support for Emoji and rename match rule.
Optimize codes.
Update build scripts.
This commit is contained in:
Tindy X committed 2020-05-29 19:15:05 +08:00
1 parent 8385792fec
commit f30b3c7cbf
19 files changed
+650 -249

No files matched your search

+15 -2
View File
@@ -3,7 +3,20 @@ MAINTAINER Tindy X <tindy.it@gmail.com>
# build minimized
RUN apk add git g++ build-base linux-headers cmake && \
apk add libressl-dev curl-dev rapidjson-dev libevent-dev pcre2-dev yaml-cpp-dev && \
apk add libressl-dev curl-dev rapidjson-dev libevent-dev pcre2-dev yaml-cpp-dev python2 py2-pip && \
git clone https://github.com/svaarala/duktape --depth=1 && \
cd duktape && \
pip2 install PyYAML && \
python2 util/dist.py && \
cd dist/src && \
cc -c -O3 -o duktape.o duktape.c && \
cc -c -O3 -o duk_module_node.o -I. ../extras/module-node/duk_module_node.c && \
ar cr libduktape.a duktape.o && \
ar cr libduktape_module.a duk_module_node.o && \
install -m0644 *.a /usr/lib && \
install -m0644 duk*.h /usr/include && \
install -m0644 ../extras/module-node/duk_module_node.h /usr/include && \
cd ../../.. && \
git clone https://github.com/tindy2013/subconverter && \
cd subconverter && \
cmake . && \
@@ -13,7 +26,7 @@ RUN apk add git g++ build-base linux-headers cmake && \
cd .. && \
rm -rf subconverter && \
apk add pcre2 libcurl yaml-cpp libevent && \
apk del git gcc g++ build-base linux-headers cmake libressl-dev curl-dev rapidjson-dev libevent-dev pcre2-dev yaml-cpp-dev
apk del git gcc g++ build-base linux-headers cmake libressl-dev curl-dev rapidjson-dev libevent-dev pcre2-dev yaml-cpp-dev python2 py2-pip
# set entry
WORKDIR /base