aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorMarcin Szychowski <szycha@gmail.com>2017-12-30 09:45:00 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-06 06:56:01 +0700
commit1de72248d91706a0a714b89a41059a34de439bf1 (patch)
tree19398b680edef4a5decfe3c7c9f60aa9bf820c31 /system
parentbb843c9fe2c11501839fd7cec6ae39a223d65e40 (diff)
system/zfs-on-linux: Updated for version 0.7.5.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/zfs-on-linux/README16
-rw-r--r--system/zfs-on-linux/zfs-on-linux.SlackBuild10
-rw-r--r--system/zfs-on-linux/zfs-on-linux.info6
3 files changed, 15 insertions, 17 deletions
diff --git a/system/zfs-on-linux/README b/system/zfs-on-linux/README
index 4d87857e409e8..2351b37ceb4c8 100644
--- a/system/zfs-on-linux/README
+++ b/system/zfs-on-linux/README
@@ -1,17 +1,15 @@
ZFS is a modern filesystem originally developed for SOLARIS.
It provides many functionalities such as snapshots, data compression,
-data recovery and many more.
+data recovery, filesystem (snapshot) sending/reveiving, and more.
For more information about ZFS on linux, visit http://zfsonlinux.org
-You'll need the kernel source code to be able to compile this.
-This package is kernel dependent, so you'll need to recompile it
-for every new kernel you choose to run.
+NOTE: You'll need the kernel source code to be able to compile this.
+This package is kernel dependent, so you'll need to recompile it for
+every new kernel you choose to run.
-If you don't have a /usr/src/linux symlink pointing to your real
-kernel directory (the script looks for it there by default), specify
-your kernel source destination by
-
- LINUXPATH=<path to your kernel source> ./zfs-on-linux.SlackBuild
+If you're building this for a kernel that isn't currently running,
+you'll need to pass what that kernel's 'uname -r' output will be
+to the KERN variable when running the build script, e.g. KERN=4.14.9
NOTE: you should run this on x86_64 systems.
diff --git a/system/zfs-on-linux/zfs-on-linux.SlackBuild b/system/zfs-on-linux/zfs-on-linux.SlackBuild
index 0dcf4c72fc585..c6ec1a908c8ef 100644
--- a/system/zfs-on-linux/zfs-on-linux.SlackBuild
+++ b/system/zfs-on-linux/zfs-on-linux.SlackBuild
@@ -28,11 +28,11 @@
PRGNAM=zfs-on-linux
SRCNAM=zfs
-VERSION=${VERSION:-0.7.4}
+VERSION=${VERSION:-0.7.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-LINUXPATH=${LINUXPATH:-/usr/src/linux}
-KERN=$(cut -d '"' -f2 $LINUXPATH/include/generated/utsrelease.h | tr - _)
+
+KERN=${KERN:-"$(uname -r)"}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -87,8 +87,8 @@ CFLAGS="$SLKCFLAGS" \
--includedir=/usr/include \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-linux=$LINUXPATH \
- --with-linux-obj=$LINUXPATH \
+ --with-linux="/lib/modules/${KERN}/source" \
+ --with-linux-obj="/lib/modules/${KERN}/source" \
--with-udevdir=/lib/udev \
--enable-static=no \
--build=$ARCH-slackware-linux
diff --git a/system/zfs-on-linux/zfs-on-linux.info b/system/zfs-on-linux/zfs-on-linux.info
index ef517624dc2c2..be63df70b4a88 100644
--- a/system/zfs-on-linux/zfs-on-linux.info
+++ b/system/zfs-on-linux/zfs-on-linux.info
@@ -1,8 +1,8 @@
PRGNAM="zfs-on-linux"
-VERSION="0.7.4"
+VERSION="0.7.5"
HOMEPAGE="http://zfsonlinux.org"
-DOWNLOAD="https://github.com/zfsonlinux/zfs/releases/download/zfs-0.7.4/zfs-0.7.4.tar.gz"
-MD5SUM="092061297072a7c6d6ff7a9cc92f907e"
+DOWNLOAD="https://github.com/zfsonlinux/zfs/releases/download/zfs-0.7.5/zfs-0.7.5.tar.gz"
+MD5SUM="51c5dbef614120029491534375a5dd43"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="spl-solaris"