summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHéctor Orón Martínez <zumbi@debian.org>2018-01-10 16:21:18 +0100
committerHéctor Orón Martínez <zumbi@debian.org>2018-01-12 09:48:10 +0100
commit186760fa76285d659c7e2ab4f6bb529e5f805747 (patch)
tree81b468eee4749ac9d076153b982e8a5284c7f36c
parent98c37d573546b3899cbcf7871c8f7e10fde34b5c (diff)
Initial packaging
Signed-off-by: Héctor Orón Martínez <zumbi@debian.org>
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control39
-rw-r--r--debian/copyright29
-rw-r--r--debian/gbp.conf2
-rwxr-xr-xdebian/rules9
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch4
8 files changed, 90 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f467323
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+debos (1.0.0+git20171222.87b0d5e-1) unstable; urgency=medium
+
+ * Initial release (Closes: #886772)
+
+ -- Héctor Orón Martínez <zumbi@debian.org> Wed, 10 Jan 2018 16:18:44 +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..1663bd6
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,39 @@
+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>
+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,
+ golang-go-flags-dev,
+ golang-github-go-debos-fakemachine-dev,
+ golang-github-surma-gocpio-dev,
+ libostree-dev
+Standards-Version: 4.1.3
+Homepage: https://github.com/go-debos/debos
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-go/packages/debos.git
+Vcs-Git: https://anonscm.debian.org/git/pkg-go/packages/debos.git
+XS-Go-Import-Path: github.com/go-debos/debos
+Testsuite: autopkgtest-pkg-go
+
+Package: debos
+Architecture: any
+Built-Using: ${misc:Built-Using}
+Recommends: bmap-tools, ovmf
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+ systemd-container
+## d4s
+## and please add to runtime dependencies for debos: gzip, bzip2, xz, tar, zip, dpkg, apt, blkid, parted, losetup, udevadm, systemd-nspawn, debootstrap
+## may be I missed something
+Description: Debian OS builder
+ debos 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 scene.
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/rules b/debian/rules
new file mode 100755
index 0000000..4d9bb6c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/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
+ :
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..03518df
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+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