aboutsummaryrefslogtreecommitdiffstats
path: root/main/gptfdisk/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/gptfdisk/APKBUILD')
-rw-r--r--main/gptfdisk/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/main/gptfdisk/APKBUILD b/main/gptfdisk/APKBUILD
index fd74accc31..9db6a546a8 100644
--- a/main/gptfdisk/APKBUILD
+++ b/main/gptfdisk/APKBUILD
@@ -1,11 +1,10 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gptfdisk
pkgver=1.0.9
-pkgrel=1
+pkgrel=2
pkgdesc="Text-mode partitioning tool that works on Globally Unique Identifier (GUID) Partition Table (GPT) disks"
arch="all"
url="https://www.rodsbooks.com/gdisk"
-options="!check" # No test suite.
license="GPL-2.0-or-later"
makedepends="ncurses-dev e2fsprogs-dev popt-dev linux-headers"
subpackages="$pkgname-doc sgdisk"
@@ -13,6 +12,7 @@ source="https://downloads.sourceforge.net/project/gptfdisk/gptfdisk/$pkgver/gptf
fix-wrong-include.patch
0001-Fix-failure-crash-of-sgdisk-when-compiled-with-lates.patch
0002-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch
+ 0003-Fix-NULL-dereference-when-duplicating-string-argumen.patch
"
# secfixes:
# 1.0.6-r0:
@@ -31,6 +31,10 @@ package() {
done
}
+check() {
+ sh "$builddir"/gdisk_test.sh
+}
+
sgdisk() {
pkgdesc="Command-line GUID partition table (GPT) manipulator"
mkdir -p "$subpkgdir"/usr/bin
@@ -42,4 +46,5 @@ c2489ac7e196cb53b9fdb18d0e421571eca43c366de8922c5c7f550aadf192558e7af69b181c3074
9b64c0e565137b4d4275bd6e8b050f98a73ff5593093b54d43736e6aabd24abf6e35d88ea27be17c5fee70aada4ad05a70fe5af3523212aad114f05aaf82356f fix-wrong-include.patch
ebd680343cd7f559503156984f056f4b49cc3581c8c7f623c66c10bb79e1dd7ee9e217cbd0479ebe3b7bce3b34b85428bc3525aa354b76789e9bcbaf1000a889 0001-Fix-failure-crash-of-sgdisk-when-compiled-with-lates.patch
fd2747714f854a2abaa5cbd113a9bf9eea3d8ee6c46e47dbe3246c9d3bebb621a2a7bc623827f6f44870133eb09b5b991ea73d03755fa0e2b9d73c5cea821f33 0002-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch
+f1d3b1d43490665dbe2b024027b12803ec73698dc232335fd87813ffb940202032c8f47c3410190a00d16382a2ceb35effc1f825ca87f6a0cd3dad564bb751af 0003-Fix-NULL-dereference-when-duplicating-string-argumen.patch
"