~ubuntu-branches/ubuntu/oneiric/dbus/oneiric-security

« back to all changes in this revision

Viewing changes to cmake/modules/CPackInstallConfig.cmake

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2010-12-21 13:43:26 UTC
  • mfrom: (1.1.24 upstream)
  • Revision ID: james.westby@ubuntu.com-20101221134326-tphabew59n072ej1
Tags: 1.4.1-0ubuntu1
* New upstream release:
  - Fix for CVE-2010-4352: sending messages with excessively-nested
    variants can crash the bus. The existing restriction to 64-levels
    of nesting previously only applied to the static type signature;
    now it also applies to dynamic nesting using variants.
  - Various bug fixes.

* Dropped patch from 1.4.0-0ubuntu2 since it's now included upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
if (DBUS_INSTALL_SYSTEM_LIBS)
 
3
        if (MINGW)
 
4
                if (DBUS_USE_EXPAT)
 
5
                        # expat
 
6
                        install_files(/bin FILES ${LIBEXPAT_LIBRARIES}) 
 
7
                else (DBUS_USE_EXPAT)
 
8
                        # xml2
 
9
                        install_files(/bin FILES ${LIBXML2_LIBRARIES})  
 
10
                        install_files(/bin FILES ${LIBICONV_LIBRARIES}) 
 
11
                endif (DBUS_USE_EXPAT)
 
12
        else (MINGW)
 
13
                INCLUDE(InstallRequiredSystemLibraries)
 
14
        endif (MINGW)
 
15
endif (DBUS_INSTALL_SYSTEM_LIBS)
 
16
 
 
17
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "D-BUS For Windows")
 
18
SET(CPACK_PACKAGE_VENDOR "D-BUS Windows Team")
 
19
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_SOURCE_DIR}/../README")
 
20
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/../COPYING")
 
21
# duplicated from VERSION
 
22
SET(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
 
23
SET(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
 
24
SET(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH})
 
25
#SET(CPACK_PACKAGE_INSTALL_DIRECTORY "dbus ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}")
 
26
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "dbus")
 
27
IF(WIN32 AND NOT UNIX)
 
28
  SET(CPACK_GENERATOR NSIS ZIP)     # can be NSIS, STGZ, TBZ2, TGZ, TZ and ZIP
 
29
  SET(CPACK_NSIS_COMPRESSOR "/SOLID lzma")
 
30
  # There is a bug in NSI that does not handle full unix paths properly. Make
 
31
  # sure there is at least one set of four (4) backlasshes.
 
32
# SET(CPACK_PACKAGE_ICON "${CMake_SOURCE_DIR}/Utilities/Release\\\\InstallIcon.bmp")
 
33
  SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\dbus-launch.bat")
 
34
  SET(CPACK_NSIS_DISPLAY_NAME "D-Bus for Windows")
 
35
  SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\sourceforge.net/projects/windbus")
 
36
  SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\sourceforge.net/projects/windbus")
 
37
  SET(CPACK_NSIS_CONTACT "me@my-personal-home-page.com")
 
38
  SET(CPACK_NSIS_MODIFY_PATH ON)
 
39
ELSE(WIN32 AND NOT UNIX)
 
40
  SET(CPACK_STRIP_FILES "bin/MyExecutable")
 
41
  SET(CPACK_SOURCE_STRIP_FILES "")
 
42
ENDIF(WIN32 AND NOT UNIX)
 
43
SET(CPACK_PACKAGE_EXECUTABLES "dbus-launch" "D-Bus Daemon")
 
44
INCLUDE(CPack)