aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2020-06-27 17:55:56 +0200
committerJ0WI <J0WI@users.noreply.github.com>2020-07-05 16:38:04 +0200
commit438ad7c9f53f7f71fcaecb4a39f6ee5e888e3fb2 (patch)
tree957442c216fcd48c4120ac7c07f0931335b6c462
parent930ef170c54bef0a2b123de47f73c9b59b0601f8 (diff)
downloadaports-438ad7c9f53f7f71fcaecb4a39f6ee5e888e3fb2.tar.gz
aports-438ad7c9f53f7f71fcaecb4a39f6ee5e888e3fb2.tar.bz2
aports-438ad7c9f53f7f71fcaecb4a39f6ee5e888e3fb2.tar.xz
main/lvm2: upgrade to 2.02.187
-rw-r--r--main/lvm2/APKBUILD27
1 files changed, 11 insertions, 16 deletions
diff --git a/main/lvm2/APKBUILD b/main/lvm2/APKBUILD
index 0ed8e4f2d2..9d08323f2b 100644
--- a/main/lvm2/APKBUILD
+++ b/main/lvm2/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lvm2
-pkgver=2.02.186
-pkgrel=1
+pkgver=2.02.187
+pkgrel=0
pkgdesc="Logical Volume Manager 2 utilities"
url="https://sourceware.org/lvm2/"
arch="all"
@@ -37,9 +37,7 @@ subpackages="
builddir="$srcdir/LVM2.$pkgver"
-build () {
- cd "$builddir"
-
+build() {
# during cross-compilation malloc test goes wrong
export ac_cv_func_malloc_0_nonnull=yes
export ac_cv_func_realloc_0_nonnull=yes
@@ -64,19 +62,16 @@ build () {
--with-thin-repair=/sbin/thin_repair \
--with-dmeventd-path=/sbin/dmeventd \
--enable-udev_rules \
- CLDFLAGS="$LDFLAGS" \
- || return 1
-
- make || return 1
+ CLDFLAGS="$LDFLAGS"
+ make
}
package() {
- cd "$builddir"
- make -j1 DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
install -d "$pkgdir"/etc/lvm/archive "$pkgdir"/etc/lvm/backup
install -Dm755 "$srcdir"/lvm.initd "$pkgdir"/etc/init.d/lvm
install -Dm644 "$srcdir"/lvm.confd "$pkgdir"/etc/conf.d/lvm
- ln -s libdevmapper.so.1.02 "$pkgdir"/lib/libdevmapper.so || return 1
+ ln -s libdevmapper.so.1.02 "$pkgdir"/lib/libdevmapper.so
}
dmeventd() {
@@ -104,9 +99,9 @@ libs() {
pkgdesc="LVM2 shared libraries"
depends=
mkdir -p "$subpkgdir"/lib
- mv "$pkgdir"/lib/liblvm2*.so.* "$subpkgdir"/lib/ || return 1
- mv "$pkgdir"/lib/libdevmapper-event-lvm2*.so.* "$subpkgdir"/lib/ || return 1
- mv "$pkgdir"/lib/device-mapper "$subpkgdir"/lib/ || return 1
+ mv "$pkgdir"/lib/liblvm2*.so.* "$subpkgdir"/lib/
+ mv "$pkgdir"/lib/libdevmapper-event-lvm2*.so.* "$subpkgdir"/lib/
+ mv "$pkgdir"/lib/device-mapper "$subpkgdir"/lib/
}
dm_libs() {
@@ -133,7 +128,7 @@ extra() {
done
}
-sha512sums="06a1c00142ee41d8a576a5e06a5beae70baced3020e753ce3b612355cc4d9e33be4acf58569d49436c4ee1118d288d884c7301b7d886074eaf9f2fa6b0248c03 LVM2.2.02.186.tgz
+sha512sums="3ce56f0c0d2e7dbcdae5be263199f73ee5c4c052599d53cde9b16500a326d0340893344f4671839be06b5b4225d592175d01c9974db14f2dc220d6e9a1d47e91 LVM2.2.02.187.tgz
9ad38a68620986db826ccbc4972c44b3ef12e5b37f1f573db20748e7b2327726c7c51b04aaad2a2e9bb76101ec352b7e7a102fdc4a75e79e9587cfc3b87da0e5 fix-stdio-usage.patch
9272ec8c5184ef5dc776ead8f74132e072b7563b5119a3a38b712f00d92a1e3878c9b3a54eb2b01dcba038110c686b39d4c17ecd0eb258537e9217d7ed03c408 mallinfo.patch
33004594a5cce7af1e493a2a66ce8ad2f864dde3b2ec0960d0fda9df9b7bcf65d9455f9eccf7860f48726c48f14111b843b0a0c9bd395ef2952b41aaab8092b2 library_dir-default-config.patch