Projects
Kolab:16:Enterprise
libkolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
libkolab.spec
Changed
@@ -127,6 +127,10 @@ %prep %setup -q -n libkolab-%{version} +%if 0%{?fedora} >= 25 +sed -i "s/-php/-php7/g" cmake/modules/SWIGUtils.cmake +%endif + %build rm -rf build mkdir -p build
View file
debian.changelog
Changed
@@ -1,3 +1,15 @@ +libkolab (2.0~dev20151230-0~kolab3) unstable; urgency=low + + * Liberate the build requirements for Debian/Ubuntu + + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Thu, 4 May 2017 09:09:09 +0100 + +libkolab (2.0~dev20151230-0~kolab2) unstable; urgency=low + + * Fix Debian packages + + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Tue, 9 Feb 2016 09:09:09 +0100 + libkolab (2.0~dev20151230-0~kolab1) unstable; urgency=low * Check in latest git master HEAD version
View file
debian.control
Changed
@@ -16,18 +16,17 @@ libossp-uuid-dev, libqt4-dev, libxerces-c-dev, - php5-cli, - php5-dev, + php-cgi | php5-cli, + php-dev | php5-dev, python-dev, swig (>= 2.0) X-Python-Version: >= 2.7 Standards-Version: 3.9.3 Homepage: http://git.kolab.org/libkolab -Package: libkolab0 +Package: libkolab2 Architecture: any -Depends: ${misc:Depends}, ${shlibs:Depends}, libkolabxml1 (>= 1.0) -Conflicts: libkolab-kde0 +Depends: ${misc:Depends}, ${shlibs:Depends}, libkolabxml1v5 (>= 1.0) Description: Maps KDE containers to Kolab formats libkolab provides conversions from/to KDE containers, mime message handling and facilities to read and write kolabv2 and kolabv3. @@ -46,7 +45,7 @@ Package: php-kolab Architecture: any -Depends: libkolab0 (= ${binary:Version}), +Depends: libkolab2 (>= ${binary:Version}), php-kolabformat, ucf, libcalendaring (>= 4.9.1), @@ -64,7 +63,7 @@ Package: python-kolab Architecture: any Section: python -Depends: libkolab0 (= ${binary:Version}), +Depends: libkolab2 (= ${binary:Version}), python, ${misc:Depends}, ${shlibs:Depends} @@ -79,7 +78,7 @@ Package: libkolab-dev Section: libdevel Architecture: any -Depends: libkolab0 (= ${binary:Version}), +Depends: libkolab2 (= ${binary:Version}), libcalendaring-dev (>= 4.9.1), ${misc:Depends} Conflicts: libkolab-kde-dev
View file
debian.rules
Changed
@@ -1,6 +1,9 @@ #!/usr/bin/make -f PHPAPI := $(shell php-config --phpapi) +PHPBIN := $(shell php-config --php-binary) +PHPEXT := $(shell php-config --extension-dir) +PHPINC := $(shell php-config --include-dir) PYTHON_SITEARCH := $(shell python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)') export DH_VERBOSE=1 @@ -12,12 +15,18 @@ dh $@ --parallel --with python2 override_dh_auto_configure: + if $$(php-config --vernum) -gt 70000 ; then \ + sed -i \ + -e 's/-c++ -php/-c++ -php7/g' \ + -e 's|php php5|php php5 php/$(PHPAPI)|g' cmake/modules/SWIGUtils.cmake ; \ + fi + dh_auto_configure -- \ -DLIB_INSTALL_DIR=/usr/lib \ -DPHP_BINDINGS=ON \ - -DPHP_INSTALL_DIR=/usr/lib/php5/$(PHPAPI)/ \ - -DPHP4_EXECUTABLE=/usr/bin/php5 \ - -DPHP4_INCLUDE_PATH=/usr/include/php5/ \ + -DPHP_INSTALL_DIR=$(PHPEXT) \ + -DPHP4_EXECUTABLE=$(PHPBIN) \ + -DPHP4_INCLUDE_PATH=$(PHPINC) \ -DPYTHON_BINDINGS=ON \ -DPYTHON_INSTALL_DIR=$(PYTHON_SITEARCH) \ -DUSE_LIBCALENDARING=ON @@ -30,19 +39,23 @@ # Install the PHP modules manually, because they depend on PHP the API version, # which has to be determined dynamically, so we can't put it into an .install file. mkdir -p debian/tmp/usr/share/php - mv debian/tmp/usr/lib/php5/$(PHPAPI)/kolabcalendaring.php debian/tmp/usr/share/php/kolabcalendaring.php - mv debian/tmp/usr/lib/php5/$(PHPAPI)/kolabicalendar.php debian/tmp/usr/share/php/kolabicalendar.php - mv debian/tmp/usr/lib/php5/$(PHPAPI)/kolabobject.php debian/tmp/usr/share/php/kolabobject.php - mv debian/tmp/usr/lib/php5/$(PHPAPI)/kolabshared.php debian/tmp/usr/share/php/kolabshared.php + mv debian/tmp/$(PHPEXT)/dummy.php debian/tmp/usr/share/php/dummy.php + mv debian/tmp/$(PHPEXT)/kolabcalendaring.php debian/tmp/usr/share/php/kolabcalendaring.php + mv debian/tmp/$(PHPEXT)/kolabicalendar.php debian/tmp/usr/share/php/kolabicalendar.php + mv debian/tmp/$(PHPEXT)/kolabobject.php debian/tmp/usr/share/php/kolabobject.php + mv debian/tmp/$(PHPEXT)/kolabshared.php debian/tmp/usr/share/php/kolabshared.php + echo "$(PHPEXT)" >> debian/php-kolab.install # Put kolab.ini into place - mkdir -p debian/tmp/usr/share/php5/kolab - cp debian/usr/share/php5/kolab/kolab.ini debian/tmp/usr/share/php5/kolab/ - # Dummy plugin (workaround for #2050) - mkdir -p debian/tmp/usr/share/php5/kolabdummy - cp debian/usr/share/php5/kolabdummy/kolabdummy.ini debian/tmp/usr/share/php5/kolabdummy/ - # End dummy plugin + if -d "/etc/php/mods-available" ; then \ + echo "debian/kolab.ini etc/php/mods-available" >> debian/php-kolab.install ; \ + echo "debian/kolabdummy.ini etc/php/mods-available" >> debian/php-kolab.install ; \ + else \ + echo "debian/kolab.ini etc/php5/mods-available" >> debian/php-kolab.install ; \ + echo "debian/kolabdummy.ini etc/php5/mods-available" >> debian/php-kolab.install ; \ + fi + touch debian/tmp/$(PYTHON_SITEARCH)/kolab/__init__.py - # Install the packages + # Install the packages dh_install --list-missing override_dh_auto_test:
View file
debian.tar.gz/kolab.ini
Changed
(renamed from usr/share/php5/kolab/kolab.ini)
View file
debian.tar.gz/kolabdummy.ini
Changed
(renamed from usr/share/php5/kolabdummy/kolabdummy.ini)
View file
debian.tar.gz/libkolab-kde0.shlibs
Deleted
@@ -1,1 +0,0 @@ -libkolab-kde 0 libkolab-kde0 (>= 0.4.0)
View file
debian.tar.gz/libkolab-kde2.install
Changed
(renamed from libkolab-kde0.install)
View file
debian.tar.gz/libkolab-kde2.lintian-overrides
Changed
(renamed from libkolab-kde0.lintian-overrides)
View file
debian.tar.gz/libkolab-kde2.shlibs
Added
@@ -0,0 +1,1 @@ +libkolab-kde 2 libkolab-kde2 (>= 2.0)
View file
debian.tar.gz/libkolab0.lintian-overrides
Deleted
@@ -1,9 +0,0 @@ -# hardening-check --verbose libkolab.so.0 reports -# Fortify Source functions: no, only unprotected functions found! -# unprotected: memmove -# unprotected: memcpy -# Neither memmove nor memcpy occur in the source code, -# so overriding this warning -libkolab0 binary: hardening-no-fortify-functions -# Using shlibs for now -libkolab0 binary: no-symbols-control-file
View file
debian.tar.gz/libkolab0.shlibs
Deleted
@@ -1,1 +0,0 @@ -libkolab 0 libkolab0 (>= 0.4.0)
View file
debian.tar.gz/libkolab2.install
Changed
(renamed from libkolab0.install)
View file
debian.tar.gz/libkolab2.lintian-overrides
Added
@@ -0,0 +1,9 @@ +# hardening-check --verbose libkolab.so.0 reports +# Fortify Source functions: no, only unprotected functions found! +# unprotected: memmove +# unprotected: memcpy +# Neither memmove nor memcpy occur in the source code, +# so overriding this warning +libkolab2 binary: hardening-no-fortify-functions +# Using shlibs for now +libkolab2 binary: no-symbols-control-file
View file
debian.tar.gz/libkolab2.shlibs
Added
@@ -0,0 +1,1 @@ +libkolab 2 libkolab2 (>= 2)
View file
debian.tar.gz/php-kolab.install
Changed
@@ -1,4 +1,2 @@ -/usr/share/php5/kolab/kolab.ini usr/share/php5/kolab/ -/usr/share/php5/kolabdummy/kolabdummy.ini usr/share/php5/kolabdummy/ -usr/lib/php5/*/*.so -usr/share/php/kolab*.php +usr/lib/php*/*/*.so +usr/share/php/*.php
View file
debian.tar.gz/php-kolab.postinst
Changed
@@ -7,6 +7,8 @@ if -d "/etc/php5/mods-available" ; then inidir=/etc/php5/mods-available +elif -d "/etc/php/mods-available" ; then + inidir=/etc/php/mods-available else inidir=/etc/php5/conf.d fi @@ -35,9 +37,11 @@ fi # Enable the module - if -x "$(which php5enmod 2>/dev/null)" ; then - php5enmod ${module}/${priority:-19} - fi + if -x "$(which $php5enmod 2>/dev/null)" ; then + php5enmod ${module}/${priority:-19} + elif -x "$(which $phpenmod 2>/dev/null)" ; then + phpenmod ${module}/${priority:-19} + fi fi # End dummy plugin @@ -64,16 +68,18 @@ fi # Enable the module - if -x "$(which php5enmod 2>/dev/null)" ; then - php5enmod ${module}/${priority:-21} - fi + if -x "$(which $php5enmod 2>/dev/null)" ; then + php5enmod ${module}/${priority:-21} + elif -x "$(which $phpenmod 2>/dev/null)" ; then + phpenmod ${module}/${priority:-21} + fi fi if "$1" = "configure" ; then # make sure that kolabformat.so is loaded after dummy.so, see #2050 - sed -i "s/extension=dummy.so/extension=dummy.so\nextension=kolabformat.so/" /usr/share/php5/kolab/kolab.ini - sed -i "s/extension=kolabformat.so/;extension=kolabformat.so/" /usr/share/php5/kolab/kolabformat.ini + sed -i "s/extension=dummy.so/extension=dummy.so\nextension=kolabformat.so/" $inidir/kolab.ini || echo "cannot find $inidir/kolab.ini" + sed -i "s/extension=kolabformat.so/;extension=kolabformat.so/" $inidir/kolabformat.ini || echo "cannot find $inidir/kolabformat.ini" fi
View file
debian.tar.gz/usr
Deleted
-(directory)
View file
debian.tar.gz/usr/share
Deleted
-(directory)
View file
debian.tar.gz/usr/share/php5
Deleted
-(directory)
View file
debian.tar.gz/usr/share/php5/kolab
Deleted
-(directory)
View file
debian.tar.gz/usr/share/php5/kolabdummy
Deleted
-(directory)
View file
libkolab.dsc
Changed
@@ -1,8 +1,8 @@ Format: 1.0 Source: libkolab -Binary: libkolab0, php-kolab, python-kolab, libkolab-dev +Binary: libkolab2, php-kolab, python-kolab, libkolab-dev Architecture: any -Version: 2.0~dev20151230-0~kolab1 +Version: 2.0~dev20151230-0~kolab2 Maintainer: Debian Kolab Maintainers <pkg-kolab-devel@lists.alioth.debian.org> Uploaders: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>, Christoph Wickert <wickert@kolabsys.com>, Paul Klos <kolab@klos2day.nl> Homepage: http://git.kolab.org/libkolab @@ -20,13 +20,13 @@ libossp-uuid-dev, libqt4-dev, libxerces-c-dev, - php5-cli, - php5-dev, + php-cgi | php5-cli, + php-dev | php5-dev, python-dev, swig (>= 2.0) Package-List: libkolab-dev deb libdevel optional - libkolab0 deb libs optional + libkolab2 deb libs optional php-kolab deb libs optional python-kolab deb python optional Files:
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.