summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWabuo2016-03-05 16:53:31 +0100
committerWabuo2016-03-05 16:53:31 +0100
commitf06b98b1f9e4da1848775e041b6f0eadedba8c45 (patch)
tree3408916bdd247458b0a896edf1a3f8e60a3494d9
downloadaur-f06b98b1f9e4da1848775e041b6f0eadedba8c45.tar.gz
Initial upload message
-rw-r--r--.SRCINFO45
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD61
-rw-r--r--hiawatha-monitor.install4
4 files changed, 113 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..ff702f164803
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,45 @@
+# Generated by mksrcinfo v8
+# Sat Mar 5 15:42:29 UTC 2016
+pkgbase = hiawatha-monitor
+ pkgdesc = The Hiawatha Monitor is a monitoring tool for the Hiawatha webserver. It can be used to keep track of the performance and security of all your Hiawatha webservers via one single interface.
+ pkgver = 1.4
+ pkgrel = 0
+ url = https://www.hiawatha-webserver.org/monitor
+ install = hiawatha-monitor.install
+ arch = any
+ license = custom
+ source = https://www.hiawatha-webserver.org/files/monitor-1.4.tar.gz
+ source = https://raw.githubusercontent.com/hsleisink/monitor/master/LICENSE
+ source = https://raw.githubusercontent.com/Wabuo/PKGBUILD/master/hiawatha-monitor/hiawatha_monitor.conf
+ source = https://raw.githubusercontent.com/Wabuo/PKGBUILD/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_delete_old_logs.service
+ source = https://raw.githubusercontent.com/Wabuo/PKGBUILD/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_delete_old_logs.timer
+ source = https://github.com/Wabuo/PKGBUILD/raw/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_fetch_webserver_logs.service
+ source = https://github.com/Wabuo/PKGBUILD/raw/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_fetch_webserver_logs.timer
+ source = https://github.com/Wabuo/PKGBUILD/raw/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_send_reports.service
+ source = https://github.com/Wabuo/PKGBUILD/raw/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_send_reports.timer
+ source = https://raw.githubusercontent.com/Wabuo/PKGBUILD/master/hiawatha-monitor/hiawatha_monitor.conf.sig
+ source = https://raw.githubusercontent.com/Wabuo/PKGBUILD/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_delete_old_logs.service.sig
+ source = https://raw.githubusercontent.com/Wabuo/PKGBUILD/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_delete_old_logs.timer.sig
+ source = https://github.com/Wabuo/PKGBUILD/raw/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_fetch_webserver_logs.service.sig
+ source = https://github.com/Wabuo/PKGBUILD/raw/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_fetch_webserver_logs.timer.sig
+ source = https://github.com/Wabuo/PKGBUILD/raw/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_send_reports.service.sig
+ source = https://github.com/Wabuo/PKGBUILD/raw/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_send_reports.timer.sig
+ sha256sums = 93927b8c720fc2a1d4ab9e87807a70f99da175e16efa0195bc4541ae4edbe2a7
+ sha256sums = ce91ce4895c9fed0a1719bfeb8ed6e9d63b4350644200b2b2a34f87f1683ce3c
+ sha256sums = 7c260307694248c48b306a8aab2c24d841b763020a908a93a18a5896c188a739
+ sha256sums = 6cb495368e89ad3f5ffc24f1f83de82f62431066578cbf308d2154915ccf0f2e
+ sha256sums = 1ac0f4afbf57aa2189e17d2b6b6490b611b3dbd8563b1ab46023f75ada3632eb
+ sha256sums = 0ffb9c4c6cc73c085d00f7f85d8935cdd509e588558f60d6e11039bf4521e448
+ sha256sums = eb6ffd6191efe008006cbdcc50dcfe7164a2a99fabada23fdedd1f7e6e9e2175
+ sha256sums = 904a3dd1740f534196838f2056ffd72d7dbcc864fe25180f28a23ee2d33084de
+ sha256sums = 3cd1bff3794b6d7cb2e7a051bb3a724a95e67751c3573eefcc521209f1449a78
+ sha256sums = SKIP
+ sha256sums = SKIP
+ sha256sums = SKIP
+ sha256sums = SKIP
+ sha256sums = SKIP
+ sha256sums = SKIP
+ sha256sums = SKIP
+
+pkgname = hiawatha-monitor
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..031310c1846a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+**/
+*.conf
+*.sig
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..edfa8e74b751
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,61 @@
+# Maintainer : Wabuo <spam.wabuo@googlemail.com>
+
+pkgname=hiawatha-monitor
+pkgver=1.4
+pkgrel=0
+pkgdesc="The Hiawatha Monitor is a monitoring tool for the Hiawatha webserver. It can be used to keep track of the performance and security of all your Hiawatha webservers via one single interface."
+arch=('any')
+url="https://www.hiawatha-webserver.org/monitor"
+license=('custom')
+source=("https://www.hiawatha-webserver.org/files/monitor-${pkgver}.tar.gz"
+ 'https://raw.githubusercontent.com/hsleisink/monitor/master/LICENSE'
+ 'https://raw.githubusercontent.com/Wabuo/PKGBUILD/master/hiawatha-monitor/hiawatha_monitor.conf'
+ 'https://raw.githubusercontent.com/Wabuo/PKGBUILD/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_delete_old_logs.service'
+ 'https://raw.githubusercontent.com/Wabuo/PKGBUILD/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_delete_old_logs.timer'
+ 'https://github.com/Wabuo/PKGBUILD/raw/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_fetch_webserver_logs.service'
+ 'https://github.com/Wabuo/PKGBUILD/raw/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_fetch_webserver_logs.timer'
+ 'https://github.com/Wabuo/PKGBUILD/raw/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_send_reports.service'
+ 'https://github.com/Wabuo/PKGBUILD/raw/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_send_reports.timer'
+ 'https://raw.githubusercontent.com/Wabuo/PKGBUILD/master/hiawatha-monitor/hiawatha_monitor.conf.sig'
+ 'https://raw.githubusercontent.com/Wabuo/PKGBUILD/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_delete_old_logs.service.sig'
+ 'https://raw.githubusercontent.com/Wabuo/PKGBUILD/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_delete_old_logs.timer.sig'
+ 'https://github.com/Wabuo/PKGBUILD/raw/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_fetch_webserver_logs.service.sig'
+ 'https://github.com/Wabuo/PKGBUILD/raw/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_fetch_webserver_logs.timer.sig'
+ 'https://github.com/Wabuo/PKGBUILD/raw/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_send_reports.service.sig'
+ 'https://github.com/Wabuo/PKGBUILD/raw/master/hiawatha-monitor/systemd_timers/hiawatha-monitor_send_reports.timer.sig'
+)
+#validpgpkeys=('E50EF6D35253C390580747781D3F7F8594C766C9') # Wabuo
+
+#The devolopers don't provide any checksums! Checksums generated by me!
+sha256sums=('93927b8c720fc2a1d4ab9e87807a70f99da175e16efa0195bc4541ae4edbe2a7'
+ 'ce91ce4895c9fed0a1719bfeb8ed6e9d63b4350644200b2b2a34f87f1683ce3c'
+ '7c260307694248c48b306a8aab2c24d841b763020a908a93a18a5896c188a739'
+ '6cb495368e89ad3f5ffc24f1f83de82f62431066578cbf308d2154915ccf0f2e'
+ '1ac0f4afbf57aa2189e17d2b6b6490b611b3dbd8563b1ab46023f75ada3632eb'
+ '0ffb9c4c6cc73c085d00f7f85d8935cdd509e588558f60d6e11039bf4521e448'
+ 'eb6ffd6191efe008006cbdcc50dcfe7164a2a99fabada23fdedd1f7e6e9e2175'
+ '904a3dd1740f534196838f2056ffd72d7dbcc864fe25180f28a23ee2d33084de'
+ '3cd1bff3794b6d7cb2e7a051bb3a724a95e67751c3573eefcc521209f1449a78'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP')
+
+install=${pkgname}.install
+
+package() {
+ install -d "${pkgdir}/etc/webapps/${pkgname}"
+ install -d "${pkgdir}/usr/share/webapps/${pkgname}"
+ install -d "${pkgdir}/etc/systemd/system/"
+
+ install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -D -m644 "${srcdir}/hiawatha_monitor.conf" "${pkgdir}/etc/webapps/${pkgname}/hiawatha_monitor.conf"
+
+ cp -a ./monitor/* "${pkgdir}/usr/share/webapps/${pkgname}"
+ cp ./*{.service,.timer} "${pkgdir}/etc/systemd/system/"
+
+ ln -s "/usr/share/webapps/${pkgname}/settings" "${pkgdir}/etc/webapps/${pkgname}/settings"
+}
diff --git a/hiawatha-monitor.install b/hiawatha-monitor.install
new file mode 100644
index 000000000000..53bd041ec50a
--- /dev/null
+++ b/hiawatha-monitor.install
@@ -0,0 +1,4 @@
+post_install(){
+ echo "Don't forget to enable the systemd Timers!"
+ echo "systemctl enable hiawatha-monitor_delete_old_logs.timer hiawatha-monitor_fetch_webserver_logs.timer hiawatha-monitor_send_reports.timer"
+}