mingw-w64-coin-or-bcp

LOW
maintainer xantares 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source URL is hosted on the project's official domain (coin-or.org), which is a standard and legitimate host for COIN-OR projects; downloading source code from the official project domain, even if not on a whitelist, constitutes a normal and safe AUR packaging practice.

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 source URL is hosted on the project's official domain (coin-or.org), which is a standard and legitimate host for COIN-OR projects; downloading source code from the official project domain, even if not on a whitelist, constitutes a normal and safe AUR packaging practice.

1 higher static finding superseded - not the current verdict (shown for transparency)
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:12 source=("http://www.coin-or.org/download/source/Bcp/Bcp-${pkgver}.tgz")

PKGBUILD

1 offending line(s) highlighted
1pkgname=mingw-w64-coin-or-bcp
2pkgver=1.4.4
3pkgrel=1
4pkgdesc="COIN-OR parallel branch-cut-price algorithms for mixed-integer linear programs (mingw-w64)"
5arch=('any')
6url="https://projects.coin-or.org/Bcp"
7license=('EPL')
8groups=('mingw-w64-coin-or')
9depends=('mingw-w64-coin-or-vol' 'mingw-w64-coin-or-cgl')
10makedepends=('mingw-w64-configure')
11options=('staticlibs' '!buildflags' '!strip')
12source=("http://www.coin-or.org/download/source/Bcp/Bcp-${pkgver}.tgz")
13sha256sums=('8b490ad35c28a79806f84dacbdc36d602ce0a3a4e32c3575f99495c6e6b4906e')
14
15_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
16
17prepare() {
18 cd "$srcdir/Bcp-$pkgver"
19 curl -L https://github.com/coin-or/Bcp/commit/e581a2dd4b55352eb318c15e8281b3cc9d8abe23.patch | patch -p1
20}
21
22build() {
23 cd "$srcdir/Bcp-$pkgver"
24 for _arch in ${_architectures}; do
25 mkdir -p build-${_arch} && pushd build-${_arch}
26 COIN_SKIP_PROJECTS="Sample" \
27 LDFLAGS="$LDFLAGS -lOsi" LIBS="-lssp" ${_arch}-configure \
28 --with-osi-lib="$(${_arch}-pkg-config --libs osi)" \
29 --with-osi-incdir="/usr/${_arch}/include/coin/" \
30 --with-clp-lib="$(${_arch}-pkg-config --libs clp)" \
31 --with-clp-incdir="/usr/${_arch}/include/coin/" \
32 --with-cgl-lib="$(${_arch}-pkg-config --libs cgl)" \
33 --with-cgl-incdir="/usr/${_arch}/include/coin/" \
34 --with-vol-lib="$(${_arch}-pkg-config --libs vol)" \
35 --with-vol-incdir="/usr/${_arch}/include/coin/" \
36 --with-coinutils-lib="$(${_arch}-pkg-config --libs coinutils)" \
37 --with-coinutils-incdir="/usr/${_arch}/include/coin/" \
38 lt_cv_deplibs_check_method=pass_all ..
39 make
40 popd
41 done
42}
43
44package() {
45 for _arch in ${_architectures}; do
46 cd "$srcdir"/Bcp-$pkgver/build-${_arch}
47 PKG_CONFIG_PATH_CUSTOM="$pkgdir"/usr/${_arch}/lib/pkgconfig/ \
48 make DESTDIR="$pkgdir"/ install
49 rm -r "$pkgdir"/usr/${_arch}/share
50 #rm "$pkgdir"/usr/${_arch}/bin/*.exe
51 ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
52 ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
53 done
54}
55

Scan history

Scanned at (UTC)SeverityRules
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 17:54:21 Medium 1
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

Report a package

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

0 / 4000
Your suggestion