aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/lvm2/APKBUILD22
1 files changed, 19 insertions, 3 deletions
diff --git a/main/lvm2/APKBUILD b/main/lvm2/APKBUILD
index 8eb91a3ac9..f742ff6475 100644
--- a/main/lvm2/APKBUILD
+++ b/main/lvm2/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lvm2
pkgver=2.02.167
-pkgrel=0
+pkgrel=1
pkgdesc="Logical Volume Manager 2 utilities"
url="http://sourceware.org/lvm2/"
arch="all"
@@ -20,8 +20,14 @@ source="ftp://sources.redhat.com/pub/$pkgname/LVM2.$pkgver.tgz
lvm.confd
dmeventd.initd
"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-dmeventd device-mapper:dm
- $pkgname-libs"
+subpackages="
+ $pkgname-dev
+ $pkgname-doc
+ $pkgname-dmeventd
+ device-mapper:dm
+ $pkgname-libs
+ $pkgname-extra
+ "
builddir="$srcdir/LVM2.$pkgver"
@@ -86,6 +92,16 @@ libs() {
mv "$pkgdir"/lib/liblvm2*.so.* "$subpkgdir"/lib/
}
+extra() {
+ pkgdesc="LVM2 extra utilities"
+ depends="bash coreutils"
+ local util
+ for util in sbin/lvmdump sbin/lvmconf sbin/fsadm sbin/blkdeactivate; do
+ mkdir -p "$subpkgdir/${util%/*}"
+ mv $pkgdir/$util $subpkgdir/$util
+ done
+}
+
md5sums="3031ce59631e4fd5bab7ee948997941c LVM2.2.02.167.tgz
861c959f143b40277b8b70e63f24312d fix-stdio-usage.patch
3f4a9d57620f240f6bf389c1debc2ba5 mallinfo.patch