starting this release, only named.conf.options will be replaced (as we
need to modify the options {} block and can't just add another one). We
still install a named.conf, a fresh version from Lenny this time, so
that we get a clean start.
Also get rid of the bind_internal parameter that is not really used or
recommended, as it allows for authoritative nameservers to also serve
recursive queries (which is bad practice).
See: #1025Closes: #1104
See: #318.
As of now, the MySQL configuration used everywhere by AlternC is not
stored in the main configuration file (/etc/alternc/local.sh) but in a
MySQL configuration file in /etc/alternc/my.cnf, which enables us to
call mysql without exposing the password on the commandline.
The changes here are quite invasive but will allow us to factor out
the MySQL configuration better. See #364.
This includes a partial rewrite of the mysql.sh logic, which is now ran
from the postinst script (and not alternc.install) which will allow us
to actually change the MySQL root user properly. See #601.
This commit was tested like this:
* clean install on etch (working)
* upgrade from a clean 0.9.7 (working)
AlternC isn't ready to be install in an apache2 only environnement
- proftd depend on apache-ssl
- the link are built by the deb package and if /etc/apache(-ssl)/conf.d didn't exist the installation failed ...
This chek is althought apache 1.3 dependent.
Modify the check before enabling the modules for apache2. Now it show be possible to perform an aptitude install apache2 php5 alternc ...
I hope :)
revert to manual configuration of modules.conf since apache-modconf doesn't really work
move apache-ssl to recommends since it has no equivalent in the apache2 world
Most parameters different from the factory default are now set for the
whole /var/alternc, apart from those very notable exceptions, which
are not set by Alternc anymore:
* precision = 12 ; The number of significant digits displayed in floating point numbers.
* y2k_compliance = On ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
* safe_mode_allowed_env_vars = PHP_,LANG,LC_
* highlight.*
* max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
* log_errors_max_len = 1024 ; Do not log repeated messages. Repeated errors must occur in same file on same
* ignore_repeated_errors = Off ; line until ignore_repeated_source is set true. * ignore_repeated_source = Off
* report_memleaks = On
* warn_plus_overloading = Off
* register_globals = On ; enfin!
* default_charset = "iso-8859-1" (see #381)
* upload_max_filesize = 5M ; left to admin's discretion
* default_socket_timeout = 60
* mysql.*
* pgsql.*
* sybase.*
* dbx.*
* session.*
* mssql.*
* extension=mysql.so ; we assume the php-mysql packages does this properly
The cgi/ subdir was never really changed, afaict.