[arch-commits] Commit in nbd/repos (18 files)

Sven-Hendrik Haase svenstaro at nymeria.archlinux.org
Thu May 16 19:49:59 EDT 2013


    Date: Friday, May 17, 2013 @ 01:49:59
  Author: svenstaro
Revision: 90984

archrelease: copy trunk to community-i686, community-x86_64

Added:
  nbd/repos/community-i686/PKGBUILD
    (from rev 90983, nbd/trunk/PKGBUILD)
  nbd/repos/community-i686/config
    (from rev 90983, nbd/trunk/config)
  nbd/repos/community-i686/nbd.install
    (from rev 90983, nbd/trunk/nbd.install)
  nbd/repos/community-i686/nbd.service
    (from rev 90983, nbd/trunk/nbd.service)
  nbd/repos/community-x86_64/PKGBUILD
    (from rev 90983, nbd/trunk/PKGBUILD)
  nbd/repos/community-x86_64/config
    (from rev 90983, nbd/trunk/config)
  nbd/repos/community-x86_64/nbd.install
    (from rev 90983, nbd/trunk/nbd.install)
  nbd/repos/community-x86_64/nbd.service
    (from rev 90983, nbd/trunk/nbd.service)
Deleted:
  nbd/repos/community-i686/PKGBUILD
  nbd/repos/community-i686/config
  nbd/repos/community-i686/nbd
  nbd/repos/community-i686/nbd.install
  nbd/repos/community-i686/nbd.service
  nbd/repos/community-x86_64/PKGBUILD
  nbd/repos/community-x86_64/config
  nbd/repos/community-x86_64/nbd
  nbd/repos/community-x86_64/nbd.install
  nbd/repos/community-x86_64/nbd.service

------------------------------+
 /PKGBUILD                    |   80 +++++++++++++++++++++++++++++++++++++++++
 /config                      |   66 +++++++++++++++++++++++++++++++++
 /nbd.install                 |   26 +++++++++++++
 /nbd.service                 |   20 ++++++++++
 community-i686/PKGBUILD      |   42 ---------------------
 community-i686/config        |   33 ----------------
 community-i686/nbd           |   39 -------------------
 community-i686/nbd.install   |   13 ------
 community-i686/nbd.service   |   10 -----
 community-x86_64/PKGBUILD    |   42 ---------------------
 community-x86_64/config      |   33 ----------------
 community-x86_64/nbd         |   39 -------------------
 community-x86_64/nbd.install |   13 ------
 community-x86_64/nbd.service |   10 -----
 14 files changed, 192 insertions(+), 274 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-05-16 23:49:50 UTC (rev 90983)
+++ community-i686/PKGBUILD	2013-05-16 23:49:59 UTC (rev 90984)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Christian Hesse <mail at eworm.de>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Gerhard Brauer <gerbra at archlinux.de>
-
-pkgname=nbd
-pkgver=3.3
-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"
-license=('GPL')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
-	config nbd nbd.service)
-backup=('etc/nbd-server/config')
-depends=('glib2')
-install=nbd.install
-md5sums=('cde8fe6e870b8a7459f12e5dcf572d86'
-         '2d05d426b8c2708d5f8a0d028fcbae05'
-         'e7b13a8b3369e11927d9917664557efa'
-         '5d1acc143018117174f79eff15afa038')
-
-build(){
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  ./configure --prefix=/usr --sysconfdir=/etc --enable-syslog --sbindir=/usr/bin
-
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  make DESTDIR="${pkgdir}" install
-
-  install -D -m644 "${srcdir}"/config "${pkgdir}"/etc/nbd-server/config
-  install -D -m755 "${srcdir}"/nbd "${pkgdir}"/etc/rc.d/nbd
-  install -D -m644 "${srcdir}"/nbd.service "${pkgdir}"/usr/lib/systemd/system/nbd.service
-
-  install -D -m644 README "${pkgdir}"/usr/share/doc/nbd/README
-}

Copied: nbd/repos/community-i686/PKGBUILD (from rev 90983, nbd/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-05-16 23:49:59 UTC (rev 90984)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Christian Hesse <mail at eworm.de>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Gerhard Brauer <gerbra at archlinux.de>
+
+pkgname=nbd
+pkgver=3.3
+pkgrel=3
+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"
+license=('GPL')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
+	config nbd.service)
+backup=('etc/nbd-server/config')
+depends=('glib2')
+install=nbd.install
+md5sums=('cde8fe6e870b8a7459f12e5dcf572d86'
+         '2d05d426b8c2708d5f8a0d028fcbae05'
+         '5d1acc143018117174f79eff15afa038')
+
+build(){
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr --sysconfdir=/etc --enable-syslog --sbindir=/usr/bin
+
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+
+  install -D -m644 "${srcdir}"/config "${pkgdir}"/etc/nbd-server/config
+  install -D -m644 "${srcdir}"/nbd.service "${pkgdir}"/usr/lib/systemd/system/nbd.service
+
+  install -D -m644 README "${pkgdir}"/usr/share/doc/nbd/README
+}

Deleted: community-i686/config
===================================================================
--- community-i686/config	2013-05-16 23:49:50 UTC (rev 90983)
+++ community-i686/config	2013-05-16 23:49:59 UTC (rev 90984)
@@ -1,33 +0,0 @@
-[generic]
-	# The [generic] section is required, even if nothing is specified
-	# there.
-	# When either of these options are specified, nbd-server drops
-	# privileges to the given user and group after opening ports, but
-	# _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
-	# 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
-	readonly = false
-	multifile = false
-	copyonwrite = false
-	prerun = dd if=/dev/zero of=%s bs=1k count=500
-	postrun = rm -f %s
-[otherexport]
-	exportname = /export/nbd/experiment
-	# The other options are all optional, except this one in case
-	# the oldstyle option is used in [generic]:
-	# port = 12346

Copied: nbd/repos/community-i686/config (from rev 90983, nbd/trunk/config)
===================================================================
--- community-i686/config	                        (rev 0)
+++ community-i686/config	2013-05-16 23:49:59 UTC (rev 90984)
@@ -0,0 +1,33 @@
+[generic]
+	# The [generic] section is required, even if nothing is specified
+	# there.
+	# When either of these options are specified, nbd-server drops
+	# privileges to the given user and group after opening ports, but
+	# _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
+	# 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
+	readonly = false
+	multifile = false
+	copyonwrite = false
+	prerun = dd if=/dev/zero of=%s bs=1k count=500
+	postrun = rm -f %s
+[otherexport]
+	exportname = /export/nbd/experiment
+	# The other options are all optional, except this one in case
+	# the oldstyle option is used in [generic]:
+	# port = 12346

Deleted: community-i686/nbd
===================================================================
--- community-i686/nbd	2013-05-16 23:49:50 UTC (rev 90983)
+++ community-i686/nbd	2013-05-16 23:49:59 UTC (rev 90984)
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PIDFILE="/var/run/nbd-server.pid"
-PID=`cat $PIDFILE 2>/dev/null`
-case "$1" in
-  start)
-    stat_busy "Starting Network Block Device Server"
-    if [ "$PID" = "" ]; then 
-       /usr/bin/nbd-server
-    fi
-    if [ "$PID" != "" -o $? -gt 0 ]; then
-      stat_fail
-    else
-      add_daemon nbd
-      stat_done
-    fi
-    ;;
-  stop)
-    stat_busy "Stopping Network Block Device Server"
-    [ ! -z "$PID" ]  && kill $PID &> /dev/null
-    rm -f $PIDFILE
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      rm_daemon nbd
-      stat_done
-    fi
-    ;;
-  restart)
-    $0 stop
-    sleep 1
-    $0 start
-    ;;
-  *)
-    echo "usage: $0 {start|stop|restart}"  
-esac

Deleted: community-i686/nbd.install
===================================================================
--- community-i686/nbd.install	2013-05-16 23:49:50 UTC (rev 90983)
+++ community-i686/nbd.install	2013-05-16 23:49:59 UTC (rev 90984)
@@ -1,13 +0,0 @@
-post_install() {
-	getent group "nbd" &>/dev/null || groupadd -r -g 44 nbd 1>/dev/null
-	getent passwd "nbd" &>/dev/null || useradd -r -u 44 -g nbd -d "/var/empty" -s "/bin/false" nbd 1>/dev/null
-}
-
-post_upgrade() {
-	post_install
-}
-
-pre_remove() {
-	getent passwd "nbd" &>/dev/null && userdel nbd 1>/dev/null
-	getent group "nbd" &>/dev/null && groupdel nbd 1>/dev/null
-}

Copied: nbd/repos/community-i686/nbd.install (from rev 90983, nbd/trunk/nbd.install)
===================================================================
--- community-i686/nbd.install	                        (rev 0)
+++ community-i686/nbd.install	2013-05-16 23:49:59 UTC (rev 90984)
@@ -0,0 +1,13 @@
+post_install() {
+	getent group "nbd" &>/dev/null || groupadd -r -g 44 nbd 1>/dev/null
+	getent passwd "nbd" &>/dev/null || useradd -r -u 44 -g nbd -d "/var/empty" -s "/bin/false" nbd 1>/dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+pre_remove() {
+	getent passwd "nbd" &>/dev/null && userdel nbd 1>/dev/null
+	getent group "nbd" &>/dev/null && groupdel nbd 1>/dev/null
+}

Deleted: community-i686/nbd.service
===================================================================
--- community-i686/nbd.service	2013-05-16 23:49:50 UTC (rev 90983)
+++ community-i686/nbd.service	2013-05-16 23:49:59 UTC (rev 90984)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Network Block Device Server
-After=network.target
-
-[Service]
-Type=forking
-ExecStart=/usr/bin/nbd-server
-
-[Install]
-WantedBy=multi-user.target

Copied: nbd/repos/community-i686/nbd.service (from rev 90983, nbd/trunk/nbd.service)
===================================================================
--- community-i686/nbd.service	                        (rev 0)
+++ community-i686/nbd.service	2013-05-16 23:49:59 UTC (rev 90984)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Network Block Device Server
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/nbd-server
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-05-16 23:49:50 UTC (rev 90983)
+++ community-x86_64/PKGBUILD	2013-05-16 23:49:59 UTC (rev 90984)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Christian Hesse <mail at eworm.de>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Gerhard Brauer <gerbra at archlinux.de>
-
-pkgname=nbd
-pkgver=3.3
-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"
-license=('GPL')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
-	config nbd nbd.service)
-backup=('etc/nbd-server/config')
-depends=('glib2')
-install=nbd.install
-md5sums=('cde8fe6e870b8a7459f12e5dcf572d86'
-         '2d05d426b8c2708d5f8a0d028fcbae05'
-         'e7b13a8b3369e11927d9917664557efa'
-         '5d1acc143018117174f79eff15afa038')
-
-build(){
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  ./configure --prefix=/usr --sysconfdir=/etc --enable-syslog --sbindir=/usr/bin
-
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  make DESTDIR="${pkgdir}" install
-
-  install -D -m644 "${srcdir}"/config "${pkgdir}"/etc/nbd-server/config
-  install -D -m755 "${srcdir}"/nbd "${pkgdir}"/etc/rc.d/nbd
-  install -D -m644 "${srcdir}"/nbd.service "${pkgdir}"/usr/lib/systemd/system/nbd.service
-
-  install -D -m644 README "${pkgdir}"/usr/share/doc/nbd/README
-}

Copied: nbd/repos/community-x86_64/PKGBUILD (from rev 90983, nbd/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-05-16 23:49:59 UTC (rev 90984)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Christian Hesse <mail at eworm.de>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Gerhard Brauer <gerbra at archlinux.de>
+
+pkgname=nbd
+pkgver=3.3
+pkgrel=3
+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"
+license=('GPL')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
+	config nbd.service)
+backup=('etc/nbd-server/config')
+depends=('glib2')
+install=nbd.install
+md5sums=('cde8fe6e870b8a7459f12e5dcf572d86'
+         '2d05d426b8c2708d5f8a0d028fcbae05'
+         '5d1acc143018117174f79eff15afa038')
+
+build(){
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr --sysconfdir=/etc --enable-syslog --sbindir=/usr/bin
+
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+
+  install -D -m644 "${srcdir}"/config "${pkgdir}"/etc/nbd-server/config
+  install -D -m644 "${srcdir}"/nbd.service "${pkgdir}"/usr/lib/systemd/system/nbd.service
+
+  install -D -m644 README "${pkgdir}"/usr/share/doc/nbd/README
+}

Deleted: community-x86_64/config
===================================================================
--- community-x86_64/config	2013-05-16 23:49:50 UTC (rev 90983)
+++ community-x86_64/config	2013-05-16 23:49:59 UTC (rev 90984)
@@ -1,33 +0,0 @@
-[generic]
-	# The [generic] section is required, even if nothing is specified
-	# there.
-	# When either of these options are specified, nbd-server drops
-	# privileges to the given user and group after opening ports, but
-	# _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
-	# 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
-	readonly = false
-	multifile = false
-	copyonwrite = false
-	prerun = dd if=/dev/zero of=%s bs=1k count=500
-	postrun = rm -f %s
-[otherexport]
-	exportname = /export/nbd/experiment
-	# The other options are all optional, except this one in case
-	# the oldstyle option is used in [generic]:
-	# port = 12346

Copied: nbd/repos/community-x86_64/config (from rev 90983, nbd/trunk/config)
===================================================================
--- community-x86_64/config	                        (rev 0)
+++ community-x86_64/config	2013-05-16 23:49:59 UTC (rev 90984)
@@ -0,0 +1,33 @@
+[generic]
+	# The [generic] section is required, even if nothing is specified
+	# there.
+	# When either of these options are specified, nbd-server drops
+	# privileges to the given user and group after opening ports, but
+	# _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
+	# 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
+	readonly = false
+	multifile = false
+	copyonwrite = false
+	prerun = dd if=/dev/zero of=%s bs=1k count=500
+	postrun = rm -f %s
+[otherexport]
+	exportname = /export/nbd/experiment
+	# The other options are all optional, except this one in case
+	# the oldstyle option is used in [generic]:
+	# port = 12346

Deleted: community-x86_64/nbd
===================================================================
--- community-x86_64/nbd	2013-05-16 23:49:50 UTC (rev 90983)
+++ community-x86_64/nbd	2013-05-16 23:49:59 UTC (rev 90984)
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PIDFILE="/var/run/nbd-server.pid"
-PID=`cat $PIDFILE 2>/dev/null`
-case "$1" in
-  start)
-    stat_busy "Starting Network Block Device Server"
-    if [ "$PID" = "" ]; then 
-       /usr/bin/nbd-server
-    fi
-    if [ "$PID" != "" -o $? -gt 0 ]; then
-      stat_fail
-    else
-      add_daemon nbd
-      stat_done
-    fi
-    ;;
-  stop)
-    stat_busy "Stopping Network Block Device Server"
-    [ ! -z "$PID" ]  && kill $PID &> /dev/null
-    rm -f $PIDFILE
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      rm_daemon nbd
-      stat_done
-    fi
-    ;;
-  restart)
-    $0 stop
-    sleep 1
-    $0 start
-    ;;
-  *)
-    echo "usage: $0 {start|stop|restart}"  
-esac

Deleted: community-x86_64/nbd.install
===================================================================
--- community-x86_64/nbd.install	2013-05-16 23:49:50 UTC (rev 90983)
+++ community-x86_64/nbd.install	2013-05-16 23:49:59 UTC (rev 90984)
@@ -1,13 +0,0 @@
-post_install() {
-	getent group "nbd" &>/dev/null || groupadd -r -g 44 nbd 1>/dev/null
-	getent passwd "nbd" &>/dev/null || useradd -r -u 44 -g nbd -d "/var/empty" -s "/bin/false" nbd 1>/dev/null
-}
-
-post_upgrade() {
-	post_install
-}
-
-pre_remove() {
-	getent passwd "nbd" &>/dev/null && userdel nbd 1>/dev/null
-	getent group "nbd" &>/dev/null && groupdel nbd 1>/dev/null
-}

Copied: nbd/repos/community-x86_64/nbd.install (from rev 90983, nbd/trunk/nbd.install)
===================================================================
--- community-x86_64/nbd.install	                        (rev 0)
+++ community-x86_64/nbd.install	2013-05-16 23:49:59 UTC (rev 90984)
@@ -0,0 +1,13 @@
+post_install() {
+	getent group "nbd" &>/dev/null || groupadd -r -g 44 nbd 1>/dev/null
+	getent passwd "nbd" &>/dev/null || useradd -r -u 44 -g nbd -d "/var/empty" -s "/bin/false" nbd 1>/dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+pre_remove() {
+	getent passwd "nbd" &>/dev/null && userdel nbd 1>/dev/null
+	getent group "nbd" &>/dev/null && groupdel nbd 1>/dev/null
+}

Deleted: community-x86_64/nbd.service
===================================================================
--- community-x86_64/nbd.service	2013-05-16 23:49:50 UTC (rev 90983)
+++ community-x86_64/nbd.service	2013-05-16 23:49:59 UTC (rev 90984)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Network Block Device Server
-After=network.target
-
-[Service]
-Type=forking
-ExecStart=/usr/bin/nbd-server
-
-[Install]
-WantedBy=multi-user.target

Copied: nbd/repos/community-x86_64/nbd.service (from rev 90983, nbd/trunk/nbd.service)
===================================================================
--- community-x86_64/nbd.service	                        (rev 0)
+++ community-x86_64/nbd.service	2013-05-16 23:49:59 UTC (rev 90984)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Network Block Device Server
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/nbd-server
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list