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

Christian Hesse eworm at archlinux.org
Mon May 22 19:08:46 UTC 2017


    Date: Monday, May 22, 2017 @ 19:08:41
  Author: eworm
Revision: 229313

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

Added:
  nbd/repos/community-testing-i686/
  nbd/repos/community-testing-i686/PKGBUILD
    (from rev 229312, nbd/trunk/PKGBUILD)
  nbd/repos/community-testing-i686/config
    (from rev 229312, nbd/trunk/config)
  nbd/repos/community-testing-i686/nbd.service
    (from rev 229312, nbd/trunk/nbd.service)
  nbd/repos/community-testing-i686/sysusers_nbd.conf
    (from rev 229312, nbd/trunk/sysusers_nbd.conf)
  nbd/repos/community-testing-x86_64/
  nbd/repos/community-testing-x86_64/PKGBUILD
    (from rev 229312, nbd/trunk/PKGBUILD)
  nbd/repos/community-testing-x86_64/config
    (from rev 229312, nbd/trunk/config)
  nbd/repos/community-testing-x86_64/nbd.service
    (from rev 229312, nbd/trunk/nbd.service)
  nbd/repos/community-testing-x86_64/sysusers_nbd.conf
    (from rev 229312, nbd/trunk/sysusers_nbd.conf)

--------------------------------------------+
 community-testing-i686/PKGBUILD            |   55 +++++++++++++++++++++++++++
 community-testing-i686/config              |   21 ++++++++++
 community-testing-i686/nbd.service         |   10 ++++
 community-testing-i686/sysusers_nbd.conf   |    1 
 community-testing-x86_64/PKGBUILD          |   55 +++++++++++++++++++++++++++
 community-testing-x86_64/config            |   21 ++++++++++
 community-testing-x86_64/nbd.service       |   10 ++++
 community-testing-x86_64/sysusers_nbd.conf |    1 
 8 files changed, 174 insertions(+)

Copied: nbd/repos/community-testing-i686/PKGBUILD (from rev 229312, nbd/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2017-05-22 19:08:41 UTC (rev 229313)
@@ -0,0 +1,55 @@
+# $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.15.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')
+depends=('glib2' 'gnutls')
+backup=('etc/nbd-server/config')
+source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz"
+	'config'
+	'nbd.service'
+	'sysusers_nbd.conf')
+sha256sums=('6888cd01efbd8e2377634c83c29c8a096b485f90f1185854651ed6b50f1c0056'
+            'ee2e9fbbeb8a8b9b71d16b6f32eb41788f6def9d00cc4a47897ed3cb97cdde7c'
+            '7f57d8764f9bf974ed407835467141ff54c9ed05471312a20437b398834c1f0c'
+            '11bbab28111c519d043bd96934e16508fe1483c9741e781eea9b9544b111505d')
+
+build(){
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --enable-syslog
+
+  make
+}
+
+# checks still fail...
+#check() {
+#  cd "${srcdir}/${pkgname}-${pkgver}"
+#
+#  make check
+#}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+  install -D -m644 systemd/nbd at .service "${pkgdir}"/usr/lib/systemd/system/nbd at .service
+
+  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
+}

Copied: nbd/repos/community-testing-i686/config (from rev 229312, nbd/trunk/config)
===================================================================
--- community-testing-i686/config	                        (rev 0)
+++ community-testing-i686/config	2017-05-22 19:08:41 UTC (rev 229313)
@@ -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.

Copied: nbd/repos/community-testing-i686/nbd.service (from rev 229312, nbd/trunk/nbd.service)
===================================================================
--- community-testing-i686/nbd.service	                        (rev 0)
+++ community-testing-i686/nbd.service	2017-05-22 19:08:41 UTC (rev 229313)
@@ -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-testing-i686/sysusers_nbd.conf (from rev 229312, nbd/trunk/sysusers_nbd.conf)
===================================================================
--- community-testing-i686/sysusers_nbd.conf	                        (rev 0)
+++ community-testing-i686/sysusers_nbd.conf	2017-05-22 19:08:41 UTC (rev 229313)
@@ -0,0 +1 @@
+u nbd 44 "Network Block Device" /var/empty

Copied: nbd/repos/community-testing-x86_64/PKGBUILD (from rev 229312, nbd/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-05-22 19:08:41 UTC (rev 229313)
@@ -0,0 +1,55 @@
+# $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.15.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')
+depends=('glib2' 'gnutls')
+backup=('etc/nbd-server/config')
+source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz"
+	'config'
+	'nbd.service'
+	'sysusers_nbd.conf')
+sha256sums=('6888cd01efbd8e2377634c83c29c8a096b485f90f1185854651ed6b50f1c0056'
+            'ee2e9fbbeb8a8b9b71d16b6f32eb41788f6def9d00cc4a47897ed3cb97cdde7c'
+            '7f57d8764f9bf974ed407835467141ff54c9ed05471312a20437b398834c1f0c'
+            '11bbab28111c519d043bd96934e16508fe1483c9741e781eea9b9544b111505d')
+
+build(){
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --enable-syslog
+
+  make
+}
+
+# checks still fail...
+#check() {
+#  cd "${srcdir}/${pkgname}-${pkgver}"
+#
+#  make check
+#}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+  install -D -m644 systemd/nbd at .service "${pkgdir}"/usr/lib/systemd/system/nbd at .service
+
+  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
+}

Copied: nbd/repos/community-testing-x86_64/config (from rev 229312, nbd/trunk/config)
===================================================================
--- community-testing-x86_64/config	                        (rev 0)
+++ community-testing-x86_64/config	2017-05-22 19:08:41 UTC (rev 229313)
@@ -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.

Copied: nbd/repos/community-testing-x86_64/nbd.service (from rev 229312, nbd/trunk/nbd.service)
===================================================================
--- community-testing-x86_64/nbd.service	                        (rev 0)
+++ community-testing-x86_64/nbd.service	2017-05-22 19:08:41 UTC (rev 229313)
@@ -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-testing-x86_64/sysusers_nbd.conf (from rev 229312, nbd/trunk/sysusers_nbd.conf)
===================================================================
--- community-testing-x86_64/sysusers_nbd.conf	                        (rev 0)
+++ community-testing-x86_64/sysusers_nbd.conf	2017-05-22 19:08:41 UTC (rev 229313)
@@ -0,0 +1 @@
+u nbd 44 "Network Block Device" /var/empty



More information about the arch-commits mailing list