[arch-commits] Commit in nvme-cli/repos/community-x86_64 (4 files)
Morten Linderud
foxboron at archlinux.org
Wed Apr 21 21:26:54 UTC 2021
Date: Wednesday, April 21, 2021 @ 21:26:53
Author: foxboron
Revision: 920717
archrelease: copy trunk to community-x86_64
Added:
nvme-cli/repos/community-x86_64/PKGBUILD
(from rev 920716, nvme-cli/trunk/PKGBUILD)
nvme-cli/repos/community-x86_64/nvme-cli.install
(from rev 920716, 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, 47 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-21 21:26:42 UTC (rev 920716)
+++ PKGBUILD 2021-04-21 21:26:53 UTC (rev 920717)
@@ -1,46 +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=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}
-}
Copied: nvme-cli/repos/community-x86_64/PKGBUILD (from rev 920716, nvme-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-21 21:26:53 UTC (rev 920717)
@@ -0,0 +1,39 @@
+# 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.14
+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=('07ead5e006212310c424526c84b2ea2822677225e030a75ca96a7f8b48d786bb')
+
+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-04-21 21:26:42 UTC (rev 920716)
+++ nvme-cli.install 2021-04-21 21:26:53 UTC (rev 920717)
@@ -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 920716, nvme-cli/trunk/nvme-cli.install)
===================================================================
--- nvme-cli.install (rev 0)
+++ nvme-cli.install 2021-04-21 21:26:53 UTC (rev 920717)
@@ -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