summaryrefslogtreecommitdiff
path: root/sachet/debian
diff options
context:
space:
mode:
Diffstat (limited to 'sachet/debian')
-rw-r--r--sachet/debian/changelog5
-rw-r--r--sachet/debian/compat1
-rw-r--r--sachet/debian/control11
-rw-r--r--sachet/debian/install1
-rwxr-xr-xsachet/debian/rules16
-rw-r--r--sachet/debian/source/format1
6 files changed, 35 insertions, 0 deletions
diff --git a/sachet/debian/changelog b/sachet/debian/changelog
new file mode 100644
index 0000000..46178eb
--- /dev/null
+++ b/sachet/debian/changelog
@@ -0,0 +1,5 @@
+sachet (0.3.1~smstools-1) unstable; urgency=medium
+
+ * Initial release.
+
+ -- Christian Pointner <equinox@spreadspace.org> Wed, 20 Jul 2022 23:35:58 +0200
diff --git a/sachet/debian/compat b/sachet/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/sachet/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/sachet/debian/control b/sachet/debian/control
new file mode 100644
index 0000000..d954013
--- /dev/null
+++ b/sachet/debian/control
@@ -0,0 +1,11 @@
+Source: sachet
+Maintainer: Christian Pointner <equinox@spreadspace.org>
+Section: utils
+Priority: optional
+Standards-Version: 3.9.2
+Build-Depends: debhelper (>= 9), wget, ca-certificates
+
+Package: sachet
+Architecture: amd64
+Depends: ${misc:Depends}
+Description: SMS alerting tool for the Prometheus Alertmanager (binary only)
diff --git a/sachet/debian/install b/sachet/debian/install
new file mode 100644
index 0000000..92a5ea5
--- /dev/null
+++ b/sachet/debian/install
@@ -0,0 +1 @@
+usr/bin/sachet
diff --git a/sachet/debian/rules b/sachet/debian/rules
new file mode 100755
index 0000000..8250f39
--- /dev/null
+++ b/sachet/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+include /usr/share/dpkg/pkg-info.mk
+%:
+ dh $@
+
+override_dh_auto_configure:
+
+override_dh_auto_build:
+ make VERSION=$(DEB_VERSION_UPSTREAM) $(DEB_BUILD_ARCH)/sachet
+
+override_dh_auto_install:
+ install -d $$(pwd)/debian/tmp/usr/bin/
+ install -m 755 $$(pwd)/$(DEB_BUILD_ARCH)/sachet $$(pwd)/debian/tmp/usr/bin/sachet
+
+override_dh_auto_clean:
+ make VERSION=$(DEB_VERSION_UPSTREAM) clean
diff --git a/sachet/debian/source/format b/sachet/debian/source/format
new file mode 100644
index 0000000..d3827e7
--- /dev/null
+++ b/sachet/debian/source/format
@@ -0,0 +1 @@
+1.0