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

Christian Hesse eworm at archlinux.org
Wed May 25 13:17:21 UTC 2016


    Date: Wednesday, May 25, 2016 @ 15:17:21
  Author: eworm
Revision: 176871

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

Added:
  nbd/repos/community-i686/PKGBUILD
    (from rev 176870, nbd/trunk/PKGBUILD)
  nbd/repos/community-i686/config
    (from rev 176870, nbd/trunk/config)
  nbd/repos/community-i686/nbd.install
    (from rev 176870, nbd/trunk/nbd.install)
  nbd/repos/community-i686/nbd.service
    (from rev 176870, nbd/trunk/nbd.service)
  nbd/repos/community-i686/sysusers_nbd.conf
    (from rev 176870, nbd/trunk/sysusers_nbd.conf)
  nbd/repos/community-x86_64/PKGBUILD
    (from rev 176870, nbd/trunk/PKGBUILD)
  nbd/repos/community-x86_64/config
    (from rev 176870, nbd/trunk/config)
  nbd/repos/community-x86_64/nbd.install
    (from rev 176870, nbd/trunk/nbd.install)
  nbd/repos/community-x86_64/nbd.service
    (from rev 176870, nbd/trunk/nbd.service)
  nbd/repos/community-x86_64/sysusers_nbd.conf
    (from rev 176870, nbd/trunk/sysusers_nbd.conf)
Deleted:
  nbd/repos/community-i686/PKGBUILD
  nbd/repos/community-i686/config
  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.install
  nbd/repos/community-x86_64/nbd.service

------------------------------------+
 /PKGBUILD                          |   96 +++++++++++++++++++++++++++++++++++
 /config                            |   42 +++++++++++++++
 /nbd.install                       |   14 +++++
 /nbd.service                       |   20 +++++++
 community-i686/PKGBUILD            |   40 --------------
 community-i686/config              |   33 ------------
 community-i686/nbd.install         |    8 --
 community-i686/nbd.service         |   10 ---
 community-i686/sysusers_nbd.conf   |    1 
 community-x86_64/PKGBUILD          |   40 --------------
 community-x86_64/config            |   33 ------------
 community-x86_64/nbd.install       |    8 --
 community-x86_64/nbd.service       |   10 ---
 community-x86_64/sysusers_nbd.conf |    1 
 14 files changed, 174 insertions(+), 182 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-05-25 13:17:11 UTC (rev 176870)
+++ community-i686/PKGBUILD	2016-05-25 13:17:21 UTC (rev 176871)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Christian Hesse <mail at eworm.de>
-# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Gerhard Brauer <gerbra at archlinux.de>
-
-pkgname=nbd
-pkgver=3.13
-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.xz
-	config nbd.service)
-backup=('etc/nbd-server/config')
-depends=('glib2')
-install=nbd.install
-md5sums=('784be37497cc2f9a53c67c8c77d1676d'
-         '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 doc/README "${pkgdir}"/usr/share/doc/nbd/README
-}

Copied: nbd/repos/community-i686/PKGBUILD (from rev 176870, nbd/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-05-25 13:17:21 UTC (rev 176871)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Gerhard Brauer <gerbra at archlinux.de>
+
+pkgname=nbd
+pkgver=3.13
+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.xz
+	config
+	nbd.service
+	sysusers_nbd.conf)
+backup=('etc/nbd-server/config')
+depends=('glib2')
+install=nbd.install
+md5sums=('784be37497cc2f9a53c67c8c77d1676d'
+         'a5b890148b80c5951dbe9daa2f487d63'
+         '5d1acc143018117174f79eff15afa038'
+         'd969703f3d161935bb160a5c7afd468f')
+
+build(){
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --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 -m644 "${srcdir}"/nbd.service "${pkgdir}"/usr/lib/systemd/system/nbd.service
+  install -D -m644 "${srcdir}"/sysusers_nbd.conf "${pkgdir}"/usr/lib/sysusers.d/nbd.conf
+
+  install -D -m644 doc/README "${pkgdir}"/usr/share/doc/nbd/README
+}

Deleted: community-i686/config
===================================================================
--- community-i686/config	2016-05-25 13:17:11 UTC (rev 176870)
+++ community-i686/config	2016-05-25 13:17:21 UTC (rev 176871)
@@ -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 176870, nbd/trunk/config)
===================================================================
--- community-i686/config	                        (rev 0)
+++ community-i686/config	2016-05-25 13:17:21 UTC (rev 176871)
@@ -0,0 +1,21 @@
+[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
+[export1]
+	exportname = /export/nbd/export1-file
+	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.

Deleted: community-i686/nbd.install
===================================================================
--- community-i686/nbd.install	2016-05-25 13:17:11 UTC (rev 176870)
+++ community-i686/nbd.install	2016-05-25 13:17:21 UTC (rev 176871)
@@ -1,8 +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
-}

Copied: nbd/repos/community-i686/nbd.install (from rev 176870, nbd/trunk/nbd.install)
===================================================================
--- community-i686/nbd.install	                        (rev 0)
+++ community-i686/nbd.install	2016-05-25 13:17:21 UTC (rev 176871)
@@ -0,0 +1,7 @@
+post_install() {
+  systemd-sysusers nbd.conf
+}
+
+post_upgrade() {
+  systemd-sysusers nbd.conf
+}

Deleted: community-i686/nbd.service
===================================================================
--- community-i686/nbd.service	2016-05-25 13:17:11 UTC (rev 176870)
+++ community-i686/nbd.service	2016-05-25 13:17:21 UTC (rev 176871)
@@ -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 176870, nbd/trunk/nbd.service)
===================================================================
--- community-i686/nbd.service	                        (rev 0)
+++ community-i686/nbd.service	2016-05-25 13:17:21 UTC (rev 176871)
@@ -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

Copied: nbd/repos/community-i686/sysusers_nbd.conf (from rev 176870, nbd/trunk/sysusers_nbd.conf)
===================================================================
--- community-i686/sysusers_nbd.conf	                        (rev 0)
+++ community-i686/sysusers_nbd.conf	2016-05-25 13:17:21 UTC (rev 176871)
@@ -0,0 +1 @@
+u nbd 44 "Network Block Device" /var/empty

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-05-25 13:17:11 UTC (rev 176870)
+++ community-x86_64/PKGBUILD	2016-05-25 13:17:21 UTC (rev 176871)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Christian Hesse <mail at eworm.de>
-# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Gerhard Brauer <gerbra at archlinux.de>
-
-pkgname=nbd
-pkgver=3.13
-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.xz
-	config nbd.service)
-backup=('etc/nbd-server/config')
-depends=('glib2')
-install=nbd.install
-md5sums=('784be37497cc2f9a53c67c8c77d1676d'
-         '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 doc/README "${pkgdir}"/usr/share/doc/nbd/README
-}

Copied: nbd/repos/community-x86_64/PKGBUILD (from rev 176870, nbd/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-05-25 13:17:21 UTC (rev 176871)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Gerhard Brauer <gerbra at archlinux.de>
+
+pkgname=nbd
+pkgver=3.13
+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.xz
+	config
+	nbd.service
+	sysusers_nbd.conf)
+backup=('etc/nbd-server/config')
+depends=('glib2')
+install=nbd.install
+md5sums=('784be37497cc2f9a53c67c8c77d1676d'
+         'a5b890148b80c5951dbe9daa2f487d63'
+         '5d1acc143018117174f79eff15afa038'
+         'd969703f3d161935bb160a5c7afd468f')
+
+build(){
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --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 -m644 "${srcdir}"/nbd.service "${pkgdir}"/usr/lib/systemd/system/nbd.service
+  install -D -m644 "${srcdir}"/sysusers_nbd.conf "${pkgdir}"/usr/lib/sysusers.d/nbd.conf
+
+  install -D -m644 doc/README "${pkgdir}"/usr/share/doc/nbd/README
+}

Deleted: community-x86_64/config
===================================================================
--- community-x86_64/config	2016-05-25 13:17:11 UTC (rev 176870)
+++ community-x86_64/config	2016-05-25 13:17:21 UTC (rev 176871)
@@ -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 176870, nbd/trunk/config)
===================================================================
--- community-x86_64/config	                        (rev 0)
+++ community-x86_64/config	2016-05-25 13:17:21 UTC (rev 176871)
@@ -0,0 +1,21 @@
+[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
+[export1]
+	exportname = /export/nbd/export1-file
+	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.

Deleted: community-x86_64/nbd.install
===================================================================
--- community-x86_64/nbd.install	2016-05-25 13:17:11 UTC (rev 176870)
+++ community-x86_64/nbd.install	2016-05-25 13:17:21 UTC (rev 176871)
@@ -1,8 +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
-}

Copied: nbd/repos/community-x86_64/nbd.install (from rev 176870, nbd/trunk/nbd.install)
===================================================================
--- community-x86_64/nbd.install	                        (rev 0)
+++ community-x86_64/nbd.install	2016-05-25 13:17:21 UTC (rev 176871)
@@ -0,0 +1,7 @@
+post_install() {
+  systemd-sysusers nbd.conf
+}
+
+post_upgrade() {
+  systemd-sysusers nbd.conf
+}

Deleted: community-x86_64/nbd.service
===================================================================
--- community-x86_64/nbd.service	2016-05-25 13:17:11 UTC (rev 176870)
+++ community-x86_64/nbd.service	2016-05-25 13:17:21 UTC (rev 176871)
@@ -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 176870, nbd/trunk/nbd.service)
===================================================================
--- community-x86_64/nbd.service	                        (rev 0)
+++ community-x86_64/nbd.service	2016-05-25 13:17:21 UTC (rev 176871)
@@ -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

Copied: nbd/repos/community-x86_64/sysusers_nbd.conf (from rev 176870, nbd/trunk/sysusers_nbd.conf)
===================================================================
--- community-x86_64/sysusers_nbd.conf	                        (rev 0)
+++ community-x86_64/sysusers_nbd.conf	2016-05-25 13:17:21 UTC (rev 176871)
@@ -0,0 +1 @@
+u nbd 44 "Network Block Device" /var/empty



More information about the arch-commits mailing list