From 4d532e917d5dddcf9bded015eb57b34171e63fca Mon Sep 17 00:00:00 2001
From: Marcin Szychowski <szycha@gmail.com>
Date: Mon, 31 Jul 2017 20:25:51 +0700
Subject: system/spl-solaris: Updated for version 0.7.0 + new maintainer.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
---
 system/spl-solaris/spl-solaris.SlackBuild | 11 ++++-------
 system/spl-solaris/spl-solaris.info       | 10 +++++-----
 2 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/system/spl-solaris/spl-solaris.SlackBuild b/system/spl-solaris/spl-solaris.SlackBuild
index 41e4078475..1969c0253d 100644
--- a/system/spl-solaris/spl-solaris.SlackBuild
+++ b/system/spl-solaris/spl-solaris.SlackBuild
@@ -2,6 +2,7 @@
 
 # Slackware build script for spl-solaris
 
+# Copyright 2017 Marcin Szychowski <szycha@gmail.com>, Poland
 # Copyright 2016 Kevin Paulus <goarilla@gmail.com>, Belgium
 # Copyright 2013-2014 Petr Hejl - Czech Republic
 # All rights reserved.
@@ -27,9 +28,11 @@
 
 PRGNAM=spl-solaris
 SRCNAM=spl
-VERSION=${VERSION:-0.6.5.9}
+VERSION=${VERSION:-0.7.0}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
+LINUXPATH=${LINUXPATH:-/usr/src/linux}
+KERN=$(cut -d '"' -f2 $LINUXPATH/include/generated/utsrelease.h)
 
 if [ -z "$ARCH" ]; then
   case "$( uname -m )" in
@@ -73,12 +76,6 @@ find -L . \
  \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
  -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
 
-if [ -z $LINUXPATH ]; then
-  LINUXPATH=/usr/src/linux
-fi
-
-KERN=$(cut -d '"' -f2 $LINUXPATH/include/generated/utsrelease.h)
-
 CFLAGS="$SLKCFLAGS" \
 ./configure \
   --prefix=/usr \
diff --git a/system/spl-solaris/spl-solaris.info b/system/spl-solaris/spl-solaris.info
index d0f46b3674..4ff8563514 100644
--- a/system/spl-solaris/spl-solaris.info
+++ b/system/spl-solaris/spl-solaris.info
@@ -1,10 +1,10 @@
 PRGNAM="spl-solaris"
-VERSION="0.6.5.9"
+VERSION="0.7.0"
 HOMEPAGE="http://zfsonlinux.org"
-DOWNLOAD="http://github.com/zfsonlinux/zfs/releases/download/zfs-0.6.5.9/spl-0.6.5.9.tar.gz"
-MD5SUM="ab4e2538231dc4b3acf65fe2436ec46b"
+DOWNLOAD="https://github.com/zfsonlinux/zfs/releases/download/zfs-0.7.0/spl-0.7.0.tar.gz"
+MD5SUM="5ae8ecb138c25d90371bf0d4a35ab779"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES=""
-MAINTAINER="Kevin Paulus"
-EMAIL="goarilla@gmail.com"
+MAINTAINER="Marcin Szychowski"
+EMAIL="szycha@gmail.com"
-- 
cgit v1.2.3