summaryrefslogtreecommitdiff
path: root/system/xfsprogs
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-18 17:07:54 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-18 17:07:54 +0000
commitf06e6ac40a9ff1dadfbc428644a76fdf71aefa74 (patch)
tree76eb4d614d969ad49824aa5743c629b89e96de7a /system/xfsprogs
parent4b1b05506c88d10529262a014a8de36b4284f142 (diff)
downloadpackages-f06e6ac40a9ff1dadfbc428644a76fdf71aefa74.tar.gz
packages-f06e6ac40a9ff1dadfbc428644a76fdf71aefa74.tar.bz2
packages-f06e6ac40a9ff1dadfbc428644a76fdf71aefa74.tar.xz
packages-f06e6ac40a9ff1dadfbc428644a76fdf71aefa74.zip
system/xfsprogs: split base utils from scrub
Diffstat (limited to 'system/xfsprogs')
-rw-r--r--system/xfsprogs/APKBUILD14
1 files changed, 12 insertions, 2 deletions
diff --git a/system/xfsprogs/APKBUILD b/system/xfsprogs/APKBUILD
index 016c39cce..52ae967b5 100644
--- a/system/xfsprogs/APKBUILD
+++ b/system/xfsprogs/APKBUILD
@@ -2,14 +2,15 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xfsprogs
pkgver=5.2.0
-pkgrel=0
+pkgrel=1
pkgdesc="XFS filesystem utilities"
url="http://xfs.org/index.php/Main_Page"
arch="all"
options="!check" # No test suite.
license="GPL-1.0-only"
+depends="$pkgname-base"
makedepends="attr-dev bash icu-dev libedit-dev linux-headers util-linux-dev"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs"
+subpackages="$pkgname-base $pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs"
source="https://www.kernel.org/pub/linux/utils/fs/xfs/$pkgname/$pkgname-$pkgver.tar.gz
fix-mmap.patch
no-utmp-header.patch
@@ -38,6 +39,15 @@ package() {
chown -R 0:0 "$pkgdir"
}
+base() {
+ # Everything except xfs_scrub, which pulls in 50 MiB of icu libs.
+ pkgdesc="Base $pkgdesc"
+ mkdir "$subpkgdir"
+ mv "$pkgdir"/sbin "$subpkgdir"/
+ mkdir "$pkgdir"/sbin
+ mv "$subpkgdir"/sbin/xfs_scrub "$pkgdir"/sbin/
+}
+
sha512sums="ddc01a3aca3d84a2bb848a3954b1704056d0fc3fb302981bf67208e0435cf3887f44eefcdb40460b576fbe6cfb26a48ad6f032092829b3a2bb1ca4fae9fcc5f4 xfsprogs-5.2.0.tar.gz
c23d5dca744c4589ede517701fc8ea02f9b7a59568d907269048741806d2e6c9e56ed3493163d63dbf16193ff99471206548b25efcda18e3e5dff14eb38066d4 fix-mmap.patch
29c77c550fa8f7a0b3794649d278a2cb3a65c9368db19415866910160adb6d5a52f1be4f8713b58c5c87f149b6212c068ae27a4547a6c4e4fe7b1584e1261dae no-utmp-header.patch"