Merge common cron properties

This commit is contained in:
Alex D. 2021-01-29 16:04:30 +00:00
parent 767c7cf7fc
commit 97d1845f81
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
7 changed files with 40 additions and 57 deletions

View File

@ -0,0 +1,8 @@
pkgname="redxen-cron-$_cronname"
pkgdesc="Cronjob files for $_cronname"
url="https://git.redxen.eu/RedXen/aports"
arch="noarch"
license="none"
depends="dcron"
options="!check"
builddir="$srcdir"

View File

@ -1,18 +1,13 @@
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-cron-mail
pkgver=2021.01.13
pkgrel=1
pkgdesc="Mail backup maintenance scripts"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
_cronname=dovecot
. ../APKBUILD-cron.common
pkgver=2021.01.29
pkgrel=0
install_if="redxen-config-dovecot"
depends="dcron"
source="
cron-daily
"
options="!check"
source="cron-daily"
package() {
mkdir -p "$pkgdir"/var/mail/snapshots

View File

@ -1,18 +1,13 @@
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-cron-gitea
pkgver=2020.12.27
pkgrel=1
pkgdesc="Gitea backup maintenance scripts"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
_cronname=gitea
. ../APKBUILD-cron.common
pkgver=2021.01.29
pkgrel=0
install_if="redxen-config-gitea"
depends="dcron"
source="
cron-daily
"
options="!check"
source="cron-daily"
package() {
install -dm700 "$pkgdir"/gitea/snapshots

View File

@ -1,18 +1,13 @@
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-cron-influxdb
pkgver=2020.12.29
_cronname=influxdb
. ../APKBUILD-cron.common
pkgver=2021.01.29
pkgrel=0
pkgdesc="InfluxDB backup maintenance scripts"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
install_if="redxen-config-influxdb"
depends="dcron"
source="
cron-daily
"
options="!check"
source="cron-daily"
package() {
install -dm700 "$pkgdir"/var/lib/influxdb/snapshots

View File

@ -1,18 +1,13 @@
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-cron-postgresql
pkgver=2020.12.29
_cronname=postgresql
. ../APKBUILD-cron.common
pkgver=2021.01.29
pkgrel=0
pkgdesc="Postgresql backup maintenance scripts"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
install_if="redxen-config-postgresql"
depends="dcron"
source="
cron-daily
"
options="!check"
source="cron-daily"
package() {
install -dm700 "$pkgdir"/var/lib/postgresql/redxen_snapshots

View File

@ -1,18 +1,13 @@
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-cron-redis
pkgver=2020.12.29
_cronname=redis
. ../APKBUILD-cron.common
pkgver=2021.01.29
pkgrel=0
pkgdesc="Redis backup maintenance scripts"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
install_if="redxen-config-redis"
depends="dcron"
source="
cron-daily
"
options="!check"
source="cron-daily"
package() {
install -dm700 "$pkgdir"/var/lib/redis/snapshots