Projects
Kolab:Winterfell
chwala
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 12
View file
chwala.spec
Changed
@@ -23,10 +23,16 @@ %global httpd_name apache2 %global httpd_user wwwrun %else +%if 0%{?plesk} +%global httpd_group roundcube_sysgroup +%global httpd_name httpd +%global httpd_user roundcube_sysuser +%else %global httpd_group apache %global httpd_name httpd %global httpd_user apache %endif +%endif %global _ap_sysconfdir %{_sysconfdir}/%{httpd_name} @@ -47,8 +53,14 @@ Requires: php-pear(HTTP_Request2) Requires: php-Smarty >= 3.1.7 + +Requires(post): roundcubemail(core) + +%if 0%{?plesk} < 1 Requires: roundcubemail Requires: roundcubemail-plugins-kolab +%endif + %if 0%{?suse_version} Requires: http_daemon %else @@ -75,13 +87,17 @@ %install mkdir -p \ +%if 0%{?plesk} < 1 %{buildroot}/%{_ap_sysconfdir}/conf.d \ +%endif %{buildroot}/%{_datadir}/%{name} \ %{buildroot}/%{_localstatedir}/cache/%{name} \ %{buildroot}/%{_localstatedir}/lib/%{name} \ %{buildroot}/%{_localstatedir}/log/%{name} +%if 0%{?plesk} < 1 install -pm 644 doc/chwala.conf %{buildroot}/%{_ap_sysconfdir}/conf.d/chwala.conf +%endif mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d cp -pr %SOURCE2 %{buildroot}%{_sysconfdir}/logrotate.d/chwala @@ -103,7 +119,9 @@ pushd lib/drivers/kolab/plugins rm -rf kolab_auth kolab_folders libkolab +%if 0%{?plesk} < 1 ln -s ../../../../../roundcubemail/plugins/kolab_auth kolab_auth +%endif ln -s ../../../../../roundcubemail/plugins/kolab_folders kolab_folders ln -s ../../../../../roundcubemail/plugins/libkolab libkolab popd @@ -133,7 +151,9 @@ %files %doc README.md LICENSE doc/SQL/ +%if 0%{?plesk} < 1 %{_ap_sysconfdir}/conf.d/%{name}.conf +%endif %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %{_datadir}/%{name} %attr(0750,%{httpd_user},%{httpd_group}) %{_localstatedir}/cache/%{name} @@ -156,9 +176,6 @@ * Sun Jan 11 2015 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 0.3.0-1 - Release of version 0.3.0 -* Thu Feb 25 2014 Daniel Hoffend <dh@dotlan.net> - 0.2-4 -- applied fix for recent libkolab changes - * Thu Jan 23 2014 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 0.2-3 - Correct any suhosin.session.encrypt setting using .htaccess - Correct source of chwala.conf
View file
chwala.dsc
Changed
@@ -2,14 +2,14 @@ Source: chwala Binary: chwala Architecture: all -Version: 0.5~dev20161115-0~kolab3 +Version: 0.5~dev20161115-0~kolab3.1 Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Uploaders: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>, Paul Klos <kolab@klos2day.nl> Homepage: http://kolab.org/about/chwala/ Standards-Version: 3.9.3 Build-Depends: debhelper (>= 8) -Package-List: +Package-List: roundcubemail deb web extra -Files: +Files: 00000000000000000000000000000000 0 chwala-0.5.tar.gz 00000000000000000000000000000000 0 debian.tar.gz
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +chwala (0.5~dev20161115-0~kolab3.1) unsable; urgency=low + + * Enhance packaging + + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabys.com> Tue, 7 Feb 2017 12:12:12 +0100 + chwala (0.5~dev20161115-0~kolab3) unstable; urgency=low * Added dependency to php-sabre-dav-2.1 needed by webdav driver
View file
debian.control
Changed
@@ -12,8 +12,8 @@ Depends: php-http-request2, smarty3 (>= 3.1.7), - roundcubemail, - roundcubemail-plugins-kolab, + roundcubemail-core, + roundcubemail-plugin-libkolab, php-sabre-dav-2.1 (>= 2.1), ${misc:Depends} Description: Glorified WebDAV, done right
View file
debian.tar.gz/postinst
Changed
@@ -3,7 +3,9 @@ set -e fixperms() { - chown -R www-data:adm \ + group=$(getent group roundcube_sysgroup >/dev/null 2>&1 && echo "roundcube_sysgroup" || echo "adm") + user=$(getent passwd roundcube_sysuser >/dev/null 2>&1 && echo "roundcube_sysuser" || echo "www-data") + chown -R ${user}:${group} \ /var/cache/chwala \ /var/lib/chwala \ /var/log/chwala @@ -22,11 +24,24 @@ fi } +update_database() { + /usr/share/roundcubemail/bin/updatedb.sh \ + --dir /usr/share/doc/chwala/SQL/ \ + --package chwala \ + >/dev/null 2>&1 || : +} + case "$1" in configure) fixperms + update_database a2enmod rewrite >/dev/null 2>&1 || true + + if [ -f "/etc/plesk-release" ]; then + exit 0 + fi + if [ -e "/etc/apache2/sites-available/chwala.conf" -a ! -e "/etc/apache2/sites-enabled/chwala.conf" ]; then a2ensite chwala.conf fi
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
.