[Openvas-commits] r3269 - trunk/openvas-manager

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu May 7 10:05:11 CEST 2009


Author: mwiegand
Date: 2009-05-07 10:05:10 +0200 (Thu, 07 May 2009)
New Revision: 3269

Modified:
   trunk/openvas-manager/CMakeLists.txt
   trunk/openvas-manager/ChangeLog
Log:
* CMakeLists.txt: Added initial support for creating source and binary
packages with CPack.


Modified: trunk/openvas-manager/CMakeLists.txt
===================================================================
--- trunk/openvas-manager/CMakeLists.txt	2009-05-06 21:59:34 UTC (rev 3268)
+++ trunk/openvas-manager/CMakeLists.txt	2009-05-07 08:05:10 UTC (rev 3269)
@@ -24,10 +24,44 @@
 
 message ("-- Configuring the Manager...")
 
-project (OPENVASMD)
+project (openvas-manager)
 
 cmake_minimum_required (VERSION 2.4)
 
+## CPack configuration
+
+SET(CPACK_CMAKE_GENERATOR "Unix Makefiles")
+SET(CPACK_GENERATOR "TGZ")
+SET(CPACK_INSTALL_CMAKE_PROJECTS ".;openvas-manager;ALL;/")
+SET(CPACK_MODULE_PATH "")
+SET(CPACK_RESOURCE_FILE_LICENSE "COPYING")
+SET(CPACK_RESOURCE_FILE_README "README")
+SET(CPACK_RESOURCE_FILE_WELCOME "README")
+SET(CPACK_SOURCE_GENERATOR "TGZ")
+SET(CPACK_SOURCE_TOPLEVEL_TAG "-source")
+SET(CPACK_SYSTEM_NAME "")
+SET(CPACK_TOPLEVEL_TAG "")
+SET(CPACK_PACKAGE_VERSION_MAJOR "0")
+SET(CPACK_PACKAGE_VERSION_MINOR "5")
+SET(CPACK_PACKAGE_VERSION_PATCH "0.SVN")
+SET(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
+SET(CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${CPACK_PACKAGE_VERSION}")
+SET(CPACK_SOURCE_PACKAGE_FILE_NAME "${PROJECT_NAME}-${CPACK_PACKAGE_VERSION}-source")
+SET(CPACK_PACKAGE_VENDOR "The OpenVAS Project")
+SET(CPACK_SOURCE_IGNORE_FILES
+"/.svn/"
+"/_CPack_Packages/"
+"/CMakeFiles/"
+"cmake$"
+"swp$"
+"Cache.txt$"
+".tar.gz"
+"install_manifest.txt"
+"Makefile"
+)
+
+INCLUDE(CPack)
+
 ## Variables
 
 set (OPENVAS_LIB_INSTALL_DIR    "${CMAKE_INSTALL_PREFIX}/lib/")

Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2009-05-06 21:59:34 UTC (rev 3268)
+++ trunk/openvas-manager/ChangeLog	2009-05-07 08:05:10 UTC (rev 3269)
@@ -1,5 +1,10 @@
-2009-04-16  Matthew Mundell <matt at mundell.ukfsn.org>
+2009-05-07  Michael Wiegand <michael.wiegand at intevation.de>
 
+	* CMakeLists.txt: Added initial support for creating source and binary
+	packages with CPack.
+
+2009-05-06  Matthew Mundell <matt at mundell.ukfsn.org>
+
 	Switch to an embedded database for task storage, keeping file
 	system based storage as an alternative.
 



More information about the Openvas-commits mailing list