[pve-devel] [PATCH zfsonlinux 9/9] package zfsbootenv library

Stoiko Ivanov s.ivanov at proxmox.com
Wed Dec 2 20:18:09 CET 2020


adapted from debian-upstream 0be5e4edc2eef9885fd03e9c797b9429da539ce2

Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
 debian/control                               | 12 ++++++++++++
 debian/libzfsbootenv1linux.docs              |  2 ++
 debian/libzfsbootenv1linux.install           |  1 +
 debian/libzfsbootenv1linux.install.in        |  1 +
 debian/libzfsbootenv1linux.lintian-overrides |  2 ++
 5 files changed, 18 insertions(+)
 create mode 100644 debian/libzfsbootenv1linux.docs
 create mode 100644 debian/libzfsbootenv1linux.install
 create mode 100644 debian/libzfsbootenv1linux.install.in
 create mode 100644 debian/libzfsbootenv1linux.lintian-overrides

diff --git a/debian/control b/debian/control
index 72217981..cda525a8 100644
--- a/debian/control
+++ b/debian/control
@@ -53,6 +53,7 @@ Architecture: linux-any
 Depends: libnvpair2linux (= ${binary:Version}),
          libuutil2linux (= ${binary:Version}),
          libzfs3linux (= ${binary:Version}),
+         libzfsbootenv1linux (= ${binary:Version}),
          libzpool3linux (= ${binary:Version}),
          ${misc:Depends}
 Provides: libnvpair-dev, libuutil-dev
@@ -76,6 +77,17 @@ Description: OpenZFS filesystem library for Linux
  .
  The OpenZFS library provides support for managing OpenZFS filesystems.
 
+Package: libzfsbootenv1linux
+Section: contrib/libs
+Architecture: linux-any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: OpenZFS filesystem library for Linux
+ OpenZFS is a storage platform that encompasses the functionality of
+ traditional filesystems and volume managers. It supports data checksums,
+ compression, encryption, snapshots, and more.
+ .
+ The zfsbootenv library provides support for modifying ZFS label information.
+
 Package: libzpool3linux
 Section: contrib/libs
 Architecture: linux-any
diff --git a/debian/libzfsbootenv1linux.docs b/debian/libzfsbootenv1linux.docs
new file mode 100644
index 00000000..4302f1b2
--- /dev/null
+++ b/debian/libzfsbootenv1linux.docs
@@ -0,0 +1,2 @@
+COPYRIGHT
+LICENSE
diff --git a/debian/libzfsbootenv1linux.install b/debian/libzfsbootenv1linux.install
new file mode 100644
index 00000000..01d3f0c3
--- /dev/null
+++ b/debian/libzfsbootenv1linux.install
@@ -0,0 +1 @@
+lib/libzfsbootenv.so.*
diff --git a/debian/libzfsbootenv1linux.install.in b/debian/libzfsbootenv1linux.install.in
new file mode 100644
index 00000000..49216742
--- /dev/null
+++ b/debian/libzfsbootenv1linux.install.in
@@ -0,0 +1 @@
+lib/@DEB_HOST_MULTIARCH@/libzfsbootenv.so.*
diff --git a/debian/libzfsbootenv1linux.lintian-overrides b/debian/libzfsbootenv1linux.lintian-overrides
new file mode 100644
index 00000000..7e1a3fc5
--- /dev/null
+++ b/debian/libzfsbootenv1linux.lintian-overrides
@@ -0,0 +1,2 @@
+libzfsbootenv1linux: package-name-doesnt-match-sonames
+libzfsbootenv1linux: extra-license-file usr/share/doc/libzfsbootenv1linux/LICENSE.gz
-- 
2.20.1






More information about the pve-devel mailing list