summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/changelog147
-rw-r--r--debian/control24
-rw-r--r--debian/copyright38
-rw-r--r--debian/nvme-cli.postinst15
-rw-r--r--debian/package.bash-completion1
-rwxr-xr-xdebian/rules18
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/include-binaries16
-rw-r--r--debian/watch3
9 files changed, 263 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5929576
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,147 @@
+nvme-cli (1.12-8) unstable; urgency=medium
+
+ * Adopting package.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 02 Jul 2021 22:41:27 +0200
+
+nvme-cli (1.12-7) unstable; urgency=medium
+
+ * Orphaning the package
+
+ -- <leitao@debian.org> Fri, 02 Jul 2021 19:37:48 +0100
+
+nvme-cli (1.12-5) unstable; urgency=medium
+
+ * Add uuid-runtime as dependency. (Closes: #970637)
+
+ -- <leitao@debian.org> Tue, 22 Sep 2020 20:37:51 +0100
+
+nvme-cli (1.12-4) unstable; urgency=medium
+
+ * Fix udev rules and config files. Thanks intrigeri (Closes: #968769)
+ * Remove debian/package.bash-completion (Closes: #969345)
+
+ -- <leitao@debian.org> Sun, 20 Sep 2020 10:39:01 +0100
+
+nvme-cli (1.12-3) unstable; urgency=medium
+
+ * Bring debhelper compat to 13 and fix build deps (Closes: ##969183)
+
+ -- <leitao@debian.org> Sun, 20 Sep 2020 10:23:14 +0100
+
+nvme-cli (1.12-2) unstable; urgency=medium
+
+ * Generate /etc/nvme/host* files at install time, not build time.
+ Thanks Dan for the patch. (Closes: #969340)
+
+ -- <leitao@debian.org> Sun, 20 Sep 2020 10:14:36 +0100
+
+nvme-cli (1.12-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- <leit@debian.org> Sat, 20 Jun 2020 09:27:22 +0100
+
+nvme-cli (1.9-1) unstable; urgency=medium
+
+ * New upstream release
+ * Fixed dependencies (Closes: #944832)
+
+ -- Breno Leitao <leitao@debian.org> Sat, 23 Nov 2019 13:40:40 +0000
+
+nvme-cli (1.7-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Breno Leitao <leitao@debian.org> Mon, 21 Jan 2019 06:25:35 -0500
+
+nvme-cli (1.6-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Breno Leitao <leitao@debian.org> Mon, 06 Aug 2018 12:12:32 -0400
+
+nvme-cli (1.5-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Breno Leitao <leitao@debian.org> Mon, 29 Jan 2018 12:59:02 -0500
+
+nvme-cli (1.4-1) unstable; urgency=medium
+
+ * New upstream release
+ * Standard Version upgraded to 4.0.1
+
+ -- Breno Leitao <leitao@debian.org> Mon, 02 Oct 2017 08:27:23 -0400
+
+nvme-cli (1.3-1) unstable; urgency=medium
+
+ * New upstream release. Thanks Rodrigo R. Galvão <rosattig@br.ibm.com>
+
+ -- Breno Leitao <leitao@debian.org> Wed, 14 Jun 2017 16:36:20 -0300
+
+nvme-cli (1.1-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Breno Leitao <leitao@debian.org> Mon, 06 Feb 2017 08:20:45 -0500
+
+nvme-cli (1.0-3) unstable; urgency=medium
+
+ * Last commit didn't fix all the problem for 32-bits archs.
+ Fixing it properly now. (Closes: #847232)
+
+ -- Breno Leitao <leitao@debian.org> Wed, 14 Dec 2016 07:51:29 -0500
+
+nvme-cli (1.0-2) unstable; urgency=medium
+
+ * Fix FTBFS in 32-bits arch. (Closes: #847232)
+
+ -- Breno Leitao <leitao@debian.org> Tue, 13 Dec 2016 08:31:42 -0500
+
+nvme-cli (1.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Breno Leitao <leitao@debian.org> Thu, 24 Nov 2016 15:15:28 -0500
+
+nvme-cli (0.9-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Breno Leitao <leitao@debian.org> Thu, 06 Oct 2016 13:03:59 -0400
+
+nvme-cli (0.8-2) unstable; urgency=medium
+
+ * Add a patch to enable nvme-cli to compile on 32 bits system (Thanks Steve
+ Langasek) (Closes: #830521)
+
+ -- Breno Leitao <brenohl@br.ibm.com> Mon, 11 Jul 2016 12:48:11 -0400
+
+nvme-cli (0.8-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Breno Leitao <brenohl@br.ibm.com> Sun, 03 Jul 2016 07:12:26 -0400
+
+nvme-cli (0.7-1) unstable; urgency=medium
+
+ * New upstream release
+ * Bump Standard-Version to 3.9.8, no changes required.
+
+ -- Breno Leitao <brenohl@br.ibm.com> Tue, 21 Jun 2016 16:32:22 -0400
+
+nvme-cli (0.5-1) unstable; urgency=medium
+
+ * New upstream release
+ - Fix version number (Closes: #816438)
+ * Bump Standard-Version to 3.9.7, no changes required.
+ * drop 0004-Fix-English-typos-only.patch: upstream.
+
+ -- Breno Leitao <brenohl@br.ibm.com> Tue, 22 Mar 2016 10:43:12 -0400
+
+nvme-cli (0.3-1) unstable; urgency=medium
+
+ * Initial release. (Closes: #810033)
+
+ -- Breno Leitao <brenohl@br.ibm.com> Tue, 05 Jan 2016 14:40:05 -0500
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..96e023d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: nvme-cli
+Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
+Section: admin
+Priority: optional
+Standards-Version: 4.1.1
+Build-Depends:
+ debhelper-compat (= 13),
+ pci.ids,
+ pkg-config,
+ uuid-dev,
+ uuid-runtime,
+Homepage: https://github.com/linux-nvme/nvme-cli
+
+Package: nvme-cli
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+ uuid-runtime,
+Description: userspace tooling to control NVMe drives
+ NVMe is a fast, scalable, direct attached storage interface, accessing
+ solid state drives through PCIe.
+ .
+ The nvme CLI contains core management tools with minimal dependencies.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..41f2f3d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://github.com/linux-nvme/nvme-cli
+
+Files: *
+Copyright: 2011-2015 Intel Corporation
+ 2014 PMC-Sierra, Inc
+License: GPL-2+
+
+Files: linux/lightnvm.h
+Copyright: 2015 CNEX Labs
+License: GPL-2
+
+License: GPL-2+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ On Debian systems, the full text of the GNU General Public License
+ version 2 can be found in `/usr/share/common-licenses/GPL-2'.
+
+License: GPL-2
+ This program is free software; you can redistribute it and/or modify it
+ under the terms and conditions of the GNU General Public License,
+ version 2, as published by the Free Software Foundation.
+ .
+ This program is distributed in the hope it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+ .
+ On Debian systems, the full text of the GNU General Public License
+ version 2 can be found in `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/nvme-cli.postinst b/debian/nvme-cli.postinst
new file mode 100644
index 0000000..d2f0ca8
--- /dev/null
+++ b/debian/nvme-cli.postinst
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+ if [ ! -s /etc/nvme/hostnqn ]; then
+ nvme gen-hostnqn > /etc/nvme/hostnqn
+ fi
+
+ if [ ! -s /etc/nvme/hostid ]; then
+ uuidgen > /etc/nvme/hostid
+ fi
+fi
+
+#DEBHELPER#
diff --git a/debian/package.bash-completion b/debian/package.bash-completion
new file mode 100644
index 0000000..e392b58
--- /dev/null
+++ b/debian/package.bash-completion
@@ -0,0 +1 @@
+bash_completion.d/nvme
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fd56a06
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
+%:
+ dh $@
+
+override_dh_auto_install:
+ dh_auto_install -- PREFIX=/usr UDEVDIR=/lib/udev
+ # Remove build-time unique id files, instead these will be
+ # generated by the postinst script
+ rm -f debian/nvme-cli/etc/nvme/hostid
+ rm -f debian/nvme-cli/etc/nvme/hostnqn
+ rm -f debian/nvme-cli/usr/lib/dracut/dracut.conf.d/70-nvmf-autoconnect.conf
+
+override_dh_auto_test:
+ # Overriding auto test, since the tests require that the build machine
+ # has a NVME device.
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
new file mode 100644
index 0000000..c0d71c7
--- /dev/null
+++ b/debian/source/include-binaries
@@ -0,0 +1,16 @@
+argconfig.o
+fabrics.o
+huawei-nvme.o
+intel-nvme.o
+json.o
+lnvm-nvme.o
+memblaze-nvme.o
+nvme
+nvme-ioctl.o
+nvme-lightnvm.o
+nvme-models.o
+nvme-print.o
+parser.o
+plugin.o
+suffix.o
+wdc-nvme.o
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..082059c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts="filenamemangle=s/(?:.*?)?v?(\d[\d.]*)\.tar\.gz/nvme-cli-$1.tar.gz/" \
+https://github.com/linux-nvme/nvme-cli/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz