summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 16:04:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 16:22:47 +0000
commite78a17d68fcf8d336718db49f51b4649a8215582 (patch)
tree6e09f605d43326c58d75ba8f7591f732cee30c6a
parentAdding upstream version 0.8. (diff)
downloadnvmetcli-debian.tar.xz
nvmetcli-debian.zip
Adding debian version 0.8-1.HEADdebian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog5
-rw-r--r--debian/control27
-rw-r--r--debian/copyright30
-rw-r--r--debian/nvmetcli.dirs1
-rw-r--r--debian/nvmetcli.docs1
-rw-r--r--debian/nvmetcli.examples1
-rw-r--r--debian/nvmetcli.install2
-rw-r--r--debian/nvmetcli.manpages1
-rw-r--r--debian/patches/debian/0001-python-shebang.patch12
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules15
-rw-r--r--debian/source/format1
12 files changed, 97 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..00636eb
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+nvmetcli (0.8-1) unstable; urgency=medium
+
+ * Initial upload to unstable.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 05 May 2024 17:58:37 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..76ec683
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: nvmetcli
+Section: utils
+Priority: optional
+Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
+Build-Depends:
+ asciidoc,
+ debhelper-compat (= 13),
+ dh-sequence-python3,
+ python3-all,
+ python3-setuptools,
+ xmlto,
+Rules-Requires-Root: no
+Standards-Version: 4.7.0
+Homepage: https://git.infradead.org/users/hch/nvmetcli.git
+Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/nvmetcli
+Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/nvmetcli
+
+Package: nvmetcli
+Section: utils
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+ python3-configshell-fb,
+Description: Command line interface for the kernel NVMe target
+ nvmetcli is a command line interface to the NVMe over Fabrics target in the Linux kernel.
+ It allows configuring the target interactively as well as saving / restoring the configuration to / from a json filea
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6b1a486
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: nvmetcli
+Upstream-Contact: linux-nvme@lists.infradead.org
+Source: https://git.infradead.org/users/hch/nvmetcli.git
+
+Files: *
+Copyright: 2011-2013 by Datera, Inc.
+ 2011-2014 by Red Hat, Inc.
+ 2016 by HGST, a Western Digital Company.
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2024 Daniel Baumann <daniel.baumann@progress-linux.org>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ https://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ The complete text of the Apache-2.0 License
+ can be found in /usr/share/common-licenses/Apache-2.0 file.
diff --git a/debian/nvmetcli.dirs b/debian/nvmetcli.dirs
new file mode 100644
index 0000000..f2800fb
--- /dev/null
+++ b/debian/nvmetcli.dirs
@@ -0,0 +1 @@
+/etc/nvmet
diff --git a/debian/nvmetcli.docs b/debian/nvmetcli.docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/nvmetcli.docs
@@ -0,0 +1 @@
+README
diff --git a/debian/nvmetcli.examples b/debian/nvmetcli.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/nvmetcli.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/nvmetcli.install b/debian/nvmetcli.install
new file mode 100644
index 0000000..954b600
--- /dev/null
+++ b/debian/nvmetcli.install
@@ -0,0 +1,2 @@
+nvmet.service /lib/systemd/system
+nvmetcli /usr/sbin
diff --git a/debian/nvmetcli.manpages b/debian/nvmetcli.manpages
new file mode 100644
index 0000000..54badd5
--- /dev/null
+++ b/debian/nvmetcli.manpages
@@ -0,0 +1 @@
+Documentation/*.8
diff --git a/debian/patches/debian/0001-python-shebang.patch b/debian/patches/debian/0001-python-shebang.patch
new file mode 100644
index 0000000..3bf417f
--- /dev/null
+++ b/debian/patches/debian/0001-python-shebang.patch
@@ -0,0 +1,12 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Update shebang for python3.
+
+diff -Naurp nvmetcli.orig/nvmetcli nvmetcli/nvmetcli
+--- nvmetcli.orig/nvmetcli
++++ nvmetcli/nvmetcli
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python3
+
+ '''
+ Frontend to access to the NVMe target configfs hierarchy
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ddda7bc
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+debian/0001-python-shebang.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9f67b53
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=nvmetcli
+
+%:
+ dh ${@} --buildsystem=pybuild
+
+execute_after_dh_auto_clean:
+ make -C Documentation clean
+
+execute_after_dh_auto_build:
+ make -C Documentation
+
+override_dh_auto_test:
+ # disabled
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)