summaryrefslogtreecommitdiff
path: root/user/zfs/APKBUILD
diff options
context:
space:
mode:
authorCyberLeo <cyberleo@cyberleo.net>2020-03-28 05:06:25 -0500
committerCyberLeo <cyberleo@cyberleo.net>2020-03-28 05:46:30 -0500
commit2bcfdd65af6623d67e1865abc9636d7958ec4190 (patch)
tree1475e8b92fae5d212fb46e690ac819537f58c0dd /user/zfs/APKBUILD
parent9297468fa579836e3a6a381b798feb6b78217c2d (diff)
downloadpackages-2bcfdd65af6623d67e1865abc9636d7958ec4190.tar.gz
packages-2bcfdd65af6623d67e1865abc9636d7958ec4190.tar.bz2
packages-2bcfdd65af6623d67e1865abc9636d7958ec4190.tar.xz
packages-2bcfdd65af6623d67e1865abc9636d7958ec4190.zip
user/zfs, user/zfs-utils: update to 0.8.3 and make it build
Update autoconf to remove nonstandard '&>' redirection that causes module build test to inadvertently background in dash and then fail due to a race. Also backport patches to support removal of time_t; commit hashes courtesy of https://bugs.launchpad.net/bugs/1863136 .
Diffstat (limited to 'user/zfs/APKBUILD')
-rw-r--r--user/zfs/APKBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/user/zfs/APKBUILD b/user/zfs/APKBUILD
index 8dd9119b8..31991c44d 100644
--- a/user/zfs/APKBUILD
+++ b/user/zfs/APKBUILD
@@ -2,10 +2,10 @@
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# keep these in sync with kernel version
_kflavour=""
-_kver="4.14.138-mc15"
+_kver="5.4.5-mc0"
_kver2="$_kver-easy"
pkgname="zfs-$_kver"
-pkgver=0.8.2
+pkgver=0.8.3
pkgrel=0
pkgdesc="Linux support for the ZFS filesystem"
url="https://open-zfs.org"
@@ -13,15 +13,20 @@ arch="all"
license="CDDL"
depends="easy-kernel$_kflavour-modules-$_kver zfs-utils"
makedepends="eudev-dev libtirpc-dev linux-headers openssl-dev zlib-dev
- easy-kernel$_kflavour-src-$_kver"
+ easy-kernel$_kflavour-src-$_kver autoconf automake libtool"
install=""
subpackages="$pkgname-dev"
-source="https://github.com/zfsonlinux/zfs/releases/download/zfs-$pkgver/zfs-$pkgver.tar.gz"
+source="https://github.com/zfsonlinux/zfs/releases/download/zfs-$pkgver/zfs-$pkgver.tar.gz
+ fix-autoconf-redirection-for-dash.patch
+ Linux-5.6-compat-time_t-2c3a83701dd1.patch
+ Linux-5.6-compat-timestamp_truncate-795699a6cc28.patch
+ Linux-5.6-compat-ktime_get_raw_ts64-ff5587d65137.patch"
builddir="$srcdir/zfs-$pkgver"
prepare() {
default_prepare
update_config_sub
+ ./autogen.sh
}
build() {
@@ -56,4 +61,8 @@ dev() {
rm -r "$pkgdir/usr/src"
}
-sha512sums="1424b1a030b814f812b5da422100669db5b8c3ccae14c2fdd62a5e0df28e7255247fe5ca99c95a14f08c92cc1574c22dd132093e4a1dd81e38c95b10cc5e2496 zfs-0.8.2.tar.gz"
+sha512sums="aded632e6b04180560d4f2ff283260016e883dadae4e7fda9070b7113dee948099cb7a7b183f1c8139654389a2610fb9cc6f997acdc846040e605125cf016010 zfs-0.8.3.tar.gz
+47dc563fc1daa4c67096d2316ed2cea6aeaf4ca9e0daa41f2036a4ff3dcb542c88534ac25033a23e8fa97a9b82e56a8933f9fa56bae8a1fa07c1b15eb18f68f8 fix-autoconf-redirection-for-dash.patch
+a74bb30ef2e5f28fdc7b0cfe915f2841762ec8f6cd2368d2e4ba8627443e8e0754011a88b743e27519d191464e35e6c923510451f2a86d7e1a4ad3c5b737015f Linux-5.6-compat-time_t-2c3a83701dd1.patch
+a791406265a6e1501e743b6f13764736439a14a9dfc1feaabc5fc82e27de1b2adf56b566c162fc42313f311fbf76c3213f7c2c05a518de36f96887e3d462e94a Linux-5.6-compat-timestamp_truncate-795699a6cc28.patch
+9c78793a5840bc5fb5bb44a210124c1c8f09ce0ddfe88b91be8dbde5465763912308b89cd87300fd05b898076366528612c34a9c2f834d3b6573aa68eb442ec3 Linux-5.6-compat-ktime_get_raw_ts64-ff5587d65137.patch" \ No newline at end of file