aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_posts/snippets
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_posts/snippets/ubuntu_packaging/basic/changelog5
-rw-r--r--_posts/snippets/ubuntu_packaging/basic/control13
-rw-r--r--_posts/snippets/ubuntu_packaging/basic/copyright31
-rw-r--r--_posts/snippets/ubuntu_packaging/basic/rules3
-rw-r--r--_posts/snippets/ubuntu_packaging/gbp/gbp.conf5
-rw-r--r--_posts/snippets/ubuntu_packaging/install/test.install1
6 files changed, 58 insertions, 0 deletions
diff --git a/_posts/snippets/ubuntu_packaging/basic/changelog b/_posts/snippets/ubuntu_packaging/basic/changelog
new file mode 100644
index 0000000..6b7131e
--- /dev/null
+++ b/_posts/snippets/ubuntu_packaging/basic/changelog
@@ -0,0 +1,5 @@
+test (1.0-1) unstable; urgency=medium
+
+ * Initial release.
+
+ -- John Doe <John.Doe@example.com> Wed, 10 Mar 2021 16:15:19 +0000
diff --git a/_posts/snippets/ubuntu_packaging/basic/control b/_posts/snippets/ubuntu_packaging/basic/control
new file mode 100644
index 0000000..55f8252
--- /dev/null
+++ b/_posts/snippets/ubuntu_packaging/basic/control
@@ -0,0 +1,13 @@
+Source: test
+Section: utils
+Priority: optional
+Maintainer: John Doe <John.Doe@example.com>
+Build-Depends: debhelper-compat (= 12)
+Standards-Version: 4.4.1
+Homepage: https://example.com/test
+
+Package: test
+Architecture: all
+Depends: ${misc:Depends}
+Description: This is a test package.
+ This is a test package, just trying out Debian packaging.
diff --git a/_posts/snippets/ubuntu_packaging/basic/copyright b/_posts/snippets/ubuntu_packaging/basic/copyright
new file mode 100644
index 0000000..8a67e52
--- /dev/null
+++ b/_posts/snippets/ubuntu_packaging/basic/copyright
@@ -0,0 +1,31 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: test
+Upstream-Contact: John Doe <John.Doe@example.com>
+Source: https://example.com/test
+
+Files: *
+Copyright: 2021 John Doe <John.Doe@example.com>
+License: MIT
+
+Files: debian/*
+Copyright: 2021 John Doe <John.Doe@example.com>
+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/_posts/snippets/ubuntu_packaging/basic/rules b/_posts/snippets/ubuntu_packaging/basic/rules
new file mode 100644
index 0000000..cbe925d
--- /dev/null
+++ b/_posts/snippets/ubuntu_packaging/basic/rules
@@ -0,0 +1,3 @@
+#!/usr/bin/make -f
+%:
+ dh $@
diff --git a/_posts/snippets/ubuntu_packaging/gbp/gbp.conf b/_posts/snippets/ubuntu_packaging/gbp/gbp.conf
new file mode 100644
index 0000000..d9f7e5f
--- /dev/null
+++ b/_posts/snippets/ubuntu_packaging/gbp/gbp.conf
@@ -0,0 +1,5 @@
+[DEFAULT]
+upstream-tag = v%(version)s
+debian-branch = debian
+pristine-tar = False
+export-dir = ../build-area/
diff --git a/_posts/snippets/ubuntu_packaging/install/test.install b/_posts/snippets/ubuntu_packaging/install/test.install
new file mode 100644
index 0000000..6222235
--- /dev/null
+++ b/_posts/snippets/ubuntu_packaging/install/test.install
@@ -0,0 +1 @@
+test.sh usr/bin