[arch-commits] Commit in nbd/repos (19 files)
Christian Hesse
eworm at archlinux.org
Fri Jul 1 06:42:05 UTC 2016
Date: Friday, July 1, 2016 @ 06:42:04
Author: eworm
Revision: 181665
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
nbd/repos/community-testing-i686/PKGBUILD
(from rev 181664, nbd/trunk/PKGBUILD)
nbd/repos/community-testing-i686/config
(from rev 181664, nbd/trunk/config)
nbd/repos/community-testing-i686/nbd-at.service.tmpl
(from rev 181664, nbd/trunk/nbd-at.service.tmpl)
nbd/repos/community-testing-i686/nbd.install
(from rev 181664, nbd/trunk/nbd.install)
nbd/repos/community-testing-i686/nbd.service
(from rev 181664, nbd/trunk/nbd.service)
nbd/repos/community-testing-i686/sysusers_nbd.conf
(from rev 181664, nbd/trunk/sysusers_nbd.conf)
nbd/repos/community-testing-x86_64/
nbd/repos/community-testing-x86_64/PKGBUILD
(from rev 181664, nbd/trunk/PKGBUILD)
nbd/repos/community-testing-x86_64/config
(from rev 181664, nbd/trunk/config)
nbd/repos/community-testing-x86_64/nbd-at.service.tmpl
(from rev 181664, nbd/trunk/nbd-at.service.tmpl)
nbd/repos/community-testing-x86_64/nbd.install
(from rev 181664, nbd/trunk/nbd.install)
nbd/repos/community-testing-x86_64/nbd.service
(from rev 181664, nbd/trunk/nbd.service)
nbd/repos/community-testing-x86_64/sysusers_nbd.conf
(from rev 181664, nbd/trunk/sysusers_nbd.conf)
Deleted:
nbd/repos/community-testing-i686/PKGBUILD
nbd/repos/community-testing-i686/config
nbd/repos/community-testing-i686/nbd-at.service.tmpl
nbd/repos/community-testing-i686/nbd.install
nbd/repos/community-testing-i686/nbd.service
nbd/repos/community-testing-i686/sysusers_nbd.conf
----------------------------------------------+
/PKGBUILD | 55 +++++++++++++++++++++++++
/config | 21 +++++++++
/nbd-at.service.tmpl | 11 +++++
/nbd.install | 7 +++
/nbd.service | 10 ++++
/sysusers_nbd.conf | 1
community-testing-i686/PKGBUILD | 55 -------------------------
community-testing-i686/config | 21 ---------
community-testing-i686/nbd-at.service.tmpl | 11 -----
community-testing-i686/nbd.install | 7 ---
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-at.service.tmpl | 11 +++++
community-testing-x86_64/nbd.install | 7 +++
community-testing-x86_64/nbd.service | 10 ++++
community-testing-x86_64/sysusers_nbd.conf | 1
18 files changed, 210 insertions(+), 105 deletions(-)
Deleted: community-testing-i686/PKGBUILD
===================================================================
--- community-testing-i686/PKGBUILD 2016-07-01 06:42:00 UTC (rev 181664)
+++ community-testing-i686/PKGBUILD 2016-07-01 06:42:04 UTC (rev 181665)
@@ -1,55 +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.14
-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
- nbd-at.service.tmpl
- config
- nbd.service
- sysusers_nbd.conf)
-backup=('etc/nbd-server/config')
-depends=('glib2')
-install=nbd.install
-md5sums=('fa29f57ca752e363edc15f0e35f0a95f'
- 'b34f29303dcab511e93e055ca24bbe77'
- 'a5b890148b80c5951dbe9daa2f487d63'
- '5d1acc143018117174f79eff15afa038'
- 'd969703f3d161935bb160a5c7afd468f')
-
-prepare() {
- install -D -m0644 nbd-at.service.tmpl "${srcdir}/${pkgname}-${pkgver}"/systemd/nbd at .service.tmpl
-}
-
-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 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/PKGBUILD (from rev 181664, nbd/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-07-01 06:42:04 UTC (rev 181665)
@@ -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.14
+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
+ nbd-at.service.tmpl
+ config
+ nbd.service
+ sysusers_nbd.conf)
+backup=('etc/nbd-server/config')
+depends=('glib2')
+install=nbd.install
+md5sums=('fa29f57ca752e363edc15f0e35f0a95f'
+ 'b34f29303dcab511e93e055ca24bbe77'
+ 'a5b890148b80c5951dbe9daa2f487d63'
+ '5d1acc143018117174f79eff15afa038'
+ 'd969703f3d161935bb160a5c7afd468f')
+
+prepare() {
+ install -D -m0644 nbd-at.service.tmpl "${srcdir}/${pkgname}-${pkgver}"/systemd/nbd at .service.tmpl
+}
+
+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 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
+}
Deleted: community-testing-i686/config
===================================================================
--- community-testing-i686/config 2016-07-01 06:42:00 UTC (rev 181664)
+++ community-testing-i686/config 2016-07-01 06:42:04 UTC (rev 181665)
@@ -1,21 +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
-[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/config (from rev 181664, nbd/trunk/config)
===================================================================
--- community-testing-i686/config (rev 0)
+++ community-testing-i686/config 2016-07-01 06:42:04 UTC (rev 181665)
@@ -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-testing-i686/nbd-at.service.tmpl
===================================================================
--- community-testing-i686/nbd-at.service.tmpl 2016-07-01 06:42:00 UTC (rev 181664)
+++ community-testing-i686/nbd-at.service.tmpl 2016-07-01 06:42:04 UTC (rev 181665)
@@ -1,11 +0,0 @@
-[Unit]
-Description=NBD client connection for %i
-Documentation=man:nbd-client
-PartOf=nbd.service
-[Service]
-Type=forking
-ExecStart=@sbindir@/nbd-client %i
-Before=dev-%i.device
-RequiredBy=dev-%i.device
-[Install]
-RequiredBy=dev-%i.device
Copied: nbd/repos/community-testing-i686/nbd-at.service.tmpl (from rev 181664, nbd/trunk/nbd-at.service.tmpl)
===================================================================
--- community-testing-i686/nbd-at.service.tmpl (rev 0)
+++ community-testing-i686/nbd-at.service.tmpl 2016-07-01 06:42:04 UTC (rev 181665)
@@ -0,0 +1,11 @@
+[Unit]
+Description=NBD client connection for %i
+Documentation=man:nbd-client
+PartOf=nbd.service
+[Service]
+Type=forking
+ExecStart=@sbindir@/nbd-client %i
+Before=dev-%i.device
+RequiredBy=dev-%i.device
+[Install]
+RequiredBy=dev-%i.device
Deleted: community-testing-i686/nbd.install
===================================================================
--- community-testing-i686/nbd.install 2016-07-01 06:42:00 UTC (rev 181664)
+++ community-testing-i686/nbd.install 2016-07-01 06:42:04 UTC (rev 181665)
@@ -1,7 +0,0 @@
-post_install() {
- systemd-sysusers nbd.conf
-}
-
-post_upgrade() {
- systemd-sysusers nbd.conf
-}
Copied: nbd/repos/community-testing-i686/nbd.install (from rev 181664, nbd/trunk/nbd.install)
===================================================================
--- community-testing-i686/nbd.install (rev 0)
+++ community-testing-i686/nbd.install 2016-07-01 06:42:04 UTC (rev 181665)
@@ -0,0 +1,7 @@
+post_install() {
+ systemd-sysusers nbd.conf
+}
+
+post_upgrade() {
+ systemd-sysusers nbd.conf
+}
Deleted: community-testing-i686/nbd.service
===================================================================
--- community-testing-i686/nbd.service 2016-07-01 06:42:00 UTC (rev 181664)
+++ community-testing-i686/nbd.service 2016-07-01 06:42:04 UTC (rev 181665)
@@ -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-testing-i686/nbd.service (from rev 181664, nbd/trunk/nbd.service)
===================================================================
--- community-testing-i686/nbd.service (rev 0)
+++ community-testing-i686/nbd.service 2016-07-01 06:42:04 UTC (rev 181665)
@@ -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-testing-i686/sysusers_nbd.conf
===================================================================
--- community-testing-i686/sysusers_nbd.conf 2016-07-01 06:42:00 UTC (rev 181664)
+++ community-testing-i686/sysusers_nbd.conf 2016-07-01 06:42:04 UTC (rev 181665)
@@ -1 +0,0 @@
-u nbd 44 "Network Block Device" /var/empty
Copied: nbd/repos/community-testing-i686/sysusers_nbd.conf (from rev 181664, nbd/trunk/sysusers_nbd.conf)
===================================================================
--- community-testing-i686/sysusers_nbd.conf (rev 0)
+++ community-testing-i686/sysusers_nbd.conf 2016-07-01 06:42:04 UTC (rev 181665)
@@ -0,0 +1 @@
+u nbd 44 "Network Block Device" /var/empty
Copied: nbd/repos/community-testing-x86_64/PKGBUILD (from rev 181664, nbd/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2016-07-01 06:42:04 UTC (rev 181665)
@@ -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.14
+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
+ nbd-at.service.tmpl
+ config
+ nbd.service
+ sysusers_nbd.conf)
+backup=('etc/nbd-server/config')
+depends=('glib2')
+install=nbd.install
+md5sums=('fa29f57ca752e363edc15f0e35f0a95f'
+ 'b34f29303dcab511e93e055ca24bbe77'
+ 'a5b890148b80c5951dbe9daa2f487d63'
+ '5d1acc143018117174f79eff15afa038'
+ 'd969703f3d161935bb160a5c7afd468f')
+
+prepare() {
+ install -D -m0644 nbd-at.service.tmpl "${srcdir}/${pkgname}-${pkgver}"/systemd/nbd at .service.tmpl
+}
+
+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 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 181664, nbd/trunk/config)
===================================================================
--- community-testing-x86_64/config (rev 0)
+++ community-testing-x86_64/config 2016-07-01 06:42:04 UTC (rev 181665)
@@ -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-at.service.tmpl (from rev 181664, nbd/trunk/nbd-at.service.tmpl)
===================================================================
--- community-testing-x86_64/nbd-at.service.tmpl (rev 0)
+++ community-testing-x86_64/nbd-at.service.tmpl 2016-07-01 06:42:04 UTC (rev 181665)
@@ -0,0 +1,11 @@
+[Unit]
+Description=NBD client connection for %i
+Documentation=man:nbd-client
+PartOf=nbd.service
+[Service]
+Type=forking
+ExecStart=@sbindir@/nbd-client %i
+Before=dev-%i.device
+RequiredBy=dev-%i.device
+[Install]
+RequiredBy=dev-%i.device
Copied: nbd/repos/community-testing-x86_64/nbd.install (from rev 181664, nbd/trunk/nbd.install)
===================================================================
--- community-testing-x86_64/nbd.install (rev 0)
+++ community-testing-x86_64/nbd.install 2016-07-01 06:42:04 UTC (rev 181665)
@@ -0,0 +1,7 @@
+post_install() {
+ systemd-sysusers nbd.conf
+}
+
+post_upgrade() {
+ systemd-sysusers nbd.conf
+}
Copied: nbd/repos/community-testing-x86_64/nbd.service (from rev 181664, nbd/trunk/nbd.service)
===================================================================
--- community-testing-x86_64/nbd.service (rev 0)
+++ community-testing-x86_64/nbd.service 2016-07-01 06:42:04 UTC (rev 181665)
@@ -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 181664, nbd/trunk/sysusers_nbd.conf)
===================================================================
--- community-testing-x86_64/sysusers_nbd.conf (rev 0)
+++ community-testing-x86_64/sysusers_nbd.conf 2016-07-01 06:42:04 UTC (rev 181665)
@@ -0,0 +1 @@
+u nbd 44 "Network Block Device" /var/empty
More information about the arch-commits
mailing list