]> git.sev.monster Git - aports.git/commitdiff
testing/uptime-kuma: remove package
authorsev <git@sev.monster>
Wed, 11 Jan 2023 00:28:18 +0000 (18:28 -0600)
committersev <git@sev.monster>
Wed, 11 Jan 2023 00:28:18 +0000 (18:28 -0600)
testing/uptime-kuma/APKBUILD [deleted file]
testing/uptime-kuma/uptime-kuma.confd [deleted file]
testing/uptime-kuma/uptime-kuma.initd [deleted file]
testing/uptime-kuma/uptime-kuma.post-install [deleted file]

diff --git a/testing/uptime-kuma/APKBUILD b/testing/uptime-kuma/APKBUILD
deleted file mode 100644 (file)
index 8aed063..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-# Contributor: sev <alpine@sev.monster>
-# Maintainer: sev <alpine@sev.monster>
-pkgname=uptime-kuma
-pkgver=1.19.0
-pkgrel=0
-pkgdesc="A fancy self-hosted monitoring tool"
-url="https://uptime.kuma.pet"
-arch="x86_64"
-license="MIT"
-depends="py3-apprise"
-depends_openrc="nodejs>=14"
-makedepends="npm git"
-install="$pkgname.post-install"
-subpackages="$pkgname-openrc"
-source="https://github.com/louislam/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz
-        $pkgname.initd
-        $pkgname.confd"
-builddir="$srcdir/$pkgname-$pkgver"
-
-prepare() {
-       default_prepare
-       npm ci
-}
-
-build() {
-       npm run build
-}
-
-check() {
-       npm test
-}
-
-package() {
-       npm prune --omit=dev
-       sharedir="$pkgdir/usr/share/$pkgname"
-       mkdir -pm755 "$sharedir"
-       cp -dR server db node_modules dist "$sharedir"
-       install -Dm755 -t"$sharedir"/src src/util.js
-       install -Dm755 -t"$sharedir"/extra extra/remove-2fa.js \
-                      extra/reset-password.js extra/healthcheck.js
-       install -Dm755 "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"
-       install -Dm755 "$srcdir/$pkgname.confd" "$pkgdir/etc/conf.d/$pkgname"
-}
-openrc() {
-       pkgdesc="NodeJS server for $pkgname"
-       default_openrc
-}
-
-sha512sums="
-cc05e7d74c63c8bfdb9dd24bcfb1e2759af116d119f8f3bcbc3b8b752dd642f70e68d2d91efa9f1043e7c28cf69b1769830eb1c063b6d18cfc2cd35866725008  uptime-kuma-1.19.0.tar.gz
-8ca2a3e455a3c156385d7e8de037c458045dec75383511ac48341f6f34d9fe6be5e677c238136bde0f83b90c71f10cdd4fb9fa0a9a59982214ddf6c160e7bedd  uptime-kuma.initd
-59a5760ccc530428d28b71df46fad79869c1e9c628ed9c173e996768d1d8079bbc7feaea85b5d43fd45caf5a41b03a193b88e4d82ac7e1add6a7a2ff14ec8b9c  uptime-kuma.confd
-"
diff --git a/testing/uptime-kuma/uptime-kuma.confd b/testing/uptime-kuma/uptime-kuma.confd
deleted file mode 100644 (file)
index a0ef631..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-# https://github.com/louislam/uptime-kuma/wiki/Environment-Variables
-# Commented variables are set to defaults
-
-# Set the directory where the data should be stored (could be relative)
-#DATA_DIR=./data/
-DATA_DIR=/var/lib/update-kuma/
-
-# Host to bind to, could be an ip.
-#UPTIME_KUMA_HOST=::
-
-# Port to listen to
-#UPTIME_KUMA_PORT=3001
-
-# Path to SSL key
-#UPTIME_KUMA_SSL_KEY=
-
-# Path to SSL certificate
-#UPTIME_KUMA_SSL_CERT=
-
-# Cloudflare Tunnel Token (Available in 1.14.0)
-#UPTIME_KUMA_CLOUDFLARED_TOKEN=
-
-# By default, Uptime Kuma is not allowed in iframe if the domain name is not
-# the same as the parent. It protects your Uptime Kuma to be a phishing
-# website. If you don't need this protection, you can set it to true
-#UPTIME_KUMA_DISABLE_FRAME_SAMEORIGIN=false
-
-# Add your self-signed ca certs. (e.g. /cert/path/CAcert.pem)
-#NODE_EXTRA_CA_CERTS=
-
-# Ignore all TLS errors
-#NODE_TLS_REJECT_UNAUTHORIZED=0
-
-# Set it to --insecure-http-parser, if you encountered error "Invalid header
-# value char" when your website using WAF
-#NODE_OPTIONS=
diff --git a/testing/uptime-kuma/uptime-kuma.initd b/testing/uptime-kuma/uptime-kuma.initd
deleted file mode 100644 (file)
index 6945242..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/sbin/openrc-run
-
-name="uptime-kuma"
-description="A free and open source uptime monitoring solution"
-
-: ${DATA_DIR:=/var/lib/$name/}
-export DATA_DIR UPTIME_KUMA_HOST UPTIME_KUMA_PORT UPTIME_KUMA_SSL_KEY \
-       UPTIME_KUMA_SSL_CERT UPTIME_KUMA_CLOUDFLARED_TOKEN \
-       UPTIME_KUMA_DISABLE_FRAME_SAMEORIGIN NODE_EXTRA_CA_CERTS \
-       NODE_TLS_REJECT_UNAUTHORIZED NODE_OPTIONS
-
-directory="/usr/share/$RC_SVCNAME"
-: ${pidfile:="/run/$RC_SVCNAME.pid"}
-command="/usr/bin/node"
-command_args="server/server.js $command_args"
-: ${command_user:="$name:$name"}
-command_background="yes"
-output_log="/var/log/$RC_SVCNAME.log"
-error_log="$output_log"
-
-start_pre() {
-    checkpath --file --owner "$name:$name" -m 755 "$output_log"
-    checkpath --directory --owner "$name:$name" -m 750 "$DATA_DIR"
-}
-
-depends() {
-    need net
-}
-
-# vim:sts=4:sw=4:et
diff --git a/testing/uptime-kuma/uptime-kuma.post-install b/testing/uptime-kuma/uptime-kuma.post-install
deleted file mode 100644 (file)
index 41388c1..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-name="uptime-kuma"
-
-addgroup -S "$name" 2>/dev/null
-adduser -SDHh "/var/lib/$name" -s /sbin/nologin -G $name -g 'Uptime Kuma' $name 2>/dev/null
-
-exit 0
This page took 0.049059 seconds and 4 git commands to generate.