nidhugg-git
MEDIUM
maintainer RubenKelevra
0 votes
scanned 2026-09-06 15:12:20.220602
Why flagged
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
Triggered rules
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
# Maintainer: Magnus Lång <magnus.lang@it.uu.se>
2
pkgname=nidhugg-git
3
pkgver=0.2.r152.ea22422
4
pkgrel=2
5
pkgdesc="A bug-finding tool for concurrency and weak-memory bugs in C and C++ programs"
6
arch=('x86_64' 'i686')
7
url="https://github.com/nidhugg/nidhugg"
8
license=('GPL')
9
depends=('python' 'clang')
10
makedepends=('llvm'
11
'boost') # For check() only
12
provides=("nidhugg=$pkgver")
13
conflicts=('nidhugg')
14
source=("git://github.com/nidhugg/nidhugg.git")
15
sha256sums=('SKIP')
16
17
pkgver() {
18
cd nidhugg
19
# Versions are tracked not with git, but by updating the configure.ac file.
20
_vercommit="$(git blame --porcelain configure.ac | head -1 | cut -d' ' -f1)"
21
printf "%s.r%s.%s" \
22
"$(head -1 configure.ac | sed 's/AC_INIT(\[Nidhugg\], \[\([^]]*\)\].*/\1/')" \
23
"$(git rev-list --count $_vercommit..HEAD)" \
24
"$(git rev-parse --short $_vercommit)"
25
}
26
27
build() {
28
cd nidhugg
29
autoreconf -fi
30
export CXXFLAGS="$CXXFLAGS -isystem /usr/lib/libffi-3.2.1/include/"
31
export CFLAGS="$CFLAGS -isystem /usr/lib/libffi-3.2.1/include/"
32
./configure --prefix=/usr
33
make
34
}
35
36
check() {
37
cd "$srcdir/nidhugg"
38
make test
39
}
40
41
package() {
42
cd "$srcdir/nidhugg"
43
make DESTDIR="$pkgdir/" install
44
}
45
46
# vim:set ts=2 sw=2 et:
47
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-06 15:12:20 | Medium | 1 |
| 2026-09-06 13:11:32 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |