Projects
Kolab:16:Enterprise
libkolabxml
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
debian.changelog
Changed
@@ -1,4 +1,4 @@ -libkolabxml (1.2~dev20160909-0~kolab2) unstable; urgency=low +libkolabxml (1.2~dev20160909-0~kolab4) unstable; urgency=low * Liberate the build requirements
View file
debian.rules
Changed
@@ -32,7 +32,9 @@ override_dh_install: mkdir -p debian/tmp/usr/share/php - if -d "/etc/php/mods-available" ; then \ + if -d "/etc/php/7.0/mods-available/" ; then \ + echo "debian/kolabformat.ini etc/php/7.0/mods-available" >> debian/php-kolabformat.install ; \ + elif -d "/etc/php/mods-available/" ; then \ echo "debian/kolabformat.ini etc/php/mods-available" >> debian/php-kolabformat.install ; \ else \ echo "debian/kolabformat.ini etc/php5/mods-available" >> debian/php-kolabformat.install ; \
View file
debian.tar.gz/php-kolabformat.install
Changed
@@ -1,3 +1,2 @@ -debian/kolabformat.ini etc/php/mods-available/ usr/lib/php*/*/*kolabformat.so usr/share/php/kolabformat.php
View file
debian.tar.gz/php-kolabformat.postinst
Changed
@@ -5,10 +5,12 @@ #EXTRA# #DEBHELPER# -if -d "/etc/php5/mods-available" ; then - inidir=/etc/php5/mods-available +if -d "/etc/php/7.0/mods-available" ; then + inidir=/etc/php/7.0/mods-available elif -d "/etc/php/mods-available" ; then inidir=/etc/php/mods-available +elif -d "/etc/php5/mods-available" ; then + inidir=/etc/php5/mods-available else inidir=/etc/php5/conf.d/ fi @@ -21,25 +23,30 @@ if "$1" = "configure" ; then # Register new conffile with UCF - ucf /usr/share/php5/kolab/${inifile} ${inidir}/${inifile} - ucfr --force ${package} ${inidir}/${inifile} + if -f "/usr/share/php5/kolab/${inifile}" ; then + ucf /usr/share/php5/kolab/${inifile} ${inidir}/${inifile} + fi + + 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 "/etc/php5/conf.d/${inifile}" ; then + dpkg-maintscript-helper mv_conffile /etc/php5/conf.d/${inifile} ${inidir}/${inifile} 0.8.1-3~ -- "$@"; + fi 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}" + mv "${inidir}/${inifile}.dpkg-new" "${inidir}/${inifile}" fi fi # Enable the module - if -x "$(which php5enmod 2>/dev/null)" ; then - php5enmod ${module}/${priority:-20} - elif -x "$(which $phpenmod 2>/dev/null)" ; then + if -x "$(which phpenmod 2>/dev/null)" ; then phpenmod ${module}/${priority:-20} + elif -x "$(which php5enmod 2>/dev/null)" ; then + php5enmod ${module}/${priority:-20} fi fi
View file
debian.tar.gz/php-kolabformat.postrm
Changed
@@ -5,7 +5,11 @@ #EXTRA# #DEBHELPER# -if -d "/etc/php5/mods-available" ; then +if -d "/etc/php/7.0/mods-available" ; then + inidir=/etc/php/7.0/mods-available/ +elif -d "/etc/php/mods-available" ; then + inidir=/etc/php/mods-available/ +elif -d "/etc/php5/mods-available" ; then inidir=/etc/php5/mods-available/ else inidir=/etc/php5/conf.d/ @@ -15,7 +19,12 @@ package=php-${module} inifile=${module}.ini -dpkg-maintscript-helper mv_conffile /etc/php5/conf.d/${inifile} ${inidir}/${inifile} 0.8.1-3~ -- "$@"; +if -f "/etc/php5/conf.d/${inifile}" ; then + dpkg-maintscript-helper mv_conffile \ + /etc/php5/conf.d/${inifile} \ + ${inidir}/${inifile} \ + 0.8.1-3~ -- "$@"; +fi # Query which package has this conffile registered if which ucfq >/dev/null; then
View file
debian.tar.gz/php-kolabformat.preinst
Changed
@@ -7,6 +7,11 @@ inifile=kolabformat.ini -dpkg-maintscript-helper mv_conffile /etc/php5/conf.d/${inifile} /etc/php5/mods-available/${inifile} 0.8.1-3~ -- "$@"; +if -f "/etc/php5/conf.d/${inifile}" ; then + dpkg-maintscript-helper mv_conffile \ + /etc/php5/conf.d/${inifile} \ + /etc/php5/mods-available/${inifile} \ + 0.8.1-3~ -- "$@"; +fi exit 0
View file
debian.tar.gz/php-kolabformat.prerm
Changed
@@ -5,7 +5,11 @@ #EXTRA# #DEBHELPER# -if -d "/etc/php5/mods-available" ; then +if -d "/etc/php/7.0/mods-available" ; then + inidir=/etc/php/7.0/mods-available/ +elif -d "/etc/php/mods-available" ; then + inidir=/etc/php/mods-available/ +elif -d "/etc/php5/mods-available" ; then inidir=/etc/php5/mods-available/ else inidir=/etc/php5/conf.d/ @@ -16,7 +20,9 @@ inifile=${module}.ini if "$1" = "remove" ; then - if -x "$(which php5dismod 2>/dev/null)" ; then + if -x "$(which phpdismod 2>/dev/null)" ; then + phpdismod ${module} + elif -x "$(which php5dismod 2>/dev/null)" ; then php5dismod ${module} elif -f "${inidir}/${inifile}" ; then rm -f "${inidir}/${inifile}"
View file
debian.tar.gz/php-kolabformat.triggers
Deleted
@@ -1,1 +0,0 @@ -activate /etc/php5/conf.d
View file
libkolabxml.dsc
Changed
@@ -2,7 +2,7 @@ Source: libkolabxml Binary: libkolabxml1v5, php-kolabformat, python-kolabformat, libkolabxml-dev Architecture: any -Version: 1.2~dev20160909-0~kolab1 +Version: 1.2~dev20160909-0~kolab4 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> Homepage: http://git.kolab.org/libkolabxml
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
.