From 2027dedfd7af5a73ff7bb5756c4c5d7b99f1bdfd Mon Sep 17 00:00:00 2001 From: Yezzi Hsueh Date: Wed, 30 Oct 2024 23:28:37 +0800 Subject: [PATCH] deps: add upstream submodule --- .gitmodules | 4 ++++ Dockerfile | 1 - opentracker | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 opentracker diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..7c13155 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "opentracker"] + path = opentracker + url = git://erdgeist.org/opentracker + branch = master diff --git a/Dockerfile b/Dockerfile index 6a6c7bc..9b0d4cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,6 @@ FROM alpine as builder RUN apk add git cvs make gcc g++ musl-dev zlib-dev -# 下载依赖库 libowfat 和 opentracker,设置 opentracker 特性:不公开详细信息、允许通告ip、关闭fullscrape、允许代理ip RUN set -ex; cvs -d :pserver:cvs@cvs.fefe.de:/cvs -z9 co libowfat; \ cd libowfat; \ make ${nproc}; \ diff --git a/opentracker b/opentracker new file mode 160000 index 0000000..c854b3d --- /dev/null +++ b/opentracker @@ -0,0 +1 @@ +Subproject commit c854b3db9bf620e86481acfcc9fc31eba64bc8e6