nidhugg-git

MEDIUM
maintainer RubenKelevra 0 votes scanned 2026-09-06 15:12:20.220602
View on AUR
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>
2pkgname=nidhugg-git
3pkgver=0.2.r152.ea22422
4pkgrel=2
5pkgdesc="A bug-finding tool for concurrency and weak-memory bugs in C and C++ programs"
6arch=('x86_64' 'i686')
7url="https://github.com/nidhugg/nidhugg"
8license=('GPL')
9depends=('python' 'clang')
10makedepends=('llvm'
11 'boost') # For check() only
12provides=("nidhugg=$pkgver")
13conflicts=('nidhugg')
14source=("git://github.com/nidhugg/nidhugg.git")
15sha256sums=('SKIP')
16
17pkgver() {
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
27build() {
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
36check() {
37 cd "$srcdir/nidhugg"
38 make test
39}
40
41package() {
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)SeverityRules
2026-09-06 15:12:20 Medium 1
2026-09-06 13:11:32 Medium 1
2026-06-18 16:11:54 Clean 0

Report a package

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

0 / 4000
Your suggestion