]> granicus.if.org Git - icinga2/commitdiff
Add missing license headers
authorGunnar Beutner <gunnar.beutner@netways.de>
Mon, 23 Jun 2014 08:56:12 +0000 (10:56 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Mon, 23 Jun 2014 08:56:12 +0000 (10:56 +0200)
refs #6493

CMakeLists.txt
cmake/InstallConfig.cmake [moved from third-party/cmake/InstallConfig.cmake with 64% similarity]
third-party/cmake/FindPostgreSQL.cmake

index 6a76500e5eabd89afc84cb29359ca618dae44c64..58963f55ae3a229aa1b193b2faeb96605236bb63 100644 (file)
@@ -19,6 +19,7 @@ cmake_minimum_required(VERSION 2.6)
 set(BOOST_MIN_VERSION "1.41.0")
 
 project(icinga2)
+list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
 list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/third-party/cmake")
 
 if(NOT CMAKE_BUILD_TYPE)
similarity index 64%
rename from third-party/cmake/InstallConfig.cmake
rename to cmake/InstallConfig.cmake
index 89779a6c297a4aed74e8836043d3246ce5c2633a..4e4fcedc7eb19008a26e3a9d5b63dc418a872724 100644 (file)
@@ -1,3 +1,20 @@
+# Icinga 2
+# Copyright (C) 2012-2014 Icinga Development Team (http://www.icinga.org)
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
 function(install_if_not_exists src dest)
   set(real_dest "${dest}")
   if(NOT IS_ABSOLUTE "${src}")
index fd55879de3fa4868726baf4760da6d663eac683d..d32246671c05999c12c3450609b32f8247e68318 100644 (file)
 #=============================================================================
 # Copyright 2004-2009 Kitware, Inc.
 #
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright.txt for details.
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+#
+# * Redistributions of source code must retain the above copyright
+#   notice, this list of conditions and the following disclaimer.
+#
+# * Redistributions in binary form must reproduce the above copyright
+#   notice, this list of conditions and the following disclaimer in the
+#   documentation and/or other materials provided with the distribution.
+#
+# * Neither the names of Kitware, Inc., the Insight Software Consortium,
+#   nor the names of their contributors may be used to endorse or promote
+#   products derived from this software without specific prior written
+#   permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 # This software is distributed WITHOUT ANY WARRANTY; without even the
 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 # See the License for more information.
 #=============================================================================
-# (To distribute this file outside of CMake, substitute the full
-#  License text for the above reference.)
 
 # ----------------------------------------------------------------------------
 # History: