Kolab/kolab-freebusy

Changeset

7:0f3291e2c747
2014-09-10 Paul Boddie raw files shortlog changelog graph Packaging for kolab-freebusy 1.0.5-0~kolab2 from upstream. default
debian/changelog (file) debian/conffiles (file) debian/control (file) debian/dirs (file) debian/links (file) debian/postinst (file) debian/preinst (file) debian/rules (file)
     1.1 --- a/debian/changelog	Sat Aug 16 16:45:37 2014 +0200
     1.2 +++ b/debian/changelog	Wed Sep 10 17:06:10 2014 +0200
     1.3 @@ -1,3 +1,15 @@
     1.4 +kolab-freebusy (1.0.5-0~kolab2) unstable; urgency=low
     1.5 + 
     1.6 +  * applied patch to fix usage of Net_LDAP3
     1.7 + 
     1.8 + -- Daniel Hoffend <dh@dotlan.net>  Wed, 20 Aug 2014 16:54:02 +0100
     1.9 +
    1.10 +kolab-freebusy (1.0.5-0~kolab1) unstable; urgency=low
    1.11 + 
    1.12 +  * Release 1.0.5
    1.13 + 
    1.14 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>  Thu, 14 Aug 2014 12:00:22 +0200
    1.15 +
    1.16  kolab-freebusy (1.0.4-0~kolab1) unstable; urgency=low
    1.17   
    1.18    * New upstream version enabling real-time Free/Busy data directly from IMAP through
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/debian/conffiles	Wed Sep 10 17:06:10 2014 +0200
     2.3 @@ -0,0 +1,1 @@
     2.4 +etc/kolab-freebusy/config.ini
     3.1 --- a/debian/control	Sat Aug 16 16:45:37 2014 +0200
     3.2 +++ b/debian/control	Wed Sep 10 17:06:10 2014 +0200
     3.3 @@ -11,7 +11,9 @@
     3.4  Package: kolab-freebusy
     3.5  Architecture: all
     3.6  Depends: ${misc:Depends},
     3.7 -        kolab-utils
     3.8 +        php-net-ldap3,
     3.9 +        roundcubemail,
    3.10 +        roundcubemail-plugins-kolab
    3.11  Description: Free/Busy for Kolab Groupware
    3.12   The Kolab Groupware Free/Busy web application offers simple
    3.13   and extended Free/Busy information for Kolab Groupware users,
     4.1 --- a/debian/dirs	Sat Aug 16 16:45:37 2014 +0200
     4.2 +++ b/debian/dirs	Wed Sep 10 17:06:10 2014 +0200
     4.3 @@ -1,3 +1,4 @@
     4.4  etc/kolab-freebusy
     4.5  usr/share/kolab-freebusy
     4.6 +var/cache/kolab-freebusy
     4.7  var/log/kolab-freebusy
     5.1 --- a/debian/links	Sat Aug 16 16:45:37 2014 +0200
     5.2 +++ b/debian/links	Wed Sep 10 17:06:10 2014 +0200
     5.3 @@ -1,2 +1,6 @@
     5.4 -etc/kolab-freebusy /usr/share/kolab-freebusy/config
     5.5 +etc/kolab-freebusy/config.ini /usr/share/kolab-freebusy/config/config.ini
     5.6 +etc/roundcubemail/config.inc.php /usr/share/kolab-freebusy/config/config.inc.php
     5.7 +etc/roundcubemail/defaults.inc.php /usr/share/kolab-freebusy/config/defaults.inc.php
     5.8 +usr/share/roundcubemail/plugins /usr/share/kolab-freebusy/lib/plugins
     5.9 +usr/share/roundcubemail/program/lib/Roundcube /usr/share/kolab-freebusy/lib/Roundcube
    5.10  var/log/kolab-freebusy /usr/share/kolab-freebusy/logs
     6.1 --- a/debian/postinst	Sat Aug 16 16:45:37 2014 +0200
     6.2 +++ b/debian/postinst	Wed Sep 10 17:06:10 2014 +0200
     6.3 @@ -7,8 +7,10 @@
     6.4  
     6.5  fixperms() {
     6.6      chown -R www-data:adm \
     6.7 +        /var/cache/kolab-freebusy \
     6.8          /var/log/kolab-freebusy
     6.9      chmod 750 \
    6.10 +        /var/cache/kolab-freebusy \
    6.11          /var/log/kolab-freebusy
    6.12  }
    6.13  
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/debian/preinst	Wed Sep 10 17:06:10 2014 +0200
     7.3 @@ -0,0 +1,18 @@
     7.4 +#!/bin/bash
     7.5 +
     7.6 +function relink_config() {
     7.7 +    if [ -d "/usr/share/kolab-freebusy/config" ]; then
     7.8 +        if [ -L "/usr/share/kolab-freebusy/config" ]; then
     7.9 +            rm -rf /usr/share/kolab-freebusy/config
    7.10 +            mkdir /usr/share/kolab-freebusy/config
    7.11 +            cd /usr/share/kolab-freebusy/config
    7.12 +            ln -sf /etc/kolab-freebusy/config.ini config.ini
    7.13 +        fi
    7.14 +    fi
    7.15 +}
    7.16 +
    7.17 +case "$1" in
    7.18 +    install|upgrade)
    7.19 +        relink_config
    7.20 +    ;;
    7.21 +esac
     8.1 --- a/debian/rules	Sat Aug 16 16:45:37 2014 +0200
     8.2 +++ b/debian/rules	Wed Sep 10 17:06:10 2014 +0200
     8.3 @@ -1,12 +1,5 @@
     8.4  #!/usr/bin/make -f
     8.5 -# -*- makefile -*-
     8.6 -# Sample debian/rules that uses debhelper.
     8.7 -# This file was originally written by Joey Hess and Craig Small.
     8.8 -# As a special exception, when this file is copied by dh-make into a
     8.9 -# dh-make output file, you may use that output file without restriction.
    8.10 -# This special exception was added by Craig Small in version 0.37 of dh-make.
    8.11  
    8.12 -# Uncomment this to turn on verbose mode.
    8.13  export DH_VERBOSE=1
    8.14  
    8.15  %:
    8.16 @@ -19,3 +12,9 @@
    8.17  	# Install apache2 configuration
    8.18  	mkdir -p $(CURDIR)/debian/kolab-freebusy/etc/apache2/sites-available
    8.19  	install -pm 644 $(CURDIR)/debian/apache2.conf $(CURDIR)/debian/kolab-freebusy/etc/apache2/sites-available/kolab-freebusy
    8.20 +
    8.21 +override_dh_link:
    8.22 +	# These become links
    8.23 +	rm -rf $(CURDIR)/debian/kolab-freebusy/usr/share/kolab-freebusy/lib/Roundcube
    8.24 +	rm -rf $(CURDIR)/debian/kolab-freebusy/usr/share/kolab-freebusy/lib/plugins
    8.25 +	dh_link