sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (a4db17310f07dff493fb1417ec95382952a7f31f)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (a4db17310f07dff493fb1417ec95382952a7f31f)
- Date: Mon, 27 Aug 2012 11:14:25 -0500
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
ChangeLog | 3 +++
net/nbd/BUILD | 9 +++++++++
net/nbd/CONFIGURE | 7 +++++++
net/nbd/DEPENDS | 8 ++++++++
net/nbd/DETAILS | 14 ++++++++++++++
net/nbd/HISTORY | 2 ++
net/nbd/INSTALL | 6 ++++++
7 files changed, 49 insertions(+)
New commits:
commit a4db17310f07dff493fb1417ec95382952a7f31f
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
nbd: new spell, Network Block Device (TCP version) userland
diff --git a/ChangeLog b/ChangeLog
index 6fea75c..54b4058 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2012-08-27 Vlad Glagolev <stealth AT sourcemage.org>
+ * net/nbd: new spell, Network Block Device (TCP version) userland
+
2012-08-15 Ladislav Hagara <hgr AT vabo.cz>
* kde4/nepomuk-core: new spell, nepomuk central services and libraries
diff --git a/net/nbd/BUILD b/net/nbd/BUILD
new file mode 100755
index 0000000..6ba1e8f
--- /dev/null
+++ b/net/nbd/BUILD
@@ -0,0 +1,9 @@
+OPTS="$NBD_OPTS $OPTS" &&
+
+default_build &&
+
+if is_depends_enabled $SPELL zlib; then
+ cd gznbd &&
+ make &&
+ cd $SOURCE_DIRECTORY
+fi
diff --git a/net/nbd/CONFIGURE b/net/nbd/CONFIGURE
new file mode 100755
index 0000000..9d3f1a1
--- /dev/null
+++ b/net/nbd/CONFIGURE
@@ -0,0 +1,7 @@
+config_query_option NBD_OPTS "Enable Large File Support?" y \
+ "--enable-lfs" \
+ "--disable-lfs" &&
+
+config_query_option NBD_OPTS "Build a debugging version of the server?" n \
+ "--enable-debug" \
+ "--disable-debug"
diff --git a/net/nbd/DEPENDS b/net/nbd/DEPENDS
new file mode 100755
index 0000000..5bf8cda
--- /dev/null
+++ b/net/nbd/DEPENDS
@@ -0,0 +1,8 @@
+depends glib2 &&
+
+optional_depends SYSTEM-LOGGER \
+ "--enable-syslog" \
+ "--disable-syslog" \
+ "for Syslog logging" &&
+
+optional_depends zlib "" "" "to build gznbd"
diff --git a/net/nbd/DETAILS b/net/nbd/DETAILS
new file mode 100755
index 0000000..4b36212
--- /dev/null
+++ b/net/nbd/DETAILS
@@ -0,0 +1,14 @@
+ SPELL=nbd
+ VERSION=3.2
+
SOURCE_HASH=sha512:dbb751ec74784d8ea89d4df273ba239d66cf1d6fca16fea44a77502d6241132b960bd41dfdde844854e2df68bf27763b215207c0518bde943a2f3c631e4f76ec
+ SOURCE=${SPELL}-${VERSION}.tar.bz2
+ SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=http://nbd.sourceforge.net/
+ ENTERED=20120827
+ LICENSE[0]=GPL
+ SHORT="Network Block Device (TCP version) userland"
+cat << EOF
+Tools for the Linux Kernel's network block device, allowing you to use remote
+block devices over a TCP/IP network.
+EOF
diff --git a/net/nbd/HISTORY b/net/nbd/HISTORY
new file mode 100644
index 0000000..d4930b8
--- /dev/null
+++ b/net/nbd/HISTORY
@@ -0,0 +1,2 @@
+2012-08-27 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, CONFIGURE, BUILD, INSTALL: spell created
diff --git a/net/nbd/INSTALL b/net/nbd/INSTALL
new file mode 100755
index 0000000..3578e5a
--- /dev/null
+++ b/net/nbd/INSTALL
@@ -0,0 +1,6 @@
+default_install &&
+
+if is_depends_enabled $SPELL zlib; then
+ install -vm 755 -d "$INSTALL_ROOT/usr/bin" &&
+ install -vm 755 gznbd/gznbd "$INSTALL_ROOT/usr/bin/gznbd"
+fi
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (a4db17310f07dff493fb1417ec95382952a7f31f), Vlad Glagolev, 08/27/2012
Archive powered by MHonArc 2.6.24.