Projects
Kolab:3.4:Updates
chwala
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 37
View file
chwala.dsc
Changed
@@ -2,7 +2,7 @@ Source: chwala Binary: chwala Architecture: all -Version: 0.2-0~kolab9 +Version: 0.2-0~kolab10 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/
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +chwala (0.2-0~kolab10) unstable; urgency=low + + * renamed apache config from sitename to sitename.conf + + -- Daniel Hoffend <dh@dotlan.net> Sun, 14 Sep 2014 00:48:23 +0200 + chwala (0.2-0~kolab9) unstable; urgency=low * Disable chwala apache site when removed
View file
debian.rules
Changed
@@ -10,7 +10,7 @@ dh_install -XLICENSE -X.gitignore mkdir -p $(CURDIR)/debian/chwala/etc/apache2/sites-available - install -pm 644 $(CURDIR)/doc/chwala.conf $(CURDIR)/debian/chwala/etc/apache2/sites-available/chwala + install -pm 644 $(CURDIR)/doc/chwala.conf $(CURDIR)/debian/chwala/etc/apache2/sites-available/chwala.conf # prepare for symbolic links, throw away unneeded code (same as in .spec file) rm -rf $(CURDIR)/debian/chwala/usr/share/chwala/lib/ext/Auth
View file
debian.tar.gz/postinst
Changed
@@ -27,8 +27,8 @@ configure) fixperms a2enmod rewrite >/dev/null 2>&1 || true - if [ -e "/etc/apache2/sites-available/chwala" -a ! -e "/etc/apache2/sites-enabled/chwala" ]; then - a2ensite chwala + if [ -e "/etc/apache2/sites-available/chwala.conf" -a ! -e "/etc/apache2/sites-enabled/chwala.conf" ]; then + a2ensite chwala.conf fi reload_apache reload ;;
View file
debian.tar.gz/preinst
Changed
@@ -2,6 +2,16 @@ set -e +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 upgrade|install) # old version had problems with the apache conf created as directoy instead of file @@ -12,6 +22,16 @@ mv $DIR/chwala.conf /etc/apache2/sites-available/chwala rmdir $DIR fi + + # rename old apache/http sites rom sitename to sitename.conf + if [ -e /etc/apache2/sites-available/chwala -a ! -e /etc/apache2/sites-available/chwala.conf ]; then + if [ -h /etc/apache2/sites-enabled/chwala ]; then + a2dissite chwala + fi + mv /etc/apache2/sites-available/chwala /etc/apache2/sites-available/chwala.conf + a2ensite chwala.conf + reload_apache + fi ;; esac
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
.