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

Sven-Hendrik Haase svenstaro at nymeria.archlinux.org
Thu Apr 11 08:51:54 UTC 2013


    Date: Thursday, April 11, 2013 @ 10:51:54
  Author: svenstaro
Revision: 88083

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

Added:
  nbd/repos/community-i686/PKGBUILD
    (from rev 88082, nbd/trunk/PKGBUILD)
  nbd/repos/community-i686/config
    (from rev 88082, nbd/trunk/config)
  nbd/repos/community-i686/nbd
    (from rev 88082, nbd/trunk/nbd)
  nbd/repos/community-i686/nbd.install
    (from rev 88082, nbd/trunk/nbd.install)
  nbd/repos/community-i686/nbd.service
    (from rev 88082, nbd/trunk/nbd.service)
  nbd/repos/community-x86_64/PKGBUILD
    (from rev 88082, nbd/trunk/PKGBUILD)
  nbd/repos/community-x86_64/config
    (from rev 88082, nbd/trunk/config)
  nbd/repos/community-x86_64/nbd
    (from rev 88082, nbd/trunk/nbd)
  nbd/repos/community-x86_64/nbd.install
    (from rev 88082, nbd/trunk/nbd.install)
  nbd/repos/community-x86_64/nbd.service
    (from rev 88082, 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                    |   84 +++++++++++++++++++++++++++++++++++++++++
 /config                      |   66 ++++++++++++++++++++++++++++++++
 /nbd                         |   78 ++++++++++++++++++++++++++++++++++++++
 /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 ----
 15 files changed, 274 insertions(+), 274 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-04-11 08:51:36 UTC (rev 88082)
+++ community-i686/PKGBUILD	2013-04-11 08:51:54 UTC (rev 88083)
@@ -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.2
-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 nbd.service)
-backup=('etc/nbd-server/config')
-depends=('glib2')
-install=nbd.install
-md5sums=('9cafce4ecfb55e670d7ded4c8f4e6bc9'
-         '2d05d426b8c2708d5f8a0d028fcbae05'
-         'e7b13a8b3369e11927d9917664557efa'
-         '5d1acc143018117174f79eff15afa038')
-
-build(){
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  ./configure --prefix=/usr --sysconfdir=/etc --enable-syslog
-
-  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 88082, nbd/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-04-11 08:51:54 UTC (rev 88083)
@@ -0,0 +1,42 @@
+# $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=1
+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
+
+  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
+}

Deleted: community-i686/config
===================================================================
--- community-i686/config	2013-04-11 08:51:36 UTC (rev 88082)
+++ community-i686/config	2013-04-11 08:51:54 UTC (rev 88083)
@@ -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 88082, nbd/trunk/config)
===================================================================
--- community-i686/config	                        (rev 0)
+++ community-i686/config	2013-04-11 08:51:54 UTC (rev 88083)
@@ -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-04-11 08:51:36 UTC (rev 88082)
+++ community-i686/nbd	2013-04-11 08:51:54 UTC (rev 88083)
@@ -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

Copied: nbd/repos/community-i686/nbd (from rev 88082, nbd/trunk/nbd)
===================================================================
--- community-i686/nbd	                        (rev 0)
+++ community-i686/nbd	2013-04-11 08:51:54 UTC (rev 88083)
@@ -0,0 +1,39 @@
+#!/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-04-11 08:51:36 UTC (rev 88082)
+++ community-i686/nbd.install	2013-04-11 08:51:54 UTC (rev 88083)
@@ -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 88082, nbd/trunk/nbd.install)
===================================================================
--- community-i686/nbd.install	                        (rev 0)
+++ community-i686/nbd.install	2013-04-11 08:51:54 UTC (rev 88083)
@@ -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-04-11 08:51:36 UTC (rev 88082)
+++ community-i686/nbd.service	2013-04-11 08:51:54 UTC (rev 88083)
@@ -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 88082, nbd/trunk/nbd.service)
===================================================================
--- community-i686/nbd.service	                        (rev 0)
+++ community-i686/nbd.service	2013-04-11 08:51:54 UTC (rev 88083)
@@ -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-04-11 08:51:36 UTC (rev 88082)
+++ community-x86_64/PKGBUILD	2013-04-11 08:51:54 UTC (rev 88083)
@@ -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.2
-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 nbd.service)
-backup=('etc/nbd-server/config')
-depends=('glib2')
-install=nbd.install
-md5sums=('9cafce4ecfb55e670d7ded4c8f4e6bc9'
-         '2d05d426b8c2708d5f8a0d028fcbae05'
-         'e7b13a8b3369e11927d9917664557efa'
-         '5d1acc143018117174f79eff15afa038')
-
-build(){
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  ./configure --prefix=/usr --sysconfdir=/etc --enable-syslog
-
-  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 88082, nbd/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-04-11 08:51:54 UTC (rev 88083)
@@ -0,0 +1,42 @@
+# $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=1
+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
+
+  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
+}

Deleted: community-x86_64/config
===================================================================
--- community-x86_64/config	2013-04-11 08:51:36 UTC (rev 88082)
+++ community-x86_64/config	2013-04-11 08:51:54 UTC (rev 88083)
@@ -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 88082, nbd/trunk/config)
===================================================================
--- community-x86_64/config	                        (rev 0)
+++ community-x86_64/config	2013-04-11 08:51:54 UTC (rev 88083)
@@ -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-04-11 08:51:36 UTC (rev 88082)
+++ community-x86_64/nbd	2013-04-11 08:51:54 UTC (rev 88083)
@@ -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

Copied: nbd/repos/community-x86_64/nbd (from rev 88082, nbd/trunk/nbd)
===================================================================
--- community-x86_64/nbd	                        (rev 0)
+++ community-x86_64/nbd	2013-04-11 08:51:54 UTC (rev 88083)
@@ -0,0 +1,39 @@
+#!/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-04-11 08:51:36 UTC (rev 88082)
+++ community-x86_64/nbd.install	2013-04-11 08:51:54 UTC (rev 88083)
@@ -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 88082, nbd/trunk/nbd.install)
===================================================================
--- community-x86_64/nbd.install	                        (rev 0)
+++ community-x86_64/nbd.install	2013-04-11 08:51:54 UTC (rev 88083)
@@ -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-04-11 08:51:36 UTC (rev 88082)
+++ community-x86_64/nbd.service	2013-04-11 08:51:54 UTC (rev 88083)
@@ -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 88082, nbd/trunk/nbd.service)
===================================================================
--- community-x86_64/nbd.service	                        (rev 0)
+++ community-x86_64/nbd.service	2013-04-11 08:51:54 UTC (rev 88083)
@@ -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