Hello community,

here is the log from the commit of package icingaweb2.10452 for 
openSUSE:Leap:15.0:Update checked in at 2020-01-16 16:12:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.0:Update/icingaweb2.10452 (Old)
 and      /work/SRC/openSUSE:Leap:15.0:Update/.icingaweb2.10452.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "icingaweb2.10452"

Thu Jan 16 16:12:05 2020 rev:1 rq:746368 version:2.7.3

Changes:
--------
New Changes file:

--- /dev/null   2019-12-19 10:12:34.003146842 +0100
+++ 
/work/SRC/openSUSE:Leap:15.0:Update/.icingaweb2.10452.new.26092/icingaweb2.changes
  2020-01-16 16:12:06.228828051 +0100
@@ -0,0 +1,738 @@
+-------------------------------------------------------------------
+Fri Oct 18 09:02:43 UTC 2019 - [email protected]
+
+- Update to 2.7.3
+  This is a hotfix release and fixes the following issue:
+  - Servicegroups for roles with filtered objects not available #3983
+
+-------------------------------------------------------------------
+Wed Oct 16 08:22:14 UTC 2019 - [email protected]
+
+- Update to 2.7.2
+  You can find all issues related to this release on our Roadmap.
+  * Less Smoky Database Servers
+    The release of v2.7.1 introduced a change which revealed an 
+    inefficient part of our database queries. We made some general 
+    optimizations on our queries and changed the way we utilize 
+    them in some views. The result are faster response times by 
+    less work for the database server.
+    - Consuming more CPU resources since upgraded to 2.7.1 #3928
+  * Anarchism Infested Dashboards
+    Recent history already showed signs of anarchism. (Pun intended) 
+    A similar mindset now infested default dashboards which appeared
+    in a different way than before v2.7.0. We taught their dashlets
+    a lesson and order has been reestablished as previously.
+    - Recently Recovered Services in dashboard Current Incidents
+      seems out of order #3931
+  * Solitary Downtimes
+    We improved the host and service distinction with v2.7.0. The 
+    downtimes list however got confused by this and didn't knew 
+    anymore how to combine multiple downtimes. If you now instruct
+    the list to select multiple downtimes this works again as we 
+    removed the confusing parts.
+    - Selection of multiple downtimes fails #3920
+
+-------------------------------------------------------------------
+Sat Aug 24 16:21:55 UTC 2019 - [email protected]
+
+- Update to 2.7.1
+  You can find all issues related to this release on our Roadmap.
+  * Sneaky Solution for Sneaky Links
+    Usually we try to include only bugs in minor-releases. Sorry, 
+    bug-fixes, of course. But thanks to @winem_ we have also a 
+    little enhancement this time: Links in comments, notes, etc. 
+    are now highlighted as such.
+    - Highlight links in the notes of an object #3888
+  * Nobody's Perfect, Not Even Developers
+    We knew it. We saw it coming. And forgot about it. Some views, 
+    especially histories, showed an anarchic behavior since v2.7.0.
+    The change responsible for this has been undone and history's 
+    order is reestablished now.
+    - Default sort rules no longer work in 2.7.0 #3891
+  * Restrictions Gone Wild Cagey
+    A fix unfortunately caused restrictions using wildcards to show
+    no results anymore. This is now solved and such restrictions 
+    are as permissive as ever.
+    - Wildcard filters in chains broken #3886
+
+-------------------------------------------------------------------
+Tue Jul 30 22:31:29 UTC 2019 - [email protected]
+
+- Update to 2.7.0
+  You can find issues related to this release on our Roadmap.
+  * Icinga's Amazingness Spreads Further
+    All the Japanese and Ukrainian monitoring enthusiasts can now 
+    appreciate our web-frontend in their native tongue. Being so 
+    late to the party is also of their advantage, though. Because 
+    they can adjust their dashboard without worrying it gets broke 
+    with the next update. (All other admins with non-english users,
+    please have a look at our upgrading documentation)
+    - Add Japanese language support #3776
+    - Add Ukrainian language support #3828
+    - Don't translate pane and dashlet names in configs #3837
+  * Modules - Bonus Functionality Unleashed
+    With this release module developers got additional ways to 
+    customize Icinga Web 2. Whether you ever wanted to hook into 
+    a configuration form's handling, to perform your very own Ajax
+    requests or enhance our multi-select views with fancy graphs. 
+    All is possible now.
+    - Allow to hook into a configuration form's handling #3862
+    - Allow to fully customize click and submit handling #3794
+    - Integrate DetailviewExtension into multi-select views #3304
+  * UI - Your Daily Routine and Incident Management, Enhanced
+    Users with color deficiencies now have a built-in theme to ease
+    navigating within Icinga Web 2. Also, our forms got a long 
+    overdue re-design and now look less boring. Though, the best of
+    all features is that clicking while holding the Ctrl-key now 
+    actually opens a new browser tab! Lost comments? No more. 
+    Defining an expiry date again? No more!
+    - Add colorblind theme #3743
+    - Improve the look of forms #3416
+    - Make ctrl-click open new tab #3723
+  * Stay Focused - More Room for More Important Stuff
+    Some of you know that some checks tend to produce walls of text
+    or measure (too) many interfaces. Now, plugin output and 
+    performance data will collapse if they exceed a certain height.
+    If necessary they can of course be expanded and keep that way 
+    across browser restarts. The same is also true for the sidebar.
+    (Though, this one stays collapsed)
+    - Persistent Collapsible Containers #3638
+    - Collapsible plugin output #3870
+    - Collapsed sidebar should stay collapsed #3682
+  * Markdown - Tables, Lists and Emphasized Text The Easy Way
+    Since we now have the possibility to collapse large content 
+    dynamically, we allow you to add entire wiki pages to hosts and
+    services. Though, if you prefer to use a real wiki to maintain 
+    those (what we'd strongly suggest) it's now easier than ever 
+    before to link to it. Copy url, paste url, submit comment,Done.
+    - Make notes, comments and announcements markdown aware #3814
+    - Transform any URL in a Comment to a clickable Link #3441
+    - Support relative links in plugin output #2916
+  * Things You Have Missed Previously
+    The tactical overview, our fancy pie charts, is now the very 
+    first result when you search something in the sidebar. 
+    If you'll see two entirely green circles there, relax. 
+    Also overdue or unreachable checks are now appropriately marked
+    in list views and the service grid now allows you to switch 
+    between everything or problems only.
+    - Add tactical overview to global search #3845
+    - Servicegrid: Add toggle to show problems only #3871
+    - Make overdue/unreachable checks better visible #3860
+  * Authorization - Knowing and Controlling What's Going On
+    Roles can now be even more tailored to users since the 
+    introduction of a new placeholder. This placeholder allows to
+    use a user's name in restrictions. 
+    Things like _service_responsible_person=$user:local_name$ are 
+    now possible. The audit log now receives failed login-attempts,
+    that's been made possible since hooks can now run for anonymous
+    users.
+    - Allow roles to filter for the currently logged in user #3493
+    - Add possibility to disable permission checks for hooks #3849
+    - Send failed login-attempts to the audit log #3856
+  See also the audit module which got an update and is required for
+  #3856 to work.
+
+-------------------------------------------------------------------
+Thu Apr 25 10:37:29 UTC 2019 - Martin Liška <[email protected]>
+
+- update to 2.6.3
+  You can find issues related to this release on our Roadmap.
+  * PHP 7.3
+    - Now supported. tada
+  * LDAP - Community contributions, that's the spirit
+    With the help of our users we've finally fixed the issue that 
+    defining multiple hostnames and enabling STARTTLS has never 
+    properly worked. Also, they've identified that defining 
+    multiple hostnames caused a customized port not being utilized 
+    and fixed it themselves.
+    There has also a rare case been fixed that caused no group 
+    members being found in case object classes had a different
+    casing than what we expected. (Good news for all the 
+    non-OpenLdap and non-MSActiveDirectory users)
+    - LDAP connection fails with multiple servers using STARTTLS 
+      #3639
+    - LDAPS authentication ignores custom port setting #3713
+    - LDAP group members not found #3650
+  * We take care about your data even better now
+    With this are newlines and HTML entities (such as &nbsp;) in 
+    plugin output and custom variables meant.
+    Sorry if I've teased some data security folks now. innocent
+    - Newlines in plugin output disappear #3662
+    - Windows path separators are converted to newlines in custom 
+      variables #3636
+    - HTML entities in plugin output are not resolved if no other 
+      HTML is there #3707
+  * You've wondered how you got into a famous blue police box?
+    Don't worry, not only you and the european union are sometimes
+    unsure what's the correct time.
+    - Set client timezone on DB connection #3525
+    - Ensure a valid default timezone is set in any case #3747
+    - Fix that the event detail view is not showing times in 
+      correct timezone #3660
+  * UI - The portal to your monitoring environment, improved
+    The collapsible sidebar introduced with v2.5 has been plagued 
+    by some issues since then. They're now fixed. Also, the UI 
+    should now flicker less and properly preserve the scroll 
+    position when interacting with action links. (This also allows
+    the business process module to behave more stable when using 
+    drag and drop in large configurations.)
+    - Collapsible Sidebar Issues #3187
+    - Fix title when closing right column #3654
+    - Preserve scroll position upon form submits #3661
+  * Corrected things we've broke recently
+    That's due to preemptive changes to protect you from bad 
+    individuals. Unfortunately this meant that some unforeseen
+    side-effects appeared after the release of v2.6.2. 
+    These are now fixed.
+    - Multiline values in ini files broken #3705
+    - PHP ini parser doesn't strip trailing whitespace #3733
+    - Escaped characters in INI values are not unescaped #3648
+    - Though, if you've faced issue #3705 you still need to take 
+      manual action (if not already done) as the provided fix does 
+      only prevent further occurrences of the resulting error. The
+      required changes involve the transformation of all real 
+      newlines in Icinga Web 2's INI files to literal \n or \r\n
+      sequences. (Files likely having such are the roles.ini and 
+      announcements.ini)
+
++++ 541 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Leap:15.0:Update/.icingaweb2.10452.new.26092/icingaweb2.changes

New:
----
  README.SUSE
  icingaweb2-rpmlintrc
  icingaweb2.changes
  icingaweb2.spec
  v2.7.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ icingaweb2.spec ++++++
#
# spec file for package icingaweb2
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013-2017 Icinga Development Team | GPLv2+
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%define revision 1

Name:           icingaweb2
Version:        2.7.3
Release:        %{revision}%{?dist}
Summary:        Icinga Web 2
License:        GPL-2.0-or-later AND MIT AND BSD-3-Clause
Group:          System/Monitoring
URL:            https://icinga.com
Source0:        https://github.com/Icinga/%{name}/archive/v%{version}.tar.gz
Source90:       README.SUSE
Source99:       %{name}-rpmlintrc
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%if 0%{?fedora} || 0%{?rhel} || 0%{?amzn}
%if 0%{?rhel} == 7
%define php_scl         rh-php71
%endif
%if 0%{?rhel} == 6
%define php_scl         rh-php70
%endif

%if 0%{?el5}%{?el6}%{?amzn}
%define use_selinux 0
%else
%define use_selinux 1
%endif

%if 0%{?php_scl:1}
%define php_scl_prefix  %{php_scl}-
%define php_runtime     %{php_scl_prefix}php-fpm
%define php_bin         /opt/rh/%{php_scl}/root/usr/bin/php
%define php_fpm         1
%else
%define php_runtime     %{php}
%endif

%define php             %{?php_scl_prefix}php
%define php_cli         %{php}-cli
%define php_common      %{php}-common
%define wwwconfigdir    %{_sysconfdir}/httpd/conf.d
%define wwwuser         apache

# extra requirements on RHEL
Requires:       %{php}-ldap
Requires:       %{php}-mysqlnd
Requires:       %{php}-pgsql
%endif

# minimum required PHP version
%define php_version 5.6.0

%if 0%{?suse_version}
%define wwwconfigdir    %{_sysconfdir}/apache2/conf.d
%define wwwuser         wwwrun
%define php             php
%define php_runtime     mod_php_any
%define php_common      %{php}
%define php_cli         %{php}
# extra requirements on openSUSE
BuildRequires:  fdupes
BuildRequires:  gettext-tools
BuildRequires:  config(krb5)
Requires:       %{php}-ldap
Requires:       %{php}-mysql
Requires:       %{php}-pgsql
# conflict with older PHP on SLES and openSUSE
Conflicts:      php < %{php_version}
Conflicts:      php5 < %{php_version}
Conflicts:      php53
%endif

%{?amzn:Requires(pre):          shadow-utils}
%{?fedora:Requires(pre):        shadow-utils}
%{?rhel:Requires(pre):          shadow-utils}
%{?suse_version:Requires(pre):  pwdutils}

Requires:       %{php_common} >= %{php_version}
Requires:       %{php_runtime} >= %{php_version}
%if 0%{?suse_version}
Requires:       apache2
%endif

Requires:       %{name}-common = %{version}-%{release}
Requires:       %{name}-vendor-HTMLPurifier = %{version}-%{release}
Requires:       %{name}-vendor-JShrink = %{version}-%{release}
Requires:       %{name}-vendor-Parsedown = %{version}-%{release}
Requires:       %{name}-vendor-dompdf = %{version}-%{release}
Requires:       %{name}-vendor-lessphp = %{version}-%{release}
Requires:       icingacli = %{version}-%{release}
Requires:       php-Icinga = %{version}-%{release}

%define basedir         %{_datadir}/%{name}
%define bindir          %{_bindir}
%define configdir       %{_sysconfdir}/%{name}
%define logdir          %{_localstatedir}/log/%{name}
%define phpdir          %{_datadir}/php
%define icingawebgroup  icingaweb2
%define docsdir         %{_datadir}/doc/%{name}

%description
Icinga Web 2 is the monitoring web interface for icinga2.

It comes with a completely new design and many user-friendly enhancements to
find the relevant information even faster.


%package common
Summary:        Common files for Icinga Web 2 and the Icinga CLI
License:        GPL-2.0-or-later AND MIT AND BSD-3-Clause
Group:          System/Monitoring
%{?amzn:Requires(pre):          shadow-utils}
%{?fedora:Requires(pre):        shadow-utils}
%{?rhel:Requires(pre):          shadow-utils}
%{?suse_version:Requires(pre):  pwdutils}
%if 0%{?suse_version} > 1320
Requires(pre):                  system-user-wwwrun
%endif

%description common
Common files for Icinga Web 2 and the Icinga CLI.


%package -n php-Icinga
Summary:        Icinga Web 2 PHP library
License:        GPL-2.0-or-later AND MIT AND BSD-3-Clause
Group:          Development/Libraries/Other
Requires:       %{php_common} >= %{php_version}
Requires:       %{php}-gd %{php}-intl %{php}-mbstring
%{?rhel:Requires:           %{php}-pdo %{php}-xml}
Requires:       %{name}-vendor-zf1 = %{version}-%{release}
%{?amzn:Requires:           %{php}-pecl-imagick}
%{?fedora:Requires:         php-pecl-imagick}
%{?suse_version:Requires:   %{php}-gettext %{php}-json %{php}-openssl 
%{php}-posix %{php}-ctype %{php}-pdo %{php}-xml}

%description -n php-Icinga
Icinga Web 2 PHP library.


%package -n icingacli
Summary:        Icinga CLI
License:        GPL-2.0-or-later AND MIT AND BSD-3-Clause
Group:          System/Monitoring
Requires:       %{name}-common = %{version}-%{release}
Requires:       %{php_cli} >= %{php_version}
Requires:       bash-completion
Requires:       php-Icinga = %{version}-%{release}
%if 0%{?suse_version}
# conflict with older PHP on SLES and openSUSE
Conflicts:      php < %{php_version}
Conflicts:      php5 < %{php_version}
Conflicts:      php53
Obsoletes:      %{name}-icingacli < %{version}
Provides:       %{name}-icingacli = %{version}
%endif

%description -n icingacli
Icinga CLI.


%if 0%{?use_selinux}
%define selinux_variants mls targeted

%package selinux
Summary:        SELinux policy for Icinga Web 2
License:        GPL-2.0-or-later AND MIT AND BSD-3-Clause
Group:          System/Base
BuildRequires:  checkpolicy
BuildRequires:  hardlink
BuildRequires:  selinux-policy-devel
Requires:       %{name} = %{version}-%{release}
Requires(post):     policycoreutils
Requires(postun):   policycoreutils

%description selinux
SELinux policy for Icinga Web 2.
%endif

%package vendor-dompdf
Summary:        Icinga Web 2 vendor library dompdf
License:        LGPL-2.1-only
Group:          Development/Libraries/Other
Requires:       %{name}-common = %{version}-%{release}
Requires:       %{php_common} >= %{php_version}

%description vendor-dompdf
Icinga Web 2 vendor library dompdf.


%package vendor-HTMLPurifier
Summary:        Icinga Web 2 vendor library HTMLPurifier
License:        LGPL-2.1-only
Group:          Development/Libraries/Other
Requires:       %{name}-common = %{version}-%{release}
Requires:       %{php_common} >= %{php_version}
# Need because of wrong version in very old icingaweb2 packages
Obsoletes:      %{name}-vendor-HTMLPurifier < %{version}
Obsoletes:      %{name}-vendor-HTMLPurifier > %{version}

%description vendor-HTMLPurifier
Icinga Web 2 vendor library HTMLPurifier.


%package vendor-JShrink
Summary:        Icinga Web 2 vendor library JShrink
License:        BSD-3-Clause
Group:          Development/Libraries/Other
Requires:       %{name}-common = %{version}-%{release}
Requires:       %{php_common} >= %{php_version}

%description vendor-JShrink
Icinga Web 2 vendor library JShrink.


%package vendor-lessphp
Summary:        Icinga Web 2 vendor library lessphp
License:        MIT
Group:          Development/Libraries/Other
Requires:       %{name}-common = %{version}-%{release}
Requires:       %{php_common} >= %{php_version}

%description vendor-lessphp
Icinga Web 2 vendor library lessphp.


%package vendor-Parsedown
Summary:        Icinga Web 2 vendor library Parsedown
License:        MIT
Group:          Development/Libraries/Other
Requires:       %{name}-common = %{version}-%{release}
Requires:       %{php_common} >= %{php_version}

%description vendor-Parsedown
Icinga Web 2 vendor library Parsedown.


%package vendor-zf1
Summary:        Icinga Web 2's fork of Zend Framework 1
License:        BSD-3-Clause
Group:          Development/Libraries/Other
Requires:       %{php_common} >= %{php_version}
Obsoletes:      %{name}-vendor-Zend < 1.12.20
Provides:       %{name}-vendor-Zend = %{version}
Requires:       %{name}-common = %{version}-%{release}

%description vendor-zf1
Icinga Web 2's fork of Zend Framework 1.


%prep
%setup -q
%if 0%{?use_selinux}
mkdir selinux
cp -p packages/selinux/icingaweb2.{fc,if,te} selinux
%endif
%if 0%{?suse_version}
# rpmlint
find . -type f "(" -name "*.css" -o -name "*.html" -o -name "*.json" -o -name 
"*.svg" -o -name "*.txt" -o -name "README" ")" -exec chmod -x "{}" "+"
%endif

%build
%if 0%{?use_selinux}
cd selinux
for selinuxvariant in %{selinux_variants}
do
  make NAME=${selinuxvariant} -f /usr/share/selinux/devel/Makefile
  mv icingaweb2.pp icingaweb2.pp.${selinuxvariant}
  make NAME=${selinuxvariant} -f /usr/share/selinux/devel/Makefile clean
done
cd -
%endif

%install
rm -rf %{buildroot}
mkdir -p 
%{buildroot}/{%{basedir}/{modules,library/vendor,public},%{bindir},%{configdir}/modules,%{logdir},%{phpdir},%{wwwconfigdir},%{_sysconfdir}/bash_completion.d,%{docsdir}}
cp -prv application doc %{buildroot}/%{basedir}
cp -pv etc/bash_completion.d/icingacli 
%{buildroot}/%{_sysconfdir}/bash_completion.d/icingacli
cp -prv modules/{monitoring,setup,doc,translation} 
%{buildroot}/%{basedir}/modules
cp -prv library/Icinga %{buildroot}/%{phpdir}
cp -prv library/vendor/{dompdf,HTMLPurifier*,JShrink,lessphp,Parsedown,Zend} 
%{buildroot}/%{basedir}/library/vendor
cp -prv public/{css,font,img,js,error_norewrite.html,error_unavailable.html} 
%{buildroot}/%{basedir}/public
%if 0%{?php_fpm:1}
cp -pv packages/files/apache/icingaweb2.fpm.conf 
%{buildroot}/%{wwwconfigdir}/icingaweb2.conf
%else
cp -pv packages/files/apache/icingaweb2.conf 
%{buildroot}/%{wwwconfigdir}/icingaweb2.conf
%endif
cp -pv packages/files/bin/icingacli %{buildroot}/%{bindir}
%if 0%{?php_bin:1}
sed -i '1 s~#!.*~#!%{php_bin}~' %{buildroot}/%{bindir}/icingacli
%endif
cp -pv packages/files/public/index.php %{buildroot}/%{basedir}/public
cp -prv etc/schema %{buildroot}/%{docsdir}
cp -prv packages/files/config/modules/{setup,translation} 
%{buildroot}/%{configdir}/modules
%if 0%{?use_selinux}
cd selinux
for selinuxvariant in %{selinux_variants}
do
  install -d %{buildroot}%{_datadir}/selinux/${selinuxvariant}
  install -p -m 644 icingaweb2.pp.${selinuxvariant} 
%{buildroot}%{_datadir}/selinux/${selinuxvariant}/icingaweb2.pp
done
cd -
# TODO: Fix build problems on Icinga, see 
https://github.com/Icinga/puppet-icinga_build/issues/11
#/usr/sbin/hardlink -cv %%{buildroot}%%{_datadir}/selinux
%endif
%if 0%{?suse_version}
%fdupes %{buildroot}/%{basedir}/library
%find_lang icinga
%endif

%pre
getent group icingacmd >/dev/null || groupadd -r icingacmd
%if 0%{?suse_version} && 0%{?suse_version} < 01200
usermod -A icingacmd,%{icingawebgroup} %{wwwuser}
%else
usermod -a -G icingacmd,%{icingawebgroup} %{wwwuser}
%endif
exit 0

%files
%defattr(-,root,root)
%{basedir}/application/controllers
%{basedir}/application/fonts
%{basedir}/application/forms
%{basedir}/application/layouts
%{basedir}/application/views
%{basedir}/application/VERSION
%{basedir}/doc
%{basedir}/modules
%{basedir}/public
%if 0%{?suse_version}
# for lint on OBS
%dir %{dirname:%{wwwconfigdir}}
%dir %{wwwconfigdir}
%endif
%config(noreplace) %{wwwconfigdir}/icingaweb2.conf
%attr(0775,root,%{icingawebgroup}) %dir %{logdir}
%attr(0770,root,%{icingawebgroup}) %config(noreplace) %dir 
%{configdir}/modules/setup
%attr(0660,root,%{icingawebgroup}) %config(noreplace) 
%{configdir}/modules/setup/config.ini
%attr(0770,root,%{icingawebgroup}) %config(noreplace) %dir 
%{configdir}/modules/translation
%attr(0660,root,%{icingawebgroup}) %config(noreplace) 
%{configdir}/modules/translation/config.ini
%{docsdir}
%docdir %{docsdir}

%pre common
getent group %{icingawebgroup} >/dev/null || groupadd -r %{icingawebgroup}
exit 0

%files common -f icinga.lang
%defattr(-,root,root)
%dir %{basedir}
%dir %{basedir}/application
%dir %{basedir}/library
%dir %{basedir}/library/vendor
%dir %{basedir}/modules
%{basedir}/application/locale
%attr(0770,root,%{icingawebgroup}) %config(noreplace) %dir %{configdir}
%attr(0770,root,%{icingawebgroup}) %config(noreplace) %dir %{configdir}/modules

%files -n php-Icinga
%defattr(-,root,root)
%if 0%{?suse_version}
# for lint on OBS
%dir %{phpdir}
%endif
%{phpdir}/Icinga

%files -n icingacli
%defattr(-,root,root)
%{basedir}/application/clicommands
%{_sysconfdir}/bash_completion.d/icingacli
%attr(0755,root,root) %{bindir}/icingacli

%if 0%{?use_selinux}
%post selinux
for selinuxvariant in %{selinux_variants}
do
  %{_sbindir}/semodule -s ${selinuxvariant} -i 
%{_datadir}/selinux/${selinuxvariant}/icingaweb2.pp &> /dev/null || :
done
%{_sbindir}/restorecon -R %{basedir} &> /dev/null || :
%{_sbindir}/restorecon -R %{configdir} &> /dev/null || :
%{_sbindir}/restorecon -R %{logdir} &> /dev/null || :

%postun selinux
if [ $1 -eq 0 ] ; then
  for selinuxvariant in %{selinux_variants}
  do
     %{_sbindir}/semodule -s ${selinuxvariant} -r icingaweb2 &> /dev/null || :
  done
  [ -d %{basedir} ] && %{_sbindir}/restorecon -R %{basedir} &> /dev/null || :
  [ -d %{configdir} ] && %{_sbindir}/restorecon -R %{configdir} &> /dev/null || 
:
  [ -d %{logdir} ] && %{_sbindir}/restorecon -R %{logdir} &> /dev/null || :
fi

%files selinux
%defattr(-,root,root,0755)
%doc selinux/*
%{_datadir}/selinux/*/icingaweb2.pp
%endif

%files vendor-dompdf
%defattr(-,root,root)
%{basedir}/library/vendor/dompdf

%files vendor-HTMLPurifier
%defattr(-,root,root)
%{basedir}/library/vendor/HTMLPurifier
%{basedir}/library/vendor/HTMLPurifier.autoload.php
%{basedir}/library/vendor/HTMLPurifier.php

%files vendor-JShrink
%defattr(-,root,root)
%{basedir}/library/vendor/JShrink

%files vendor-lessphp
%defattr(-,root,root)
%{basedir}/library/vendor/lessphp

%files vendor-Parsedown
%defattr(-,root,root)
%{basedir}/library/vendor/Parsedown

%files vendor-zf1
%defattr(-,root,root)
%{basedir}/library/vendor/Zend

%changelog
++++++ README.SUSE ++++++

Information:

To use module setup you must enable feature ido-mysql.

   icinga2 feature enable ido-mysql
   
And you must change settings in /etc/icinga2/features-enabled/ido-mysql.conf.

After that youd must restart icinga2.
++++++ icingaweb2-rpmlintrc ++++++
# wrong fsf-adress
addFilter("description-shorter-than-summary");
addFilter("files-duplicate");
addFilter("incorrect-fsf-address");

Reply via email to