mesos
maintainer carolinedroz
· 14 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source URL is hosted on a mirror of apache.org (apache.cs.utah.edu), which is a legitimate and trusted mirror for Apache project releases; the package builds from official source code, and there is no evidence of malicious or unverifiable content.
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 a mirror of apache.org (apache.cs.utah.edu), which is a legitimate and trusted mirror for Apache project releases; the package builds from official source code, and there is no evidence of malicious or unverifiable content.
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:16
source=("ftp://apache.cs.utah.edu/apache.org/$pkgname/$pkgver/$pkgname-${pkgver}.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Daichi Shinozaki <dsdseg@gmail.com>
2
# Contributor: Matt Coffin <mcoffin13@gmail.com>
3
_python2_ver_major=$(pacman -Qi python2|gawk '$1~/Version/{split($3,v,".");print v[1] "." v[2]}')
4
pkgname=mesos
5
pkgver=1.9.0
6
pkgrel=1
7
pkgdesc="A cluster manager that simplifies the complexity of running applications on a shared pool of servers"
8
arch=('i686' 'x86_64')
9
url=http://mesos.apache.org/
10
license=('Apache')
11
groups=('science')
12
depends=('python2' 'zlib' 'curl' 'java-environment' 'apr' 'subversion' 'cyrus-sasl' 'libnl>=3.2.28' 'libevent>=2' 'boost' 'boost-libs' 'leveldb' 'libarchive' 'rapidjson' 'google-glog')
13
optdepends=('openssl: ssl support')
14
makedepends=('maven' 'python2-setuptools' 'openssl' 'ninja')
15
#conflicts=('python2-shutilwhich')
16
source=("ftp://apache.cs.utah.edu/apache.org/$pkgname/$pkgver/$pkgname-${pkgver}.tar.gz"
17
"https://apache.org/dist/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz.asc"
18
"$pkgname-master.service"
19
"$pkgname-slave.service"
20
"hardcode-sources.patch"
21
0001-build-Fix-build-on-systems-where-gettid-is-provided-.patch)
22
# keys from: https://apache.org/dist/mesos/KEYS
23
validpgpkeys=('4BF2061E73003185CA06E30FF99D6AD0F6FB762C' 'CE2C077CF6F6F7002DB0DB6AB5DA0D371B207A4D' '90A7F1E40A9BE920A82F4302CD56EF3924E79653' '3C0F564C3072733A83DC4511D1F466FDEDBC014B' '77F89AEEAD21B78B7C2DA9DB1A4EF22FD495B11E' '81BF3C55090CBE9684680A0348AF30DC5E47E0EA' 'D8FF2F25C752BA1354CB3F29CD910E8DFA23D685' '2A145F425F2299357E20004CC5BCD6DC398DF4F4' 'D6A0C1307D16A1F5DCD1E5C8CAFE789EAA31D1F2' 'FCD2F95760240B4D6ECAEA1BBAE9E5C50C4D1C63' 'E2454C1707E80C55B76B768C82F0CB466AACBD2B' '7FDF9F586C1BE20B192DB40DA479BB4EED50F391' '291ACACD6BD9A90C1ABFFE7517F6D528A2C2C74A' '7144142BE6DD206231B170DD174FB9FAC5FF85C1' 'D64C61111ED9909C9071524FBDC218FB9AF7DC86' '070745B0AB67A2D3314D335623B0ADA4EF26082C' '30B6CAF9AB8560B2A3DAB2A6D10295D0D6EF55AD' '526039B46E41368725C5B8790D5D2740E285E9AE' 'DDE08F9E628A61F091D791AECA6CF752916F1F0B')
24
25
sha512sums=('77b88719691a0442b05d53fb022f8f147deaf65a47e0c95bd9e25f888b7bca32b5e6f91c1361e4bdbb5f8e299f01f55a37c003ba66e7c72c43900572d35735cb'
26
'SKIP'
27
'42d7e11412ca9634297e55f33867c8897c58da7a10c113f6892311a5e362066d7e54377be2856c4fed641bcff75843cc243d5ac65e7eafbe79c8d25e5c033d14'
28
'a270d59551aaeb2bdbec7e5c6a2da02249299d208dba0ed3c9503b36b7928cc6a4920e795d865ce71c5a7fb4d492e37f434a210acd7beac9613f5bb155d79132'
29
'92425bd2eb1c56812bdddf8ec540579b773043353ee9bf3f4c7e20bb4970c83c7b9ea1faecc38dc6d3f27e4125ceca9c35f7082e013c706ce6a28bc06d223cfe'
30
'020ebdd3026643585d4cc8366ea9ac2144df7ee27f3ef42ef57d3dbb9d8a9bb5d3a0c3631ff9d0bfcae2eada1219bb8f0c92962cbc8f4fb9630892c945f1d77b')
31
32
33
prepare() {
34
cd "$srcdir/$pkgname-$pkgver${_pkgver_minor}"
35
if [ ! -d build ]; then
36
mkdir build
37
fi
38
if [ ! -d build/.m2 ]; then
39
mkdir build/.m2
40
fi
41
if [ ! -f configure ]; then
42
./bootstrap
43
fi
44
# fix python path (/usr/bin/env python -> python2)
45
find src/cli -type f -print | xargs sed --in-place -e "1 s/\(\/usr\/bin\/env python$\)/\12/"
46
pushd src/java
47
patch < ../../../hardcode-sources.patch
48
popd
49
50
# Fix gettid
51
patch -p1 < $srcdir/0001-build-Fix-build-on-systems-where-gettid-is-provided-.patch
52
./bootstrap
53
}
54
55
build() {
56
cd "$srcdir/$pkgname-$pkgver${_pkgver_minor}"/build
57
PYTHON=python${_python2_ver_major} \
58
../configure \
59
--enable-optimize \
60
--prefix=/usr \
61
--sysconfdir=/etc \
62
--libexecdir=/usr/lib \
63
--exec-prefix=/usr \
64
--sbindir=/usr/bin \
65
--enable-ssl \
66
--enable-libevent \
67
--with-boost=/usr \
68
--with-leveldb=/usr \
69
--with-libarchive=/usr \
70
--with-rapidjson=/usr \
71
--with-glog=/usr \
72
--disable-java \
73
--disable-python \
74
--disable-werror \
75
--with-network-isolator
76
make
77
# cmake .. -G Ninja \
78
# -DCMAKE_BUILD_TYPE=Release \
79
# -DENABLE_SSL=TRUE \
80
# -DENABLE_LIBEVENT=TRUE
81
# ninja
82
}
83
84
check() {
85
msg "Skipping 'make check'."
86
msg2 "(Because it takes very long time to complete)"
87
#cd "$srcdir/$pkgname-$pkgver${_pkgver_minor}"/build
88
#make -k check
89
}
90
91
package() {
92
mkdir -p $pkgdir/usr/lib/$pkgname
93
cd "$srcdir/$pkgname-$pkgver${_pkgver_minor}"/build
94
make DESTDIR="$pkgdir/" install
95
mkdir -p -m755 $pkgdir/usr/share/java/$pkgname
96
mkdir -p -m755 $pkgdir/var/{lib,log}/$pkgname
97
# install -m644 ./src/java/mesos.pom $pkgdir/usr/share/java/$pkgname/
98
# install -m644 ./src/java/target/*.jar $pkgdir/usr/share/java/$pkgname/
99
mkdir -p -m755 $pkgdir/usr/lib/systemd/system
100
install -m644 $srcdir/$pkgname-{master,slave}.service $pkgdir/usr/lib/systemd/system
101
# mkdir -p -m755 $pkgdir/usr/share/mesos/python-eggs
102
# cp ./src/python/dist/mesos*.egg $pkgdir/usr/share/mesos/python-eggs
103
# python
104
# pushd src/python
105
# python2 setup.py install --root="$pkgdir" --optimize=1
106
# popd
107
# pushd ${pkgdir}/usr/lib/python${_python2_ver_major}/site-packages
108
# ls | grep -v mesos | xargs rm -rf
109
# popd
110
# pushd ${pkgdir}/usr/bin
111
# rm -rf easy_install*
112
# popd
113
# chmod 755 ${pkgdir}/usr/lib/python${_python2_ver_major}
114
# chmod 755 ${pkgdir}/usr/lib/python${_python2_ver_major}/site-packages
115
}
116
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |