angie-tongsuo
The package builds from source hosted on the project's own domain and GitHub; the non-whitelisted host is the project's official download site, and the source is verified with checksums, posing low risk.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds from source hosted on the project's own domain and GitHub; the non-whitelisted host is the project's official download site, and the source is verified with checksums, posing low risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:28
source=(https://download.angie.software/files/$_pkgname-$pkgver.tar.gz
PKGBUILD
1 offending line(s) highlighted# Maintainer: 咸粽子 <xianzongzi aliyun.com>
pkgname=angie-tongsuo
_pkgname=angie
pkgver=1.11.4
_tongsuo_version=8.4.0
pkgrel=1
pkgdesc="Angie is an efficient, powerful, and scalable web server that was forked from angie.With Tongsuo.带了铜锁密码库的 angie,支持国密 NTLS。"
arch=("x86_64")
url="https://angie.software"
license=(custom)
groups=()
depends=(gd geoip pcre2 zlib glibc libxcrypt)
makedepends=()
provides=()
conflicts=()
replaces=()
options=()
backup=(etc/angie/fastcgi.conf
etc/angie/fastcgi_params
etc/angie/koi-win
etc/angie/koi-utf
etc/angie/mime.types
etc/angie/angie.conf
etc/angie/scgi_params
etc/angie/uwsgi_params
etc/angie/win-utf
etc/logrotate.d/angie)
source=(https://download.angie.software/files/$_pkgname-$pkgver.tar.gz
Tongsuo-$_tongsuo_version.tar.gz::https://github.com/Tongsuo-Project/Tongsuo/archive/refs/tags/$_tongsuo_version.tar.gz
)
sha256sums=('b95009ceef7a1c40809aead95f71901ca1c5c9d2630eca0763853811b641983c'
'57c2741750a699bfbdaa1bbe44a5733e9c8fc65d086c210151cfbc2bbd6fc975')
_common_flags=(
--with-compat
--with-debug
--with-file-aio
--with-http_addition_module
--with-http_auth_request_module
--with-http_dav_module
--with-http_degradation_module
--with-http_flv_module
--with-http_geoip_module
--with-http_gunzip_module
--with-http_gzip_static_module
--with-http_image_filter_module
--with-http_mp4_module
--with-http_random_index_module
--with-http_realip_module
--with-http_secure_link_module
--with-http_slice_module
--with-http_ssl_module
--with-http_stub_status_module
--with-http_sub_module
--with-http_v2_module
--with-http_v3_module
--with-openssl=../Tongsuo-$_tongsuo_version
--with-openssl-opt=enable-ntls
--with-ntls
--with-mail
--with-mail_ssl_module
--with-pcre-jit
--with-stream
--with-stream_geoip_module
--with-stream_realip_module
--with-stream_ssl_module
--with-stream_ssl_preread_module
--with-threads
)
_stable_flags=(
)
build() {
cd "$_pkgname-$pkgver"
./configure \
--prefix=/etc/angie \
--conf-path=/etc/angie/angie.conf \
--sbin-path=/usr/bin/angie \
--pid-path=/run/angie.pid \
--lock-path=/run/lock/angie.lock \
--user=http \
--group=http \
--http-log-path=/var/log/angie/access.log \
--error-log-path=stderr \
--http-client-body-temp-path=/var/lib/angie/client-body \
--http-proxy-temp-path=/var/lib/angie/proxy \
--http-fastcgi-temp-path=/var/lib/angie/fastcgi \
--http-scgi-temp-path=/var/lib/angie/scgi \
--http-uwsgi-temp-path=/var/lib/angie/uwsgi \
--with-cc-opt="$CFLAGS $CPPFLAGS" \
--with-ld-opt="$LDFLAGS" \
${_common_flags[@]} \
${_stable_flags[@]}
make
}
package() {
cd "$_pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
rm "$pkgdir"/etc/angie/*.default
# rm "$pkgdir"/etc/angie/mime.types # in mailcap ==> /etc/nginx/mime.types
install -d "$pkgdir"/var/lib/angie
install -dm700 "$pkgdir"/var/lib/angie/proxy
chmod 755 "$pkgdir"/var/log/angie
chown root:root "$pkgdir"/var/log/angie
install -Dm644 ../../logrotate "$pkgdir"/etc/logrotate.d/angie
install -Dm644 ../../service "$pkgdir"/usr/lib/systemd/system/angie.service
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE_angie
install -Dm644 ../Tongsuo-$_tongsuo_version/LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE_Tongsuo
rmdir "$pkgdir"/run
install -d "$pkgdir"/usr/share/man/man8/
gzip -9c man/angie.8 > "$pkgdir"/usr/share/man/man8/angie.8.gz
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |