summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-07-23 20:58:55 +0200
committerChristian Pointner <equinox@spreadspace.org>2023-07-23 21:02:23 +0200
commit51bf26d222141bbf31435eb4c6e50b5c4b4117e0 (patch)
tree4a4f4a5a9128df228fadc33dcfb2581b137353e9
initial version for whawty-auth package
-rw-r--r--whawty-auth/Makefile20
-rw-r--r--whawty-auth/debian/changelog5
-rw-r--r--whawty-auth/debian/compat1
-rw-r--r--whawty-auth/debian/control11
-rw-r--r--whawty-auth/debian/install1
-rwxr-xr-xwhawty-auth/debian/rules16
-rw-r--r--whawty-auth/debian/source/format1
-rw-r--r--whawty-auth/sha256sums.txt3
8 files changed, 58 insertions, 0 deletions
diff --git a/whawty-auth/Makefile b/whawty-auth/Makefile
new file mode 100644
index 0000000..a208e8f
--- /dev/null
+++ b/whawty-auth/Makefile
@@ -0,0 +1,20 @@
+VERSION := "invalid"
+GITHUB_BASEURL := "https://github.com/whawty/auth/releases/download"
+
+.PHONY: clean
+
+all: i386/whawty-auth amd64/whawty-auth arm64/whawty-auth
+
+%/whawty-auth: whawty-auth-v$(VERSION)-linux-%.tar.gz
+ mkdir -p $(shell echo $@ | sed 's#/.*##')
+ tar -C $(shell echo $@ | sed 's#/.*##') -xzf "$<"
+
+whawty-auth-v$(VERSION)-linux-%.tar.gz:
+ wget -nc --progress=dot:mega "$(GITHUB_BASEURL)/v$(VERSION)/$(shell echo $@ | sed s/i386/386/)" -O "$@"
+ sha256sum -c --ignore-missing sha256sums.txt
+
+clean:
+ rm -rf i386
+ rm -rf amd64
+ rm -rf arm64
+ rm -f whawty-auth-v$(VERSION)-linux-*.tar.gz
diff --git a/whawty-auth/debian/changelog b/whawty-auth/debian/changelog
new file mode 100644
index 0000000..c27a21d
--- /dev/null
+++ b/whawty-auth/debian/changelog
@@ -0,0 +1,5 @@
+whawty-auth (0.2-rc1-1) UNRELEASED; urgency=medium
+
+ * Initial release.
+
+ -- Christian Pointner <equinox@spreadspace.org> Wed, 22 Jun 2021 22:34:37 +0200
diff --git a/whawty-auth/debian/compat b/whawty-auth/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/whawty-auth/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/whawty-auth/debian/control b/whawty-auth/debian/control
new file mode 100644
index 0000000..b3d2874
--- /dev/null
+++ b/whawty-auth/debian/control
@@ -0,0 +1,11 @@
+Source: whawty-auth
+Maintainer: Christian Pointner <equinox@spreadspace.org>
+Section: utils
+Priority: optional
+Standards-Version: 3.9.2
+Build-Depends: debhelper (>= 9), wget, ca-certificates
+
+Package: whawty-auth
+Architecture: amd64 i386 arm64
+Depends: ${misc:Depends}
+Description: whawty-auth app (binaries only)
diff --git a/whawty-auth/debian/install b/whawty-auth/debian/install
new file mode 100644
index 0000000..c66cb17
--- /dev/null
+++ b/whawty-auth/debian/install
@@ -0,0 +1 @@
+usr/bin/whawty-auth
diff --git a/whawty-auth/debian/rules b/whawty-auth/debian/rules
new file mode 100755
index 0000000..4e7f6b7
--- /dev/null
+++ b/whawty-auth/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)/whawty-auth
+
+override_dh_auto_install:
+ install -d $$(pwd)/debian/tmp/usr/bin/
+ install -m 755 $$(pwd)/$(DEB_BUILD_ARCH)/whawty-auth $$(pwd)/debian/tmp/usr/bin/whawty-auth
+
+override_dh_auto_clean:
+ make VERSION=$(DEB_VERSION_UPSTREAM) clean
diff --git a/whawty-auth/debian/source/format b/whawty-auth/debian/source/format
new file mode 100644
index 0000000..d3827e7
--- /dev/null
+++ b/whawty-auth/debian/source/format
@@ -0,0 +1 @@
+1.0
diff --git a/whawty-auth/sha256sums.txt b/whawty-auth/sha256sums.txt
new file mode 100644
index 0000000..97b2f75
--- /dev/null
+++ b/whawty-auth/sha256sums.txt
@@ -0,0 +1,3 @@
+0f9c1687780061fd5a250c6f3d06042076f499a2b92d73641eae5bc4464e3a04 whawty-auth-v0.2-rc1-linux-i386.tar.gz
+5ef383831614da67d34049e2e64c3dbc71b45dc0c82a7461f736d148fd659c8a whawty-auth-v0.2-rc1-linux-amd64.tar.gz
+f41a0161b221c76cbea2d4215ac306dafe48dc9f212ca14b49d8abe0a8b56e20 whawty-auth-v0.2-rc1-linux-arm64.tar.gz