(The issues with PHP 7.2 appear to be fixed in 2.5.1-1)
Search Criteria
Package Details: icingaweb2 2.5.1-1
Git Clone URL: | https://aur.archlinux.org/icingaweb2.git (read-only) |
---|---|
Package Base: | icingaweb2 |
Description: | Icinga Web 2 Interface |
Upstream URL: | http://www.icinga.org |
Licenses: | |
Submitter: | Zearan |
Maintainer: | julianbrost (bebehei) |
Last Packager: | julianbrost |
Votes: | 16 |
Popularity: | 0.021008 |
First Submitted: | 2014-11-23 13:41 |
Last Updated: | 2018-01-23 11:00 |
Dependencies (4)
- php (php53, php-zts, php55, php56, php71, php71-noconflict, php70)
- php-gd (php53-gd, php-zts-gd, php55-gd, php56-gd, php71-gd, php71-gd-noconflict) (optional) – export data to PDF
- php-intl (php53-intl, php-zts-intl, php55-intl, php56-intl, php71-intl, php71-intl-noconflict) (optional) – support for internationalization
- php-pgsql (php53-pgsql, php-zts-pgsql, php55-pgsql, php56-pgsql, php71-pgsql, php71-pgsql-noconflict) (optional) – for PostgreSQL backend
Sources (3)
Latest Comments
julianbrost commented on 2018-01-23 18:16
eggz commented on 2018-01-23 15:46
julianbrost commented on 2017-12-16 21:32
The following patch updates the package to version 2.5.0 and fixes compatibility with PHP 7.2 by applying the patch from pull request #3186 ( https://github.com/Icinga/icingaweb2/pull/3186). However the PR is still work in progress, so the checksum of the patch could change.
diff --git a/PKGBUILD b/PKGBUILD
index aca0db5..d739d98 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Malte Rabenseifner <mail@malte-rabenseifner.de>
pkgname=icingaweb2
-pkgver=2.4.2
+pkgver=2.5.0
pkgrel=1
pkgdesc="Icinga Web 2 Interface"
license=('GPL')
@@ -11,9 +11,16 @@ optdepends=('php-gd: export data to PDF'
'php-intl: support for internationalization'
'php-pgsql: for PostgreSQL backend')
url="http://www.icinga.org"
-source=("https://github.com/Icinga/${pkgname}/archive/v${pkgver}.tar.gz")
+source=("https://github.com/Icinga/${pkgname}/archive/v${pkgver}.tar.gz"
+ 'pr3186-php72-support.diff::https://github.com/Icinga/icingaweb2/pull/3186.diff')
install='icingaweb2.install'
-sha256sums=('8ce42b4f0fb3ddd93c56d70c642512af13db1d5db2ad0227ec7567a4413daa94')
+sha256sums=('870ef8390cb2cab20df0107d817846352dc606ee85ec734aa99452222a4a76fb'
+ '34549ad6f3e753dd29bab19a9c47e05bbbc2d1214c821491205869bf9b631cb4')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ patch -Np1 -i "${srcdir}/pr3186-php72-support.diff"
+}
package() {
cd "$srcdir/$pkgname-$pkgver"
eggz commented on 2017-12-07 21:28
icingaweb2 is broken with PHP 7.2
freaknils commented on 2017-04-28 11:25
Icingaweb2 depends php-imagick, maybe it should be added to depencies.
Zearan commented on 2017-01-22 20:54
Package upgraded to 2.4.1. I finally had the time to incorporate past comments into the package. The package now uses the systemgroup "icingaweb2" and sets the permissions of the folders "/etc/icingaweb2" and "/var/log/icingaweb2" when upgrading.
EDIT: I also included the missing schemas.
kbabioch commented on 2017-01-08 21:11
@Zearan: icinga2 does not install the appropriate group for me, so I had to create it on my own. Furthermore the schemas (/usr/share/webapps/icingaweb2/etc/) are missing, so the setup fails in the last step. Putting it there by hand resolves the issue, though.
Zearan commented on 2016-11-24 20:36
Pretty much because the first beta was not able to handle a path other than '/etc/icingaweb2/'. I have not changed it ever since. I will check with the next update if I can move the configuration to '/etc/webapps/icingaweb2/'.
das_j commented on 2016-11-22 08:19
Is there any reason the configuration is placed in /etc/icingaweb2 instead of /etc/webapps/icingaweb2?
Zearan commented on 2016-07-25 18:21
@kbabioch: The system group that is used for Icinga Web 2 ('icingacmd') is created by the icinga2 package (and as fallback in https://aur.archlinux.org/cgit/aur.git/tree/icingaweb2.install?h=icingaweb2 too). The http user is added in this file as well.
Do you have experienced any permission problems with that setup? I would be happy to improve the install script if necessary.
Yes, version 2.5.1-1 includes two additional patches: one based on the pull request which should solve the bug you linked (https://github.com/Icinga/icingaweb2/pull/3186) and one to cope with a deprecation warning in the service list. Let me know if there are any other problems with PHP 7.2.