tscsync
LOW
maintainer Vranitzky
0 votes
scanned 2026-11-03 18:05:30.002521
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Michael Scalet <michele.scalet at jlbbooks dot it>
2
# Upstream: https://github.com/Zanasin/tscsync
3
#
4
# 0001 adapts upstream scripts/unit template to Arch /usr paths (tscsync-setup).
5
6
pkgname=tscsync
7
pkgver=2.2.1
8
pkgrel=1
9
pkgdesc='Pre-boot TSC sync for AMD (UEFI) so Linux keeps the TSC clocksource'
10
arch=('x86_64')
11
url='https://github.com/Zanasin/tscsync'
12
license=('MIT')
13
depends=('bash' 'util-linux' 'systemd')
14
makedepends=('curl' 'binutils' 'gcc' 'make')
15
optdepends=(
16
'sbsigntools: sign the EFI binary during tscsync-setup'
17
'sbctl: enroll/sign with your Secure Boot keys'
18
'mokutil: detect Secure Boot / MOK state during setup'
19
)
20
conflicts=('tscsync-git')
21
install=tscsync.install
22
# !strip: keep EFI payloads; !lto: vendored gnu-efi breaks under makepkg LTO
23
options=('!strip' '!lto')
24
source=(
25
"${pkgname}-${pkgver}.tar.gz::https://github.com/Zanasin/tscsync/archive/refs/tags/v${pkgver}.tar.gz"
26
'0001-arch-usr-paths.patch'
27
)
28
sha256sums=(
29
'bbacf9b64aae7b1525e9bc34b70cb647871a6d0c7c8a52e2cf1d4c6516386336'
30
'8f4bd82416ae7c7b906c899eba84d68e2d99079ceba852abf6638ffcba869d45'
31
)
32
33
prepare() {
34
cd "${srcdir}/${pkgname}-${pkgver}"
35
patch -p1 < "${srcdir}/0001-arch-usr-paths.patch"
36
}
37
38
build() {
39
cd "${srcdir}/${pkgname}-${pkgver}"
40
make -j"$(nproc)"
41
}
42
43
package() {
44
cd "${srcdir}/${pkgname}-${pkgver}"
45
46
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
47
48
install -Dm644 build/tscsync.efi \
49
"${pkgdir}/usr/lib/tscsync/tscsync.efi"
50
install -Dm644 build/tscsync-driver.efi \
51
"${pkgdir}/usr/lib/tscsync/tscsync-driver.efi"
52
install -Dm644 boot/custom.cfg.in \
53
"${pkgdir}/usr/lib/tscsync/custom.cfg.in"
54
install -Dm644 boot/tscsync-report.service.in \
55
"${pkgdir}/usr/lib/tscsync/tscsync-report.service.in"
56
57
install -Dm755 boot/tscsync-report \
58
"${pkgdir}/usr/lib/tscsync/tscsync-report"
59
install -Dm755 scripts/tscsync-status \
60
"${pkgdir}/usr/bin/tscsync-status"
61
install -Dm755 scripts/install.sh \
62
"${pkgdir}/usr/bin/tscsync-setup"
63
install -Dm755 scripts/set-mode.sh \
64
"${pkgdir}/usr/bin/tscsync-set-mode"
65
install -Dm755 scripts/uninstall.sh \
66
"${pkgdir}/usr/bin/tscsync-uninstall"
67
}
68
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-03 18:05:30 | Low | 1 |