pmdk
MEDIUM
maintainer a821
0 votes
scanned 2026-08-31 05:44:47.999322
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: envolution
2
# Contributor: Darren Ng <$(base64 --decode <<<'ZGFycmVuMTk5NzA4MTBAZ21haWwuY29tCg==')>
3
# shellcheck shell=bash disable=SC2034,SC2154
4
# Co-Maintainer: Simon Krogmann <$(base64 --decode <<<'cy5rcm9nbWFubkB5YWhvby5jb20K')>
5
pkgname=pmdk
6
pkgver=2.1.2
7
pkgrel=1
8
pkgdesc="Persistent Memory Development Kit"
9
arch=('x86_64')
10
url="https://pmem.io/"
11
license=('BSD-3-Clause OSL-1.0')
12
makedepends=(pandoc-cli)
13
depends=(
14
'ndctl>=63'
15
)
16
optdepends=(
17
'libfabric>=1.4.2: required by librpmem'
18
)
19
provides=(
20
'libpmem'
21
'libpmem2'
22
'libpmemobj'
23
'libpmemblk'
24
'libpmemlog'
25
'libpmempool'
26
'librpmem'
27
)
28
makedepends=(pandoc-cli)
29
source=("$pkgname-$pkgver.tar.gz::https://github.com/daos-stack/pmdk/archive/$pkgver.tar.gz")
30
sha1sums=('a060893f8a10b9f59b7a93269c988db81bbecd0d')
31
32
build() {
33
cd "$pkgname-$pkgver" || exit 1
34
EXTRA_CFLAGS="-Wno-error" make
35
}
36
37
check() {
38
cd "$pkgname-$pkgver/src/test" || exit 1
39
EXTRA_CFLAGS="-Wno-error" make TEST_TYPE=short TEST_BUILD=nondebug TEST_FS=pmem UNIT_LOG_LEVEL=1
40
touch testconfig.sh && ./RUNTESTS.sh -k obj_sync,util_is_zeroed
41
}
42
43
package() {
44
cd "$pkgname-$pkgver" || exit 1
45
DESTDIR="$pkgdir" make install prefix=/usr
46
mv "$pkgdir/usr/lib64" "$pkgdir/usr/lib"
47
install -Dm644 LICENSE/BSD-3-Clause "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
48
install -Dm644 LICENSE/OPENSOLARIS.LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
49
}
50
# vim:set ts=2 sw=2 et:
51
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-31 05:44:47 | Medium | 1 |
| 2026-08-31 00:19:57 | Clean | 2 |
| 2026-08-30 23:44:22 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |