File Name
Size

Unbound - Static 版本

已迁移到 GitHub:https://github.com/sbwml/unbound-static


安装目录 /opt

tar -Jxvf unbound-1.17.1-static_x86_64.tar.xz -C /opt

使用参数:

./configure \
  --prefix=/opt/unbound \
  --with-username="" \
  --with-chroot-dir="" \
  --with-run-dir="" \
  --disable-shared \
  --disable-rpath \
  --enable-tfo-client \
  --enable-tfo-server \
  --enable-fully-static \
  --enable-pie \
  --enable-subnet \
  --enable-dnscrypt \
  --enable-cachedb \
  --enable-ipsecmod \
  --enable-ipset \
  --with-libnghttp2="../extra/libnghttp2" \
  --with-libevent="../extra/libevent" \
  --with-libsodium="../extra/libsodium" \
  --with-libmnl="../extra/libmnl" \
  --with-ssl="../extra/openssl" \
  --with-libhiredis="../extra/libhiredis" \
  CFLAGS="-Ofast -funsafe-math-optimizations -ffinite-math-only -fno-rounding-math -fexcess-precision=fast -funroll-loops -ffunction-sections -fdata-sections -pipe" \
  LDFLAGS="-L../extra/expat/lib -lexpat" \
  CC=clang CXX=clang++

版本信息

扩展 版本
unbound 1.17.1
openssl 1.1.1t
libsodium 1.0.18-stable
libmnl 1.0.5
libhiredis 1.1.0
libevent 2.1.12
nghttp2 1.52.0
工具链 版本
clang 17.0.0
aarch64-none-linux-gnu 10.3-2021.07