Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages / nbd
Commits:
3d22be5e by Christian Hesse at 2026-03-20T09:49:28+01:00
upgpkg: 3.27.0-1: new upstream release
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,10 +1,11 @@
pkgbase = nbd
pkgdesc = tools for network block devices, allowing you to use remote
block devices over TCP/IP
- pkgver = 3.26.1
- pkgrel = 2
+ pkgver = 3.27.0
+ pkgrel = 1
url = https://github.com/NetworkBlockDevice/nbd/
arch = x86_64
license = GPL
+ makedepends = git
makedepends = docbook-utils
makedepends = docbook-sgml
makedepends = perl-sgmls
@@ -13,11 +14,11 @@ pkgbase = nbd
depends = gnutls
depends = libnl
backup = etc/nbd-server/config
- source =
https://github.com/NetworkBlockDevice/nbd/releases/download/nbd-3.26.1/nbd-3.26.1.tar.xz
+ source =
git+https://github.com/NetworkBlockDevice/nbd.git#tag=nbd-3.27.0
source = config
source = nbd.service
source = sysusers_nbd.conf
- sha256sums =
f0cf509fa5b20b1a07f7904eb637e9b47d3e30b6ed6f00075af5d8b701c78fef
+ sha256sums =
a096087af761016e80b91ffc6518ae1b2a8f72bb9fa738ffeb16f376e7ebee11
sha256sums =
ee2e9fbbeb8a8b9b71d16b6f32eb41788f6def9d00cc4a47897ed3cb97cdde7c
sha256sums =
1b1add55d82d7623eabf7ff3dfec15c1fbe3c340fa74160df3d60e91eb1c71ba
sha256sums =
c2259eba02b7e959476e4f7032f273c1972947dfdeb9019106e70ce8798b912d
=====================================
PKGBUILD
=====================================
@@ -4,45 +4,32 @@
# Contributor: Gerhard Brauer <[email protected]>
pkgname=nbd
-pkgver=3.26.1
-pkgrel=2
+pkgver=3.27.0
+pkgrel=1
pkgdesc='tools for network block devices, allowing you to use remote block
devices over TCP/IP'
arch=('x86_64')
url='https://github.com/NetworkBlockDevice/nbd/'
license=('GPL')
depends=('glib2' 'gnutls' 'libnl')
-makedepends=('docbook-utils' 'docbook-sgml' 'perl-sgmls' 'autoconf-archive')
+makedepends=('git' 'docbook-utils' 'docbook-sgml' 'perl-sgmls'
'autoconf-archive')
backup=('etc/nbd-server/config')
-source=("https://github.com/NetworkBlockDevice/${pkgname}/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.xz"
+source=("git+https://github.com/NetworkBlockDevice/nbd.git#tag=nbd-${pkgver}"
'config'
'nbd.service'
'sysusers_nbd.conf')
-sha256sums=('f0cf509fa5b20b1a07f7904eb637e9b47d3e30b6ed6f00075af5d8b701c78fef'
+sha256sums=('a096087af761016e80b91ffc6518ae1b2a8f72bb9fa738ffeb16f376e7ebee11'
'ee2e9fbbeb8a8b9b71d16b6f32eb41788f6def9d00cc4a47897ed3cb97cdde7c'
'1b1add55d82d7623eabf7ff3dfec15c1fbe3c340fa74160df3d60e91eb1c71ba'
'c2259eba02b7e959476e4f7032f273c1972947dfdeb9019106e70ce8798b912d')
prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}"
- cat > systemd/sh.tmpl <<EOF
-#!/bin/sh
-
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-sysconfdir=@sysconfdir@
-
-cat <<EOF
-EOF
- sed -i 's|../man/sh.tmpl|sh.tmpl|' systemd/Makefile.am
-
- # this requires make dependency 'autoconf-archive'
- # TODO: drop when issue solved...
autoreconf -fi
}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}"
./configure \
--prefix=/usr \
@@ -55,13 +42,13 @@ build() {
# checks still fail...
#check() {
-# cd "${srcdir}/${pkgname}-${pkgver}"
+# cd "${srcdir}/${pkgname}"
#
# make check
#}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" install
install -D -m0644 systemd/[email protected]
"${pkgdir}"/usr/lib/systemd/system/[email protected]
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/nbd/-/commit/3d22be5e68f072f15bd5cc1035f4d23ecca56dd2
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/nbd/-/commit/3d22be5e68f072f15bd5cc1035f4d23ecca56dd2
You're receiving this email because of your account on gitlab.archlinux.org.
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications
| Help: https://gitlab.archlinux.org/help