- Fix build when not both database backends are selected

- Fix plist
- Bump PORTREVISION

PR:		195186
Submitted by:	ohartman@zedat.fu-berlin.de
This commit is contained in:
Lars Engels 2014-11-25 16:29:13 +00:00
parent d64dd6833e
commit 8664bae740
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373415
3 changed files with 22 additions and 8 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= icinga2
DISTVERSION= 2.2.0
PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://github.com/Icinga/${PORTNAME}/archive/v${DISTVERSION}.tar.gz?dummy=/

View File

@ -0,0 +1,13 @@
--- CMakeLists.txt.orig 2014-11-24 21:13:28.953855765 +0100
+++ CMakeLists.txt 2014-11-24 21:13:39.486871283 +0100
@@ -28,8 +28,8 @@
FORCE)
endif()
-option(ICINGA2_WITH_MYSQL "MySQL support" ON)
-option(ICINGA2_WITH_PGSQL "PostgreSQL support" ON)
+option(ICINGA2_WITH_MYSQL "MySQL support" OFF)
+option(ICINGA2_WITH_PGSQL "PostgreSQL support" OFF)
file(STRINGS icinga2.spec VERSION_LINE REGEX "^Version: ")
string(REPLACE "Version: " "" ICINGA2_VERSION ${VERSION_LINE})

View File

@ -72,14 +72,14 @@ sbin/icinga2
%%PORTDOCS%%%%DOCSDIR%%/markdown/7-configuring-icinga-2.md
%%PORTDOCS%%%%DOCSDIR%%/markdown/8-migration.md
%%PORTDOCS%%%%DOCSDIR%%/markdown/9-appendix.md
%%DATADIR%%-ido-mysql/schema/mysql.sql
%%DATADIR%%-ido-mysql/schema/upgrade/2.0.2.sql
%%DATADIR%%-ido-mysql/schema/upgrade/2.1.0.sql
%%DATADIR%%-ido-mysql/schema/upgrade/2.2.0.sql
%%DATADIR%%-ido-pgsql/schema/pgsql.sql
%%DATADIR%%-ido-pgsql/schema/upgrade/2.0.2.sql
%%DATADIR%%-ido-pgsql/schema/upgrade/2.1.0.sql
%%DATADIR%%-ido-pgsql/schema/upgrade/2.2.0.sql
%%MYSQL%%%%DATADIR%%-ido-mysql/schema/mysql.sql
%%MYSQL%%%%DATADIR%%-ido-mysql/schema/upgrade/2.0.2.sql
%%MYSQL%%%%DATADIR%%-ido-mysql/schema/upgrade/2.1.0.sql
%%MYSQL%%%%DATADIR%%-ido-mysql/schema/upgrade/2.2.0.sql
%%PGSQL%%%%DATADIR%%-ido-pgsql/schema/pgsql.sql
%%PGSQL%%%%DATADIR%%-ido-pgsql/schema/upgrade/2.0.2.sql
%%PGSQL%%%%DATADIR%%-ido-pgsql/schema/upgrade/2.1.0.sql
%%PGSQL%%%%DATADIR%%-ido-pgsql/schema/upgrade/2.2.0.sql
%%DATADIR%%/include/command-icinga.conf
%%DATADIR%%/include/command-plugins-manubulon.conf
%%DATADIR%%/include/command-plugins.conf