aboutsummaryrefslogtreecommitdiffstats
path: root/community/nextcloud/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-05-08 07:33:44 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-05-08 07:33:44 +0000
commitaf13ec0e168d2e99d9707f5ede763e166c96c23e (patch)
treee561ede4e08215c68a5b38a0dbf8aab0da8a5460 /community/nextcloud/APKBUILD
parente3e6a28ba3262f1e0495829b19ab5bb1e72b0a2e (diff)
downloadaports-af13ec0e168d2e99d9707f5ede763e166c96c23e.tar.bz2
aports-af13ec0e168d2e99d9707f5ede763e166c96c23e.tar.xz
community/nextcloud: add logrotate support
Diffstat (limited to 'community/nextcloud/APKBUILD')
-rw-r--r--community/nextcloud/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/community/nextcloud/APKBUILD b/community/nextcloud/APKBUILD
index 78a559af78..943d19362f 100644
--- a/community/nextcloud/APKBUILD
+++ b/community/nextcloud/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=nextcloud
pkgver=11.0.3
-pkgrel=1
+pkgrel=2
pkgdesc="A safe home for all your data"
url="http://nextcloud.com"
arch="noarch"
@@ -22,6 +22,7 @@ subpackages="$pkgname-doc $pkgname-activity $pkgname-firstrunwizard $pkgname-gal
source="https://download.nextcloud.com/server/releases/$pkgname-$pkgver.zip
nextcloud10-dont-chmod-config.patch
+ nextcloud.logrotate
"
pkggroups="www-data"
@@ -63,6 +64,7 @@ package() {
mv "$pkgdir"$_ncwwwdir/apps "$pkgdir"$_ncbasedir || return 1
ln -s $_ncappsdir "$pkgdir"$_ncwwwdir/apps || return 1
install -m775 -g www-data -d "$pkgdir"/var/log/nextcloud
+ install -m644 -D "$srcdir"/nextcloud.logrotate "$pkgdir"/etc/logrotate.d/nextcloud
for dir in ${_ncconfdir} ${_ncdatadir} ${_ncappsdir}; do
chown -R :www-data "$pkgdir"$dir || return 1
chmod -R 770 "$pkgdir"$dir || return 1
@@ -158,4 +160,5 @@ videoplayer() {
}
sha512sums="f4277fe2b66286a1fedf1642df6dd546f32e60bfdbc08a67e1881a2f8ff888516694645bdd3cd5da2074c8f56a1dfe7c955e1fcbf6e93ca99a7c82309c05017c nextcloud-11.0.3.zip
-a12a73a38bc009d3307ce97bb32fc62ac93e125a77a3d36b31c9d2212953fa17bd5c31f819e0759a0645b1c285817b067143b0b9c3673ce4ab3043fae426a67c nextcloud10-dont-chmod-config.patch"
+a12a73a38bc009d3307ce97bb32fc62ac93e125a77a3d36b31c9d2212953fa17bd5c31f819e0759a0645b1c285817b067143b0b9c3673ce4ab3043fae426a67c nextcloud10-dont-chmod-config.patch
+80b94b04507502fa80f3473e4ce8041c2e1f832da8a44408f2f1beda4319dddfc55c9e79d80e8e5a5bfecb770820109870f888d2a3eed9ab5981abcd89f0a812 nextcloud.logrotate"