aports/config/rsyslog/APKBUILD

64 lines
2.1 KiB
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
. ../APKBUILD-config.template
pkgver=2022.01.21.01
pkgrel=0
source="
rsyslogd.conf
"
_modules="
postfix
dovecot
rspamd
haproxy
nginx
grafana
postgresql
redis
loki-promtail
"
# TODO
#
# logger:
# influxdb
# Gitea
#
# Others:
# fastd
for i in $_modules; do
subpackages="$subpackages $pkgname-$i:_defmodule"
source="$source modules/$i"
done
package() {
rx_install "rsyslogd.conf"
}
_defmodule() {
_modname="${subpkgname##$pkgname-}"
install_if="$pkgname redxen-config-$_modname"
_module "$_modname"
}
_module() {
MODNAME="$1"
_rx_installdir="$_rx_installdir/modules" rx_install "$1"
}
sha512sums="
6d768bec78b2c62e6c909f90ce7c29436a7f7a4cca39400fa109c1da89b1d0d096537a2ef119c8c94f608d29f3e21379280fe57f47ae2ebbfa17a47a935871b8 rsyslogd.conf
97cf61eaef40a397a106ccbf4000e4c22404a200dae3863619a39e0c4494e6fbd9e04986383aa6b8eae529f1782cb1bb890e07e9972fcb3dc9c2c680783d5091 postfix
7645eca9320e98c9c6d1504e683bff6f70c9eb722e270a01c2888d8e9ecfd6ce395b553f586db745ae5475842add8d49f9f0e8e33a9d41bc1b9c892737dbf24c dovecot
389e81e5e90af3329e83e10b215c5e7d6e8118f21a5c051560472c4d7809bd22f65615791a95f57e88df12dd3b2ddaa8221086c95a497888422b5679315bba55 rspamd
0390e0c42c55f6557dbdd1358e902b88072cc4451852584417cf38c902961d5de96a82d64a2ba298370827e51b95816798ac7940aeec4dfb1d929e4626af46c6 haproxy
195ec4edb77869fe9203a36e71e32c41821ba4bbf0ce8ffc92671813f66fd8f9b10bf269c05e8dfcaa419b00eef955d2b9f82d61376cf460366b893dd106240c nginx
506bb6badc1f53a59079311e5c2d2a0036dcc06101d31dcdfce954d7a328572f8398a087d67ea5c78d07ccf4f63b70d17f9f65298f6f44f8c5fe507bbb48f78c grafana
10a12c9adf9d212e885b8e1f1d0f0f20d1c932aaf6cfe3591d73345f4f8f470e0163324c3be197b53b850f72aa0bf72b55d1b83eb42cb6737a9914080754cfe7 postgresql
edf49b401f91e75a83ea4994ad020fa8343a68097e5c6d613f8da7e89521f6782d5698c9f5f69e03f2cfe15b961e7be02f3a80df8ad8466b51057b5828366ee0 redis
3cef47626d2a281db886f987326d93a434e49169df510f710e98b89adb00bae5ec5c045ab581da4071c0993b01d6c1f643003e90d1534fb3bf6c148043115d5d loki-promtail
"