# HG changeset patch # User Paul Boddie # Date 1393027890 -3600 # Node ID 0d42fffba009f1c7f808804e70f13a6f326d6fc7 Packaging for kolab-webadmin 3.1.3-0~kolab2 from upstream. diff -r 000000000000 -r 0d42fffba009 debian/README.Debian --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/README.Debian Sat Feb 22 01:11:30 2014 +0100 @@ -0,0 +1,43 @@ +== Setup web administration frontend == + +First, set up /etc/kolab/session_vars.php. On a new installation, with kolabd +bootstrapped the following commands should do it: + + sed -i -e "s@kolabserver.example.com@`grep '^fqdnhostname : ' \ + /etc/kolab/kolab.conf | gawk '{ print $3 }'`@" /etc/kolab/session_vars.php + sed -i -e "s@dc=example,dc=com@`grep '^base_dn : ' \ + /etc/kolab/kolab.conf | gawk '{ print $3 }'`@" /etc/kolab/session_vars.php + sed -i -e "s@PASSWORD@`grep '^php_pw : ' \ + /etc/kolab/kolab.conf | gawk '{ print $3 }'`@" /etc/kolab/session_vars.php + sed -i -e "s@cn=nobody,cn=internal,dc=example,dc=com@`grep '^php_dn : ' \ + /etc/kolab/kolab.conf | gawk '{ print $3 }'`@" /etc/kolab/session_vars.php + +Then, to activate the web site, in order of preference, + + (a) If you have kolabd installed, that package's (SSL-enabled) + Apache configuration includes + /etc/kolab/kolab-webadmin-apache.conf by default. + +- or - + + (b) Set up an SSL virtual host and include + /etc/kolab/kolab-webadmin-apache.conf there. + +- or - + + (c) Symlink /etc/kolab/kolab-webadmin-apache.conf to + /etc/apache2/conf.d/kolab-webadmin. (This is obviously insecure, + but good enough for testing.) + +Reload Apache afterwards in any case. + + /etc/init.d/apache2 reload + +== Configuration == + +* go to https://example.net/admin/ +** create an account +** create the mailing lists +** If you have an internet domain: +*** set smarthost/relayhost +*** [x] Accept Internet Mail diff -r 000000000000 -r 0d42fffba009 debian/README.source --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/README.source Sat Feb 22 01:11:30 2014 +0100 @@ -0,0 +1,8 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. Please see: + + /usr/share/doc/quilt/README.source + +for more information on how to apply the patches, modify patches, or +remove a patch. diff -r 000000000000 -r 0d42fffba009 debian/changelog --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/changelog Sat Feb 22 01:11:30 2014 +0100 @@ -0,0 +1,433 @@ +kolab-webadmin (3.1.3-0~kolab2) unstable; urgency=low + + * Fix #2596, which incidentally allowed the primary address to be + defined as a secondary address. + + -- Jeroen van Meeuwen (Kolab Systems) Wed, 27 Nov 2013 22:08:00 +0100 + +kolab-webadmin (3.1.3-0~kolab1) unstable; urgency=low + + * New upstream version + + -- Jeroen van Meeuwen (Kolab Systems) Sun, 24 Nov 2013 22:08:00 +0100 + +kolab-webadmin (3.1.2-0~kolab1) unstable; urgency=low + + * New upstream version + * Add enterprise considerations (logos, templates) + * Rebase initial sql file for object types + + -- Jeroen van Meeuwen (Kolab Systems) Fri, 15 Nov 2013 22:08:00 +0100 + +kolab-webadmin (3.1.1-0~kolab1.1) unstable; urgency=low + + * adding php5-mysql as dependency, fixing Bug 2467 + + -- Jan Kowalsky Mon, 11 Nov 2013 22:08:00 +0100 + +kolab-webadmin (3.1.1-0~kolab1) unstable; urgency=low + + * New upstream version + + -- Jeroen van Meeuwen (Kolab Systems) Thu, 24 Oct 2013 10:49:12 -0400 + +kolab-webadmin (3.1.0-3) unstable; urgency=low + + * Correct httpd 2.4 access control patch, which misplaced the AllowOverride All + + -- Jeroen van Meeuwen (Kolab Systems) Thu, 24 Oct 2013 09:49:12 -0400 + +kolab-webadmin (3.1.0-1) unstable; urgency=low + + * Version 3.1.0 + + -- Jeroen van Meeuwen (Kolab Systems) Fri, 13 Sep 2013 09:49:12 -0400 + +kolab-webadmin (3.1~dev20130712-1) unstable; urgency=low + + * Version 3.1 development snapshot for Kolab 3.1 + + -- Jeroen van Meeuwen (Kolab Systems) Sun, 08 Sep 2013 09:49:12 -0400 + +kolab-webadmin (3.0.5-1) unstable; urgency=low + + * Imported Upstream version 3.0.5 + + -- Paul Klos Mon, 10 Jun 2013 23:54:55 +0200 + +kolab-webadmin (3.0.4-3) unstable; urgency=low + + * Depend on php-net-ldap2 (solves #1568) + + -- Paul Klos Tue, 05 Mar 2013 21:31:43 +0100 + +kolab-webadmin (3.0.4-2) unstable; urgency=low + + * Patch release for bug #1598 + upstream commit 6d15474b6231b649d896475e354c469246559b4b + + -- Paul Klos Mon, 04 Feb 2013 17:45:07 +0100 + +kolab-webadmin (3.0.4-1) unstable; urgency=low + + * Imported Upstream version 3.0.4 + + -- Paul Klos Thu, 17 Jan 2013 19:53:01 +0100 + +kolab-webadmin (3.0.3-2) unstable; urgency=low + + * Patch release for bug #1465 + * Package upstream commits + - 4b665556b7dc6d41696f994db63a77052fba2bfd + - d0fe2c0baff32102717e63ac3175476506410e08 + + -- Paul Klos Mon, 17 Dec 2012 18:55:25 +0100 + +kolab-webadmin (3.0.3-1) unstable; urgency=low + + * Imported Upstream version 3.0.3 + + -- Paul Klos Mon, 10 Dec 2012 20:10:18 +0100 + +kolab-webadmin (3.0.2-5) unstable; urgency=low + + [ Paul Klos ] + * Depend on libapache2-mod-php5 + * Add myself to Uploaders + * Solve various Lintain errors/warnings + * Enable apache rewrite module and restart apache after installation + + [ Jeroen van Meeuwen ] + * Rebuild + + -- Paul Klos Sun, 28 Oct 2012 22:50:49 +0100 + +kolab-webadmin (3.0.2-3) unstable; urgency=low + + [ Jeroen van Meeuwen (Kolab Systems) ] + * Add kolab*.sql documentation, skip compression (#1075) + + [ Jeroen van Meeuwen ] + + -- Jeroen van Meeuwen (Kolab Systems) Fri, 05 Oct 2012 09:49:12 -0400 + +kolab-webadmin (3.0.2-2) unstable; urgency=low + + [ Jeroen van Meeuwen (Kolab Systems) ] + * Depend on mozldap-tools (#1086) + + [ Jeroen van Meeuwen ] + + -- Jeroen van Meeuwen (Kolab Systems) Fri, 05 Oct 2012 09:35:46 -0400 + +kolab-webadmin (3.0.2-1) unstable; urgency=low + + [ Jeroen van Meeuwen (Kolab Systems) ] + * Imported Upstream version 3.0.2 + * Add dependency on libmozldap-0d (#1065) + + [ Jeroen van Meeuwen ] + + -- Jeroen van Meeuwen (Kolab Systems) Tue, 02 Oct 2012 12:05:57 -0400 + +kolab-webadmin (3.0.1-1) unstable; urgency=low + + * New upstream version + + -- Jeroen van Meeuwen (Kolab Systems) Wed, 12 Sep 2012 10:56:46 +0100 + +kolab-webadmin (2.4.2-6) unstable; urgency=low + + [ Jeroen van Meeuwen (Kolab Systems) ] + * Include quilt.make + * Include quilt as a build dependency + * Update patch + + [ Jeroen van Meeuwen ] + + -- Jeroen van Meeuwen Mon, 04 Jun 2012 16:30:26 +0200 + +kolab-webadmin (2.4.2-5) unstable; urgency=low + + [ Jeroen van Meeuwen (Kolab Systems) ] + * Patch include path for Smarty + + [ Jeroen van Meeuwen ] + + -- Jeroen van Meeuwen Mon, 04 Jun 2012 16:22:12 +0200 + +kolab-webadmin (2.4.2-4) unstable; urgency=low + + [ Jeroen van Meeuwen (Kolab Systems) ] + * Also ship apache.conf + + [ Jeroen van Meeuwen ] + + -- Jeroen van Meeuwen Mon, 04 Jun 2012 15:56:45 +0200 + +kolab-webadmin (2.4.2-3) unstable; urgency=low + + [ Jeroen van Meeuwen (Kolab Systems) ] + * Fix postinst + + [ Jeroen van Meeuwen ] + + -- Jeroen van Meeuwen Mon, 04 Jun 2012 15:48:34 +0200 + +kolab-webadmin (2.4.2-2) unstable; urgency=low + + [ Jeroen van Meeuwen (Kolab Systems) ] + * Add two patches from upstream + * Cherry-pick some chunks from the hosted work + * Escape ' + * autoreconf before ./configure + * Also build-require automake and autoconf + * Fix up postinst + * Bump release + * Don't forget to remove the last traces of hosted work ;-) + * Update changelog + * Update gbp.conf + * Imported Upstream version 2.4.2 + * Import 2.4.2 + + [ Jeroen van Meeuwen ] + + -- Jeroen van Meeuwen Mon, 04 Jun 2012 15:39:25 +0200 + +kolab-webadmin (2.2.4-2+lenny) stable; urgency=low + + [ Jeroen van Meeuwen (Kolab Systems) ] + * Add two patches from upstream + * Cherry-pick some chunks from the hosted work + * Escape ' + * autoreconf before ./configure + * Also build-require automake and autoconf + * Fix up postinst + * Bump release + + [ Jeroen van Meeuwen ] + + -- Jeroen van Meeuwen Fri, 07 Jan 2011 18:15:24 +0100 + +kolab-webadmin (2.2.4-1) stable; urgency=low + + * New upstream version + + -- Jeroen van Meeuwen (Kolab Systems) Mon, 06 Sep 2010 11:58:27 +0200 + +kolab-webadmin (2.2.3-20091217-3) UNRELEASED; urgency=low + + * Updated Standards-Version to 3.8.4: no changes + + -- Mathieu Parent Thu, 28 Jan 2010 12:19:55 +0100 + +kolab-webadmin (2.2.3-20091217-2) unstable; urgency=low + + * Add ${misc:Depends} to debian/control + * new 80-issue4025.diff: kolab/issue4025 (Users can not change their + password (in 2.2.3)). See also + http://kolab.org/security/kolab-vendor-notice-27.txt + + -- Mathieu Parent Sat, 16 Jan 2010 15:30:16 +0100 + +kolab-webadmin (2.2.3-20091217-1) unstable; urgency=low + + * New upstream release (2.2.3-20091217) + * Updated patches + * Depends on php-mail (function checksmtprecipient) + + -- Mathieu Parent Mon, 04 Jan 2010 23:06:20 +0100 + +kolab-webadmin (2.2.2-20090514-2) unstable; urgency=low + + * Correct Vcs-{Browser,Svn} to point to trunk + * Updated Standards-Version to 3.8.3: no changes + * Merge README.Debian with the version on wiki.kolab.org: + "Debian - Administrators - Kolab Installation" + * Add README.source as required by policy 4.14 + * Change my email address, as I am now Debian developer + + -- Mathieu Parent Sat, 17 Oct 2009 19:46:11 +0200 + +kolab-webadmin (2.2.2-20090514-1) unstable; urgency=low + + * New upstream release (2.2.2-20090514) + * Fix "missing dependency for php-net-ldap" (Closes: #528716) + * Correct postinst config file location from + /etc/kolab-webadmin/session_vars.php to /etc/kolab/session_vars.php + (Closes: #528711) + + -- Mathieu Parent Sun, 17 May 2009 19:23:46 +0200 + +kolab-webadmin (2.2.1-20090331-1) unstable; urgency=low + + * Upload to unstable + * New upstream release (2.2.1-20090407) + * 10-dist_conf.diff: synced with kolabd + * debian/watch: + - Use main download server files.kolab.org + - No more mangle + * debian/uupdate-wrapper: Updated + * install session_vars.php in /etc/kolab to follow upstream: + - debian/rules: change installation path + - preserve user changes (preinst/postinst) + - 20-fix-require.diff: remove + - rmdir /etc/kolab-webadmin if empty + * update README.Debian + + -- Mathieu Parent Mon, 11 May 2009 19:09:27 +0200 + +kolab-webadmin (2.2.1-20090304-1) experimental; urgency=low + + * New beta release 2.2.1-beta-1 (2.2.1-20081212) + + removed 20-service_index.diff, integrated + * New rc release 2.2.1-rc-1 (2.2.1-20090304) + + renamed 10-fix-require.diff to 20-fix-require.diff + * updated debian/watch + * patches refreshed + * debian/copyright: refers to versionned license version + * debian/uupdate-wrapper: updated to keep upsteam version number + * 10-dist_conf.diff: synced with kolabd + * updated Standards-Version to 3.8.1: no changes + * debian/compat: switching to compatibility-version 7: + - build-depends on debhelper 7 + - replace 'dh_clean -k' by 'dh_prep' + + -- Mathieu Parent Fri, 27 Mar 2009 20:07:40 +0100 + +kolab-webadmin (2.2.0-20080709-1) unstable; urgency=low + + * New upstream version: 2.2.0 + * updated common/dist_conf.dpatch + - smarty has now the good path + - kolab-webadmin url is now /admin + - added spamassassin_confdir (not used) as requested by Sascha Wilde on + http://kolab.org/pipermail/kolab-devel/2008-June/009079.html + - removed: integrated upstream + * updated 10-fix-requires.dpatch + * 60-no_extra_doc partially dropped + * Bump Standards-Version to 3.8.0 (updated Vcs-Browser and Vcs-Svn fields) + * switch from dpatch to quilt + + -- Mathieu Parent Sun, 02 Nov 2008 13:06:31 +0200 + +kolab-webadmin (2.1.0-20070510-3) unstable; urgency=low + + * Internal Subversion repository reorganization to keep common patches in + common location, in particular patches/common/dist_conf.dpatch + * Moved /usr/share/kolab-webadmin/ to /usr/share/kolab/ for better + consistency with upstream + * Updated standards version + * Added Homepage control field + * Changed control fields XS-Vcs-* to Vcs-* + * Updated apache.conf; revised include paths (closes: #437862) + * Fixed watch file + + -- Peter Eisentraut Sat, 26 Apr 2008 12:18:58 +0200 + +kolab-webadmin (2.1.0-20070510-2) unstable; urgency=low + + * Added php5 as dependency alternative (closes: #424837) + * Don't ignore errors from make distclean, as per lintian check + + -- Peter Eisentraut Tue, 17 Jul 2007 10:46:34 +0200 + +kolab-webadmin (2.1.0-20070510-1) unstable; urgency=low + + * New upstream release + - Formerly missing .tpl files are now included + - Updated session_vars.php template from kolabd-2.1.0-20070510 + * Updated copyright file + * Cleaned up rules + * Fixed watch file + + -- Peter Eisentraut Mon, 18 Jun 2007 21:47:38 +0200 + +kolab-webadmin (0.4.0-20060810-5) unstable; urgency=low + + * Changed 40-kolab_prefix.dpatch to patch config.php.in instead of + config.php (closes: #424460) + * Added XS-X-Vcs-Browser field + + -- Peter Eisentraut Tue, 29 May 2007 14:18:23 +0200 + +kolab-webadmin (0.4.0-20060810-4) unstable; urgency=medium + + * Install the apache.conf file into the kolab directory to make sure + we can enable it by default if the package is installed + * Adjust the description in README.Debian to the new path of the + apache.conf file for kolab-webadmin + * Change my maintainer address + + -- Steffen Joeris Wed, 3 Jan 2007 13:02:25 +0100 + +kolab-webadmin (0.4.0-20060810-3) unstable; urgency=medium + + * Added DirectoryIndex index.php + * Turned off PHP's E_WARNING + * Small clarification in default session_vars.php + + -- Peter Eisentraut Sat, 4 Nov 2006 11:39:44 +0100 + +kolab-webadmin (0.4.0-20060810-2) unstable; urgency=medium + + * Restricted permissions on configuration files containing passwords + * Added XS-X-Vcs-Svn field + * Added Apache configuration file (closes: #376661) + * Put PHP include path into Apache configuration (closes: #392354); + obsoletes large parts of 10-fix-require.dpatch + * Put web templates under /var/cache, per FHS + * Remove templates directory on package removal + + -- Peter Eisentraut Fri, 27 Oct 2006 15:00:27 +0200 + +kolab-webadmin (0.4.0-20060810-1) unstable; urgency=low + + * New upstream release + * Improved package description + * Updated standards version + * Fixed Build-Depends vs. Build-Depends-Indep + * Removed unused autotools-dev dealings + * Added watch file + * Changed priority to extra for policy conformance + + -- Peter Eisentraut Fri, 15 Sep 2006 15:26:36 +0200 + +kolab-webadmin (0.4.0-5) unstable; urgency=low + + * Look for res_pub.pem in correct directory (closes: #361000) + * Use /usr/share/dpatch/dpatch-run in dpatches + + -- Peter Eisentraut Fri, 7 Apr 2006 18:51:22 +0200 + +kolab-webadmin (0.4.0-4) unstable; urgency=low + + [ Steffen Joeris ] + + * added php-net-sieve to depends to make sure all features are + available (Closes: #357514) + + -- Steffen Joeris Fri, 17 Mar 2006 23:29:20 +0100 + +kolab-webadmin (0.4.0-3) experimental; urgency=low + + * add missing .tpl files + * add 30-admin_distributionlist_list.patch + + -- Noèl Köthe Thu, 16 Mar 2006 13:44:47 +0100 + +kolab-webadmin (0.4.0-2) experimental; urgency=low + + * correct debian/copyright information + (missing php/admin/include/Sieve.php copyright) + + -- Steffen Joeris Mon, 20 Feb 2006 10:16:41 +0100 + +kolab-webadmin (0.4.0-1) experimental; urgency=low + + * Initial release + part of the Kolab Groupware. See ITP #180634 or Kolab on alioth + https://alioth.debian.org/projects/pkg-kolab/ + + -- Steffen Joeris Mon, 13 Feb 2006 15:36:36 +0100 + diff -r 000000000000 -r 0d42fffba009 debian/compat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/compat Sat Feb 22 01:11:30 2014 +0100 @@ -0,0 +1,1 @@ +8 diff -r 000000000000 -r 0d42fffba009 debian/control --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/control Sat Feb 22 01:11:30 2014 +0100 @@ -0,0 +1,33 @@ +Source: kolab-webadmin +Section: admin +Priority: extra +Maintainer: Jeroen van Meeuwen (Kolab Systems) +Uploaders: Paul Klos +Build-Depends: debhelper (>= 8) +Standards-Version: 3.9.3 +Homepage: http://www.kolab.org/ +Vcs-Browser: http://git.kolabsys.com/apt/kolab-webadmin/ +Vcs-Git: git://git.kolabsys.com/git/apt/kolab-webadmin + +Package: kolab-webadmin +Architecture: all +Depends: apache2, + php5, + smarty3 (>= 3.1.7), + php-net-ldap2, + libmozldap-0d, + mozldap-tools, + libapache2-mod-php5, + php5-mysql, + ${misc:Depends} +Description: Kolab administration web interface + This package contains the web GUI for the administration of the Kolab + groupware server. + . + Kolab is a secure, scalable, and reliable groupware server. It consists + of a number of well-known and proven components for the standard tasks + such as e-mail, directory service, and web service. Kolab adds + intelligent interaction between the components, a web administration + interface, management of free/busy lists, etc. Various clients can + access Kolab, among them Kontact (KDE), Outlook (Windows), and Horde + (web). diff -r 000000000000 -r 0d42fffba009 debian/copyright --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/copyright Sat Feb 22 01:11:30 2014 +0100 @@ -0,0 +1,60 @@ +This package was debianized by: + + Steffen Joeris on Mon, 19 Dec 2005 14:45:55 +0100 + +It was downloaded from: + + + +Copyright holders: + + Copyright (c) 2004-2006 Klarälvdalens Datakonsult AB + Copyright (c) 2003-2006 Martin Konold + Copyright (c) 2003 Tassilo Erlewein + +License: + + This package 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 2 of the License, or + (at your option) any later version. + +On Debian systems, the complete text of the GNU General Public License +version 2 can be found in `/usr/share/common-licenses/GPL-2'. + + +The following applies to the file php/admin/include/Sieve.php: + +// +-----------------------------------------------------------------------+ +// | Copyright (c) 2002-2003, Richard Heyes | +// | All rights reserved. | +// | | +// | Redistribution and use in source and binary forms, with or without | +// | modification, are permitted provided that the following conditions | +// | are met: | +// | | +// | o Redistributions of source code must retain the above copyright | +// | notice, this list of conditions and the following disclaimer. | +// | o Redistributions in binary form must reproduce the above copyright | +// | notice, this list of conditions and the following disclaimer in the | +// | documentation and/or other materials provided with the distribution.| +// | o The names of the authors may not be used to endorse or promote | +// | products derived from this software without specific prior written | +// | permission. | +// | | +// | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | +// | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | +// | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | +// | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | +// | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | +// | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | +// | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | +// | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | +// | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | +// | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | +// | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | +// | | +// +-----------------------------------------------------------------------+ +// | Author: Richard Heyes | +// | Co-Author: Damian Fernandez Sosa | +// +-----------------------------------------------------------------------+ diff -r 000000000000 -r 0d42fffba009 debian/dirs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dirs Sat Feb 22 01:11:30 2014 +0100 @@ -0,0 +1,3 @@ +etc/kolab-webadmin +var/cache/kolab-webadmin +var/log/kolab-webadmin diff -r 000000000000 -r 0d42fffba009 debian/docs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/docs Sat Feb 22 01:11:30 2014 +0100 @@ -0,0 +1,2 @@ +doc/*.sql +doc/*.php diff -r 000000000000 -r 0d42fffba009 debian/install --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/install Sat Feb 22 01:11:30 2014 +0100 @@ -0,0 +1,5 @@ +doc/hosted-kolab.conf etc/kolab-webadmin/ +doc/kolab-webadmin.conf etc/kolab-webadmin/ +lib usr/share/kolab-webadmin/ +public_html usr/share/kolab-webadmin/ +hosted usr/share/kolab-webadmin/ diff -r 000000000000 -r 0d42fffba009 debian/links --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/links Sat Feb 22 01:11:30 2014 +0100 @@ -0,0 +1,3 @@ +etc/kolab-webadmin/apache.conf etc/apache2/sites-available/kolab-webadmin +var/cache/kolab-webadmin usr/share/kolab-webadmin/cache +var/log/kolab-webadmin usr/share/kolab-webadmin/logs diff -r 000000000000 -r 0d42fffba009 debian/postinst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/postinst Sat Feb 22 01:11:30 2014 +0100 @@ -0,0 +1,38 @@ +#!/bin/sh + +set -e + +#EXTRA# +#DEBHELPER# + +fixperms() { + chown -R www-data:www-data \ + /var/cache/kolab-webadmin \ + /var/log/kolab-webadmin + chmod 750 \ + /var/cache/kolab-webadmin \ + /var/log/kolab-webadmin +} + +reload_apache() +{ + if apache2ctl configtest 2>/dev/null; then + invoke-rc.d apache2 $1 || true + else + echo "Your apache2 configuration is broken, so we're not restarting it for you." + fi +} + + +case "$1" in + configure) + fixperms + a2enmod rewrite > /dev/null || true + if [ -e "/etc/apache2/sites-available/kolab-webadmin" -a ! -e "/etc/apache2/sites-enabled/kolab-webadmin" ]; then + a2ensite kolab-webadmin > /dev/null || true + fi + reload_apache reload + ;; +esac + +exit 0 diff -r 000000000000 -r 0d42fffba009 debian/rules --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/rules Sat Feb 22 01:11:30 2014 +0100 @@ -0,0 +1,19 @@ +#!/usr/bin/make -f + +export DH_OPTIONS=-v +export DH_VERBOSE=1 + +%: + dh $@ + +override_dh_install: + dh_install + find debian/kolab-webadmin/usr/share/kolab-webadmin/ -type f -name "*.enterprise" -exec rm -v {} \; + # Rename the Apache conf file + mv debian/kolab-webadmin/etc/kolab-webadmin/kolab-webadmin.conf debian/kolab-webadmin/etc/kolab-webadmin/apache.conf + # Some PHP files seem to be executable + find debian/kolab-webadmin/usr/share/kolab-webadmin/lib -type f -name "*php" -perm +1 -print0 | xargs -r0 chmod -x + +override_dh_compress: + dh_compress -X.sql + diff -r 000000000000 -r 0d42fffba009 debian/svn-deblayout --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/svn-deblayout Sat Feb 22 01:11:30 2014 +0100 @@ -0,0 +1,2 @@ +origDir=../upstream +buildArea=../build-area diff -r 000000000000 -r 0d42fffba009 debian/watch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/watch Sat Feb 22 01:11:30 2014 +0100 @@ -0,0 +1,4 @@ +version=3 +http://mirror.kolabsys.com/pub/releases/kolab-webadmin-(.+)\.tar\.gz +#http://git.kolab.org/kolab-wap/ \ +# /snapshot/kolab-wap-([0-9\.]+)\.tar\.gz