debian/0000775000000000000000000000000012301064557007173 5ustar debian/libkolabxml1.lintian-overrides0000664000000000000000000000062712252047254015141 0ustar # Using shlibs for now libkolabxml1 binary: no-symbols-control-file # hardening-check --verbose libkolabxml.so.0 reports # Fortify Source functions: no, only unprotected functions found! # unprotected: memmove # unprotected: memcpy # unprotected: fread # None of these functions occur in the source code, # so overriding this warning libkolabxml1 binary: hardening-no-fortify-functions debian/copyright0000664000000000000000000001733212167577747011160 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: libkolabxml Upstream-Contact: Christian Mollekopf Source: http://git.kolab.org/libkolabxml Files: debian/* Copyright: 2012, Christian Mollekopf 2012-2013, Paul Klos License: GPL-3+ 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 3 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, see . . On Debian systems a full copy of the GPL 3 can be found at /usr/share/common-licenses/GPL-3 Files: * Copyright: 2011-2012 Copyright (C) 2011-2012 Kolab Systems AG License: LGPL-3+ License: LGPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 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 Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . . On Debian systems a full copy of the LGPL 3 can be found at /usr/share/common-licenses/LGPL-3 Files: schemas/* Copyright: 2011-2012 by The Calendaring and Scheduling Consortium, Inc. License: Apache-2.0 Files from http://www.calconnect.org/artifacts/ical-art.shtml All material contained in files linked from this page is licensed via the Apache License Version 2.0. . Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian systems a full copy of the Apache 2 can be found at /usr/share/common-licenses/Apache-2.0 Files: compiled/xsdbin.cxx compiled/grammar-input-stream.* Copyright: 2011-2012 Copyright (C) 2011-2012 Kolab Systems AG License: LGPL-3+ and FLOSS-Exception Files: src/base64.* Copyright: 2004-2008 René Nyffenegger License: custom This source code is provided 'as-is', without any express or implied warranty. In no event will the author be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this source code must not be misrepresented; you must not claim that you wrote the original source code. If you use this source code in a product, an acknowledgment in the product documentation would be appreciated but is not required. . 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original source code. . 3. This notice may not be removed or altered from any source distribution. License: FLOSS-Exception 1. Intent . We want specified Free/Libre and Open Source Software ("FLOSS") to be able to use the specified GPL-licensed XSD runtime library (libxsd) and XSD generated code (collectively called the "Program") despite the fact that not all FLOSS licenses are compatible with version 2 of the GNU General Public License (the "GPL"). . It is our intent to allow distribution of the entire Derivative Work (including the Program) under one or more of the FLOSS licenses listed in section 3 (section 2.a). It is also our intent to disallow simple relicensing of the Program for the sole purpose of using it in proprietary applications (section 2.b and 2.c). As an example, consider two hypothetical scenarios: . a) You created a program that uses the XSD generated code and the XSD runtime library to access information in XML instance documents. Your program performs useful computations based on this information (sections 2.b and 2.c are satisfied). You distribute your program, including the XSD generated code and the XSD runtime library under the BSD license and make it available at no charge to all third parties (section 2.a is satisfied). Later you (or someone else) may choose to base their proprietary application on your code since the BSD license does not prohibit it. . This scenario falls under this FLOSS Exception. . . b) You created a library that uses the XSD generated code and the XSD runtime library to access information in XML instance documents. You did not add to the library any other useful code that uses the XSD generated code or the XSD runtime library (neither section 2.b nor 2.c is satisfied). You distribute your library, including the XSD generated code and the XSD runtime library under the BSD license and make it available at no charge to all third parties (section 2.a is satisfied). Later you base your proprietary application on this library since the BSD license does not prohibit it. . This scenario does not fall under this FLOSS Exception (neither section 2.b nor 2.c is satisfied). You created the library for the sole purpose of making the XSD generated code and the XSD runtime library available to your proprietary application. . . 2. Legal Terms and Conditions . As a special exception to the terms and conditions of version 2 of the GPL you are free to distribute a verbatim copy of the Program as part of the Derivative Work that is formed from the Program or any part thereof and one or more works (each, a "FLOSS Work") as long as you also meet all of these conditions: . a) You must cause the Derivative Work that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of one or more of the licenses listed in section 3. . b) The Derivative Work should contain one or more FLOSS Work that can be reasonably considered as derived from the Program or some part thereof. . c) The Derivative Work should not contain any part of the Program that cannot be reasonably considered as a base of one or more FLOSS Work. . . 3. FLOSS License List . a) Any license listed in the "GPL-Compatible Free Software Licenses" and the "GPL-Incompatible Free Software Licenses" sections of the License List as published by the Free Software Foundation (FSF): . http://www.gnu.org/licenses/license-list.html . . 4. Definitions . Terms used, but not defined, herein shall have the meaning provided in the GPL. . Derivative Work means a derivative work under copyright law. . . 5. Applicability . You may choose to redistribute a copy of the Program exclusively under the terms of the GPL by removing the FLOSS Exception notice from that copy of the Program. debian/php-kolabformat.postrm0000664000000000000000000000145712167577747013562 0ustar #!/bin/sh set -e #EXTRA# #DEBHELPER# inidir=/etc/php5/mods-available module=kolabformat package=php-${module} inifile=${module}.ini dpkg-maintscript-helper mv_conffile /etc/php5/conf.d/${inifile} ${inidir}/${inifile} 0.8.1-3~ -- "$@"; # Query which package has this conffile registered if which ucfq >/dev/null; then ucfp=$(ucfq -w ${inidir}/${inifile} | cut -f 2 -d:) fi # Only work with the config file if it still belongs to us if test "$ucfp" = ${package}; then if [ "$1" = "purge" ]; then for ext in '~' '%' .bak .ucf-new .ucf-old .ucf-dist; do rm -f ${inidir}/${inifile}${ext} done rm -f ${inidir}/${inifile} if which ucf >/dev/null; then ucf --purge ${inidir}/${inifile} fi if which ucfr >/dev/null; then ucfr --purge ${package} ${inidir}/${inifile} fi fi fi exit 0 debian/php-kolabformat.prerm0000664000000000000000000000017212167577747013354 0ustar #!/bin/sh set -e #EXTRA# #DEBHELPER# module=kolabformat if [ "$1" = "remove" ]; then php5dismod ${module} fi exit 0 debian/rules0000775000000000000000000000116312252047350010251 0ustar #!/usr/bin/make -f PHPAPI := $(shell php-config --phpapi) PYTHON_SITEARCH := $(shell python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)') # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_LDFLAGS_MAINT_APPEND="-Wl,--as-needed" %: dh $@ --parallel --with python2 override_dh_gencontrol: echo "php:Depends=phpapi-${PHPAPI}" >> debian/php-kolabformat.substvars dh_gencontrol override_dh_auto_configure: dh_auto_configure -- \ -DPHP_BINDINGS=ON \ -DPYTHON_BINDINGS=ON \ -DPYTHON_INSTALL_DIR=$(PYTHON_SITEARCH) override_dh_install: dh_install --fail-missing debian/php-kolabformat.postinst0000664000000000000000000000151112167577747014110 0ustar #!/bin/sh set -e #EXTRA# #DEBHELPER# inidir=/etc/php5/mods-available module=kolabformat package=php-${module} inifile=${module}.ini priority=30 if [ "$1" = "configure" ]; then # Register new conffile with UCF ucf /usr/share/php5/kolab/${inifile} ${inidir}/${inifile} ucfr --force ${package} ${inidir}/${inifile} # Move pre-extension manager conffile dpkg-maintscript-helper mv_conffile /etc/php5/conf.d/${inifile} ${inidir}/${inifile} 0.8.1-3~ -- "$@"; if [ -f "${inidir}/${inifile}.dpkg-new" ]; then md5sum="$(md5sum ${inidir}/${inifile}.dpkg-new | sed -e 's/ .*//')" old_md5sum="$(md5sum ${inidir}/${inifile} | sed -e 's/ .*//')" if [ "$md5sum" = "$old_md5sum" ]; then mv "${inidir}/${inifile}.dpkg-new" "${inidir}/${inifile}" fi fi # Enable the module php5enmod ${module}/${priority:-20} fi exit 0 debian/php-kolabformat.preinst0000664000000000000000000000027712167577747013721 0ustar #!/bin/sh set -e #EXTRA# #DEBHELPER# inifile=kolabformat.ini dpkg-maintscript-helper mv_conffile /etc/php5/conf.d/${inifile} /etc/php5/mods-available/${inifile} 0.8.1-3~ -- "$@"; exit 0 debian/source/0000775000000000000000000000000012167577747010517 5ustar debian/source/format0000664000000000000000000000001412167577747011725 0ustar 3.0 (quilt) debian/watch0000664000000000000000000000014612167577747010251 0ustar version=3 http://git.kolab.org/libkolabxml/ \ /libkolabxml/snapshot/libkolabxml-([0-9\.]+)\.tar\.gz debian/changelog0000664000000000000000000001152312301064557011047 0ustar libkolabxml (1.0.1-0ubuntu3) trusty; urgency=medium * No change rebuild for phpapi-20121212+lfs (LFS ABI break on 32-bit arches). -- Robie Basak Wed, 19 Feb 2014 08:21:03 +0000 libkolabxml (1.0.1-0ubuntu2) trusty; urgency=low * Remove dh_makeshlibs, not required with abi bump * Fix lintian overrides to use new package name -- Rohan Garg Wed, 11 Dec 2013 12:41:19 +0100 libkolabxml (1.0.1-0ubuntu1) trusty; urgency=low * New upstream release * Add php5-cli to Build-Depends for running tests * libkolabxml0 is now libkolabxml1 * Update install files * Drop xcardconversions-spelling-error.patch, applied upstream -- Rohan Garg Tue, 10 Dec 2013 15:54:56 +0100 libkolabxml (0.8.4-5build1) trusty; urgency=low * No change rebuild against Boost 1.54. -- Dmitrijs Ledkovs Sun, 27 Oct 2013 00:39:49 +0100 libkolabxml (0.8.4-5) unstable; urgency=low * Fix parallel build issue * Remove unused override * Upgrade to standards version 3.9.4 * Fix dependency issues on libkolabxml-dev (Closes: #714102) - Disable transitive linking - Depend libkolabxml-dev on libboost-dev * Close race condition bug, see previous entry (Closes: #710568) * Fix changelog syntax re. closing bugs * Disable verbosity -- Paul Klos Thu, 11 Jul 2013 20:55:47 +0200 libkolabxml (0.8.4-4) unstable; urgency=low * Fix race condition php_kolabformat.h was accessed before generation was complete * Update changelog -- Paul Klos Sat, 15 Jun 2013 14:10:23 +0200 libkolabxml (0.8.4-3) unstable; urgency=low * Upload to Debian * Fix file not found error during dh_install -- Paul Klos Fri, 17 May 2013 23:03:10 +0200 libkolabxml (0.8.4-2) unstable; urgency=low * Update changelog * Make all descriptions end with a period. * Updated copyright Added FLOSS exception from http://www.codesynthesis.com/projects/xsd/FLOSSE * Use dh_makeshlibs override instead of shlibs file * Add GPL-3 paragraph * Fix shlibs * Move kolabformat.ini into debian/ -- Paul Klos Mon, 13 May 2013 22:25:37 +0200 libkolabxml (0.8.4-1) unstable; urgency=low * Remove empty line * Imported Upstream version 0.8.4 * Update changelog * Correct search for PHP version and include dirs * Remove unused cmake arguments * Remove unused verbosity * Add bug to patch description -- Paul Klos Sat, 13 Apr 2013 22:10:16 +0200 libkolabxml (0.8.3-2) unstable; urgency=low * Prepare for transition into Debian proper -- Paul Klos Sat, 13 Apr 2013 00:19:04 +0200 libkolabxml (0.8.3-1) unstable; urgency=low * Imported upstream version 0.8.3 -- Paul Klos Fri, 01 Mar 2013 11:12:38 +0100 libkolabxml (0.8.1-5) unstable; urgency=low [ Paul Klos ] * Install kolabformat.ini to usr/share/php5/kolab * Have maintainer scripts manage kolabformat.ini [ Jeroen van Meeuwen ] * Rebuild -- Paul Klos Fri, 19 Oct 2012 20:02:17 +0200 libkolabxml (0.8.1-3.2) unstable; urgency=low * Non-maintainer upload. * Fixing lintian errors -- Paul Klos Sat, 13 Oct 2012 14:00:00 +0200 libkolabxml (0.8.1-3.1) UNRELEASED; urgency=low [ Jeroen van Meeuwen (Kolab Systems) ] * Resolve hardcoded libc dependency * Correct identity for maintainer * Fix typo [ Michael Kiefer ] * Changed dependency for phpapi to allow phpapi-20100525+lfs -- Michael Kiefer Sat, 29 Sep 2012 21:36:35 +0200 libkolabxml (0.8.1-2) unstable; urgency=low [ Jeroen van Meeuwen (Kolab Systems) ] * Make the variables used be explicitly executed in shell * Attempt to include shlibs with libkolabxml0 [ Kolab Systems User ] -- Jeroen van Meeuwen (Kolab Systems) Sat, 08 Sep 2012 19:25:44 +0200 libkolabxml (0.8.1-1) unstable; urgency=low * Build for Debian Wheezy -- Jeroen van Meeuwen Fri, 7 Sep 2012 14:07:50 +0100 libkolabxml (0.7.0-0ubuntu2) quantal; urgency=low * Add libcurl4-gnutls-dev build-dep -- Jonathan Riddell Thu, 19 Jul 2012 13:36:30 +0100 libkolabxml (0.7.0-0ubuntu1) quantal; urgency=low * New upstream release -- Jonathan Riddell Thu, 19 Jul 2012 12:33:20 +0100 libkolabxml (0.6.0+repack1-0ubuntu3) quantal; urgency=low * Enable parallel building. * Switch to debhelper compat level v9 which exports build flags. * Add a watch file. -- Felix Geyer Tue, 17 Jul 2012 19:16:09 +0200 libkolabxml (0.6.0+repack1-0ubuntu2) quantal; urgency=low * Initial release. * .orig repacked with copying licences from upstream -- Jonathan Riddell Thu, 05 Jul 2012 12:55:57 +0100 debian/php-kolabformat.triggers0000664000000000000000000000003212167577747014050 0ustar activate /etc/php5/conf.d debian/libkolabxml-dev.install0000664000000000000000000000130112167577747013656 0ustar usr/lib/cmake/Libkolabxml/LibkolabxmlTargets.cmake usr/lib/cmake/Libkolabxml/LibkolabxmlTargets-*.cmake usr/lib/cmake/Libkolabxml/LibkolabxmlConfig.cmake usr/lib/cmake/Libkolabxml/LibkolabxmlConfigVersion.cmake usr/lib/libkolabxml.so usr/include/kolabxml/kolabformat.h usr/include/kolabxml/kolabevent.h usr/include/kolabxml/kolabevent_p.h usr/include/kolabxml/incidence_p.h usr/include/kolabxml/kolabtodo.h usr/include/kolabxml/kolabjournal.h usr/include/kolabxml/kolabcontact.h usr/include/kolabxml/kolabnote.h usr/include/kolabxml/kolabcontainers.h usr/include/kolabxml/kolabconfiguration.h usr/include/kolabxml/global_definitions.h usr/include/kolabxml/kolabfreebusy.h usr/include/kolabxml/kolabfile.h debian/control0000664000000000000000000000451712252050226010576 0ustar Source: libkolabxml Section: libs Priority: optional Maintainer: Kubuntu Developers XSBC-Original-Maintainer: Debian Kolab Maintainers Uploaders: Jeroen van Meeuwen (Kolab Systems) , Paul Klos Build-Depends: cmake, debhelper (>= 9), libxerces-c-dev, xsdcxx, uuid-dev, libboost-dev, libboost-system-dev, libboost-thread-dev, swig, libcurl4-gnutls-dev, php5-dev, python-dev (>= 2.7), php5-cli X-Python-Version: >= 2.7 Standards-Version: 3.9.4 Homepage: http://git.kolab.org/libkolabxml Package: libkolabxml1 Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: Kolab XML format (shared library) Libkolabxml is the reference implementation of the Kolab XML format. . The Kolab 3.0 XML format is defined in . . This package provides serialization/deserialization from/to in-memory representations for all Kolab Objects, including input validation. Package: php-kolabformat Architecture: any Depends: libkolabxml1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}, ${php:Depends}, ucf Description: PHP bindings for Kolab Format 3.0 XML parsing Libkolabxml is the reference implementation of the Kolab XML format For more information see the libkolabxml package. . This package provides PHP bindings for libkolabxml. Package: python-kolabformat Architecture: any Section: python Depends: libkolabxml1 (= ${binary:Version}), python, ${misc:Depends}, ${shlibs:Depends} Description: Python bindings for Kolab Format 3.0 XML parsing Libkolabxml is the reference implementation of the Kolab XML format. For more information see the libkolabxml package. . This package provides Python bindings for libkolabxml. Package: libkolabxml-dev Section: libdevel Architecture: any Depends: libkolabxml1 (= ${binary:Version}), ${misc:Depends}, libboost-dev Description: Development files for libkolabxml Libkolabxml is the reference implementation of the Kolab XML format. For more information see the libkolabxml package. . This package provides development files libkolabxml. debian/python-kolabformat.install0000664000000000000000000000013012167577747014421 0ustar usr/lib*/python*/*-packages/kolabformat.py usr/lib*/python*/*-packages/_kolabformat.so debian/kolabformat.ini0000664000000000000000000000010512167577747012215 0ustar ; configuration for the kolabformat module extension=kolabformat.so debian/patches/0000775000000000000000000000000012251622734010623 5ustar debian/patches/fix-dev-dependencies.patch0000664000000000000000000000110012167577747015645 0ustar Description: Disable transitive linking Author: Paul Klos Last-Update: 2013-07-07 Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=714102 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -22,6 +22,7 @@ ${SCHEMA_SOURCEFILES} ) add_dependencies(kolabxml generate_bindings) +set_target_properties(kolabxml PROPERTIES LINK_INTERFACE_LIBRARIES "") target_link_libraries(kolabxml ${XERCES_C} ${Boost_LIBRARIES} ${UUID} ${CURL}) # For the core library we can be stricter when compiling. This doesn't work with the auto generated code though. debian/patches/fix-race-condition.patch0000664000000000000000000000231312167577747015350 0ustar Description: Correct race condition The Debian build system ran into a race condition, where the generated header file php_kolabformat.h was used before generation was complete. Author: Paul Klos Last-Update: 2013-06-10 Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710568 --- a/src/php/CMakeLists.txt +++ b/src/php/CMakeLists.txt @@ -2,6 +2,7 @@ include_directories(../) set(KOLAB_SWIG_PHP_SOURCE_FILE php_kolabformat_wrapper.cpp) +set(KOLAB_SWIG_PHP_HEADER_FILE php_kolabformat.h) add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${KOLAB_SWIG_PHP_SOURCE_FILE} ${CMAKE_CURRENT_BINARY_DIR}/kolabformat.php COMMAND ${SWIG} -v -c++ -php -o ${CMAKE_CURRENT_BINARY_DIR}/${KOLAB_SWIG_PHP_SOURCE_FILE} ../kolabformat.i COMMENT "Generating php bindings" @@ -11,7 +12,8 @@ ) set_source_files_properties(${KOLAB_SWIG_PHP_SOURCE_FILE} PROPERTIES GENERATED 1) -add_custom_target(generate_php_bindings ALL DEPENDS ${KOLAB_SWIG_PHP_SOURCE_FILE}) +set_source_files_properties(${KOLAB_SWIG_PHP_HEADER_FILE} PROPERTIES GENERATED 1) +add_custom_target(generate_php_bindings ALL DEPENDS ${KOLAB_SWIG_PHP_SOURCE_FILE} ${KOLAB_SWIG_PHP_HEADER_FILE}) #Compile PHP Bindings debian/patches/series0000664000000000000000000000014612251622760012040 0ustar fix-dev-dependencies.patch correct-php-search.patch fix-race-condition.patch fix-parallel-build.patch debian/patches/xcardconversions-spelling-error.patch0000664000000000000000000000105412167577747020223 0ustar Description: Correct spelling error Author: Paul Klos Last-Update: 2013-04-13 Bug: https://issues.kolab.org/show_bug.cgi?id=1751 --- a/src/xcardconversions.h +++ b/src/xcardconversions.h @@ -199,7 +199,7 @@ ERROR("failed to convert: "+std::string(c.what())); return cDateTime(); } catch (...) { - ERROR("failed to convert: unkown exception"); + ERROR("failed to convert: unknown exception"); return cDateTime(); } return cDateTime(year, month, day, hour, minute, second, isUtc); debian/patches/fix-parallel-build.patch0000664000000000000000000000176512167577747015355 0ustar Author: Diane Trout Description: When running multiple make processes the generate_php_bindings didn't have dependency information about what was generating php_kolabformat.h. This explicitly addes php_kolabformat.h to the list of files generated by the swig command. --- a/src/php/CMakeLists.txt +++ b/src/php/CMakeLists.txt @@ -3,7 +3,7 @@ set(KOLAB_SWIG_PHP_SOURCE_FILE php_kolabformat_wrapper.cpp) set(KOLAB_SWIG_PHP_HEADER_FILE php_kolabformat.h) -add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${KOLAB_SWIG_PHP_SOURCE_FILE} ${CMAKE_CURRENT_BINARY_DIR}/kolabformat.php +add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${KOLAB_SWIG_PHP_SOURCE_FILE} ${CMAKE_CURRENT_BINARY_DIR}/${KOLAB_SWIG_PHP_HEADER_FILE} ${CMAKE_CURRENT_BINARY_DIR}/kolabformat.php COMMAND ${SWIG} -v -c++ -php -o ${CMAKE_CURRENT_BINARY_DIR}/${KOLAB_SWIG_PHP_SOURCE_FILE} ../kolabformat.i COMMENT "Generating php bindings" WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} debian/patches/correct-php-search.patch0000664000000000000000000000155312167577747015364 0ustar Description: Correct PHP5 search The php5 executable is not required to determine the version. Include dirs and version can be constructed using php-config. Author: Paul Klos Last-Update: 2013-04-13 Bug: https://issues.kolab.org/show_bug.cgi?id=1753 --- a/src/php/CMakeLists.txt +++ b/src/php/CMakeLists.txt @@ -22,7 +22,6 @@ # Try to find PHP5 find_path(PHP_INCLUDE_DIR NAMES main/php.h PATH_SUFFIXES php php5) -find_program(PHP_EXECUTABLE NAMES php) # Libkolabxml needs PHP >= 5.3 set(PHP_MIN_VERSION 50300) @@ -41,7 +40,7 @@ endif() endif() -if(PHP_INCLUDE_DIR AND PHP_EXECUTABLE) +if(PHP_INCLUDE_DIR AND PHP_CONFIG_EXECUTABLE) file(READ ${PHP_INCLUDE_DIR}/main/php_version.h PHP_VERSION_CONTENT) string(REGEX MATCH "#define PHP_VERSION_ID[ ]*[0-9]*\n" _PHP_VERSION_ID_MATCH ${PHP_VERSION_CONTENT}) if(_PHP_VERSION_ID_MATCH) debian/compat0000664000000000000000000000000212167577747010415 0ustar 9 debian/php-kolabformat.install0000664000000000000000000000015312251625067013653 0ustar debian/kolabformat.ini usr/share/php5/kolab/ usr/lib/php5/*/*kolabformat.so usr/lib/php5/*/kolabformat.php debian/libkolabxml1.install0000664000000000000000000000003212251624121013130 0ustar usr/lib/libkolabxml.so.1*