[arch-commits] Commit in nbd/repos/community-x86_64 (8 files)
Christian Hesse
eworm at gemini.archlinux.org
Mon Mar 7 13:48:23 UTC 2022
Date: Monday, March 7, 2022 @ 13:48:23
Author: eworm
Revision: 1144369
archrelease: copy trunk to community-x86_64
Added:
nbd/repos/community-x86_64/PKGBUILD
(from rev 1144368, nbd/trunk/PKGBUILD)
nbd/repos/community-x86_64/config
(from rev 1144368, nbd/trunk/config)
nbd/repos/community-x86_64/nbd.service
(from rev 1144368, nbd/trunk/nbd.service)
nbd/repos/community-x86_64/sysusers_nbd.conf
(from rev 1144368, nbd/trunk/sysusers_nbd.conf)
Deleted:
nbd/repos/community-x86_64/PKGBUILD
nbd/repos/community-x86_64/config
nbd/repos/community-x86_64/nbd.service
nbd/repos/community-x86_64/sysusers_nbd.conf
-------------------+
PKGBUILD | 108 ++++++++++++++++++++++++++--------------------------
config | 42 ++++++++++----------
nbd.service | 24 +++++------
sysusers_nbd.conf | 2
4 files changed, 88 insertions(+), 88 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-07 13:48:19 UTC (rev 1144368)
+++ PKGBUILD 2022-03-07 13:48:23 UTC (rev 1144369)
@@ -1,54 +0,0 @@
-# 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.23
-pkgrel=1
-pkgdesc='tools for network block devices, allowing you to use remote block devices over TCP/IP'
-arch=('x86_64')
-url='https://nbd.sourceforge.io/'
-license=('GPL')
-depends=('glib2' 'gnutls' 'libnl')
-backup=('etc/nbd-server/config')
-source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz"
- 'config'
- 'nbd.service'
- 'sysusers_nbd.conf')
-sha256sums=('def470ec566ac4e3a34d56f391f0a670e520e1bc2eedd67eba62f454418457b4'
- 'ee2e9fbbeb8a8b9b71d16b6f32eb41788f6def9d00cc4a47897ed3cb97cdde7c'
- '1b1add55d82d7623eabf7ff3dfec15c1fbe3c340fa74160df3d60e91eb1c71ba'
- '3fd98fe87d0b31b82126dc669f00355865f58fae81af3fccbc0d06504baef6cd')
-
-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 -m0644 systemd/nbd at .service "${pkgdir}"/usr/lib/systemd/system/nbd at .service
-
- install -D -m0644 "${srcdir}"/config "${pkgdir}"/etc/nbd-server/config
- install -D -m0644 "${srcdir}"/nbd.service "${pkgdir}"/usr/lib/systemd/system/nbd.service
- install -D -m0644 "${srcdir}"/sysusers_nbd.conf "${pkgdir}"/usr/lib/sysusers.d/nbd.conf
-
- install -D -m0644 doc/README "${pkgdir}"/usr/share/doc/nbd/README
-}
Copied: nbd/repos/community-x86_64/PKGBUILD (from rev 1144368, nbd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-07 13:48:23 UTC (rev 1144369)
@@ -0,0 +1,54 @@
+# 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.24
+pkgrel=1
+pkgdesc='tools for network block devices, allowing you to use remote block devices over TCP/IP'
+arch=('x86_64')
+url='https://nbd.sourceforge.io/'
+license=('GPL')
+depends=('glib2' 'gnutls' 'libnl')
+backup=('etc/nbd-server/config')
+source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz"
+ 'config'
+ 'nbd.service'
+ 'sysusers_nbd.conf')
+sha256sums=('6877156d23a7b33f75eee89d2f5c2c91c542afc3cdcb636dea5a88539a58d10c'
+ 'ee2e9fbbeb8a8b9b71d16b6f32eb41788f6def9d00cc4a47897ed3cb97cdde7c'
+ '1b1add55d82d7623eabf7ff3dfec15c1fbe3c340fa74160df3d60e91eb1c71ba'
+ '3fd98fe87d0b31b82126dc669f00355865f58fae81af3fccbc0d06504baef6cd')
+
+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 -m0644 systemd/nbd at .service "${pkgdir}"/usr/lib/systemd/system/nbd at .service
+
+ install -D -m0644 "${srcdir}"/config "${pkgdir}"/etc/nbd-server/config
+ install -D -m0644 "${srcdir}"/nbd.service "${pkgdir}"/usr/lib/systemd/system/nbd.service
+ install -D -m0644 "${srcdir}"/sysusers_nbd.conf "${pkgdir}"/usr/lib/sysusers.d/nbd.conf
+
+ install -D -m0644 doc/README "${pkgdir}"/usr/share/doc/nbd/README
+}
Deleted: config
===================================================================
--- config 2022-03-07 13:48:19 UTC (rev 1144368)
+++ config 2022-03-07 13:48:23 UTC (rev 1144369)
@@ -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-x86_64/config (from rev 1144368, nbd/trunk/config)
===================================================================
--- config (rev 0)
+++ config 2022-03-07 13:48:23 UTC (rev 1144369)
@@ -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: nbd.service
===================================================================
--- nbd.service 2022-03-07 13:48:19 UTC (rev 1144368)
+++ nbd.service 2022-03-07 13:48:23 UTC (rev 1144369)
@@ -1,12 +0,0 @@
-[Unit]
-Description=Network Block Device Server
-After=network.target
-
-[Service]
-Type=forking
-ExecStart=/usr/bin/nbd-server
-ProtectSystem=full
-ProtectHome=on
-
-[Install]
-WantedBy=multi-user.target
Copied: nbd/repos/community-x86_64/nbd.service (from rev 1144368, nbd/trunk/nbd.service)
===================================================================
--- nbd.service (rev 0)
+++ nbd.service 2022-03-07 13:48:23 UTC (rev 1144369)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Network Block Device Server
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/nbd-server
+ProtectSystem=full
+ProtectHome=on
+
+[Install]
+WantedBy=multi-user.target
Deleted: sysusers_nbd.conf
===================================================================
--- sysusers_nbd.conf 2022-03-07 13:48:19 UTC (rev 1144368)
+++ sysusers_nbd.conf 2022-03-07 13:48:23 UTC (rev 1144369)
@@ -1 +0,0 @@
-u nbd - "Network Block Device" /var/empty
Copied: nbd/repos/community-x86_64/sysusers_nbd.conf (from rev 1144368, nbd/trunk/sysusers_nbd.conf)
===================================================================
--- sysusers_nbd.conf (rev 0)
+++ sysusers_nbd.conf 2022-03-07 13:48:23 UTC (rev 1144369)
@@ -0,0 +1 @@
+u nbd - "Network Block Device" /var/empty
More information about the arch-commits
mailing list