[arch-commits] Commit in nvme-cli/repos/community-x86_64 (4 files)

Morten Linderud foxboron at archlinux.org
Tue Jan 19 21:51:59 UTC 2021


    Date: Tuesday, January 19, 2021 @ 21:51:59
  Author: foxboron
Revision: 823902

archrelease: copy trunk to community-x86_64

Added:
  nvme-cli/repos/community-x86_64/PKGBUILD
    (from rev 823901, nvme-cli/trunk/PKGBUILD)
  nvme-cli/repos/community-x86_64/nvme-cli.install
    (from rev 823901, nvme-cli/trunk/nvme-cli.install)
Deleted:
  nvme-cli/repos/community-x86_64/PKGBUILD
  nvme-cli/repos/community-x86_64/nvme-cli.install

------------------+
 PKGBUILD         |   85 ++++++++++++++++++++++++++++-------------------------
 nvme-cli.install |   16 ++++-----
 2 files changed, 54 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-19 21:51:49 UTC (rev 823901)
+++ PKGBUILD	2021-01-19 21:51:59 UTC (rev 823902)
@@ -1,39 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: Devin Cofer <ranguvar[at]ranguvar[dot]io>
-# Contributor: DriverX
-# Contributor: Nicolas Quiénot <niQo @ aur>
-# Contributor: Martin Schrodt <martin at schrodt.org>
-
-pkgname=nvme-cli
-pkgver=1.13
-pkgrel=1
-pkgdesc="NVM-Express user space tooling for Linux"
-arch=('i686' 'x86_64')
-url="https://github.com/linux-nvme/nvme-cli"
-license=('GPL')
-makedepends=('libsystemd')
-depends=('util-linux')
-install=nvme-cli.install
-# checkdepends=('python2-nose' 'python-nose')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linux-nvme/${pkgname}/archive/v${pkgver}.tar.gz")
-sha256sums=('03f4875f3e68d326b0280e16df2f027ca6b086cfa148c34e8569df61319b4b85')
-
-build() {
-	cd "${pkgname}-${pkgver}"
-	make PREFIX=/usr
-}
-
-# Tests require a working NVME disk.
-# check() {
-# 	cd "${pkgname}-${pkgver}"
-# 	make test
-# }
-
-package() {
-	cd "${pkgname}-${pkgver}"
-	make DESTDIR="$pkgdir" UDEVDIR=/usr/lib/udev PREFIX=/usr SBINDIR=/usr/bin install-spec
-
-	# This is done because we don't want the hostnqn and hostid files tracked.
-	# they are supposed to be unique
-	rm $pkgdir/etc/nvme/host{nqn,id}
-}

Copied: nvme-cli/repos/community-x86_64/PKGBUILD (from rev 823901, nvme-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-19 21:51:59 UTC (rev 823902)
@@ -0,0 +1,46 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Devin Cofer <ranguvar[at]ranguvar[dot]io>
+# Contributor: DriverX
+# Contributor: Nicolas Quiénot <niQo @ aur>
+# Contributor: Martin Schrodt <martin at schrodt.org>
+
+pkgname=nvme-cli
+pkgver=1.13
+pkgrel=2
+pkgdesc="NVM-Express user space tooling for Linux"
+arch=('i686' 'x86_64')
+url="https://github.com/linux-nvme/nvme-cli"
+license=('GPL')
+makedepends=('libsystemd')
+depends=('util-linux')
+install=nvme-cli.install
+# checkdepends=('python2-nose' 'python-nose')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linux-nvme/${pkgname}/archive/v${pkgver}.tar.gz"
+		"fix-69374.patch::https://github.com/linux-nvme/nvme-cli/commit/a67280f377b23870b5f82ee8482f3fc6f4c594ac.patch")
+sha256sums=('03f4875f3e68d326b0280e16df2f027ca6b086cfa148c34e8569df61319b4b85'
+            'd90e490525362abc280cc2ad4786ef70b9294ec2c408d4e748bb0c439ce55017')
+
+prepare() {
+    cd "${pkgname}-${pkgver}"
+    patch -Np1 < "$srcdir/fix-69374.patch"
+}
+
+build() {
+	cd "${pkgname}-${pkgver}"
+	make PREFIX=/usr
+}
+
+# Tests require a working NVME disk.
+# check() {
+# 	cd "${pkgname}-${pkgver}"
+# 	make test
+# }
+
+package() {
+	cd "${pkgname}-${pkgver}"
+	make DESTDIR="$pkgdir" UDEVDIR=/usr/lib/udev PREFIX=/usr SBINDIR=/usr/bin install-spec
+
+	# This is done because we don't want the hostnqn and hostid files tracked.
+	# they are supposed to be unique
+	rm $pkgdir/etc/nvme/host{nqn,id}
+}

Deleted: nvme-cli.install
===================================================================
--- nvme-cli.install	2021-01-19 21:51:49 UTC (rev 823901)
+++ nvme-cli.install	2021-01-19 21:51:59 UTC (rev 823902)
@@ -1,8 +0,0 @@
-post_install(){
-	if [ ! -f /etc/nvme/hostnqn ]; then
-		nvme gen-hostnqn > /etc/nvme/hostnqn
-	fi
-	if [ ! -f /etc/nvme/hostid ]; then
-		uuidgen > /etc/nvme/hostid
-	fi
-}

Copied: nvme-cli/repos/community-x86_64/nvme-cli.install (from rev 823901, nvme-cli/trunk/nvme-cli.install)
===================================================================
--- nvme-cli.install	                        (rev 0)
+++ nvme-cli.install	2021-01-19 21:51:59 UTC (rev 823902)
@@ -0,0 +1,8 @@
+post_install(){
+	if [ ! -f /etc/nvme/hostnqn ]; then
+		nvme gen-hostnqn > /etc/nvme/hostnqn
+	fi
+	if [ ! -f /etc/nvme/hostid ]; then
+		uuidgen > /etc/nvme/hostid
+	fi
+}



More information about the arch-commits mailing list