summaryrefslogtreecommitdiff
path: root/community/nbd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-15 00:01:28 +0000
committerroot <root@rshg054.dnsready.net>2012-04-15 00:01:28 +0000
commitf06b9295f0e60a0faa0d3231a0d0b3f2358d8459 (patch)
tree4bef4a67030f8ef621aaeeb16cc8d7f313c9eb67 /community/nbd
parentcaa3e47071c8516ac31afaa0b654f5aaa4911939 (diff)
Sun Apr 15 00:01:28 UTC 2012
Diffstat (limited to 'community/nbd')
-rw-r--r--community/nbd/PKGBUILD6
-rw-r--r--community/nbd/config17
2 files changed, 16 insertions, 7 deletions
diff --git a/community/nbd/PKGBUILD b/community/nbd/PKGBUILD
index 2952aacb4..a4d998095 100644
--- a/community/nbd/PKGBUILD
+++ b/community/nbd/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 68323 2012-03-21 16:50:13Z svenstaro $
+# $Id: PKGBUILD 69320 2012-04-13 16:10:58Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Christian Hesse <mail@eworm.de>
# Contributor: Ionut Biru <ibiru@archlinux.org>
@@ -6,7 +6,7 @@
pkgname=nbd
pkgver=3.0
-pkgrel=1
+pkgrel=2
pkgdesc="Tools for network block devices, allowing you to use remote block devices over TCP/IP."
arch=('i686' 'x86_64')
url="http://nbd.sourceforge.net"
@@ -17,7 +17,7 @@ backup=('etc/nbd-server/config')
depends=('glib2')
install=nbd.install
md5sums=('81f549155267536ad30851eb50ee8d1c'
- '075be420c3d7d7fc9408def3cb8c470d'
+ '2d05d426b8c2708d5f8a0d028fcbae05'
'e7b13a8b3369e11927d9917664557efa')
build(){
diff --git a/community/nbd/config b/community/nbd/config
index f90c36b23..777f0ef24 100644
--- a/community/nbd/config
+++ b/community/nbd/config
@@ -1,4 +1,3 @@
-# This is a comment
[generic]
# The [generic] section is required, even if nothing is specified
# there.
@@ -7,9 +6,18 @@
# _before_ opening files.
user = nbd
group = nbd
+ # Since version 2.9.17, nbd-server will do exports on a name
+ # basis (the used name is the name of the section in which the
+ # export is specified). This however required an incompatible
+ # protocol change. To enable backwards-compatible port-based
+ # exports, uncomment the following line:
+ # oldstyle = true
[export1]
exportname = /export/nbd/export1-file
- port = 12345
+ # The following line will be ignored unless the
+ # "oldstyle = true" line in the generic section above is
+ # enabled.
+ #port = 12345
authfile = /export/nbd/export1-authfile
timeout = 30
filesize = 10000000
@@ -20,5 +28,6 @@
postrun = rm -f %s
[otherexport]
exportname = /export/nbd/experiment
- port = 12346
- # The other options are all optional.
+ # The other options are all optional, except this one in case
+ # the oldstyle option is used in [generic]:
+ # port = 12346