summaryrefslogtreecommitdiffstats
path: root/source/a/mdadm
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/mdadm')
-rwxr-xr-xsource/a/mdadm/mdadm.SlackBuild6
-rw-r--r--source/a/mdadm/mdadm.url1
2 files changed, 4 insertions, 3 deletions
diff --git a/source/a/mdadm/mdadm.SlackBuild b/source/a/mdadm/mdadm.SlackBuild
index 3106e2238..0136b381e 100755
--- a/source/a/mdadm/mdadm.SlackBuild
+++ b/source/a/mdadm/mdadm.SlackBuild
@@ -23,8 +23,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=mdadm
-VERSION=${VERSION:-$(echo mdadm-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-$(echo mdadm-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -67,7 +67,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf mdadm-$VERSION
-tar xvf $CWD/mdadm-$VERSION.tar.xz || exit 1
+tar xvf $CWD/mdadm-$VERSION.tar.?z || exit 1
cd mdadm-$VERSION || exit 1
chown -R root:root .
diff --git a/source/a/mdadm/mdadm.url b/source/a/mdadm/mdadm.url
new file mode 100644
index 000000000..b7132f95a
--- /dev/null
+++ b/source/a/mdadm/mdadm.url
@@ -0,0 +1 @@
+https://www.kernel.org/pub/linux/utils/raid/mdadm