zfs: update to 0.7.11.

This commit is contained in:
Toyam Cox 2018-09-17 11:52:17 -04:00
parent e3a2d85f56
commit 980e45a9ec

View file

@ -1,29 +1,27 @@
# Template file for 'zfs'
pkgname=zfs
version=0.7.10
revision=2
version=0.7.11
revision=1
patch_args="-Np1"
wrksrc="${pkgname}-${pkgname}-${version/r/-}"
build_style=gnu-configure
configure_args="--with-config=user --with-mounthelperdir=/usr/bin
--with-udevdir=/usr/lib/udev --with-udevruledir=/usr/lib/udev/rules.d
--with-dracutdir=/usr/lib/dracut --with-tirpc --with-blkid"
hostmakedepends="dracut automake libtool pkg-config"
--with-dracutdir=/usr/lib/dracut --with-tirpc"
hostmakedepends="dracut libtool pkg-config"
makedepends="spl-devel zlib-devel libuuid-devel libblkid-devel libtirpc-devel attr-devel"
conf_files="/etc/zfs/zed.d/zed.rc"
short_desc="Z File System -- userland and kernel modules (using DKMS)"
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
license="CDDL-1.0"
homepage="https://zfsonlinux.org/"
distfiles="https://github.com/zfsonlinux/zfs/archive/zfs-${version/r/-}.tar.gz"
checksum=44afe159fa89f103745e596ffe5c0d8e612b8d95e0fe610cabdd46481b5117ab
distfiles="https://github.com/zfsonlinux/zfs/releases/download/zfs-${version}/zfs-${version}.tar.gz"
checksum=4dff9ecce6e02061242d9435febe88c1250de83b96d392b712bccf31c459517a
dkms_modules="zfs ${version/r/-}"
dkms_modules="zfs ${version}"
depends="dkms>=2.2.0.3_9 spl>=${version} perl"
pre_configure() {
export CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/tirpc/"
autoreconf -fi
tar czf ../clean.tar.gz .
}
@ -31,9 +29,9 @@ post_install() {
vlicense COPYRIGHT
vlicense OPENSOLARIS.LICENSE
vmkdir usr/src/${pkgname}-${version/r/-}
tar xf ../clean.tar.gz -C ${DESTDIR}/usr/src/${pkgname}-${version/r/-}
scripts/dkms.mkconf -v ${version/r/-} -f ${DESTDIR}/usr/src/${pkgname}-${version/r/-}/dkms.conf -n zfs
vmkdir usr/src/${pkgname}-${version}
tar xf ../clean.tar.gz -C ${DESTDIR}/usr/src/${pkgname}-${version}
scripts/dkms.mkconf -v ${version} -f ${DESTDIR}/usr/src/${pkgname}-${version}/dkms.conf -n zfs
rm -rf ${DESTDIR}/usr/lib/systemd
rm -rf ${DESTDIR}/usr/share/initramfs-tools