Package Details: systemd-zpool-scrub 1.1-2

Git Clone URL: https://aur.archlinux.org/systemd-zpool-scrub.git (read-only, click to copy)
Package Base: systemd-zpool-scrub
Description: Systemd service for automatic ZFS zpool scrubbing
Upstream URL: https://github.com/lnicola/systemd-zpool-scrub
Licenses: MIT
Submitter: lnicola
Maintainer: lnicola
Last Packager: lnicola
Votes: 13
Popularity: 0.000000
First Submitted: 2016-04-13 12:41 (UTC)
Last Updated: 2020-10-31 15:31 (UTC)

Latest Comments

lnicola commented on 2020-10-31 15:34 (UTC)

@Jonathon Thank you, fixed.

jonathon commented on 2020-10-31 15:23 (UTC)

A couple of small tweaks for packaging:

diff --git a/PKGBUILD b/PKGBUILD
index 2b50cb3..aa85eba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,11 +6,13 @@ pkgdesc="Systemd service for automatic ZFS zpool scrubbing"
 arch=('any')
 url="https://github.com/lnicola/systemd-zpool-scrub"
 license=('MIT')
-depends=('zfs-utils')
+makedepends=('git')
 source=("git+https://github.com/lnicola/systemd-zpool-scrub.git")
 md5sums=('SKIP')

 package() {
+    depends=('zfs-utils')
+
     install -Dm644 "$srcdir/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
     install -Dm644 "$srcdir/$pkgname/zpool-scrub@.service" "$pkgdir/usr/lib/systemd/system/zpool-scrub@.service"
     install -Dm644 "$srcdir/$pkgname/zpool-scrub@.timer" "$pkgdir/usr/lib/systemd/system/zpool-scrub@.timer"

lnicola commented on 2017-02-06 05:58 (UTC)

@TheChickenMan Actually, it should already work: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zfs-utils-linux-lts#n36 https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=systemd-zpool-scrub#n9

lnicola commented on 2017-02-04 21:47 (UTC)

@TheChickenMan https://github.com/archzfs/archzfs/issues/54 there might be one now.

TheChickenMan commented on 2017-02-04 20:16 (UTC)

I think the best way to do that would be for there to be a "provides=zfs-utils" in zfs-utils-linux-lts

lnicola commented on 2016-04-29 08:25 (UTC)

@ravi_n: I guess it should, but I didn't know how to add a dependency to one of zfs-utils-linux, zfs-utils-linux-lts or zfs-utils-linux-git, so I left it for later. optdepends could work, but I'll try to ask the maintainer about adding a provides clause.

ravi_n commented on 2016-04-29 06:45 (UTC)

Shouldn't this also work with zfs-utils-linux-lts? I edited it locally, but it would be nice if the official version had the fix.