mingw-w64-coin-or-bcp

maintainer xantares · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 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