odoo-nightly

maintainer HLFH · 2 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package builds Odoo from its official nightly source and installs Python dependencies via pip, which is standard for Python applications; the non-whitelisted host is Odoo's own infrastructure, and the pip installs are for declared dependencies, posing no inherent supply-chain risk beyond typical source-based packaging.

Triggered rules

LOW AI review downgraded a static finding 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 Odoo from its official nightly source and installs Python dependencies via pip, which is standard for Python applications; the non-whitelisted host is Odoo's own infrastructure, and the pip installs are for declared dependencies, posing no inherent supply-chain risk beyond typical source-based packaging.

2 higher static findings superseded - not the current verdict (shown for transparency)
MEDIUM pip install of an external package pip_install_external

`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.

  • PKGBUILD:35 pip install --upgrade pip build installer wheel
  • PKGBUILD:40 pip install -r requirements.txt
  • PKGBUILD:43 pip install xmltodict
  • PKGBUILD:57 pip install virtualenv-tools3
MEDIUM source=() URL on a non-standard host 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:17 source=("https://nightly.odoo.com/$pkgver/nightly/src/${_pkgname}_$pkgver.latest.tar.gz"

PKGBUILD

5 offending line(s) highlighted
1# Maintainer: HLFH <gaspard@dhautefeuille.eu>
2# Contributor: SamWhited <sam@samwhited.com>
3
4pkgname="odoo-nightly"
5_pkgname="odoo"
6pkgver=17.0
7pkgrel=16
8pkgdesc="Odoo. Open Source Apps To Grow Your Business."
9url="https://odoo.com/"
10arch=("any")
11license=("LGPL-3.0-only")
12conflicts=("openerp" "odoo" "odoo-17")
13replaces=("openerp" "odoo" "odoo-17")
14depends=("postgresql"
15 "wkhtmltopdf-static"
16 "python310")
17source=("https://nightly.odoo.com/$pkgver/nightly/src/${_pkgname}_$pkgver.latest.tar.gz"
18 "odoo.conf"
19 "odoo.service"
20 "odoo.sysusers"
21 "odoo.tmpfiles")
22b2sums=('SKIP'
23 'e0a384d279b7b2c09261041d630e65a2237f6ee4838cdc6d7cc839b7a0a83f7c93ff591c0a27f84d51b80a6f44c7933268a603c0318348d16795e4fa8e58b859'
24 'faeecb1fa46237b65064668fe2366d6f62c1faee65db00c6d950670e4fc2c1a183ccbd463cb38985335654e83ddf5c198cc9cb73c9eaccf9ee9791f265518cac'
25 '311757f40c9de2845482ebf22e36469cc1058396bba9edaa2265a2bd085e2bcdd22115b098af3aaa037f7dac3a81212ae8b249df0b268f6bf2d798ee01698aae'
26 '80e9a5954c3eece0be4c4f44e60d519a30e6264fd1d57a77eba46581faf71f66c4404247b71925dd0970a5b7bfb2bda99cc3c38bd663f443b258385d0f85be83')
27backup=("etc/odoo/odoo.conf")
28install="odoo.install"
29options=("!strip")
30
31build() {
32 cd "$_pkgname-$pkgver.post"*
33 python3.10 -m venv .venv
34 source .venv/bin/activate
35 pip install --upgrade pip build installer wheel
36
37 # provide out-of-the-box compatibility with the merge of libldap and libldap_r that happened with OpenLDAP's 2.5 release
38 sed -i 's/python-ldap==3.4.0/python-ldap==3.4.2/' requirements.txt
39
40 pip install -r requirements.txt
41
42 # Install Odoo DPD France dependency
43 pip install xmltodict
44
45 # Build the package
46 python -m build --wheel
47}
48
49package() {
50 cd "$_pkgname-$pkgver.post"*
51 source .venv/bin/activate
52
53 # Install package
54 python -m installer dist/*.whl
55
56 # Update the .venv path
57 pip install virtualenv-tools3
58 cd .venv
59 virtualenv-tools --update-path /var/lib/odoo/.venv/
60
61 # Copy the .venv directory
62 rm -rf "bin/__pycache__"
63 install -d -m 750 "$pkgdir/var/lib/odoo/.venv"
64 cp -r . "$pkgdir/var/lib/odoo/.venv/"
65
66 # Configuration file
67 install -d -m 750 "$pkgdir/etc/odoo"
68 install -D -m 640 "$srcdir/odoo.conf" "$pkgdir/etc/odoo/odoo.conf"
69
70 # Systemd files
71 install -D -m 644 "$srcdir/odoo.service" "$pkgdir/usr/lib/systemd/system/odoo.service"
72 install -D -m 644 "$srcdir/odoo.sysusers" "$pkgdir/usr/lib/sysusers.d/odoo.conf"
73 install -D -m 644 "$srcdir/odoo.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/odoo.conf"
74
75 # Clean build
76 rm -rf "$srcdir/$_pkgname-$pkgver.post"*
77}
78

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 3
2026-08-02 00:16:08 LOW 3
2026-08-01 00:11:18 LOW 3
2026-07-31 00:14:10 LOW 3
2026-07-30 00:17:23 LOW 3
2026-07-29 00:25:53 LOW 3
2026-07-28 00:07:28 LOW 3
2026-07-27 00:24:32 LOW 3
2026-07-26 00:07:32 LOW 3
2026-07-25 00:13:44 LOW 3
2026-07-24 00:02:28 LOW 3
2026-07-23 00:14:47 LOW 3
2026-07-22 00:29:32 LOW 3
2026-07-21 00:24:15 LOW 3
2026-07-20 00:19:49 LOW 3
2026-07-19 00:17:08 LOW 3
2026-07-18 00:14:48 LOW 3
2026-07-17 00:06:16 LOW 3
2026-07-16 00:05:41 LOW 3
2026-07-15 00:09:25 LOW 3

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion