aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-09 01:53:24 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-11-09 03:51:52 -0300
commit42068d68a4b5062b7f9042518d46c2989f0d93ab (patch)
tree03f1d72edd0ad62364391d089918f57da0369503
parent6a8a5e906efa163c62241813ac3457139dd946bd (diff)
downloadaports-42068d68a4b5062b7f9042518d46c2989f0d93ab.tar.bz2
aports-42068d68a4b5062b7f9042518d46c2989f0d93ab.tar.xz
community/icingaweb2-module-director: upgrade to 1.7.2
-rw-r--r--community/icingaweb2-module-director/APKBUILD25
1 files changed, 11 insertions, 14 deletions
diff --git a/community/icingaweb2-module-director/APKBUILD b/community/icingaweb2-module-director/APKBUILD
index d58e13d3ae..cd150752f2 100644
--- a/community/icingaweb2-module-director/APKBUILD
+++ b/community/icingaweb2-module-director/APKBUILD
@@ -2,27 +2,24 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=icingaweb2-module-director
_module=${pkgname/*-/}
-pkgver=1.7.1
+pkgver=1.7.2
pkgrel=0
pkgdesc="Configuration frontend for Icinga 2, integrated automation"
url="http://www.icinga.org"
arch="noarch !armhf !armv7 !s390x"
-license="GPL-2.0"
+license="GPL-2.0-or-later"
_php=php7
-depends="icingaweb2 ${_php}-curl"
+depends="icingaweb2 $_php-curl"
options="!check"
pkggroups="icingaweb2"
subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/Icinga/$pkgname/archive/v$pkgver.tar.gz"
-builddir="$srcdir/$pkgname-$pkgver"
+source="icingaweb2-module-director-$pkgver.tar.gz::https://github.com/Icinga/icingaweb2-module-director/archive/v$pkgver.tar.gz"
build() {
- cd "$builddir"
return 0
}
package() {
- cd "$builddir"
mkdir -p "$pkgdir/etc/icingaweb2/modules/$_module"
mkdir -p "$pkgdir/usr/share/doc/$pkgname"
mkdir -p "$pkgdir/usr/share/webapps/icingaweb2/modules/$_module"
@@ -32,29 +29,29 @@ package() {
"$pkgdir/usr/share/webapps/icingaweb2/modules/$_module"
cp -a contrib/*-agent-installer \
"$pkgdir/usr/share/webapps/icingaweb2/modules/$_module/contrib"
- cp -a doc "$pkgdir/usr/share/doc/$pkgname"
+ cp -a doc "$pkgdir/usr/share/doc/$pkgname"
chgrp -R $pkggroups "$pkgdir/etc/icingaweb2/modules/$_module"
cat >"$pkgdir"/usr/share/doc/$pkgname/README.alpine <<EOF
You need to fix /etc/icingaweb2/modules/$_module with the owner of the user of your webserver
For nginx, as example:
- # chown -R nginx /etc/icingaweb2/modules/$_module
+ # chown -R nginx /etc/icingaweb2/modules/$_module
or
- # chown -R nobody /etc/icingaweb2/modules/$_module
+ # chown -R nobody /etc/icingaweb2/modules/$_module
For Apache:
- # chown -R apache /etc/icingaweb2/modules/$_module
+ # chown -R apache /etc/icingaweb2/modules/$_module
For lighttpd:
- # chown -R lighttpd /etc/icingaweb2/modules/$_module
+ # chown -R lighttpd /etc/icingaweb2/modules/$_module
Remember to enable the module with:
- # icingacli module enable $_module
+ # icingacli module enable $_module
EOF
}
-sha512sums="684ffcf823285988ca3b5b4472a87a18cb4ffdaaafea428a31fbba683cd68e12ef11cdbe0c63aa63caea061d37cc32ba9a75d2fd301b8414195e0ff247259d80 icingaweb2-module-director-1.7.1.tar.gz"
+sha512sums="416d9bac99b7e34338722bb977995510be40af169fad374671d9cf481903c45a856e107ac249d21219f186223b3bfbbde91a1242a4d1fe9667bd2518c446ded9 icingaweb2-module-director-1.7.2.tar.gz"