summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Drung <bdrung@debian.org>2023-06-10 08:55:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-10 09:27:11 +0000
commit0ad21eaa7bcc9db7aac8786efcd56709b31918d5 (patch)
tree2a8ab3366effcfc0f08701e3cae124fe0ebf5490
parentAdding upstream version 2.2.1. (diff)
downloadnvme-stas-0ad21eaa7bcc9db7aac8786efcd56709b31918d5.tar.xz
nvme-stas-0ad21eaa7bcc9db7aac8786efcd56709b31918d5.zip
Adding debian version 2.2.1-1.debian/2.2.1-1
Signed-off-by: Benjamin Drung <bdrung@debian.org>
-rw-r--r--debian/changelog5
-rw-r--r--debian/control46
-rw-r--r--debian/copyright23
-rw-r--r--debian/nvme-stas.lintian-overrides4
-rwxr-xr-xdebian/rules7
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides2
-rw-r--r--debian/tests/control4
-rw-r--r--debian/upstream/metadata4
-rw-r--r--debian/watch4
10 files changed, 100 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d2ba135
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+nvme-stas (2.2.1-1) unstable; urgency=medium
+
+ * Initial release (Closes: #1032650)
+
+ -- Benjamin Drung <bdrung@debian.org> Thu, 06 Apr 2023 13:51:59 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..3c2734b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: nvme-stas
+Section: net
+Priority: optional
+Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
+Uploaders: Benjamin Drung <bdrung@debian.org>
+Build-Depends: debhelper-compat (= 13),
+ dh-python,
+ docbook-xml,
+ docbook-xsl,
+ iproute2,
+ libglib2.0-dev-bin,
+ meson,
+ pyflakes3,
+ pylint,
+ python3-dasbus,
+ python3-gi,
+ python3-lxml,
+ python3-nvme,
+ python3-pyfakefs,
+ python3-pyudev,
+ python3-systemd,
+ python3:any,
+ xsltproc
+Standards-Version: 4.6.2
+Homepage: https://github.com/linux-nvme/nvme-stas
+Rules-Requires-Root: no
+Vcs-Browser: https://salsa.debian.org/debian/nvme-stas
+Vcs-Git: https://salsa.debian.org/debian/nvme-stas.git
+
+Package: nvme-stas
+Architecture: all
+Depends: python3-dasbus,
+ python3-gi,
+ python3-nvme,
+ python3-pyudev,
+ python3-systemd,
+ ${misc:Depends},
+ ${python3:Depends}
+Description: NVMe STorage Appliance Services
+ This package provides two daemons, stafd and stacd. The STorage Appliance
+ Finder Daemon (stafd) automatically discovers NVMe-oF Discovery Controllers
+ (DC) and retrieves the list of NVMe Storage Appliances. The STorage Appliance
+ Connector Daemon (stacd) establishes I/O connections to the NVMe Storage
+ Appliances discovered by stafd.
+ .
+ This package installs the library for Python 3.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..91c452c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,23 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: nvme-stas
+Source: https://github.com/linux-nvme/nvme-stas
+
+Files: *
+Copyright: 2022, Dell Inc. or its subsidiaries. All rights reserved.
+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.
+ .
+ On Debian systems, the complete text of the Apache version 2.0 license
+ can be found in "/usr/share/common-licenses/Apache-2.0".
diff --git a/debian/nvme-stas.lintian-overrides b/debian/nvme-stas.lintian-overrides
new file mode 100644
index 0000000..ec87683
--- /dev/null
+++ b/debian/nvme-stas.lintian-overrides
@@ -0,0 +1,4 @@
+# stas-config*.service systemd units are shipped by the package
+spare-manual-page [usr/share/man/man8/stas-config*.8.gz]
+# stas-config@.service wanted by stas-config.target
+systemd-service-file-refers-to-unusual-wantedby-target stas-config.target [usr/lib/systemd/system/stas-config@.service]
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a09baa5
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --buildsystem=meson+ninja --with python3
+
+override_dh_auto_configure:
+ dh_auto_configure -- -Dman=true
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/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..a66f2a1
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,2 @@
+# upstream does not want to wrap long lines in Markdown files
+very-long-line-length-in-source-file * > 512 [*.md:*]
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..046241e
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,4 @@
+Test-Command: cp -r test "$AUTOPKGTEST_TMP" && cd "$AUTOPKGTEST_TMP/test" && rm test-avahi.py && python3 -m unittest -v test*.py
+Depends: iproute2, nvme-stas, python3-pyfakefs
+Restrictions: allow-stderr
+Features: test-name=unittest
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..0160cd5
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+Bug-Database: https://github.com/linux-nvme/nvme-stas/issues
+Bug-Submit: https://github.com/linux-nvme/nvme-stas/issues/new
+Repository: https://github.com/linux-nvme/nvme-stas.git
+Repository-Browse: https://github.com/linux-nvme/nvme-stas
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..2047310
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="compression=gzip,searchmode=plain" \
+ https://api.github.com/repos/linux-nvme/nvme-stas/releases?per_page=100 \
+ https://api.github.com/repos/linux-nvme/nvme-stas/tarball/v@ANY_VERSION@