Package Details: uksmd-git 6.4.1.r0.gb698d76-3

Git Clone URL: (read-only, click to copy)
Package Base: uksmd-git
Description: Userspace KSM helper daemon (git version)
Upstream URL:
Keywords: linux-pf pf uksmd
Licenses: GPL3
Conflicts: uksmd
Provides: uksmd
Submitter: yurikoles
Maintainer: yurikoles
Last Packager: yurikoles
Votes: 1
Popularity: 0.000546
First Submitted: 2019-11-26 23:44 (UTC)
Last Updated: 2023-09-04 15:54 (UTC)

Required by (18)

Sources (1)

Latest Comments

1 2 Next › Last »

dreieck commented on 2023-09-04 10:34 (UTC)

A suggestion: Add uksmdstats as optional dependency.

dreieck commented on 2023-07-13 15:15 (UTC)

Actually, the official version can be fetched by parsing or the output of `git describe --tags`, so you can have the real version number in the first part of $pkgver.

An example, which currently produces 6.4.1.r67.20230707.b698d76, is

pkgver() {
  cd "${srcdir}/${_pkgname}"

  _ver="$(sed -E 's|#.*$||' | tr '\n' ' ' | sed -E -e 's|project[[:space:]]*\(([^\)]*)\).*$|\1|' -e 's|.*version:[[:space:]]*([^,]*)[[:space:]]*,.*|\1|' | tr -d \'\")" # Can also be parsed from `git describe --tags`.
  _rev="$(git rev-list --count HEAD)"
  _date="$(git log -1 --date=format:"%Y%m%d" --format="%ad")"
  _hash="$(git rev-parse --short HEAD)"

  if [ -z "${_ver}" ]; then
    error "Version could not be determined."
    return 1
    printf '%s' "${_ver}.r${_rev}.${_date}.${_hash}"

This then also allows to add =${pkgver} to the provides entry, making possible versioned dependencies happy.

which I‌ have put into my package uksmd-nosystemd-git.

dreieck commented on 2022-07-08 22:01 (UTC) (edited on 2022-07-08 22:02 (UTC) by dreieck)

@yurikoles: I think this is more properly addressed upstream, so I did, and now systemd is optional.

By the way, AUR is also used by other Arch based distributions, not only Artix, but also archlinuxarm, Manjaro. But I understand that packages on the AUR at might assume standard Arch Linux, since they have to assume at least something.

yurikoles commented on 2022-07-08 14:47 (UTC)

Thank you, @post-factum, fixed.

post-factum commented on 2022-07-08 10:14 (UTC)

Note the project has been moved to

yurikoles commented on 2022-06-26 15:18 (UTC) (edited on 2022-06-26 15:29 (UTC) by yurikoles)

@dreieck AUR packages assume that base and base-devel are installed. And base on ArchLinux pulls systemd, other distros are out of scope, because you can see in your address bar that this is

dreieck commented on 2022-06-26 13:48 (UTC)

systemd is needed during build:

==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true . build
The Meson build system
Version: 0.62.2
Run-time dependency systemd found: NO (tried pkgconfig and cmake) ERROR: Dependency "systemd" not found, tried pkgconfig and cmake

-- on no-systemd-systems (like Artix) it won't build out of the box, so please add systemd or a corresponding package to makedepends.

Thanks for maintaining!

yurikoles commented on 2022-06-03 16:31 (UTC)

@sir_lucjan thank you for report, I updated package.

sir_lucjan commented on 2022-06-03 16:16 (UTC) (edited on 2022-06-03 16:16 (UTC) by sir_lucjan)

Please update PKGBUILD - or if you like, make me a co-maintainer, I use it myself and have a working PKGBUILD.

post-factum commented on 2021-08-11 14:05 (UTC)

Should depend on UKSMD-BUILTIN.