summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/README.source12
-rw-r--r--debian/changelog87
-rw-r--r--debian/compat1
-rw-r--r--debian/control52
-rw-r--r--debian/copyright29
-rw-r--r--debian/gbp.conf2
-rw-r--r--debian/manpages1
-rwxr-xr-xdebian/rules12
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch8
10 files changed, 205 insertions, 0 deletions
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..605826d
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,12 @@
+# Useful git remotes
+
+https://github.com/go-debos/debos.git
+
+# Quick guide for building this package from source
+
+This package uses git-buildpackage, therefore standard gbp procedures should be
+enough to build it. Making sure you have all build dependencies previously
+installed.
+
+$ gbp clone https://salsa.debian.org/go-team/packages/debos.git
+$ cd debos ; gbp buildpackage -us -uc
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..947424d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,87 @@
+debos (1.0.0+git20190326.5bd4aa9-2) unstable; urgency=medium
+
+ * Upload to unstable.
+
+ -- Andrej Shadura <andrewsh@debian.org> Fri, 12 Jul 2019 00:28:17 +0200
+
+debos (1.0.0+git20190326.5bd4aa9-1) experimental; urgency=medium
+
+ * New upstream snapshot 1.0.0+git20190326.5bd4aa9.
+
+ -- Andrej Shadura <andrewsh@debian.org> Tue, 26 Mar 2019 16:07:10 +0100
+
+debos (1.0.0+git20190319.cf3fc48-2) experimental; urgency=medium
+
+ * Bump the build dependency on golang-github-sjoerdsimons-ostree-go-dev.
+
+ -- Andrej Shadura <andrewsh@debian.org> Mon, 25 Mar 2019 12:17:58 +0100
+
+debos (1.0.0+git20190319.cf3fc48-1) experimental; urgency=medium
+
+ * Upload to experimental.
+ * New upstream version 1.0.0+git20190319.cf3fc48.
+
+ -- Andrej Shadura <andrewsh@debian.org> Mon, 25 Mar 2019 10:34:19 +0100
+
+debos (1.0.0+git20190123.d6e16be-1) unstable; urgency=medium
+
+ * New upstream snapshot 1.0.0+git20190123.d6e16be.
+ * Watch the git repo.
+ * Add myself to Uploaders.
+
+ -- Andrej Shadura <andrewsh@debian.org> Fri, 08 Feb 2019 16:33:20 +0100
+
+debos (1.0.0+git20181105.b02e058-1) unstable; urgency=medium
+
+ [ Dmitry Smirnov ]
+ * Do not install sources.
+
+ [ Héctor Orón Martínez ]
+ * New upstream version 1.0.0+git20181105.b02e058
+ * debian/gbp.conf: switch to DEP14
+ * debian/control: set rules require no root
+ * debian/control: add new build dependency on go-losetup.v1
+ * debian/control: version fakemachine dependency (Closes: #905923)
+ * debian/README.source: add new file (Closes: #891723)
+ * debian/manpages: ship manpage (Closes: #893473)
+
+ -- Héctor Orón Martínez <zumbi@debian.org> Fri, 09 Nov 2018 10:45:47 +0100
+
+debos (1.0.0+git20180808.5b74d5d-1) unstable; urgency=medium
+
+ * New upstream version 1.0.0+git20180808.5b74d5d
+ * debian/control: bump standards version
+
+ -- Héctor Orón Martínez <zumbi@debian.org> Fri, 10 Aug 2018 18:14:06 +0200
+
+debos (1.0.0+git20180328.8f2bc2a-1) unstable; urgency=medium
+
+ [ Geert Stappers ]
+ * debian/control: recommend busybox (Closes: #891714)
+
+ [ Alexandre Viau ]
+ * Point Vcs-* urls to salsa.debian.org.
+
+ [ Ana Guerrero Lopez ]
+ * Update Depends:
+ - add qemu-system and qemu-user-static
+ - add debootstrap
+ * Update Recommends:
+ - Add gzip, bzip2, xz, tar, zip that are often used by debos
+ - Add binaries needed by the actions in image-partition:
+ util-linux, parted, mount, udev
+ * Small description update
+
+ [ Héctor Orón Martínez ]
+ * New upstream version 1.0.0+git20180328.8f2bc2a
+ * debian/control: restrict to arch amd64
+ * debian/control: bump standars version
+ * debian/control: rework depends and recommends
+
+ -- Héctor Orón Martínez <zumbi@debian.org> Sat, 19 May 2018 16:33:01 +0200
+
+debos (1.0.0+git20180112.6e577d4-1) unstable; urgency=medium
+
+ * Initial release (Closes: #886772)
+
+ -- Héctor Orón Martínez <zumbi@debian.org> Tue, 20 Feb 2018 16:48:59 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..daa5fab
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,52 @@
+Source: debos
+Section: devel
+Priority: optional
+Maintainer: Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>
+Uploaders: Héctor Orón Martínez <zumbi@debian.org>, Andrej Shadura <andrewsh@debian.org>
+Build-Depends: debhelper (>= 10),
+ dh-golang,
+ golang-any,
+ golang-github-docker-go-units-dev,
+ golang-github-stretchr-testify-dev,
+ golang-yaml.v2-dev,
+ golang-github-sjoerdsimons-ostree-go-dev (>= 0.0~git20190304.5d29096~),
+ golang-go-flags-dev,
+ golang-github-go-debos-fakemachine-dev (>= 0.0~git20181105.9316584~),
+ golang-github-surma-gocpio-dev,
+ libostree-dev,
+ golang-gopkg-freddierice-go-losetup.v1-dev
+Standards-Version: 4.2.1
+Rules-Requires-Root: no
+Homepage: https://github.com/go-debos/debos
+Vcs-Browser: https://salsa.debian.org/go-team/packages/debos
+Vcs-Git: https://salsa.debian.org/go-team/packages/debos.git
+XS-Go-Import-Path: github.com/go-debos/debos
+Testsuite: autopkgtest-pkg-go
+
+Package: debos
+Architecture: amd64
+Built-Using: ${misc:Built-Using}
+Recommends: bmap-tools
+ , ovmf
+ , bzip2
+ , xz-utils
+ , zip
+# For the action image-partition
+ , parted
+ , mount
+ , udev
+ , e2fsprogs
+ , linux-image-amd64
+Depends: ${shlibs:Depends}
+ , ${misc:Depends}
+ , busybox | busybox-static
+ , systemd-container
+ , debootstrap
+ , qemu-system-x86
+ , qemu-user-static
+Description: Debian OS builder
+ debos is a tool to make creation of various Debian based OS "images"
+ simpler. While most other tools focus on specific use-case, debos is
+ more meant as a toolchain to make comon actions trivial while providing
+ enough rope to do whatever tweaking that might be required behind
+ the scenes.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7573458
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: debos
+Source: https://github.com/go-debos/debos
+Files-Excluded: vendor Godeps/_workspace
+
+Files: *
+Copyright: 2017 Collabora Ltd
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2017 Héctor Orón Martínez <zumbi@debian.org>
+License: Apache-2.0
+Comment: Debian packaging is licensed under the same terms as upstream
+
+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/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..cec628c
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..1a90af0
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+doc/man/debos.1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fe01e8a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --buildsystem=golang --with=golang
+
+override_dh_auto_test:
+ # Disable auto tests at build time
+ # debos requires access to /dev/kvm for tests
+ :
+
+override_dh_auto_install:
+ dh_auto_install -- --no-source
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/watch b/debian/watch
new file mode 100644
index 0000000..607d6fa
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,8 @@
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/debos-\$1\.tar\.gz/,\
+uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/ \
+ https://github.com/go-debos/debos/tags .*/v?(\d\S*)\.tar\.gz
+
+opts="mode=git, pgpmode=none, pretty=1.0.0+git%cd.%h, repack, compression=xz" \
+https://github.com/go-debos/debos \
+HEAD