searxng-uwsgi-git
The pip installs are part of building the project from its own source (git checkout); the dependencies are declared in requirements.txt and used to build a wheel from the same source, which is normal for Python packages.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The pip installs are part of building the project from its own source (git checkout); the dependencies are declared in requirements.txt and used to build a wheel from the same source, which is normal for Python packages.
1 higher static finding superseded - not the current verdict (shown for transparency)
pip_install_external
`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:42
pip install --upgrade pip build installer wheel setuptools -
PKGBUILD:44
pip install -r requirements.txt -
PKGBUILD:65
pip install virtualenv-tools4
PKGBUILD
3 offending line(s) highlighted# Maintainer: 30p87 <aur@30p87.de>
# Based on: HLFH <gaspard@dhautefeuille.eu>
pkgname=searxng-uwsgi-git
_pkgname=searxng
pkgver=r9660.e8e710e
pkgrel=1
pkgdesc='A privacy-respecting, hackable metasearch engine'
arch=('any')
url='https://searxng.github.io/searxng/'
license=('AGPL-3.0-or-later')
makedepends=('git')
depends=('uwsgi' 'uwsgi-plugin-python' 'valkey')
provides=('searxng')
conflicts=('searx' 'searx-git' 'searxng-git' 'searxng-uwsgi-novenv-git' 'searxng-uwsgi')
replaces=('searxng-uwsgi')
backup=('etc/searxng/settings.yml' 'etc/uwsgi/searxng.ini')
_giturl='https://github.com/searxng/searxng'
_gitbranch='master'
source=("git+${_giturl}#branch=${_gitbranch}"
'nginx.example.conf'
'uwsgi.ini'
'sysusers.conf'
'tmpfiles.conf'
'settings.yml')
b2sums=('SKIP'
'3cab48a25dc02f6bb861f32d2e33bd670b4447745c3c56b8bbd7f4183e38c2464c14b8257d9bebb332646ca892575b9090afdae771a9174517ac7d303cde7a69'
'0cea85bfd713b68da71da0651f80f1c2cdb9231d092684f95ca4bba572124e82f00dc8e666a45b76344f1b5dc67d216978a24850bf0a86e9a053514a1c030ed5'
'3487c220d6c538dba60671aaaf0927746d8ede4d47f901e01542efdf74dc067ade3d3ee30b500f08d3ef00c2ceba460961e0f4329a4afc32b83e42d8761d5e41'
'65f66920c96dfd8d68570fb48adb4f74894f188d2a71b1b9214372b43d4b34ab029404ea2eeb3709cce190276d375a2a816e5b7fc3b39210b447337c361bb8d9'
'99bb7a7dfdab65a8844beb7dd4924601e2f9e85aacacc526a18881dc53e1fa270ff2653c5ada2ce0f92ecebac8917afa974116c09b3e61977b21d70b0f6a4d37')
pkgver() {
cd searxng
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cd "${srcdir}/${_pkgname}"
python -m venv venv
source venv/bin/activate
pip install --upgrade pip build installer wheel setuptools
pip install -r requirements.txt
export SEARXNG_SETTINGS_PATH='../settings.yml'
python -m searx.version freeze
sed -i "s|GIT_URL =.*|GIT_URL = \"${_giturl}\"|g" searx/version_frozen.py
sed -i "s|GIT_BRANCH =.*|GIT_BRANCH = \"${_gitbranch}\"|g" searx/version_frozen.py
# Build the package
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_pkgname}"
source venv/bin/activate
local site_packages="$(python -c 'import site, os; print(os.path.relpath(site.getsitepackages()[0]))')"
# Install package
python -m installer dist/*.whl
# Update the venv path
pip install virtualenv-tools4
cd venv
virtualenv-tools --update-path /var/lib/searxng/venv/
sed -i "s|$(pwd)|/var/lib/searxng/venv/|g" bin/* pyvenv.cfg
# Copy the venv directory
install -d -m 750 "${pkgdir}/var/lib/searxng/venv"
cp -r . "${pkgdir}/var/lib/searxng/venv"
ln -s "/var/lib/searxng/venv/lib/$(basename ${pkgdir}/var/lib/searxng/venv/lib/python3.*)/site-packages/searx/static" "${pkgdir}/var/lib/searxng/static"
install -Dm644 "${srcdir}/uwsgi.ini" "${pkgdir}/etc/uwsgi/searxng.ini"
install -dm750 "${pkgdir}/etc/searxng"
install -Dm640 "${srcdir}/settings.yml" "${pkgdir}/etc/searxng/settings.yml"
install -Dm640 "${srcdir}/searxng/searx/limiter.toml" "${pkgdir}/etc/searxng/limiter.toml"
install -dm750 "${pkgdir}/var/lib/searxng"
install -Dm640 "${srcdir}/searxng/searx/version_frozen.py" "${pkgdir}/var/lib/searxng/${site_packages}/searx/version_frozen.py"
install -Dm644 "${srcdir}/searxng/LICENSE" "${pkgdir}/usr/share/licenses/searxng/LICENSE"
install -Dm644 "${srcdir}/nginx.example.conf" "${pkgdir}/usr/share/doc/searxng/nginx.example.conf"
install -Dm644 "${srcdir}/sysusers.conf" "${pkgdir}/usr/lib/sysusers.d/searxng.conf"
install -Dm644 "${srcdir}/tmpfiles.conf" "${pkgdir}/usr/lib/tmpfiles.d/searxng.conf"
}
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 |