summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/drbd-tools/README (renamed from system/drbd/README)2
-rw-r--r--system/drbd-tools/doinst.sh (renamed from system/drbd/doinst.sh)0
-rw-r--r--system/drbd-tools/drbd-tools.SlackBuild (renamed from system/drbd/drbd.SlackBuild)10
-rw-r--r--system/drbd-tools/drbd-tools.info (renamed from system/drbd/drbd.info)0
-rw-r--r--system/drbd-tools/slack-desc19
-rw-r--r--system/drbd/slack-desc19
6 files changed, 27 insertions, 23 deletions
diff --git a/system/drbd/README b/system/drbd-tools/README
index fe0d0959b7..c38dea9aa1 100644
--- a/system/drbd/README
+++ b/system/drbd-tools/README
@@ -5,3 +5,5 @@ clusters. This is done by mirroring a whole block device via
(a dedicated) network. You could see it as a network RAID1. DRBD
takes over the data, writes it to the local disk and sends it to
the other host. On the other host, it takes it to the disk there.
+
+This package contains the userspace tools for drbd.
diff --git a/system/drbd/doinst.sh b/system/drbd-tools/doinst.sh
index 5963b24bb2..5963b24bb2 100644
--- a/system/drbd/doinst.sh
+++ b/system/drbd-tools/doinst.sh
diff --git a/system/drbd/drbd.SlackBuild b/system/drbd-tools/drbd-tools.SlackBuild
index 6331c1f50a..26f6f6ab8d 100644
--- a/system/drbd/drbd.SlackBuild
+++ b/system/drbd-tools/drbd-tools.SlackBuild
@@ -6,11 +6,13 @@
# Written by Zordrak <sbo@tpa.me.uk>
# Based on http://slackbuilds.org/template.SlackBuild
-PRGNAM=drbd
+PRGNAM=drbd-tools
VERSION=${VERSION:-8.3.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCNAM=drbd
+
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -45,9 +47,9 @@ set -e # Exit on most errors
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
diff --git a/system/drbd/drbd.info b/system/drbd-tools/drbd-tools.info
index ced8e9cc04..ced8e9cc04 100644
--- a/system/drbd/drbd.info
+++ b/system/drbd-tools/drbd-tools.info
diff --git a/system/drbd-tools/slack-desc b/system/drbd-tools/slack-desc
new file mode 100644
index 0000000000..12432dafc3
--- /dev/null
+++ b/system/drbd-tools/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+drbd-tools: drbd-tools (Userland Tools for Distributed Replicated Block Device)
+drbd-tools:
+drbd-tools: DRBD is a block device which is designed to build high availability
+drbd-tools: clusters. This is done by mirroring a whole block device via
+drbd-tools: (a dedicated) network. You could see it as a network RAID1. DRBD
+drbd-tools: takes over the data, writes it to the local disk and sends it to
+drbd-tools: the other host. On the other host, it takes it to the disk there.
+drbd-tools:
+drbd-tools: Home: http://www.drbd.org
+drbd-tools:
+drbd-tools:
diff --git a/system/drbd/slack-desc b/system/drbd/slack-desc
deleted file mode 100644
index d231e947a4..0000000000
--- a/system/drbd/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-drbd: drbd (Userland Tools for Distributed Replicated Block Device)
-drbd:
-drbd: DRBD is a block device which is designed to build high availability
-drbd: clusters. This is done by mirroring a whole block device via
-drbd: (a dedicated) network. You could see it as a network RAID1. DRBD
-drbd: takes over the data, writes it to the local disk and sends it to
-drbd: the other host. On the other host, it takes it to the disk there.
-drbd:
-drbd: Home: http://www.drbd.org
-drbd:
-drbd: