xenstore
maintainer orphaned
· 4 votes
· base
xe-guest-utilities
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds and installs XenServer guest utilities from a known source in the Arch Linux community repository; the flagged pattern of being recently orphaned and re-adopted is administrative and does not imply malicious intent or code changes.
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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds and installs XenServer guest utilities from a known source in the Arch Linux community repository; the flagged pattern of being recently orphaned and re-adopted is administrative and does not imply malicious intent or code changes.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
Recently orphaned & re-adopted
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
1
# $Id: PKGBUILD 127137 2015-02-04 23:02:34Z bluewind $
2
# Maintainer: Felix Golatofski <contact@xdfr.de>
3
# Contributor: Daniel Wallace <danielwallace at code gtmanfred com>
4
# Contributor: Phillip Smith <fukawi2@NO-SPAM.gmail.com>
5
# Contributor: Krzysztof Raczkowski <raczkow@gnu-tech.pl>
6
7
pkgbase=xe-guest-utilities
8
pkgname=('xe-guest-utilities' 'xenstore')
9
pkgver=6.2.0
10
pkgrel=4
11
pkgdesc="Citrix XenServer Tools"
12
arch=('i686' 'x86_64')
13
url="http://citrix.com/English/ps2/products/product.asp?contentID=683148&ntref=hp_nav_US"
14
license=('GPL' 'LGPL')
15
makedepends=(python2)
16
options=(staticlibs)
17
source=("https://sources.archlinux.org/other/community/$pkgbase/${pkgbase}_${pkgver}-1120.tar.gz"
18
'ip_address.patch'
19
'xe-linux-distribution.service'
20
'xe-daemon.service'
21
'proc-xen.mount'
22
'tmpfile')
23
sha512sums=('6b9b59facf6cce6eff4586423e11e82dcb0666584832a4fe2c545fb39596d96741ecb3a2c8df11a6de57c8d1e2060b2000443c4e889ac8f501d28b186dcd3d5b'
24
'05e75229319904a20325850fc35bb66f84811b82efe458dad42fff5d5a31e8cf9d23d9864c8f152d1b6b782cdddf286d2e7ffb05e952e28694b6f27579f04313'
25
'1673e9f88675fbe884b29a5a17e8d930ec37e244065becea81ab270becd5b846b23aefb12fe67abaf7b9c4527c0a9d7e5da6aa6750208575686202eff673ec96'
26
'746dcaa4ed4784b7c27d2ad98a5f1f2fa2aed02f3df375b6c2bb1551822dee445eecef260081cb567a7b507a57a5b2278430033b545a4cd56e3bdfd53d427d2f'
27
'6afdf16e32bb837faf6333334f86855a746f1f46fee9673a4fddc62eecf41f9856bc34397807203c6f5071f0b1ce74532214084042154585c0d39514450db25c'
28
'39dfab424375fb05d973883e9ec6b9a58041aeb5d104e9c58e41ef0f358e027702d2e8ae6fc64a9d752b089497584aeaf691d2dfa3dee61fa5738ec5d04eb423')
29
30
prepare(){
31
patch -d $srcdir/$pkgname-$pkgver -Np1 -i $srcdir/ip_address.patch
32
bsdtar xf "$srcdir/$pkgname-$pkgver/xenstore-sources.tar.bz2"
33
}
34
35
build() {
36
export CC=gcc
37
CFLAGS='-Wall -Wstrict-prototypes -Wno-unused-local-typedefs -Wno-sizeof-pointer-memaccess -Wno-maybe-uninitialized -Wno-stringop-truncation -Xlinker "--allow-multiple-definition"'
38
export CFLAGS
39
export PYTHON=python2
40
cd "$srcdir/uclibc-sources"
41
make -C tools/include
42
make -C tools/libxc
43
make -C tools/xenstore
44
}
45
46
package_xenstore() {
47
depends=(bzip2 lzo zlib xz)
48
export CFLAGS+='-Wall -Wstrict-prototypes -Wno-unused-local-typedefs -Wno-sizeof-pointer-memaccess'
49
if [[ $CARCH == x86_64 ]]; then
50
export LIBLEAFDIR_x86_64=lib
51
fi
52
for f in include libxc xenstore; do
53
[[ ! -d "$srcdir"/uclibc-sources/tools/$f ]] && continue
54
make -C ""$srcdir"/uclibc-sources/tools/$f" DESTDIR="$pkgdir" SBINDIR=/usr/bin install
55
done
56
cd "$srcdir/$pkgbase-$pkgver"
57
install -Dm644 "COPYING.LGPL" "$pkgdir/usr/share/licenses/$pkgname/COPYING.LGPL"
58
install -Dm644 "COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
59
install -Dm644 $srcdir/proc-xen.mount "$pkgdir/usr/lib/systemd/system/proc-xen.mount"
60
install -Dm644 $srcdir/tmpfile "$pkgdir/usr/lib/tmpfiles.d/30-xenstored.conf"
61
rm -r "$pkgdir"/var
62
}
63
64
package_xe-guest-utilities(){
65
cd "$srcdir/$pkgname-$pkgver"
66
depends=('xenstore' 'bash' 'lsb-release')
67
install -Dm755 xe-linux-distribution "$pkgdir/usr/bin/xe-linux-distribution"
68
install -Dm755 xe-update-guest-attrs "$pkgdir/usr/bin/xe-update-guest-attrs"
69
install -Dm755 xe-daemon "$pkgdir/usr/bin/xe-daemon"
70
install -Dm644 xen-vcpu-hotplug.rules "$pkgdir/usr/lib/udev/rules.d/10-xen-vcpu-hotplug.rules"
71
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
72
install -Dm644 $srcdir/xe-daemon.service "$pkgdir/usr/lib/systemd/system/xe-daemon.service"
73
install -Dm644 $srcdir/xe-linux-distribution.service "$pkgdir/usr/lib/systemd/system/"
74
sed -i 's:sbin:bin:' $pkgdir/usr/bin/xe-daemon
75
}
76
77
# vim:set ts=2 sw=2 et:
78
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 23:12:22 | MEDIUM | 1 |
| 2026-06-18 16:11:54 | CLEAN | 0 |