Package: amavis-stats
Version: 0.1.12-5
Severity: wishlist
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
this little patch let amavis-state configure apache2. I've testet it on an other
box. A new line is added to /etc/apache2/httpd.conf and removed on purge.
by, Martin
- -- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.29
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages amavis-stats depends on:
ii adduser 3.59 Add and remove users and groups
ii debconf [debconf-2.0] 1.4.30.11 Debian configuration management sy
ii librrds-perl 1.0.49-1 Time-series data storage and displ
ii rrdtool 1.0.49-1 Time-series data storage and displ
ii wwwconfig-common 0.0.42 Debian web auto configuration
- -- debconf information:
* amavis-stats/stay_on_purge: false
amavis-stats/config_apache: Apache
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCG1uwGxxhbGlQyAkRAnjqAKCCQqyzsv/f0pQba6Ql5v7B6mrG1wCgpvRL
/E6S/i2VF/5/EIV/EyveEBU=
=JvrS
-----END PGP SIGNATURE-----
diff -ur amavis-stats-0.1.12/debian/postinst
amavis-stats-0.1.12-new/debian/postinst
--- amavis-stats-0.1.12/debian/postinst 2005-02-22 17:09:36.000000000 +0100
+++ amavis-stats-0.1.12-new/debian/postinst 2005-02-22 17:12:58.000000000
+0100
@@ -45,6 +45,7 @@
case "$webserver" in
Apache) webservers="apache";;
Apache-SSL) webservers="apache-ssl";;
+ Apache2) webservers="apache2";;
Both) webservers="apache apache-ssl";;
*) webservers="";;
esac
diff -ur amavis-stats-0.1.12/debian/postrm amavis-stats-0.1.12-new/debian/postrm
--- amavis-stats-0.1.12/debian/postrm 2005-02-22 17:09:36.000000000 +0100
+++ amavis-stats-0.1.12-new/debian/postrm 2005-02-22 17:13:28.000000000
+0100
@@ -46,6 +46,7 @@
case "$webserver" in
Apache) webservers="apache";;
Apache-SSL) webservers="apache-ssl";;
+ Apache2) webservers="apache2";;
Both) webservers="apache apache-ssl";;
*) webservers="";;
esac
diff -ur amavis-stats-0.1.12/debian/templates
amavis-stats-0.1.12-new/debian/templates
--- amavis-stats-0.1.12/debian/templates 2005-02-22 17:09:36.000000000
+0100
+++ amavis-stats-0.1.12-new/debian/templates 2005-02-22 17:12:21.000000000
+0100
@@ -1,6 +1,6 @@
Template: amavis-stats/config_apache
Type: select
-_Choices: Apache, Apache-SSL, Both, None
+_Choices: Apache, Apache-SSL, Apache2, Both, None
_Description: Web server to reconfigure:
Amavis-stats supports any web server that php3/php4 does, but this
automatic configuration process only supports Apache and Apache-SSL.