icinga2.spec 26.2 KB
Newer Older
Michael Friedrich's avatar
Michael Friedrich committed
1
# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
Markus Frosch's avatar
Markus Frosch committed
2

Michael Friedrich's avatar
Michael Friedrich committed
3
%define revision 1
Markus Frosch's avatar
Markus Frosch committed
4
5
6
7
8

# make sure that _rundir is working on older systems
%if ! %{defined _rundir}
%define _rundir %{_localstatedir}/run
%endif
Tim Hardeck's avatar
Tim Hardeck committed
9
10
11
%if ! %{defined _fillupdir}
  %define _fillupdir %{_localstatedir}/adm/fillup-templates
%endif
Markus Frosch's avatar
Markus Frosch committed
12
13

%define _libexecdir %{_prefix}/lib/
14
%define plugindir %{_libdir}/nagios/plugins
Markus Frosch's avatar
Markus Frosch committed
15
16
17
18
19
20

%if "%{_vendor}" == "redhat"
%define apachename httpd
%define apacheconfdir %{_sysconfdir}/httpd/conf.d
%define apacheuser apache
%define apachegroup apache
21

Markus Frosch's avatar
Markus Frosch committed
22
%if 0%{?el6}%{?amzn}
Markus Frosch's avatar
Markus Frosch committed
23
%define use_systemd 0
24
%define use_selinux 0
Markus Frosch's avatar
Markus Frosch committed
25
26
27
28
29
30
%if %(uname -m) != "x86_64"
%define march_flag -march=i686
%endif
%else
# fedora and el>=7
%define use_systemd 1
31
%define use_selinux 1
32
33
34
35
36
37
%if 0%{?fedora} >= 24
# for installing limits.conf on systemd >= 228
%define configure_systemd_limits 1
%else
%define configure_systemd_limits 0
%endif
Markus Frosch's avatar
Markus Frosch committed
38
39
40
41
%endif
%endif

%if "%{_vendor}" == "suse"
42
%define plugindir %{_libexecdir}/nagios/plugins
Markus Frosch's avatar
Markus Frosch committed
43
44
45
46
47
48
%define apachename apache2
%define apacheconfdir  %{_sysconfdir}/apache2/conf.d
%define apacheuser wwwrun
%define apachegroup www
%if 0%{?suse_version} >= 1310
%define use_systemd 1
49
%if 0%{?sle_version} >= 120200 || 0%{?suse_version} > 1320
50
51
52
53
54
# for installing limits.conf on systemd >= 228
%define configure_systemd_limits 1
%else
%define configure_systemd_limits 0
%endif
Markus Frosch's avatar
Markus Frosch committed
55
56
57
58
59
60
61
62
63
%else
%define use_systemd 0
%endif
%endif

%define icinga_user icinga
%define icinga_group icinga
%define icingacmd_group icingacmd

FrostbyteGR's avatar
FrostbyteGR committed
64
65
66
67
68
69
70
# enable unity builds by default for all architectures except arm32
%ifarch %{arm}
%bcond_with unity_build
%else
%bcond_without unity_build
%endif

71
# Disable lto_build for older compiler versions
72
# see https://github.com/Icinga/icinga2/issues/7149
73
74
# lto1: internal compiler error: in prune_unused_types_prune, at dwarf2out.c
%if "%{_vendor}" == "suse" && 0%{?suse_version} <= 1315 || "%{_vendor}" == "redhat" && (0%{?el7} || 0%{?rhel} == 7 || "%{?dist}" == ".el7")
75
76
%bcond_with lto_build
%else # suse_version 1315
FrostbyteGR's avatar
FrostbyteGR committed
77
%bcond_without lto_build
78
79
%endif # suse_version 1315

FrostbyteGR's avatar
FrostbyteGR committed
80
81
82
83
84
85
86
87
88
%bcond_with systemd_and_init
%bcond_without compat
%bcond_without livestatus
%bcond_without notification
%bcond_without perfdata
%bcond_without tests
%bcond_without mysql
%bcond_without pgsql

Markus Frosch's avatar
Markus Frosch committed
89
90
%define logmsg logger -t %{name}/rpm

91
92
%define boost_min_version 1.66

93
Summary:        Network monitoring application
94
95
96
97
98
%if "%{_vendor}" == "suse"
License:        GPL-2.0-or-later
%else
License:        GPLv2+
%endif # suse
Tim Hardeck's avatar
Tim Hardeck committed
99
Group:          System/Monitoring
100
Name:           icinga2
Michael Friedrich's avatar
Michael Friedrich committed
101
Version:        2.11.2
102
103
104
Release:        %{revision}%{?dist}
Url:            https://www.icinga.com/
Source:         https://github.com/Icinga/%{name}/archive/v%{version}.tar.gz
105

Markus Frosch's avatar
Markus Frosch committed
106
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
107
Requires:       %{name}-bin = %{version}-%{release}
108
109
110
Requires:       %{name}-common = %{version}-%{release}

Conflicts:      %{name}-common < %{version}-%{release}
Markus Frosch's avatar
Markus Frosch committed
111
112
113
114
115

%description
Meta package for Icinga 2 Core, DB IDO and Web.

%package bin
116
117
Summary:        Icinga 2 binaries and libraries
Group:          System/Monitoring
Markus Frosch's avatar
Markus Frosch committed
118

119
120
Requires:       %{name}-bin = %{version}-%{release}

Markus Frosch's avatar
Markus Frosch committed
121
%if "%{_vendor}" == "suse"
122
123
Provides:       monitoring_daemon
Recommends:     monitoring-plugins
Markus Frosch's avatar
Markus Frosch committed
124
%if 0%{?suse_version} >= 1310
125
BuildRequires:  libyajl-devel
Markus Frosch's avatar
Markus Frosch committed
126
127
%endif
%endif
128
129
BuildRequires:  libedit-devel
BuildRequires:  ncurses-devel
Markus Frosch's avatar
Markus Frosch committed
130
%if "%{_vendor}" == "suse" && 0%{?suse_version} < 1210
131
132
133
BuildRequires:  gcc48-c++
BuildRequires:  libopenssl1-devel
BuildRequires:  libstdc++48-devel
Markus Frosch's avatar
Markus Frosch committed
134
%else
Markus Frosch's avatar
Markus Frosch committed
135
%if "%{_vendor}" == "redhat" && (0%{?el6} || 0%{?rhel} == 6 || "%{?dist}" == ".el6")
Markus Frosch's avatar
Markus Frosch committed
136
137
138
139
140
141
# Requires devtoolset-7 scl
%define scl_name devtoolset-7
%define scl_enable scl enable %{scl_name} --
BuildRequires:  %{scl_name}-binutils
BuildRequires:  %{scl_name}-gcc-c++
BuildRequires:  %{scl_name}-libstdc++-devel
142
%else
143
144
BuildRequires:  gcc-c++
BuildRequires:  libstdc++-devel
145
%endif
146
BuildRequires:  openssl-devel
Markus Frosch's avatar
Markus Frosch committed
147
%endif
148
149
150
151
BuildRequires:  bison
BuildRequires:  cmake
BuildRequires:  flex >= 2.5.35
BuildRequires:  make
Markus Frosch's avatar
Markus Frosch committed
152

153
%if "%{_vendor}" == "suse"
154
155
  %if 0%{?suse_version} >= 1315
    # SLES 12 and OpenSUSE 42 or later
Markus Frosch's avatar
Markus Frosch committed
156
    %define boost_devel_pkg %nil
157
158
159
160
161
162
    %if 0%{?suse_version} < 1320
      # before SLES 15 and OpenSUSE 15
      # Provided by packages.icinga.com
      %define boost_library icinga-boost
      %define boost_version 1.69
      %define boost_rpath %{_libdir}/%{boost_library}
163
164
      # Note: the -impl suffix comes from current packages on OBS
      %define boost_devel_suffix -impl
165
    %endif # suse_version < 1320
166
167
BuildRequires:  libboost_context-devel%{?boost_devel_suffix} >= %{boost_min_version}
BuildRequires:  libboost_coroutine-devel%{?boost_devel_suffix} >= %{boost_min_version}
168
BuildRequires:  libboost_filesystem-devel%{?boost_devel_suffix} >= %{boost_min_version}
169
170
171
172
173
BuildRequires:  libboost_program_options-devel%{?boost_devel_suffix} >= %{boost_min_version}
BuildRequires:  libboost_regex-devel%{?boost_devel_suffix} >= %{boost_min_version}
BuildRequires:  libboost_system-devel%{?boost_devel_suffix} >= %{boost_min_version}
BuildRequires:  libboost_thread-devel%{?boost_devel_suffix} >= %{boost_min_version}
BuildRequires:  libboost_test-devel%{?boost_devel_suffix} >= %{boost_min_version}
174
175
176
177
  %else # suse_version >= 1315
    # old boost devel name
    %define boost_devel_pkg boost-devel
  %endif # suse_version >= 1315
178
%else # vendor == suse - assuming redhat or compatible
179
180
181
  # default boost devel package
  %define boost_devel_pkg boost-devel

Markus Frosch's avatar
Markus Frosch committed
182
183
184
185
186
187
188
189
190
191
192
193
194
  %if (0%{?el6} || 0%{?rhel} == 6)
    # Provided by packages.icinga.com
    %define boost_library icinga-boost169
    %define boost_version 1.69
    %define boost_devel_pkg icinga-boost169-devel
    %define boost_rpath %{_libdir}/%{boost_library}
  %endif # el6
  %if (0%{?el7} || 0%{?rhel} == 7)
    # Provided by EPEL
    %define boost_library boost169
    %define boost_version 1.69
    %define boost_devel_pkg boost169-devel
  %endif # el7
195
%endif # vendor == suse
Markus Frosch's avatar
Markus Frosch committed
196

197
198
%if "%{?boost_devel_pkg}" != ""
BuildRequires: %{boost_devel_pkg} >= %{boost_min_version}
Markus Frosch's avatar
Markus Frosch committed
199
%endif # boost_devel_pkg
Markus Frosch's avatar
Markus Frosch committed
200
201

%if 0%{?use_systemd}
202
203
BuildRequires:  systemd-devel
Requires:       systemd
Markus Frosch's avatar
Markus Frosch committed
204
205
%endif

206
207
Obsoletes:       %{name}-libs <= 2.10.0
Conflicts:       %{name}-libs <= 2.10.0
Markus Frosch's avatar
Markus Frosch committed
208
209
210

%description bin
Icinga 2 is a general-purpose network monitoring application.
211
This subpackage provides the binaries for Icinga 2 Core.
Markus Frosch's avatar
Markus Frosch committed
212
213

%package common
214
215
Summary:        Common Icinga 2 configuration
Group:          System/Monitoring
Dirk Götz's avatar
Dirk Götz committed
216
%if (0%{?amzn} || 0%{?fedora} || 0%{?rhel})
217
218
Requires(pre):  shadow-utils
Requires(post): shadow-utils
Dirk Götz's avatar
Dirk Götz committed
219
%endif
220
BuildRequires:  logrotate
Markus Frosch's avatar
Markus Frosch committed
221
%if "%{_vendor}" == "suse"
222
PreReq:         permissions
223
224
Provides:       group(%{icinga_group})
Provides:       group(%{icingacmd_group})
Tim Hardeck's avatar
Tim Hardeck committed
225
Provides:       user(%{icinga_user})
226
227
Requires(pre):  shadow
Requires(post): shadow
Dirk Götz's avatar
Dirk Götz committed
228
# Coreutils is added because of autoyast problems reported
229
230
Requires(pre):  coreutils
Requires(post): coreutils
231
%if 0%{?suse_version} >= 1200
232
233
BuildRequires:  monitoring-plugins-common
Requires:       monitoring-plugins-common
234
235
236
%else
Recommends:     monitoring-plugins-common
%endif
237
Recommends:     logrotate
Markus Frosch's avatar
Markus Frosch committed
238
239
240
%endif

%description common
241
242
This subpackage provides common directories, and the UID and GUID definitions
among Icinga 2 related packages.
Markus Frosch's avatar
Markus Frosch committed
243
244
245


%package doc
246
247
Summary:        Documentation for Icinga 2
Group:          Documentation/Other
Markus Frosch's avatar
Markus Frosch committed
248
249

%description doc
250
This subpackage provides documentation for Icinga 2.
Markus Frosch's avatar
Markus Frosch committed
251
252


FrostbyteGR's avatar
FrostbyteGR committed
253
%if %{with mysql}
Markus Frosch's avatar
Markus Frosch committed
254
%package ido-mysql
255
256
Summary:        IDO MySQL database backend for Icinga 2
Group:          System/Monitoring
Markus Frosch's avatar
Markus Frosch committed
257
%if "%{_vendor}" == "suse"
258
BuildRequires:  libmysqlclient-devel
Markus Frosch's avatar
Markus Frosch committed
259
%if 0%{?suse_version} >= 1310
260
BuildRequires:  mysql-devel
Markus Frosch's avatar
Markus Frosch committed
261
262
263
%endif

%else
264
BuildRequires:  mysql-devel
Markus Frosch's avatar
Markus Frosch committed
265
266
%endif #suse

267
Requires:       %{name}-bin = %{version}-%{release}
Markus Frosch's avatar
Markus Frosch committed
268
269
270
271

%description ido-mysql
Icinga 2 IDO mysql database backend. Compatible with Icinga 1.x
IDOUtils schema >= 1.12
FrostbyteGR's avatar
FrostbyteGR committed
272
%endif
Markus Frosch's avatar
Markus Frosch committed
273
274


FrostbyteGR's avatar
FrostbyteGR committed
275
%if %{with pgsql}
Markus Frosch's avatar
Markus Frosch committed
276
%package ido-pgsql
277
278
Summary:        IDO PostgreSQL database backend for Icinga 2
Group:          System/Monitoring
Markus Frosch's avatar
Markus Frosch committed
279
%if "%{_vendor}" == "suse" && 0%{?suse_version} < 1210
280
BuildRequires:  postgresql-devel >= 8.4
Markus Frosch's avatar
Markus Frosch committed
281
%else
282
BuildRequires:  postgresql-devel
Markus Frosch's avatar
Markus Frosch committed
283
%endif
284
Requires:       %{name}-bin = %{version}-%{release}
Markus Frosch's avatar
Markus Frosch committed
285
286
287
288

%description ido-pgsql
Icinga 2 IDO PostgreSQL database backend. Compatible with Icinga 1.x
IDOUtils schema >= 1.12
FrostbyteGR's avatar
FrostbyteGR committed
289
%endif
Markus Frosch's avatar
Markus Frosch committed
290

291
%if 0%{?use_selinux}
Markus Frosch's avatar
Markus Frosch committed
292
%global selinux_variants mls targeted
293
%global selinux_modulename %{name}
Markus Frosch's avatar
Markus Frosch committed
294
295
296

%package selinux
Summary:        SELinux policy module supporting icinga2
297
Group:          System/Base
298
299
300
BuildRequires:  checkpolicy
BuildRequires:  hardlink
BuildRequires:  selinux-policy-devel
301
Requires:       %{name}-bin = %{version}-%{release}
302
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
303
304
305
Requires(post):   policycoreutils-python-utils
Requires(postun): policycoreutils-python-utils
%else
306
307
Requires(post):   policycoreutils-python
Requires(postun): policycoreutils-python
308
309
%endif

Markus Frosch's avatar
Markus Frosch committed
310
311

%description selinux
Tim Hardeck's avatar
Tim Hardeck committed
312
SELinux policy module supporting icinga2.
Markus Frosch's avatar
Markus Frosch committed
313
314
315
%endif

%package -n vim-icinga2
316
317
Summary:        Vim syntax highlighting for icinga2
Group:          Productivity/Text/Editors
Markus Frosch's avatar
Markus Frosch committed
318
%if "%{_vendor}" == "suse"
319
320
BuildRequires:  vim
Requires:       vim
Markus Frosch's avatar
Markus Frosch committed
321
%else
322
Requires:       vim-filesystem
Markus Frosch's avatar
Markus Frosch committed
323
324
325
%endif

%description -n vim-icinga2
Tim Hardeck's avatar
Tim Hardeck committed
326
Provides Vim syntax highlighting for icinga2.
Markus Frosch's avatar
Markus Frosch committed
327
328
329


%package -n nano-icinga2
330
331
332
Summary:        Nano syntax highlighting for icinga2
Group:          Productivity/Text/Editors
Requires:       nano
Markus Frosch's avatar
Markus Frosch committed
333
334

%description -n nano-icinga2
Tim Hardeck's avatar
Tim Hardeck committed
335
Provides Nano syntax highlighting for icinga2.
Markus Frosch's avatar
Markus Frosch committed
336
337
338

%prep
%setup -q -n %{name}-%{version}
Tim Hardeck's avatar
Tim Hardeck committed
339
340
341
342
# use absolute shebang instead of env on SUSE distributions
%if "%{_vendor}" == "suse"
find . -type f -name '*.sh' -exec sed -i -e 's|\/usr\/bin\/env bash|\/bin\/bash|g' {} \;
%endif
Markus Frosch's avatar
Markus Frosch committed
343

344
345
346
347
348
# quick & dirty hack for SLES11 & Kernel < 2.9 w/o SO_REUSEPORT
%if "%{_vendor}" == "suse" && 0%{?suse_version} < 1210
find . -type f -name tcpsocket.cpp -exec sed -i -e 's|.*SO_REUSEPORT.*||g' {} \;
%endif

Markus Frosch's avatar
Markus Frosch committed
349
%build
350
351
352
353
# set basedir to allow cache to hit between different builds
# this will make all paths below BUILD/icinga2-x.x.x relative for cache
export CCACHE_BASEDIR="${CCACHE_BASEDIR:-$(pwd)}"

Markus Frosch's avatar
Markus Frosch committed
354
355
356
357
358
359
CMAKE_OPTS="-DCMAKE_INSTALL_PREFIX=/usr \
         -DCMAKE_INSTALL_SYSCONFDIR=/etc \
         -DCMAKE_INSTALL_LOCALSTATEDIR=/var \
         -DCMAKE_BUILD_TYPE=RelWithDebInfo \
         -DCMAKE_VERBOSE_MAKEFILE=ON \
         -DBoost_NO_BOOST_CMAKE=ON \
360
         -DICINGA2_PLUGINDIR=%{plugindir} \
Markus Frosch's avatar
Markus Frosch committed
361
         -DICINGA2_RUNDIR=%{_rundir} \
362
         -DICINGA2_SYSCONFIGFILE=/etc/sysconfig/icinga2 \
Markus Frosch's avatar
Markus Frosch committed
363
364
365
366
367
368
369
         -DICINGA2_USER=%{icinga_user} \
         -DICINGA2_GROUP=%{icinga_group} \
         -DICINGA2_COMMAND_GROUP=%{icingacmd_group}"
%if 0%{?fedora}
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_STUDIO=true"
%endif

FrostbyteGR's avatar
FrostbyteGR committed
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
%if %{with unity_build}
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_UNITY_BUILD=ON"
%else
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_UNITY_BUILD=OFF"
%endif
%if %{with lto_build}
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_LTO_BUILD=ON"
%else
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_LTO_BUILD=OFF"
%endif
%if %{with systemd_and_init}
CMAKE_OPTS="$CMAKE_OPTS -DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=ON"
%else
CMAKE_OPTS="$CMAKE_OPTS -DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=OFF"
%endif
%if %{with compat}
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_COMPAT=ON"
%else
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_COMPAT=OFF"
%endif
%if %{with livestatus}
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_LIVESTATUS=ON"
%else
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_LIVESTATUS=OFF"
%endif
%if %{with notification}
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_NOTIFICATION=ON"
%else
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_NOTIFICATION=OFF"
%endif
%if %{with perfdata}
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_PERFDATA=ON"
%else
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_PERFDATA=OFF"
%endif
%if %{with tests}
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_TESTS=ON"
%else
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_TESTS=OFF"
%endif
%if %{with mysql}
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_MYSQL=ON"
%else
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_MYSQL=OFF"
%endif
%if %{with pgsql}
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_PGSQL=ON"
%else
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_PGSQL=OFF"
%endif

421
422
423
424
425
%if (0%{?el6} || 0%{?rhel} == 6)
# Explicitly link against rt, because ld doesn't detect it automatically
CMAKE_OPTS="$CMAKE_OPTS -DCMAKE_EXE_LINKER_FLAGS=-lrt"
%endif # el6

Markus Frosch's avatar
Markus Frosch committed
426
427
428
429
%if "%{?boost_rpath}" != ""
CMAKE_OPTS="$CMAKE_OPTS -DCMAKE_INSTALL_RPATH=%{boost_rpath}"
%endif # boost_rpath

430
431
432
433
434
%if "%{?boost_library}" != ""
# Boost_NO_BOOST_CMAKE=ON  - disable search for cmake
# Boost_NO_SYSTEM_PATHS=ON - only search in specified locations
CMAKE_OPTS="$CMAKE_OPTS
 -DBoost_NO_BOOST_CMAKE=TRUE \
Markus Frosch's avatar
Markus Frosch committed
435
 -DBoost_NO_SYSTEM_PATHS=TRUE \
436
437
438
439
 -DBOOST_LIBRARYDIR=%{_libdir}/%{boost_library} \
 -DBOOST_INCLUDEDIR=/usr/include/%{boost_library} \
 -DBoost_ADDITIONAL_VERSIONS='%{boost_version};%{boost_version}.0'"
%endif # boost_library
Markus Frosch's avatar
Markus Frosch committed
440
441
442
443
444

%if 0%{?use_systemd}
CMAKE_OPTS="$CMAKE_OPTS -DUSE_SYSTEMD=ON"
%endif

445
446
447
448
449
450
%if "%{_vendor}" == "suse" && 0%{?suse_version} < 1210
# from package gcc48-c++
export CC=gcc-4.8
export CXX=g++-4.8
%endif

Tim Hardeck's avatar
Tim Hardeck committed
451
452
453
454
%if "%{?_buildhost}" != ""
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_BUILD_HOST_NAME:STRING=%_buildhost"
%endif

455
%{?scl_enable} cmake $CMAKE_OPTS -DCMAKE_C_FLAGS:STRING="%{optflags} %{?march_flag}" -DCMAKE_CXX_FLAGS:STRING="%{optflags} %{?march_flag}" .
Markus Frosch's avatar
Markus Frosch committed
456

457
%{?scl_enable} make %{?_smp_mflags}
Markus Frosch's avatar
Markus Frosch committed
458

459
%if 0%{?use_selinux}
Markus Frosch's avatar
Markus Frosch committed
460
461
462
463
cd tools/selinux
for selinuxvariant in %{selinux_variants}
do
  make NAME=${selinuxvariant} -f /usr/share/selinux/devel/Makefile
464
  mv %{selinux_modulename}.pp %{selinux_modulename}.pp.${selinuxvariant}
Markus Frosch's avatar
Markus Frosch committed
465
466
467
468
469
470
  make NAME=${selinuxvariant} -f /usr/share/selinux/devel/Makefile clean
done
cd -
%endif

%install
471
%{?scl_enable} make install \
Markus Frosch's avatar
Markus Frosch committed
472
  DESTDIR="%{buildroot}"
Markus Frosch's avatar
Markus Frosch committed
473

474
475
# install custom limits.conf for systemd
%if 0%{?configure_systemd_limits}
476
# for > 2.8 or > 2.7.2
477
install -D -m 0644 etc/initsystem/icinga2.service.limits.conf %{buildroot}/etc/systemd/system/%{name}.service.d/limits.conf
478
479
%endif

Markus Frosch's avatar
Markus Frosch committed
480
481
482
483
484
485
486
487
488
489
# remove features-enabled symlinks
rm -f %{buildroot}/%{_sysconfdir}/%{name}/features-enabled/*.conf

# enable suse rc links
%if "%{_vendor}" == "suse"
%if 0%{?use_systemd}
  ln -sf /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}
%else
  ln -sf ../../%{_initrddir}/%{name} "%{buildroot}%{_sbindir}/rc%{name}"
%endif
Tim Hardeck's avatar
Tim Hardeck committed
490
491
492
mkdir -p "%{buildroot}%{_fillupdir}/"
mv "%{buildroot}%{_sysconfdir}/sysconfig/%{name}" "%{buildroot}%{_fillupdir}/sysconfig.%{name}"
%endif
Markus Frosch's avatar
Markus Frosch committed
493

494
%if 0%{?use_selinux}
Markus Frosch's avatar
Markus Frosch committed
495
496
497
498
cd tools/selinux
for selinuxvariant in %{selinux_variants}
do
  install -d %{buildroot}%{_datadir}/selinux/${selinuxvariant}
499
500
  install -p -m 644 %{selinux_modulename}.pp.${selinuxvariant} \
    %{buildroot}%{_datadir}/selinux/${selinuxvariant}/%{selinux_modulename}.pp
Markus Frosch's avatar
Markus Frosch committed
501
502
503
done
cd -

Markus Frosch's avatar
Markus Frosch committed
504
# TODO: Fix build problems on Icinga, see https://github.com/Icinga/puppet-icinga_build/issues/11
505
#/usr/sbin/hardlink -cv %%{buildroot}%%{_datadir}/selinux
Markus Frosch's avatar
Markus Frosch committed
506
507
508
%endif

%if "%{_vendor}" == "suse"
509
510
511
install -D -m 0644 tools/syntax/vim/syntax/%{name}.vim %{buildroot}%{_datadir}/vim/site/syntax/%{name}.vim
install -D -m 0644 tools/syntax/vim/ftdetect/%{name}.vim %{buildroot}%{_datadir}/vim/site/ftdetect/%{name}.vim
%else
Markus Frosch's avatar
Markus Frosch committed
512
513
514
515
516
517
install -D -m 0644 tools/syntax/vim/syntax/%{name}.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax/%{name}.vim
install -D -m 0644 tools/syntax/vim/ftdetect/%{name}.vim %{buildroot}%{_datadir}/vim/vimfiles/ftdetect/%{name}.vim
%endif

install -D -m 0644 tools/syntax/nano/%{name}.nanorc %{buildroot}%{_datadir}/nano/%{name}.nanorc

Markus Frosch's avatar
Markus Frosch committed
518
519
520
521
%check
export CTEST_OUTPUT_ON_FAILURE=1
make test

522
%pre
Markus Frosch's avatar
Markus Frosch committed
523
524
525
526
%if "%{_vendor}" == "suse"
%if 0%{?use_systemd}
  %service_add_pre %{name}.service
%endif
Tim Hardeck's avatar
Tim Hardeck committed
527
528
529

%verifyscript
%verify_permissions -e %{_rundir}/%{name}/cmd
Markus Frosch's avatar
Markus Frosch committed
530
531
%endif

532
%post
Markus Frosch's avatar
Markus Frosch committed
533
534
# suse
%if "%{_vendor}" == "suse"
Tim Hardeck's avatar
Tim Hardeck committed
535
536
537
538
%if 0%{?suse_version} >= 1310
%set_permissions %{_rundir}/%{name}/cmd
%endif

Markus Frosch's avatar
Markus Frosch committed
539
540
541
542
543
544
545
%if 0%{?use_systemd}
%fillup_only  %{name}
%service_add_post %{name}.service
%else
%fillup_and_insserv %{name}
%endif

Markus Frosch's avatar
Markus Frosch committed
546
547
if [ ${1:-0} -eq 1 ]
then
Markus Frosch's avatar
Markus Frosch committed
548
549
550
551
  # initial installation, enable default features
  for feature in checker notification mainlog; do
    ln -sf ../features-available/${feature}.conf %{_sysconfdir}/%{name}/features-enabled/${feature}.conf
  done
Markus Frosch's avatar
Markus Frosch committed
552
fi
Markus Frosch's avatar
Markus Frosch committed
553
554
555
556
557
558
559
560
561
562
563
564
565
566

exit 0

%else
# rhel

%if 0%{?use_systemd}
%systemd_post %{name}.service
%else
/sbin/chkconfig --add %{name}
%endif

if [ ${1:-0} -eq 1 ]
then
Markus Frosch's avatar
Markus Frosch committed
567
568
569
570
  # initial installation, enable default features
  for feature in checker notification mainlog; do
    ln -sf ../features-available/${feature}.conf %{_sysconfdir}/%{name}/features-enabled/${feature}.conf
  done
Markus Frosch's avatar
Markus Frosch committed
571
572
573
574
575
576
577
fi

exit 0

%endif
# suse/rhel

578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
%preun
# suse
%if "%{_vendor}" == "suse"

%if 0%{?use_systemd}
  %service_del_preun %{name}.service
%else
  %stop_on_removal %{name}
%endif

exit 0

%else
# rhel

%if 0%{?use_systemd}
%systemd_preun %{name}.service
%else
if [ "$1" = "0" ]; then
Markus Frosch's avatar
Markus Frosch committed
597
598
  /sbin/service %{name} stop > /dev/null 2>&1 || :
  /sbin/chkconfig --del %{name} || :
599
600
601
602
603
604
605
606
607
fi
%endif

exit 0

%endif
# suse / rhel

%postun
Markus Frosch's avatar
Markus Frosch committed
608
609
# suse
%if "%{_vendor}" == "suse"
610
%if 0%{?use_systemd}
Markus Frosch's avatar
Markus Frosch committed
611
612
613
614
615
616
617
618
619
620
621
622
623
  %service_del_postun %{name}.service
%else
  %restart_on_update %{name}
  %insserv_cleanup
%endif

%else
# rhel

%if 0%{?use_systemd}
%systemd_postun_with_restart %{name}.service
%else
if [ "$1" -ge  "1" ]; then
Markus Frosch's avatar
Markus Frosch committed
624
  /sbin/service %{name} condrestart >/dev/null 2>&1 || :
Markus Frosch's avatar
Markus Frosch committed
625
626
627
628
629
630
631
fi
%endif

%endif
# suse / rhel

if [ "$1" = "0" ]; then
Markus Frosch's avatar
Markus Frosch committed
632
633
  # deinstallation of the package - remove enabled features
  rm -rf %{_sysconfdir}/%{name}/features-enabled
Markus Frosch's avatar
Markus Frosch committed
634
635
636
637
fi

exit 0

638
639
640
641
%pre common
getent group %{icinga_group} >/dev/null || %{_sbindir}/groupadd -r %{icinga_group}
getent group %{icingacmd_group} >/dev/null || %{_sbindir}/groupadd -r %{icingacmd_group}
getent passwd %{icinga_user} >/dev/null || %{_sbindir}/useradd -c "icinga" -s /sbin/nologin -r -d %{_localstatedir}/spool/%{name} -G %{icingacmd_group} -g %{icinga_group} %{icinga_user}
Markus Frosch's avatar
Markus Frosch committed
642

643
644
645
%if "%{_vendor}" == "suse"
%verifyscript common
%verify_permissions -e %{_rundir}/%{name}/cmd
Markus Frosch's avatar
Markus Frosch committed
646
647
%endif

648
649
650
651
%post common
%if "%{_vendor}" == "suse"
%if 0%{?suse_version} >= 1310
%set_permissions %{_rundir}/%{name}/cmd
Markus Frosch's avatar
Markus Frosch committed
652
653
654
655
%endif
%endif

%post ido-mysql
656
if [ ${1:-0} -eq 1 ] && [ -e %{_sysconfdir}/%{name}/features-enabled/ido-mysql.conf ]
Markus Frosch's avatar
Markus Frosch committed
657
then
Markus Frosch's avatar
Markus Frosch committed
658
659
  # initial installation, enable ido-mysql feature
  ln -sf ../features-available/ido-mysql.conf %{_sysconfdir}/%{name}/features-enabled/ido-mysql.conf
Markus Frosch's avatar
Markus Frosch committed
660
661
662
663
664
665
fi

exit 0

%postun ido-mysql
if [ "$1" = "0" ]; then
Markus Frosch's avatar
Markus Frosch committed
666
667
  # deinstallation of the package - remove feature
  rm -f %{_sysconfdir}/%{name}/features-enabled/ido-mysql.conf
Markus Frosch's avatar
Markus Frosch committed
668
669
670
671
672
fi

exit 0

%post ido-pgsql
673
if [ ${1:-0} -eq 1 ] && [ -e %{_sysconfdir}/%{name}/features-enabled/ido-pgsql.conf ]
Markus Frosch's avatar
Markus Frosch committed
674
then
Markus Frosch's avatar
Markus Frosch committed
675
676
  # initial installation, enable ido-pgsql feature
  ln -sf ../features-available/ido-pgsql.conf %{_sysconfdir}/%{name}/features-enabled/ido-pgsql.conf
Markus Frosch's avatar
Markus Frosch committed
677
678
679
680
681
682
fi

exit 0

%postun ido-pgsql
if [ "$1" = "0" ]; then
Markus Frosch's avatar
Markus Frosch committed
683
684
  # deinstallation of the package - remove feature
  rm -f %{_sysconfdir}/%{name}/features-enabled/ido-pgsql.conf
Markus Frosch's avatar
Markus Frosch committed
685
686
687
688
fi

exit 0

689
%if 0%{?use_selinux}
Markus Frosch's avatar
Markus Frosch committed
690
691
692
693
%post selinux
for selinuxvariant in %{selinux_variants}
do
  /usr/sbin/semodule -s ${selinuxvariant} -i \
694
    %{_datadir}/selinux/${selinuxvariant}/%{selinux_modulename}.pp &> /dev/null || :
Markus Frosch's avatar
Markus Frosch committed
695
done
696
/sbin/fixfiles -R icinga2 restore &> /dev/null || :
Markus Frosch's avatar
Markus Frosch committed
697
698
699
700
701
702
703
704
705
/sbin/fixfiles -R icinga2-bin restore &> /dev/null || :
/sbin/fixfiles -R icinga2-common restore &> /dev/null || :
/sbin/semanage port -a -t icinga2_port_t -p tcp 5665 &> /dev/null || :

%postun selinux
if [ $1 -eq 0 ] ; then
  /sbin/semanage port -d -t icinga2_port_t -p tcp 5665 &> /dev/null || :
  for selinuxvariant in %{selinux_variants}
  do
706
     /usr/sbin/semodule -s ${selinuxvariant} -r %{selinux_modulename} &> /dev/null || :
Markus Frosch's avatar
Markus Frosch committed
707
  done
708
  /sbin/fixfiles -R icinga2 restore &> /dev/null || :
Markus Frosch's avatar
Markus Frosch committed
709
710
711
712
713
714
715
716
717
718
719
  /sbin/fixfiles -R icinga2-bin restore &> /dev/null || :
  /sbin/fixfiles -R icinga2-common restore &> /dev/null || :
fi
%endif


%files
%defattr(-,root,root,-)
%doc COPYING

%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
720

Markus Frosch's avatar
Markus Frosch committed
721
722
%if 0%{?use_systemd}
%attr(644,root,root) %{_unitdir}/%{name}.service
723
%if 0%{?configure_systemd_limits}
724
%dir /etc/systemd/system/%{name}.service.d
725
%attr(644,root,root) %config(noreplace) /etc/systemd/system/%{name}.service.d/limits.conf
726
%endif
Markus Frosch's avatar
Markus Frosch committed
727
%else
728
%attr(755,root,root) %config(noreplace) %{_sysconfdir}/init.d/%{name}
Markus Frosch's avatar
Markus Frosch committed
729
730
731
%endif
%if "%{_vendor}" == "suse"
%{_sbindir}/rc%{name}
Tim Hardeck's avatar
Tim Hardeck committed
732
733
%{_fillupdir}/sysconfig.%{name}
%else
Markus Frosch's avatar
Markus Frosch committed
734
735
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
%endif
736

737
738
%{_sbindir}/%{name}

739
740
741
742
%dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/prepare-dirs
%{_libexecdir}/%{name}/safe-reload

743
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_sysconfdir}/%{name}
Markus Frosch's avatar
Markus Frosch committed
744
745
746
747
748
749
750
751
752
753
754
755
756
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_sysconfdir}/%{name}/conf.d
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_sysconfdir}/%{name}/features-available
%exclude %{_sysconfdir}/%{name}/features-available/ido-*.conf
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_sysconfdir}/%{name}/features-enabled
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_sysconfdir}/%{name}/scripts
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_sysconfdir}/%{name}/zones.d
%config(noreplace) %attr(0640,%{icinga_user},%{icinga_group}) %{_sysconfdir}/%{name}/%{name}.conf
%config(noreplace) %attr(0640,%{icinga_user},%{icinga_group}) %{_sysconfdir}/%{name}/constants.conf
%config(noreplace) %attr(0640,%{icinga_user},%{icinga_group}) %{_sysconfdir}/%{name}/zones.conf
%config(noreplace) %attr(0640,%{icinga_user},%{icinga_group}) %{_sysconfdir}/%{name}/conf.d/*.conf
%config(noreplace) %attr(0640,%{icinga_user},%{icinga_group}) %{_sysconfdir}/%{name}/features-available/*.conf
%config(noreplace) %attr(0640,%{icinga_user},%{icinga_group}) %{_sysconfdir}/%{name}/zones.d/*
%config(noreplace) %{_sysconfdir}/%{name}/scripts/*
757

758
759
760
761
762
763
764
765
766
767
768
769
%attr(0750,%{icinga_user},%{icingacmd_group}) %{_localstatedir}/cache/%{name}
%attr(0750,%{icinga_user},%{icingacmd_group}) %dir %{_localstatedir}/log/%{name}
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/log/%{name}/crash
%attr(0750,%{icinga_user},%{icingacmd_group}) %dir %{_localstatedir}/log/%{name}/compat
%attr(0750,%{icinga_user},%{icingacmd_group}) %dir %{_localstatedir}/log/%{name}/compat/archives
%attr(0750,%{icinga_user},%{icinga_group}) %{_localstatedir}/lib/%{name}
%attr(0750,%{icinga_user},%{icingacmd_group}) %ghost %dir %{_rundir}/%{name}
%attr(2750,%{icinga_user},%{icingacmd_group}) %ghost %{_rundir}/%{name}/cmd
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/spool/%{name}
%attr(0770,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/spool/%{name}/perfdata
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/spool/%{name}/tmp

770
771
772
%files bin
%defattr(-,root,root,-)
%doc COPYING README.md NEWS AUTHORS CHANGELOG.md
Markus Frosch's avatar
Markus Frosch committed
773
%dir %{_libdir}/%{name}
774
775
776
777
778
779
780
781
782
783
784
%dir %{_libdir}/%{name}/sbin
%{_libdir}/%{name}/sbin/%{name}
%{plugindir}/check_nscp_api
%{_datadir}/%{name}
%exclude %{_datadir}/%{name}/include
%{_mandir}/man8/%{name}.8.gz

%files common
%defattr(-,root,root,-)
%doc COPYING README.md NEWS AUTHORS CHANGELOG.md tools/syntax
%{_sysconfdir}/bash_completion.d/%{name}
785
786
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_datadir}/%{name}/include
%{_datadir}/%{name}/include/*
Markus Frosch's avatar
Markus Frosch committed
787
788
789
790
791
792

%files doc
%defattr(-,root,root,-)
%{_datadir}/doc/%{name}
%docdir %{_datadir}/doc/%{name}

FrostbyteGR's avatar
FrostbyteGR committed
793
%if %{with mysql}
Markus Frosch's avatar
Markus Frosch committed
794
795
%files ido-mysql
%defattr(-,root,root,-)
Michael Friedrich's avatar
Michael Friedrich committed
796
%doc COPYING README.md NEWS AUTHORS CHANGELOG.md
Markus Frosch's avatar
Markus Frosch committed
797
%config(noreplace) %attr(0640,%{icinga_user},%{icinga_group}) %{_sysconfdir}/%{name}/features-available/ido-mysql.conf
798
%{_libdir}/%{name}/libmysql_shim*
Markus Frosch's avatar
Markus Frosch committed
799
%{_datadir}/icinga2-ido-mysql
FrostbyteGR's avatar
FrostbyteGR committed
800
%endif
Markus Frosch's avatar
Markus Frosch committed
801

FrostbyteGR's avatar
FrostbyteGR committed
802
%if %{with pgsql}
Markus Frosch's avatar
Markus Frosch committed
803
804
%files ido-pgsql
%defattr(-,root,root,-)
Michael Friedrich's avatar
Michael Friedrich committed
805
%doc COPYING README.md NEWS AUTHORS CHANGELOG.md
Markus Frosch's avatar
Markus Frosch committed
806
%config(noreplace) %attr(0640,%{icinga_user},%{icinga_group}) %{_sysconfdir}/%{name}/features-available/ido-pgsql.conf
807
%{_libdir}/%{name}/libpgsql_shim*
Markus Frosch's avatar
Markus Frosch committed
808
%{_datadir}/icinga2-ido-pgsql
FrostbyteGR's avatar
FrostbyteGR committed
809
%endif
Markus Frosch's avatar
Markus Frosch committed
810

811
%if 0%{?use_selinux}
Markus Frosch's avatar
Markus Frosch committed
812
813
814
%files selinux
%defattr(-,root,root,0755)
%doc tools/selinux/*
815
%{_datadir}/selinux/*/%{selinux_modulename}.pp
Markus Frosch's avatar
Markus Frosch committed
816
817
818
819
820
%endif

%files -n vim-icinga2
%defattr(-,root,root,-)
%if "%{_vendor}" == "suse"
821
822
823
%{_datadir}/vim/site/syntax/%{name}.vim
%{_datadir}/vim/site/ftdetect/%{name}.vim
%else
Markus Frosch's avatar
Markus Frosch committed
824
825
826
827
828
829
%{_datadir}/vim/vimfiles/syntax/%{name}.vim
%{_datadir}/vim/vimfiles/ftdetect/%{name}.vim
%endif

%files -n nano-icinga2
%defattr(-,root,root,-)
830
831
832
%if "%{_vendor}" == "suse"
%dir %{_datadir}/nano
%endif
Markus Frosch's avatar
Markus Frosch committed
833
834
835
%{_datadir}/nano/%{name}.nanorc

%changelog
Michael Friedrich's avatar
Michael Friedrich committed
836
837
838
* Thu Oct 24 2019 Michael Friedrich <michael.friedrich@icinga.com> 2.11.2-1
- Update to 2.11.2

Michael Friedrich's avatar
Michael Friedrich committed
839
840
841
* Thu Oct 17 2019 Michael Friedrich <michael.friedrich@icinga.com> 2.11.1-1
- Update to 2.11.1

Michael Friedrich's avatar
Michael Friedrich committed
842
843
844
* Thu Sep 19 2019 Michael Friedrich <michael.friedrich@icinga.com> 2.11.0-1
- Update to 2.11.0

Michael Friedrich's avatar
Michael Friedrich committed
845
846
847
* Thu Jul 25 2019 Markus Frosch <markus.frosch@icinga.com> 2.11.0-0.rc1.1
- Prepare pre-release 2.11.0-rc1

Michael Friedrich's avatar
Michael Friedrich committed
848
849
850
* Tue Mar 19 2019 Michael Friedrich <michael.friedrich@icinga.com> 2.10.4-1
- Update to 2.10.4

851
852
853
854
* Tue Feb 26 2019 Michael Friedrich <michael.friedrich@icinga.com> 2.10.3-2
- Apply quickfix for SLES11

* Tue Feb 26 2019 Michael Friedrich <michael.friedrich@icinga.com> 2.10.3-1
Michael Friedrich's avatar
Michael Friedrich committed
855
856
- Update to 2.10.3

Michael Friedrich's avatar
Michael Friedrich committed
857
858
859
* Wed Nov 14 2018 Michael Friedrich <michael.friedrich@icinga.com> 2.10.2-1
- Update to 2.10.2

Michael Friedrich's avatar
Michael Friedrich committed
860
861
862
* Thu Oct 18 2018 Michael Friedrich <michael.friedrich@icinga.com> 2.10.1-1
- Update to 2.10.1

Michael Friedrich's avatar
Michael Friedrich committed
863
864
865
* Thu Oct 11 2018 Michael Friedrich <michael.friedrich@icinga.com> 2.10.0-1
- Update to 2.10.0

Michael Friedrich's avatar
Michael Friedrich committed
866
867
868
* Wed Sep 26 2018 Michael Friedrich <michael.friedrich@icinga.com> 2.9.2-1
- Update to 2.9.2

869
870
871
* Wed Jul 25 2018 Markus Frosch <markus.frosch@icinga.com> 2.10.0-0
- Remove obsoleted icinga2-libs package

Michael Friedrich's avatar
Michael Friedrich committed
872
873
874
* Tue Jul 24 2018 Michael Friedrich <michael.friedrich@icinga.com> 2.9.1-1
- Update to 2.9.1

Michael Friedrich's avatar
Michael Friedrich committed
875
876
877
* Tue Jul 17 2018 Michael Friedrich <michael.friedrich@icinga.com> 2.9.0-1
- Update to 2.9.0

Diana Flach's avatar
Diana Flach committed
878
879
880
* Wed Apr 25 2018 Jean Flach <jean.flach@icinga.com> 2.8.4-1
- Update to 2.8.4

Diana Flach's avatar
Diana Flach committed
881
882
883
* Tue Apr 24 2018 Jean Flach <jean.flach@icinga.com> 2.8.3-1
- Update to 2.8.3

Diana Flach's avatar
Diana Flach committed
884
885
* Thu Mar 22 2018 Jean Flach <jean-marcel.flach@icinga.com> 2.8.2-1
- Update to 2.8.2
Markus Frosch's avatar
Markus Frosch committed
886

Gunnar Beutner's avatar
Gunnar Beutner committed
887
888
889
* Wed Jan 17 2018 Gunnar Beutner <gunnar.beutner@icinga.com> 2.8.1-1
- Update to 2.8.1

Markus Frosch's avatar
Markus Frosch committed
890
891
892
893
894
895
896
* Fri Nov 24 2017 Markus Frosch <markus.frosch@icinga.com> 2.8.0-2
- [SLES] Add systemd limits file
- Add config(noreplace) for the systemd limits file
  (no need to release every OS immediately)
- Update SELinux handling to be compatible to Fedora 27
  (only affecting f27 builds)

Diana Flach's avatar
Diana Flach committed
897
898
899
* Thu Nov 16 2017 Jean Flach <jean-marcel.flach@icinga.com> 2.8.0-1
- Update to 2.8.0

Gunnar Beutner's avatar
Gunnar Beutner committed
900
901
902
* Thu Nov 09 2017 Gunnar Beutner <gunnar.beutner@icinga.com> 2.7.2-1
- Update to 2.7.2

Markus Frosch's avatar
Markus Frosch committed
903
* Mon Oct 02 2017 Markus Frosch <markus.frosch@icinga.com> 2.7.1-2
Markus Frosch's avatar
Markus Frosch committed
904
905
906
907
908
- Fixing systemd limit issues on openSUSE > 42.1

* Thu Sep 21 2017 Michael Friedrich <michael.friedrich@icinga.com> 2.7.1-1
- Update to 2.7.1

909
910
* Tue Jun 20 2017 Markus Frosch <markus.frosch@icinga.com> 2.7.0-1
- Update to 2.7.0