summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-09-08 06:29:37 +0300
committerLars Wirzenius <liw@liw.fi>2023-09-08 07:02:54 +0300
commit0ce6449eb84d2747f00b4e1656c33900da171f3a (patch)
tree9498a43712bf059a5f0d61cf8bfd2f1b20434867
parent33641f9bfd70a53b9b3f657abf63d4e99bc9934d (diff)
downloadambient-run-0ce6449eb84d2747f00b4e1656c33900da171f3a.tar.gz
chore: add Debian packaging
Sponsored-by: author
-rw-r--r--debian/ambient-run.docs1
-rw-r--r--debian/cargo-checksum.json0
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat2
-rw-r--r--debian/control15
-rw-r--r--debian/copyright20
-rwxr-xr-xdebian/rules14
-rw-r--r--debian/source/format1
8 files changed, 58 insertions, 0 deletions
diff --git a/debian/ambient-run.docs b/debian/ambient-run.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/ambient-run.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/cargo-checksum.json b/debian/cargo-checksum.json
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/debian/cargo-checksum.json
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a337c15
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ambient-run (0.1.0-1) UNRELEASED; urgency=medium
+
+ * Initial release.
+
+ -- Lars Wirzenius <liw@liw.fi> Fri, 08 Sep 2023 06:28:24 +0300
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..021ea30
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1,2 @@
+10
+
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..079320d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,15 @@
+Source: ambient-run
+Maintainer: Lars Wirzenius <liw@liw.fi>
+Section: devel
+Priority: optional
+Standards-Version: 4.2.0
+Build-Depends: debhelper (>= 10~), dh-cargo
+Homepage: https://subplot.liw.fi
+
+Package: ambient-run
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, qemu-system-x86
+Built-Using: ${cargo:Built-Using}
+Description: build a project as if in CI, but in a local VM
+ Build a project in a local virtual machine, without network access, as if it
+ was built in a CI service.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b67dd1e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,20 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ambient-run
+Upstream-Contact: Lars Wirzenius <liw@liw.fi>
+Source: http://git.liw.fi/mabient-run
+
+Files: *
+Copyright: 2023, Lars Wirzenius
+License: AGPL-3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as
+ published by the Free Software Foundation, either version 3 of the
+ License, or (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+ .
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..55b5b0d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --buildsystem cargo
+
+override_dh_auto_build:
+ true
+
+override_dh_auto_install:
+ cargo install --path=. --root=debian/ambient-run
+ find debian -name '.crates*' -delete
+
+override_dh_auto_test:
+ echo skipping tests for now
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)