Projects
Kontact:4.13:Git
libkolab
Log In
Username
Password
Problem getting expanded diff: bad link: conflict in file libkolab.dsc
×
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
libkolab.spec
Changed
@@ -30,8 +30,8 @@ Name: libkolab %endif -Version: 0.6 -Release: 0.1.dev20140624.git28814475%{?dist} +Version: 0.7 +Release: 0.1.dev20150112.gitf0f953aa%{?dist} Summary: Kolab Object Handling Library License: LGPLv3+ @@ -41,12 +41,12 @@ Source0: http://git.kolab.org/%{name}/snapshot/libkolab-%{version}.tar.gz BuildRequires: cmake -%if 0%{?rhel} > 6 || 0%{?fedora} > 16 -BuildRequires: kdepimlibs-devel >= 4.9 +%if 0%{?rhel} > 7 || 0%{?fedora} >= 20 +BuildRequires: kdepimlibs-devel >= 4.11 %else # Note: available within kolabsys.com infrastructure only, as being (essentially) a # fork of various kde 4.9 libraries that depend on kde*, and that have no place in el6. -BuildRequires: libcalendaring-devel >= 4.9 +BuildRequires: libcalendaring-devel >= 4.9.1 %endif BuildRequires: libcurl-devel BuildRequires: libkolabxml-devel >= 1.0 @@ -70,12 +70,16 @@ %endif Summary: Kolab library development headers Requires: libkolab%{?_isa} = %{version} -%if 0%{?rhel} > 6 || 0%{?fedora} > 16 -BuildRequires: kdepimlibs-devel >= 4.9 +%if 0%{?rhel} > 7 || 0%{?fedora} >= 20 +BuildRequires: kdepimlibs-devel >= 4.11 +%if 0%{?fedora} >= 21 +# Fedora 21 has qca2 and qca, qca2 has been renamed to qca +BuildRequires: qca +%endif %else # Note: available within kolabsys.com infrastructure only, as being (essentially) a # fork of various kde 4.9 libraries that depend on kde*, and that have no place in el6. -BuildRequires: libcalendaring-devel >= 4.9 +BuildRequires: libcalendaring-devel >= 4.9.1 %endif Requires: libkolabxml-devel >= 1.0 Requires: php-devel @@ -153,7 +157,7 @@ -DBoost_NO_BOOST_CMAKE=TRUE \ -Wno-fatal-errors -Wno-errors \ -DINCLUDE_INSTALL_DIR=%{_includedir} \ -%if 0%{?rhel} < 7 && 0%{?fedora} < 17 +%if 0%{?rhel} < 8 && 0%{?fedora} < 20 -DUSE_LIBCALENDARING=ON \ %endif -DPHP_BINDINGS=ON \ @@ -182,6 +186,13 @@ extension=kolabicalendar.so EOF +# Workaround for #2050 +cat >%{buildroot}/%{php_inidir}/kolabdummy.ini <<EOF +; Kolab libraries +extension=dummy.so +EOF + + touch %{buildroot}/%{python_sitearch}/kolab/__init__.py %check @@ -204,7 +215,7 @@ %files %{_libdir}/libkolab.so.0 -%{_libdir}/libkolab.so.0.6 +%{_libdir}/libkolab.so.0.7 %if 0%{?suse_version} %files -n libkolab-devel @@ -217,6 +228,7 @@ %files -n php-kolab %config(noreplace) %{php_inidir}/kolab.ini +%config(noreplace) %{php_inidir}/kolabdummy.ini %{_datadir}/%{php}/kolabcalendaring.php %{php_extdir}/kolabcalendaring.so %{_datadir}/%{php}/kolabicalendar.php @@ -241,6 +253,12 @@ %{python_sitearch}/kolab/shared.py* %changelog +* Mon Feb 09 2015 Timotheus Pokorra <tp@tbits.net> +- master is going towards 0.7 + +* Mon Jan 12 2015 Christoph Wickert <wickert@kolabsys.com> - 0.6-0.1.dev20150112.gitf0f953aa +- Add dummy plugin to workaround httpd reload issue (#2050) + * Mon Oct 14 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 0.5.0-1 - New upstream release
View file
0001-Dummy-plugin-to-to-workaround-the-httpd-reload-issue.patch
Added
@@ -0,0 +1,33 @@ +From b7d0c724af32d3d70cfd48694d3cf113b703c89e Mon Sep 17 00:00:00 2001 +From: Christian Mollekopf <mollekopf@kolabsys.com> +Date: Fri, 28 Nov 2014 16:21:35 +0100 +Subject: [PATCH] Dummy plugin to to workaround the httpd reload issue. + +See https://issues.kolab.org/show_bug.cgi?id=2050 +--- + CMakeLists.txt | 1 + + dummy.i | 1 + + 2 files changed, 2 insertions(+) + create mode 100644 dummy.i + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 99eef60..d7f724e 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -209,5 +209,6 @@ endif(PYTHON_BINDINGS) + + if(PHP_BINDINGS) + generatePHPBindings(kolabshared shared.i) ++ generatePHPBindings(dummy dummy.i) + add_subdirectory(kolabformat/php) + endif(PHP_BINDINGS) +diff --git a/dummy.i b/dummy.i +new file mode 100644 +index 0000000..24c258f +--- /dev/null ++++ b/dummy.i +@@ -0,0 +1 @@ ++/* This is a dummy plugin that does nothing. See https://issues.kolab.org/show_bug.cgi?id=2050 */ +-- +1.9.3 +
View file
_link
Changed
@@ -1,4 +1,4 @@ -<link project="Kolab:Development" baserev="adcc7e3a4a11e80b79cd7560afa27ea7"> +<link project="Kolab:Development" baserev="b09182f48a0632877efa276043b8b8a2"> <patches> <branch/> </patches>
View file
_service
Changed
@@ -1,7 +1,7 @@ <services> <service name="tar_scm"> <param name="scm">git</param> - <param name="url">git://git.kolab.org/git/libkolab.git</param> + <param name="url">https://git.kolab.org/diffusion/LK/libkolab.git</param> <param name="versionprefix">0.6.git</param> <param name="filename">libkolab</param> </service> @@ -14,4 +14,4 @@ <param name="compression">gz</param> </service> <service name="set_version"/> -</services> \ No newline at end of file +</services>
View file
debian.changelog
Changed
@@ -1,3 +1,15 @@ +libkolab (0.6~dev20150112-0~kolab2) unstable; urgency=low + + * make sure the dummy plugin is loaded before all other plugins to workaround httpd reload issue (#2050) + + -- Timotheus Pokorra <tp@tbits.net> Thu, 22 January 2015 13:36:13 +0100 + +libkolab (0.6~dev20150112-0~kolab1) unstable; urgency=low + + * Add dummy plugin to workaround httpd reload issue (#2050) + + -- Christoph Wickert <wickert@kolabsys.com> Mon, 12 January 2015 13:36:13 +0100 + libkolab (0.6~dev20140624-0~kolab1) unstable; urgency=low * New git master head snapshot
View file
debian.control
Changed
@@ -2,7 +2,7 @@ Section: libs Priority: optional Maintainer: Debian Kolab Maintainers <pkg-kolab-devel@lists.alioth.debian.org> -Uploaders: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>, Paul Klos <kolab@klos2day.nl> +Uploaders: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>, Christoph Wickert <wickert@kolabsys.com>, Paul Klos <kolab@klos2day.nl> Build-Depends: cmake, debhelper, @@ -49,7 +49,7 @@ Depends: libkolab0 (= ${binary:Version}), php-kolabformat, ucf, - libcalendaring, + libcalendaring (>= 4.9.1), ${php:Depends}, ${misc:Depends}, ${shlibs:Depends} @@ -80,6 +80,7 @@ Section: libdevel Architecture: any Depends: libkolab0 (= ${binary:Version}), + libcalendaring-dev (>= 4.9.1), ${misc:Depends} Conflicts: libkolab-kde-dev Description: Development package for Kolab library
View file
debian.rules
Changed
@@ -36,6 +36,10 @@ # 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 touch debian/tmp/$(PYTHON_SITEARCH)/kolab/__init__.py # Install the packages dh_install --list-missing
View file
debian.tar.gz/php-kolab-kde.install
Changed
@@ -1,3 +1,4 @@ /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
View file
debian.tar.gz/php-kolab.install
Changed
@@ -1,3 +1,4 @@ /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
View file
debian.tar.gz/php-kolab.postinst
Changed
@@ -11,6 +11,36 @@ inidir=/etc/php5/conf.d fi +# Dummy plugin (workaround for #2050) +module=kolabdummy +package=php-kolab +inifile=${module}.ini +priority=29 + +if [ "$1" = "configure" ]; then + + # Register new conffile with UCF + ucf /usr/share/php5/${module}/${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.4.0~ -- "$@"; + + 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 + if [ -x "$(which php5enmod 2>/dev/null)" ]; then + php5enmod ${module}/${priority:-19} + fi +fi +# End dummy plugin + module=kolab package=php-${module} inifile=${module}.ini @@ -39,4 +69,12 @@ 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 + +fi + exit 0
View file
debian.tar.gz/php-kolab.postrm
Changed
@@ -6,9 +6,9 @@ #DEBHELPER# if [ -d "/etc/php5/mods-available" ]; then - inidir=/etc/php5/mods-available/ + inidir=/etc/php5/mods-available else - inidir=/etc/php5/conf.d/ + inidir=/etc/php5/conf.d fi module=kolab @@ -19,26 +19,52 @@ # Query which package has this conffile registered if which ucfq >/dev/null; then - ucfp=$(ucfq -w ${inidir}/${inifile} | cut -f 2 -d:) +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 + 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 - rm -f ${inidir}/${inifile} +# Dummy plugin (workaround for #2050) +module=kolabdummy +package=php-kolab +inifile=${module}.ini - if which ucf >/dev/null; then - ucf --purge ${inidir}/${inifile} - fi +dpkg-maintscript-helper mv_conffile /etc/php5/conf.d/${inifile} ${inidir}/${inifile} 0.3.0~ -- "$@"; - if which ucfr >/dev/null; then - ucfr --purge ${package} ${inidir}/${inifile} - fi - fi +# 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 +# End dummy plugin exit 0
View file
debian.tar.gz/php-kolab.preinst
Changed
@@ -5,6 +5,12 @@ #EXTRA# #DEBHELPER# +# Dummy plugin (workaround for #2050) +inifile=kolabdummy.ini + +dpkg-maintscript-helper mv_conffile /etc/php5/conf.d/${inifile} /etc/php5/mods-available/${inifile} 0.3.0~ -- "$@"; +# End dummy plugin + inifile=kolab.ini dpkg-maintscript-helper mv_conffile /etc/php5/conf.d/${inifile} /etc/php5/mods-available/${inifile} 0.3.0~ -- "$@";
View file
debian.tar.gz/php-kolab.prerm
Changed
@@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -e @@ -15,13 +15,26 @@ package=php-${module} inifile=${module}.ini +if [ "$1" = "remove" ]; then + if [ -x "$(which php5dismod 2>/dev/null)" ]; then + php5dismod ${module} + elif [ -f "${inidir}/${inifile}" ]; then + rm -f "${inidir}/${inifile}" + fi +fi + +# Dummy plugin (workaround for #2050) +module=kolabdummy +package=php-kolab +inifile=${module}.ini if [ "$1" = "remove" ]; then if [ -x "$(which php5dismod 2>/dev/null)" ]; then - php5dismod ${module} + php5dismod ${module} elif [ -f "${inidir}/${inifile}" ]; then rm -f "${inidir}/${inifile}" fi fi +# End dummy plugin exit 0
View file
debian.tar.gz/usr/share/php5/kolab/kolab.ini
Changed
@@ -1,4 +1,5 @@ ; Kolab libraries +extension=dummy.so extension=kolabobject.so extension=kolabshared.so extension=kolabcalendaring.so
View file
debian.tar.gz/usr/share/php5/kolabdummy
Added
+(directory)
View file
debian.tar.gz/usr/share/php5/kolabdummy/kolabdummy.ini
Added
@@ -0,0 +1,2 @@ +; Kolab libraries +;extension=dummy.so
View file
libkolab.dsc
Changed
@@ -2,9 +2,9 @@ Source: libkolab Binary: libkolab0, php-kolab, python-kolab, libkolab-dev Architecture: any -Version: 0.6~dev20140624-0~kolab1 +Version: 0.6~dev20150112-0~kolab2 Maintainer: Debian Kolab Maintainers <pkg-kolab-devel@lists.alioth.debian.org> -Uploaders: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>, Paul Klos <kolab@klos2day.nl> +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 Standards-Version: 3.9.3 Build-Depends:
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
.