Package Details: uksmd 6.5.1-2

Git Clone URL: https://aur.archlinux.org/uksmd.git (read-only, click to copy)
Package Base: uksmd
Description: Userspace KSM helper daemon
Upstream URL: https://codeberg.org/pf-kernel/uksmd
Keywords: dedup deduplication ksm memory ram uksm uksmd
Licenses: GPL3
Submitter: post-factum
Maintainer: post-factum
Last Packager: post-factum
Votes: 9
Popularity: 0.84
First Submitted: 2019-05-22 19:57 (UTC)
Last Updated: 2024-02-25 23:28 (UTC)

Latest Comments

1 2 3 Next › Last »

post-factum commented on 2024-02-25 23:28 (UTC)

Makes sense, thanks.

yurikoles commented on 2024-02-25 23:20 (UTC) (edited on 2024-02-25 23:21 (UTC) by yurikoles)

Current source artifact name v${pkgver}.tar.gz = v6.5.1.tar.gz may lead to a name clash, a file conflict and a checksum error with any other package with the very same version for those people who have SRCDEST set in makepkg.conf

From makepkg.conf.5:

SRCDEST="/path/to/directory" If this value is not set, downloaded source files will only be stored in the current directory. Many people like to keep all source files in a central location for easy cleanup, so this path can be set here.

post-factum commented on 2024-02-25 19:43 (UTC)

I would like to get a proper explanation regarding functional meaning of such a change. Thank you.

Freso commented on 2024-02-25 18:43 (UTC)

Yes:

Warning: Before attempting to submit a package you are expected to familiarize yourself with Arch packaging standards and all the articles under "Related articles".

In fact, it probably matters even more for AUR packages than for ones in the official repositories.

post-factum commented on 2024-02-18 17:47 (UTC)

Does it matter for an AUR package?

Freso commented on 2024-02-18 17:43 (UTC)

Please make the $source filename unique (see Arch package guidelines#Package sources); e.g., something like source=(${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz) should work.

post-factum commented on 2023-09-04 15:17 (UTC)

Added.

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

A suggestion: Add uksmdstats as optional dependency.

post-factum commented on 2022-07-09 07:51 (UTC)

Never did that, but yes, that'd make sense. Please check -2.

jonathon commented on 2022-07-09 00:53 (UTC) (edited on 2022-07-09 00:53 (UTC) by jonathon)

Just wondering whether you'd consider moving the depends on UKSMD-BUILTIN to the package() function, otherwise e.g. this won't build in a clean chroot (this one depends is not necessary to build the package, only during runtime).

diff --git a/PKGBUILD b/PKGBUILD
index 3152b72..600943e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ pkgdesc="Userspace KSM helper daemon"
 url="https://codeberg.org/pf-kernel/uksmd"
 license=(GPL3)
 arch=(x86_64)
-depends=(UKSMD-BUILTIN systemd procps-ng libcap-ng)
+depends=(systemd procps-ng libcap-ng)
 makedepends=(meson)
 source=(${pkgname}-${pkgver}.tar.gz::https://codeberg.org/${_repouser}/${_reponame}/archive/${_rev}.tar.gz)
 sha256sums=('dc5acbe4e21923e797b441680a5fa3dd8e436231ae0a55da05a8561e252842f8')
@@ -24,6 +24,7 @@ build() {
 }

 package() {
+       depends+=(UKSMD-BUILTIN)
        cd ${_reponame}

        meson install -C build --destdir "${pkgdir}"