Add apache configuration files

This commit is contained in:
Benjamin Dauvergne 2010-05-25 15:26:23 +02:00
parent e72bf63a48
commit 007e6e69ac
10 changed files with 24 additions and 49 deletions

7
debian/apache2-ifef.conf vendored Normal file
View File

@ -0,0 +1,7 @@
DocumentRoot /usr/share/authentic/web/
SCGIMount / 127.0.0.1:4001
<LocationMatch "^/(css|images|js|qo)/.*">
SCGIHandler off
</LocationMatch>
Alias /qo/ /usr/share/authentic/web/qommon/

View File

@ -1,13 +1 @@
dh_installdirs
dh_installdocs
dh_installchangelogs
dh_installinit
dh_link
dh_strip
dh_compress
dh_fixperms
dh_pysupport
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb

View File

@ -1,15 +0,0 @@
# Automatically added by dh_installinit
if [ -x "/etc/init.d/authentic-ifef" ]; then
update-rc.d authentic-ifef defaults >/dev/null
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d authentic-ifef start || exit $?
else
/etc/init.d/authentic-ifef start || exit $?
fi
fi
# End automatically added section
# Automatically added by dh_pysupport
if which update-python-modules >/dev/null 2>&1; then
update-python-modules authentic-ifef
fi
# End automatically added section

View File

@ -1,5 +0,0 @@
# Automatically added by dh_installinit
if [ "$1" = "purge" ] ; then
update-rc.d authentic-ifef remove >/dev/null || exit $?
fi
# End automatically added section

View File

@ -1,14 +0,0 @@
# Automatically added by dh_installinit
if [ -x "/etc/init.d/authentic-ifef" ]; then
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d authentic-ifef stop || exit $?
else
/etc/init.d/authentic-ifef stop || exit $?
fi
fi
# End automatically added section
# Automatically added by dh_pysupport
if which update-python-modules >/dev/null 2>&1; then
update-python-modules -c authentic-ifef
fi
# End automatically added section

View File

@ -1,2 +0,0 @@
python:Versions=2.5
python:Depends=python (<< 2.6), python (>= 2.5), python-support (>= 0.7.1)

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
authentic-ifef (1.0.6) karmic; urgency=low
* Include apache configuration files
-- Benjamin Dauvergne <bdauvergne@entrouvert.com> Tue, 25 May 2010 15:25:53 +0200
authentic-ifef (1.0.5) stable; urgency=low
* Change theme name

2
debian/dirs vendored
View File

@ -1 +1,3 @@
etc/ldap/schema/
etc/apache2/sites-available/
usr/share/authentic

4
debian/rules vendored
View File

@ -31,7 +31,9 @@ install: build
$(PYTHON) setup.py install --prefix=$(CURDIR)/debian/authentic-ifef/usr --no-compile
cd po && make install prefix=$(CURDIR)/debian/authentic-ifef/
# cp ldap/ifef.schema $(CURDIR)/debian/authentic-ifef/etc/ldap/schema/
cp ldap/ifef.schema $(CURDIR)/debian/authentic-ifef/etc/ldap/schema/
cp debian/apache2-ifef.conf $(CURDIR)/debian/authentic-ifef/usr/share/authentic/
cp debian/vhost-apache-authentic-ifef $(CURDIR)/debian/authentic-ifef/etc/apache2/sites-available/authentic-ifef
# Build architecture-independent files here.

6
debian/vhost-apache-authentic-ifef vendored Normal file
View File

@ -0,0 +1,6 @@
<VirtualHost *:80>
ServerName authentic.example.com
include /usr/share/authentic/apache2.conf
CustomLog /var/log/apache2/authentic-access.log combined
ErrorLog /var/log/apache2/authentic-error.log
</VirtualHost>