summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 16:20:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 16:20:51 +0000
commitddfea79e2277d05132c751f3f9c2ed1994599215 (patch)
tree25ba732dfbb33bedbdbe1ec2727084d82bd46f4e
parentAdding upstream version 1.51.0+ds1. (diff)
downloadgolang-github-containers-storage-ddfea79e2277d05132c751f3f9c2ed1994599215.tar.xz
golang-github-containers-storage-ddfea79e2277d05132c751f3f9c2ed1994599215.zip
Adding debian version 1.51.0+ds1-2.debian/1.51.0+ds1-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog408
-rw-r--r--debian/clean2
-rw-r--r--debian/containers-storage.docs2
-rw-r--r--debian/containers-storage.examples1
-rw-r--r--debian/containers-storage.install2
-rw-r--r--debian/control98
-rw-r--r--debian/copyright107
-rw-r--r--debian/copyright-scan-patterns.yml4
-rw-r--r--debian/gbp.conf4
-rw-r--r--debian/gitlab-ci.yml6
-rw-r--r--debian/golang-github-containers-storage-dev.docs2
-rw-r--r--debian/golang-github-containers-storage-dev.install1
-rw-r--r--debian/license-reconcile.yml6
-rw-r--r--debian/patches/TestCheckDetectWriteable-skip.patch32
-rw-r--r--debian/patches/issue1715.patch16
-rw-r--r--debian/patches/series2
-rwxr-xr-xdebian/rules33
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/metadata3
-rw-r--r--debian/watch12
20 files changed, 742 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..94b60fc
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,408 @@
+golang-github-containers-storage (1.51.0+ds1-2) unstable; urgency=medium
+
+ * Upload to unstable
+
+ -- Reinhard Tartler <siretart@tauware.de> Sun, 21 Jan 2024 14:58:21 -0500
+
+golang-github-containers-storage (1.51.0+ds1-1) experimental; urgency=medium
+
+ * New upstream release: v1.51.0
+
+ -- Reinhard Tartler <siretart@tauware.de> Tue, 21 Nov 2023 17:46:03 -0500
+
+golang-github-containers-storage (1.50.2+ds1-2) unstable; urgency=medium
+
+ * Upload to unstable
+
+ -- Reinhard Tartler <siretart@tauware.de> Wed, 25 Oct 2023 17:40:51 -0400
+
+golang-github-containers-storage (1.50.2+ds1-1) experimental; urgency=medium
+
+ * New upstream release
+
+ -- Reinhard Tartler <siretart@tauware.de> Fri, 22 Sep 2023 09:25:50 -0400
+
+golang-github-containers-storage (1.48.1+ds1-2) unstable; urgency=medium
+
+ * Upload to debian/unstable
+
+ -- Reinhard Tartler <siretart@tauware.de> Wed, 20 Sep 2023 06:45:34 -0400
+
+golang-github-containers-storage (1.48.1+ds1-1) experimental; urgency=medium
+
+ * New upstream release
+ * Disable two upstream tests that fail during the package build
+
+ -- Reinhard Tartler <siretart@tauware.de> Thu, 14 Sep 2023 11:45:46 -0400
+
+golang-github-containers-storage (1.46.1+ds1-4) unstable; urgency=medium
+
+ * Fix typo in Breaks declaration in previous upload
+
+ -- Reinhard Tartler <siretart@tauware.de> Tue, 12 Sep 2023 06:52:14 -0400
+
+golang-github-containers-storage (1.46.1+ds1-3) unstable; urgency=medium
+
+ * Add Versioned Breaks to help testing migration
+
+ -- Reinhard Tartler <siretart@tauware.de> Mon, 11 Sep 2023 09:53:05 -0400
+
+golang-github-containers-storage (1.46.1+ds1-2) unstable; urgency=medium
+
+ * Upload to unstable
+
+ -- Reinhard Tartler <siretart@tauware.de> Sat, 09 Sep 2023 10:58:54 -0400
+
+golang-github-containers-storage (1.46.1+ds1-1) experimental; urgency=medium
+
+ * New upstream release
+
+ -- Reinhard Tartler <siretart@tauware.de> Fri, 14 Jul 2023 15:32:49 -0400
+
+golang-github-containers-storage (1.45.1+ds1-2) experimental; urgency=medium
+
+ * Merge in changes from debian/sid
+ * Drop btrfs patch, merged upstream
+
+ -- Reinhard Tartler <siretart@tauware.de> Sun, 05 Feb 2023 09:48:29 -0500
+
+golang-github-containers-storage (1.45.1+ds1-1) experimental; urgency=medium
+
+ * New upstream release
+ * drop patches
+
+ -- Reinhard Tartler <siretart@tauware.de> Thu, 19 Jan 2023 03:00:07 -0500
+
+golang-github-containers-storage (1.43.0+ds1-8) unstable; urgency=medium
+
+ * [PATCH] unshare: fix creating a userns when running as root
+ - critical when run as UID 0, but without CAP_SYS_ADMIN
+ * [PATCH] overlay: fix call to clone on s390x
+ - critical for non-root invocations on s390x
+ * [PATCH] options: reject empty runroot or graphroot (Closes: #1034871)
+ - can avoid serious dataloss when used on btrfs,
+ cf. https://github.com/containers/podman/issues/18349
+
+ -- Reinhard Tartler <siretart@tauware.de> Fri, 28 Apr 2023 17:48:12 -0400
+
+golang-github-containers-storage (1.43.0+ds1-7) unstable; urgency=medium
+
+ * Team upload
+ * Refresh btrfs patch to build with old versions
+
+ -- Shengjing Zhu <zhsj@debian.org> Tue, 10 Jan 2023 14:49:18 +0800
+
+golang-github-containers-storage (1.43.0+ds1-6) unstable; urgency=medium
+
+ * Tighten dependency on libbtrfs-dev (>> 6.1) also for the -dev package
+
+ -- Reinhard Tartler <siretart@tauware.de> Thu, 29 Dec 2022 07:28:54 -0500
+
+golang-github-containers-storage (1.43.0+ds1-5) unstable; urgency=medium
+
+ * Tighten dependency on libbtrfs-dev (>> 6.1)
+
+ -- Reinhard Tartler <siretart@tauware.de> Wed, 28 Dec 2022 22:51:20 -0500
+
+golang-github-containers-storage (1.43.0+ds1-4) unstable; urgency=medium
+
+ * Fix FTBFS golang-containerd-btrfs 1.0, closes: #1027116, #1027116
+
+ -- Reinhard Tartler <siretart@tauware.de> Wed, 28 Dec 2022 10:59:14 -0500
+
+golang-github-containers-storage (1.43.0+ds1-3) unstable; urgency=medium
+
+ * Team upload
+ * Add missing dependency on golang-github-cyphar-filepath-securejoin-dev
+
+ -- Benjamin Drung <bdrung@debian.org> Wed, 14 Dec 2022 13:20:36 +0100
+
+golang-github-containers-storage (1.43.0+ds1-2) unstable; urgency=medium
+
+ * Upload to unstable
+
+ -- Reinhard Tartler <siretart@tauware.de> Thu, 24 Nov 2022 08:41:35 -0500
+
+golang-github-containers-storage (1.43.0+ds1-1) experimental; urgency=medium
+
+ * New upstream release, targeted at podman 4.3
+
+ -- Reinhard Tartler <siretart@tauware.de> Fri, 11 Nov 2022 14:38:05 -0500
+
+golang-github-containers-storage (1.42.0+ds1-1) experimental; urgency=medium
+
+ * New upstream relesae, targeted at podman 4.2
+
+ -- Reinhard Tartler <siretart@tauware.de> Tue, 16 Aug 2022 09:14:30 +0200
+
+golang-github-containers-storage (1.41.0+ds1-1) experimental; urgency=medium
+
+ * New upstream relesae, targeted at podman 4.1
+
+ -- Reinhard Tartler <siretart@tauware.de> Sat, 14 May 2022 11:21:53 -0400
+
+golang-github-containers-storage (1.38.2+ds1-1) experimental; urgency=medium
+
+ * New upstream release, targeted at podman 4.0
+
+ -- Reinhard Tartler <siretart@tauware.de> Sat, 05 Feb 2022 09:35:10 -0500
+
+golang-github-containers-storage (1.37.0+ds1-1) experimental; urgency=medium
+
+ * New upstream release, targeted at podman 4.0
+
+ -- Reinhard Tartler <siretart@tauware.de> Tue, 11 Jan 2022 07:06:56 -0500
+
+golang-github-containers-storage (1.36.0+ds1-3) unstable; urgency=medium
+
+ * re-enable estargz support
+
+ -- Reinhard Tartler <siretart@tauware.de> Sat, 06 Nov 2021 11:40:57 -0400
+
+golang-github-containers-storage (1.36.0+ds1-2) unstable; urgency=medium
+
+ * Upload to unstable
+
+ -- Reinhard Tartler <siretart@tauware.de> Mon, 25 Oct 2021 15:19:59 -0400
+
+golang-github-containers-storage (1.36.0+ds1-1) experimental; urgency=medium
+
+ * New upstream release, Closes: #995064
+ * Disable estargz support to work around #994601
+
+ -- Reinhard Tartler <siretart@tauware.de> Wed, 22 Sep 2021 18:04:30 -0400
+
+golang-github-containers-storage (1.34.1+ds1-1) unstable; urgency=medium
+
+ * New upstream release, Closes: #992140
+
+ -- Reinhard Tartler <siretart@tauware.de> Sat, 28 Aug 2021 17:25:02 +0200
+
+golang-github-containers-storage (1.31.3+ds1-1) experimental; urgency=medium
+
+ * New upstream release
+
+ -- Reinhard Tartler <siretart@tauware.de> Fri, 04 Jun 2021 18:37:25 -0400
+
+golang-github-containers-storage (1.29.0+ds1-1) experimental; urgency=medium
+
+ * New upstream release 1.29.0
+ - fixes: "CVE-2021-20291", thanks to Moritz Muehlenhoff (Closes: #988942).
+
+ -- Reinhard Tartler <siretart@tauware.de> Fri, 28 May 2021 11:43:08 -0400
+
+golang-github-containers-storage (1.28.1+ds1-1) experimental; urgency=medium
+
+ * New upstream version 1.28.1+ds1
+
+ -- Reinhard Tartler <siretart@tauware.de> Fri, 02 Apr 2021 16:49:45 -0400
+
+golang-github-containers-storage (1.25.0+dfsg1-1) experimental; urgency=medium
+
+ * New upstream version 1.25.0+dfsg1
+ * Add explicit dependency on golang-github-moby-sys-dev, closes: #976217
+
+ -- Reinhard Tartler <siretart@tauware.de> Tue, 09 Feb 2021 10:13:16 -0500
+
+golang-github-containers-storage (1.24.8+dfsg1-2) unstable; urgency=high
+
+ * Build against system copy of golang-github-ulikunitz-xz-dev,
+ Adresses: CVE-2021-20291, Closes: #988942
+
+ -- Reinhard Tartler <siretart@tauware.de> Fri, 21 May 2021 16:04:46 -0400
+
+golang-github-containers-storage (1.24.8+dfsg1-1) unstable; urgency=medium
+
+ * New upstream release, focused on targetted bugfixes for podman 3.0
+
+ -- Reinhard Tartler <siretart@tauware.de> Sun, 21 Feb 2021 14:40:55 -0500
+
+golang-github-containers-storage (1.24.5+dfsg1-2) unstable; urgency=medium
+
+ * Upload to unstable
+
+ -- Reinhard Tartler <siretart@tauware.de> Tue, 02 Feb 2021 14:54:51 -0500
+
+golang-github-containers-storage (1.24.5+dfsg1-1) experimental; urgency=medium
+
+ * bump build-dependency on golang-golang-x-sys-dev
+ * New upstream version 1.24.5+dfsg1
+
+ -- Reinhard Tartler <siretart@tauware.de> Sun, 24 Jan 2021 07:55:50 -0500
+
+golang-github-containers-storage (1.24.3+dfsg1-2) experimental; urgency=medium
+
+ * Force using the standard go-compiler
+
+ -- Reinhard Tartler <siretart@tauware.de> Mon, 14 Dec 2020 10:50:09 -0500
+
+golang-github-containers-storage (1.24.3+dfsg1-1) experimental; urgency=medium
+
+ * New upstream version 1.24.3+dfsg1
+
+ -- Reinhard Tartler <siretart@tauware.de> Mon, 14 Dec 2020 07:20:55 -0500
+
+golang-github-containers-storage (1.23.9+dfsg1-1) unstable; urgency=medium
+
+ * New upstream version 1.23.9+dfsg1
+
+ -- Reinhard Tartler <siretart@tauware.de> Mon, 23 Nov 2020 17:05:11 -0500
+
+golang-github-containers-storage (1.23.5+dfsg1-1) unstable; urgency=medium
+
+ * debian/copyright: update using cme update dpkg-copyright
+ * New upstream version 1.23.5+dfsg1
+
+ -- Reinhard Tartler <siretart@tauware.de> Sat, 21 Nov 2020 15:20:52 -0500
+
+golang-github-containers-storage (1.23.4+dfsg1-1) unstable; urgency=medium
+
+ * New upstream version 1.23.4+dfsg1
+ * Add distro patch to skip TestDefaultStoreOpts
+
+ -- Reinhard Tartler <siretart@tauware.de> Wed, 09 Sep 2020 22:27:09 -0400
+
+golang-github-containers-storage (1.21.2+dfsg1-1) unstable; urgency=medium
+
+ * New upstream version 1.21.2+dfsg1
+ * debian/control: depend on golang-github-opencontainers-specs-dev
+ * drop patches, applied upstream
+ * Provide existant $HOME for tests
+ * debian/control: depend on golang-github-golang-github-hashicorp-go-multierror-dev
+
+ -- Reinhard Tartler <siretart@tauware.de> Fri, 24 Jul 2020 06:40:48 -0400
+
+golang-github-containers-storage (1.20.2-3) unstable; urgency=medium
+
+ * Upload to unstable
+
+ -- Reinhard Tartler <siretart@tauware.de> Mon, 20 Jul 2020 06:45:35 -0400
+
+golang-github-containers-storage (1.20.2-2) experimental; urgency=medium
+
+ * unbreak build on mipsen
+
+ -- Reinhard Tartler <siretart@tauware.de> Sun, 19 Jul 2020 15:27:37 -0400
+
+golang-github-containers-storage (1.20.2-1) experimental; urgency=medium
+
+ * New upstream version: 1.20.2
+ * remove local patches, all merged upstream
+ * Exclude tests in pkg/unshare
+
+ -- Reinhard Tartler <siretart@tauware.de> Thu, 09 Jul 2020 21:00:38 -0400
+
+golang-github-containers-storage (1.18.2+dfsg1-1) experimental; urgency=medium
+
+ * New upstream version 1.18.2+dfsg1
+ * pick up new dependencies
+
+ -- Reinhard Tartler <siretart@tauware.de> Sun, 19 Apr 2020 18:12:56 -0400
+
+golang-github-containers-storage (1.15.8+dfsg1-2) unstable; urgency=medium
+
+ * Add patch to fix FTBFS on mipsen
+
+ -- Reinhard Tartler <siretart@tauware.de> Fri, 29 May 2020 06:44:22 -0400
+
+golang-github-containers-storage (1.15.8+dfsg1-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Standards-Version: 4.5.0.
+
+ -- Dmitry Smirnov <onlyjob@debian.org> Wed, 05 Feb 2020 11:05:13 +1100
+
+golang-github-containers-storage (1.15.7+dfsg1-1) unstable; urgency=medium
+
+ * New upstream release.
+ * control: set "Rules-Requires-Root: no".
+
+ -- Dmitry Smirnov <onlyjob@debian.org> Sun, 26 Jan 2020 20:40:19 +1100
+
+golang-github-containers-storage (1.15.5+dfsg1-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Dmitry Smirnov <onlyjob@debian.org> Sun, 29 Dec 2019 22:57:42 +1100
+
+golang-github-containers-storage (1.15.3+dfsg1-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Dmitry Smirnov <onlyjob@debian.org> Sun, 15 Dec 2019 14:51:36 +1100
+
+golang-github-containers-storage (1.15.2+dfsg1-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Dmitry Smirnov <onlyjob@debian.org> Tue, 10 Dec 2019 19:06:27 +1100
+
+golang-github-containers-storage (1.15.1+dfsg1-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Dmitry Smirnov <onlyjob@debian.org> Sun, 01 Dec 2019 03:17:29 +1100
+
+golang-github-containers-storage (1.13.5+dfsg1-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Install "containers-storage.conf.5" man page.
+ * Install example "storage.conf".
+ * Updated "watch" file to fix L/W: debian-watch-file-should-mangle-version.
+ * (Build-)Depends:
+ - golang-github-ostreedev-ostree-go-dev
+ - libostree-dev
+
+ -- Dmitry Smirnov <onlyjob@debian.org> Tue, 12 Nov 2019 08:48:35 +1100
+
+golang-github-containers-storage (1.13.2+dfsg1-3) unstable; urgency=medium
+
+ * Build with "ostree" tag.
+ * Standards-Version: 4.4.1.
+ * Added myself to Uploaders.
+ * Switched to the original "ostreedev/ostree-go" library.
+ * (Build-)Depends:
+ - golang-github-sjoerdsimons-ostree-go-dev
+ + golang-github-ostreedev-ostree-go-dev
+
+ -- Dmitry Smirnov <onlyjob@debian.org> Mon, 11 Nov 2019 13:51:54 +1100
+
+golang-github-containers-storage (1.13.2+dfsg1-2) unstable; urgency=medium
+
+ * Team upload.
+
+ [ Dmitry Smirnov ]
+ * New patch to fix FTBFS on mips.
+
+ [ Arnaud Rebillout ]
+ * New upstream patch to fix build against docker-dev 19.03.
+ * Removed "golang-github-docker-docker-dev" from (Build-)Depends.
+
+ -- Arnaud Rebillout <arnaud.rebillout@collabora.com> Fri, 01 Nov 2019 11:19:03 +0700
+
+golang-github-containers-storage (1.13.2+dfsg1-1) unstable; urgency=medium
+
+ [ Reinhard Tartler ]
+ * Prepare new upload
+ * New upstream requires golang-github-datadog-zstd-dev
+
+ [ Dmitry Smirnov ]
+ * Added "Built-Using" field to binary package.
+ * dev: added missing ostree dependency; new patch to use available fork.
+
+ [ Reinhard Tartler ]
+ * New upstream version 1.13.2
+
+ -- Reinhard Tartler <siretart@tauware.de> Wed, 11 Sep 2019 07:51:52 -0400
+
+golang-github-containers-storage (1.12.2-1) experimental; urgency=medium
+
+ * New upstream version
+
+ -- Reinhard Tartler <siretart@tauware.de> Wed, 10 Apr 2019 08:12:52 -0400
+
+golang-github-containers-storage (1.5-1) experimental; urgency=medium
+
+ * Initial release (Closes: #921949)
+
+ -- Reinhard Tartler <siretart@tauware.de> Sun, 10 Feb 2019 08:23:47 -0500
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..09c93b1
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+docs/*.1
+docs/*.5
diff --git a/debian/containers-storage.docs b/debian/containers-storage.docs
new file mode 100644
index 0000000..4ebd303
--- /dev/null
+++ b/debian/containers-storage.docs
@@ -0,0 +1,2 @@
+NOTICE
+README.md
diff --git a/debian/containers-storage.examples b/debian/containers-storage.examples
new file mode 100644
index 0000000..fee9217
--- /dev/null
+++ b/debian/containers-storage.examples
@@ -0,0 +1 @@
+*.conf
diff --git a/debian/containers-storage.install b/debian/containers-storage.install
new file mode 100644
index 0000000..5078b7e
--- /dev/null
+++ b/debian/containers-storage.install
@@ -0,0 +1,2 @@
+storage.conf /usr/share/containers
+usr/bin/containers-storage
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..65d0469
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,98 @@
+Source: golang-github-containers-storage
+Section: devel
+Priority: optional
+Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
+Uploaders: Reinhard Tartler <siretart@tauware.de>,
+ Dmitry Smirnov <onlyjob@debian.org>
+Build-Depends: debhelper-compat (= 11),
+ dh-golang,
+ ffjson,
+ go-md2man,
+ golang-github-burntsushi-toml-dev,
+ golang-github-containerd-stargz-snapshotter-dev (>= 0.8.0-3),
+ golang-github-cyphar-filepath-securejoin-dev,
+ golang-github-containerd-btrfs-dev (>= 1.0.0),
+ golang-github-datadog-zstd-dev,
+ golang-github-docker-go-units-dev,
+ golang-github-google-go-intervals-dev,
+ golang-github-gotestyourself-gotest.tools-dev,
+ golang-github-hashicorp-go-multierror-dev,
+ golang-github-json-iterator-go-dev,
+ golang-github-klauspost-pgzip-dev,
+ golang-github-mattn-go-shellwords-dev,
+ golang-github-moby-sys-dev,
+ golang-github-opencontainers-go-digest-dev,
+ golang-github-opencontainers-runc-dev,
+ golang-github-opencontainers-selinux-dev (>= 1.5.0),
+ golang-github-opencontainers-specs-dev,
+ golang-github-pkg-errors-dev,
+ golang-github-pquerna-ffjson-dev,
+ golang-github-sirupsen-logrus-dev,
+ golang-github-stretchr-testify-dev,
+ golang-github-ulikunitz-xz-dev,
+ golang-github-vbatts-tar-split-dev,
+ golang-go (>> 2:1.14~~),
+ golang-go-patricia-dev,
+ golang-go-zfs-dev,
+ golang-gocapability-dev,
+ golang-golang-x-net-dev,
+ golang-golang-x-sys-dev (>> 0.0~git20201223),
+ libbtrfs-dev,
+ libdevmapper-dev
+Standards-Version: 4.5.0
+Homepage: https://github.com/containers/storage
+Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-containers-storage
+Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-containers-storage.git
+XS-Go-Import-Path: github.com/containers/storage
+Testsuite: autopkgtest-pkg-go
+Rules-Requires-Root: no
+
+Package: golang-github-containers-storage-dev
+Architecture: all
+Depends: golang-github-burntsushi-toml-dev,
+ golang-github-containerd-stargz-snapshotter-dev,
+ golang-github-cyphar-filepath-securejoin-dev,
+ golang-github-datadog-zstd-dev,
+ golang-github-docker-go-units-dev,
+ golang-github-google-go-intervals-dev,
+ golang-github-gotestyourself-gotest.tools-dev,
+ golang-github-hashicorp-go-multierror-dev,
+ golang-github-json-iterator-go-dev,
+ golang-github-klauspost-pgzip-dev,
+ golang-github-mattn-go-shellwords-dev,
+ golang-github-moby-sys-dev,
+ golang-github-opencontainers-go-digest-dev,
+ golang-github-opencontainers-runc-dev,
+ golang-github-opencontainers-selinux-dev (>= 1.0.0),
+ golang-github-opencontainers-specs-dev,
+ golang-github-pkg-errors-dev,
+ golang-github-pquerna-ffjson-dev,
+ golang-github-sirupsen-logrus-dev,
+ golang-github-stretchr-testify-dev,
+ golang-github-vbatts-tar-split-dev,
+ golang-go-patricia-dev,
+ golang-go-zfs-dev,
+ golang-gocapability-dev,
+ golang-golang-x-net-dev,
+ golang-golang-x-sys-dev,
+ libbtrfs-dev,
+ libdevmapper-dev,
+ ${misc:Depends}
+Breaks: golang-github-containers-buildah-dev (<< 1.30)
+Description: Go library for handling how containers are stored on disk
+ storage is a Go library which aims to provide methods for storing
+ filesystem layers, container images, and containers. A containers-storage
+ CLI wrapper is also included for manual and scripting use.
+ .
+ This package contains the library.
+
+Package: containers-storage
+Architecture: any
+Built-Using: ${misc:Built-Using}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: CLI tools for handling how containers are stored on disk
+ storage is a Go library which aims to provide methods for storing
+ filesystem layers, container images, and containers. A containers-storage
+ CLI wrapper is also included for manual and scripting use.
+ .
+ This package contains the CLI tools.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b507b67
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,107 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://github.com/containers/storage
+Files-Excluded:
+ vendor
+ tests/tools/vendor
+
+Files: *
+Copyright: 2016-2018, github.com/containers/storage authors
+License: Apache-2.0
+
+Files: CONTRIBUTING.md
+Copyright: 2004, 2006, The Linux Foundation and its contributors.
+License: Apache-2.0
+
+Files: debian/*
+Copyright:
+ 2019 Reinhard Tartler <siretart@tauware.de>
+ 2019-2020 Dmitry Smirnov <onlyjob@debian.org>
+License: Apache-2.0
+Comment: Debian packaging is licensed under the same terms as upstream
+
+Files: internal/opts/parse.go
+Copyright: 2012-2018, Docker, Inc.
+License: Apache-2.0
+
+Files: pkg/chunked/compressor/rollsum.go
+ pkg/chunked/compressor/rollsum_test.go
+Copyright: 2011, The Perkeep Authors
+License: Apache-2.0
+
+Files: pkg/homedir/*
+Copyright: 2012-2018, Docker, Inc.
+License: Apache-2.0
+
+Files: pkg/mflag/*
+Copyright: 2014-2016, The Docker & Go Authors.
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following disclaimer
+ in the documentation and/or other materials provided with the
+ distribution.
+ * Neither the name of Google Inc. nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: pkg/mflag/example/*
+Copyright: 2014-2016, The Docker & Go Authors
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following disclaimer
+ in the documentation and/or other materials provided with the
+ distribution.
+ * Neither the name of Google Inc. nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+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
+ .
+ http://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/copyright-scan-patterns.yml b/debian/copyright-scan-patterns.yml
new file mode 100644
index 0000000..3a7bb4a
--- /dev/null
+++ b/debian/copyright-scan-patterns.yml
@@ -0,0 +1,4 @@
+---
+ignore:
+ pattern:
+ - NOTICE
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..2d3c321
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,4 @@
+[DEFAULT]
+debian-branch = debian/experimental
+upstream-branch = upstream/latest
+upstream-vcs-tag = v%(version%~%-)s
diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml
new file mode 100644
index 0000000..594e14e
--- /dev/null
+++ b/debian/gitlab-ci.yml
@@ -0,0 +1,6 @@
+# auto-generated, DO NOT MODIFY.
+# The authoritative copy of this file lives at:
+# https://salsa.debian.org/go-team/infra/pkg-go-tools/blob/master/config/gitlabciyml.go
+---
+include:
+ - https://salsa.debian.org/go-team/infra/pkg-go-tools/-/raw/master/pipeline/test-archive.yml
diff --git a/debian/golang-github-containers-storage-dev.docs b/debian/golang-github-containers-storage-dev.docs
new file mode 100644
index 0000000..4ebd303
--- /dev/null
+++ b/debian/golang-github-containers-storage-dev.docs
@@ -0,0 +1,2 @@
+NOTICE
+README.md
diff --git a/debian/golang-github-containers-storage-dev.install b/debian/golang-github-containers-storage-dev.install
new file mode 100644
index 0000000..a3da66d
--- /dev/null
+++ b/debian/golang-github-containers-storage-dev.install
@@ -0,0 +1 @@
+usr/share/gocode
diff --git a/debian/license-reconcile.yml b/debian/license-reconcile.yml
new file mode 100644
index 0000000..f86288e
--- /dev/null
+++ b/debian/license-reconcile.yml
@@ -0,0 +1,6 @@
+Rules:
+ rules:
+ -
+ Glob: debian/*
+ License: Apache-2.0
+ Copyright: Reinhard Tartler <siretart@tauware.de>
diff --git a/debian/patches/TestCheckDetectWriteable-skip.patch b/debian/patches/TestCheckDetectWriteable-skip.patch
new file mode 100644
index 0000000..47557f7
--- /dev/null
+++ b/debian/patches/TestCheckDetectWriteable-skip.patch
@@ -0,0 +1,32 @@
+Author: Reinhard Tartler
+Description: Disable test making assumptions that don't hold
+Bug-Forwarded: yes
+Bug-Upstream: no
+
+Probably good to ask/forward upstream, but I don't really understand why it
+fails in this way:
+
+ === RUN TestCheckDetectWriteable
+ check_test.go:80:
+ Error Trace: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/containers/storage/check_test.go:80
+ Error: Received unexpected error:
+ chown /tmp/TestCheckDetectWriteable746813340/002/vfs/dir: operation not permitted
+ Test: TestCheckDetectWriteable
+ Messages: unexpected error initializing test store
+ --- FAIL: TestCheckDetectWriteable (0.00s)
+
+
+Index: golang-github-containers-storage/check_test.go
+===================================================================
+--- golang-github-containers-storage.orig/check_test.go
++++ golang-github-containers-storage/check_test.go
+@@ -77,6 +77,9 @@ func TestCheckDetectWriteable(t *testing
+ GraphRoot: t.TempDir(),
+ GraphDriverName: "vfs",
+ })
++ if (err != nil) {
++ t.Skip("Debian-Local: Skipping test: %w", err)
++ }
+ require.NoError(t, err, "unexpected error initializing test store")
+ s, ok := stoar.(*store)
+ require.True(t, ok, "unexpected error making type assertion")
diff --git a/debian/patches/issue1715.patch b/debian/patches/issue1715.patch
new file mode 100644
index 0000000..1c40bbc
--- /dev/null
+++ b/debian/patches/issue1715.patch
@@ -0,0 +1,16 @@
+Author: Reinhard Tartler
+Description: Disable test making assumptions that don't hold
+Bug-Forwarded: yes
+Bug-Upstream: https://github.com/containers/storage/issues/1715
+
+Index: golang-github-containers-storage/types/options_test.go
+===================================================================
+--- golang-github-containers-storage.orig/types/options_test.go
++++ golang-github-containers-storage/types/options_test.go
+@@ -1,3 +1,6 @@
++// +build issue_1715
++// cf. https://github.com/containers/storage/issues/1715
++
+ package types
+
+ import (
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7305df1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+issue1715.patch
+TestCheckDetectWriteable-skip.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9f9f9c8
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,33 @@
+#!/usr/bin/make -f
+
+export DH_GOLANG_GO_GENERATE := 1
+export DEB_BUILD_MAINT_OPTIONS := optimize=-lto
+export DH_GOLANG_INSTALL_EXTRA := $(wildcard types/*.conf)
+
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ # Some tests require root privileges. Upstream provides
+ # scripts to easily setup test VMs using vagrant, which
+ # is not appropriate in a debian package build.
+ mkdir -p -m700 $(CURDIR)/debian/tmp-home/.cache
+ mkdir -p -m700 $(CURDIR)/debian/tmp-home/.config
+ mkdir -p -m700 $(CURDIR)/debian/tmp-home/.local/share
+ mkdir -p -m700 $(CURDIR)/debian/tmp-home/run
+ env \
+ HOME=$(CURDIR)/debian/tmp-home/.cache \
+ XDG_CACHE_HOME=$(CURDIR)/debian/tmp-home/.cache \
+ XDG_CONFIG_HOME=$(CURDIR)/debian/tmp-home/.config \
+ XDG_DATA_HOME=$(CURDIR)/debian/tmp-home/.local/share \
+ XDG_RUNTIME_DIR=$(CURDIR)/debian/tmp-home/run \
+ PATH="$(CURDIR)/_output/bin:$$PATH" \
+ DH_GOLANG_EXCLUDES="drivers/aufs drivers/btrfs drivers/devmapper drivers/overlay drivers/vfs drivers/zfs pkg/archive pkg/chrootarchive pkg/idtools pkg/mount pkg/system pkg/unshare pkg/directory pkg/fileutils" \
+ dh_auto_test -v
+ rm -rf $(CURDIR)/debian/tmp-home
+endif
+
+%:
+ dh $@ --buildsystem=golang --with=golang --ignore=bin/example
+
+override_dh_installman:
+ make -C docs GOMD2MAN=go-md2man
+ dh_installman -pcontainers-storage docs/*.1 docs/*.5
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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..276d4a3
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Repository: https://github.com/containers/storage.git
+Repository-Browse: https://github.com/containers/storage
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..1a0398b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,12 @@
+# uscan(1) configuration file.
+version=4
+
+opts="\
+pgpmode=none,\
+repacksuffix=+ds1,\
+repack,compression=xz,\
+dirversionmangle=s/-rc/~rc/,\
+uversionmangle=s/-rc/~rc/,\
+dversionmangle=s{[+~]ds\d*}{},\
+" https://github.com/containers/storage/tags \
+ .*/v?@ANY_VERSION@@ARCHIVE_EXT@