summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rw-r--r--debian/clean2
-rw-r--r--debian/control32
-rw-r--r--debian/copyright31
-rw-r--r--debian/debvm.docs1
-rw-r--r--debian/debvm.install3
-rw-r--r--debian/debvm.manpages2
-rwxr-xr-xdebian/rules8
-rw-r--r--debian/source/format1
-rw-r--r--debian/tests/control3
10 files changed, 88 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..45b97dc
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+debvm (0.1) experimental; urgency=medium
+
+ * Initial release.
+
+ -- Helmut Grohne <helmut@subdivi.de> Sun, 01 Jan 2023 17:38:43 +0100
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..3a838a2
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+debvm-create.1
+debvm-run.1
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..512f9e7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,32 @@
+Source: debvm
+Maintainer: Helmut Grohne <helmut@subdivi.de>
+Build-Depends: debhelper-compat (= 13), perl
+Section: admin
+Priority: optional
+Standards-Version: 4.6.2
+Rules-Requires-Root: no
+Homepage: https://salsa.debian.org/helmutg/debvm/
+Vcs-Git: https://salsa.debian.org/helmutg/debvm.git -b debian
+Vcs-Browser: https://salsa.debian.org/helmutg/debvm/
+
+Package: debvm
+Architecture: all
+Depends:
+ ${misc:Depends},
+ e2fsprogs,
+ genext2fs,
+ mmdebstrap (>= 1.2.4),
+ qemu-kvm | qemu-system-arm | qemu-system-system-mips | qemu-system-misc | qemu-system-ppc | qemu-system-x86,
+Recommends:
+ arch-test,
+ binfmt-support,
+ openssh-client,
+ qemu-system,
+ qemu-user-static,
+ uidmap | fakeroot,
+ uidmap | fakechroot,
+Description: create and run virtual machines for various Debian releases and architectures
+ The tool debvm-create can be used to create a virtual machine image and
+ the tool debvm-run can be used to run such a machine image. Their purpose
+ primarily is testing software using qemu as a containment technology.
+ These are relatively thin wrappers around mmdebstrap and qemu.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2df7827
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: debvm
+Upstream-Contact: Helmut Grohne <helmut@subdivi.de>
+Source: https://salsa.debian.org/helmutg/debvm/
+
+Files: *
+Copyright:
+ 2022 Helmut Grohne <helmut@subdivi.de>
+ 2022 Johannes Schauer Marin Rodrigues <josch@debian.org>
+ 2022 Jochen Sprickerhof <jspricke@debian.org>
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ The software is provided "as is", without warranty of any kind, express or
+ implied, including but not limited to the warranties of merchantability,
+ fitness for a particular purpose and noninfringement. In no event shall the
+ authors or copyright holders be liable for any claim, damages or other
+ liability, whether in an action of contract, tort or otherwise, arising
+ from, out of or in connection with the software or the use or other dealings
+ in the software.
diff --git a/debian/debvm.docs b/debian/debvm.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/debvm.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/debvm.install b/debian/debvm.install
new file mode 100644
index 0000000..c091796
--- /dev/null
+++ b/debian/debvm.install
@@ -0,0 +1,3 @@
+debvm-create usr/bin
+debvm-run usr/bin
+9pmounthook/* usr/share/mmdebstrap/9pmount
diff --git a/debian/debvm.manpages b/debian/debvm.manpages
new file mode 100644
index 0000000..3a838a2
--- /dev/null
+++ b/debian/debvm.manpages
@@ -0,0 +1,2 @@
+debvm-create.1
+debvm-run.1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..3e8486c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ pod2man debvm-create debvm-create.1
+ pod2man debvm-run debvm-run.1
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..9401ca5
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Test-Command: ./tests/create-and-run.sh $(dpkg --print-architecture) sid
+Depends: debvm, fakeroot, fakechroot, sleepenh, openssh-client, libsystemd-shared
+Restrictions: allow-stderr, needs-internet