3bcb5159f9 
								
							 
						 
						
							
							
								
								stop overwriting named.conf  
							
							... 
							
							
							
							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: #1025 
Closes : #1104  
							
						 
						
							2008-10-06 23:58:04 +00:00  
				
					
						
							
							
								 
						
							
								e6c66c2d8a 
								
							 
						 
						
							
							
								
								remove 2GB quota limitation  
							
							... 
							
							
							
							Closes : #1129  
						
							2008-10-06 23:27:17 +00:00  
				
					
						
							
							
								 
						
							
								9a79f43537 
								
							 
						 
						
							
							
								
								fix parameter expansion in postconf  
							
							... 
							
							
							
							See: #1029  
							
						 
						
							2008-10-06 22:48:58 +00:00  
				
					
						
							
							
								 
						
							
								ca6dfe5d83 
								
							 
						 
						
							
							
								
								don't warn on main.cf configuration changes  
							
							
							
						 
						
							2008-10-06 22:21:37 +00:00  
				
					
						
							
							
								 
						
							
								704bc022ec 
								
							 
						 
						
							
							
								
								explicitely backup main.cf configuration even though we don't replace  
							
							... 
							
							
							
							it totally
See: #1029  
							
						 
						
							2008-10-06 22:20:48 +00:00  
				
					
						
							
							
								 
						
							
								77ddb5002f 
								
							 
						 
						
							
							
								
								do not override Postfix's main.cf: instead, we use a /etc/alternc/postfix.cf to hold our configuration changes and apply that on postinst.  
							
							... 
							
							
							
							Closes : #1029  
						
							2008-10-06 22:12:41 +00:00  
				
					
						
							
							
								 
						
							
								cdb3a1e281 
								
							 
						 
						
							
							
								
								remove alternc/mynetwork debconf parameter, stop overriding it in  
							
							... 
							
							
							
							postfix
also split the config prompts between slave and non-slave package
See: #1029  
							
						 
						
							2008-10-06 21:13:11 +00:00  
				
					
						
							
							
								 
						
							
								66da56d2df 
								
							 
						 
						
							
							
								
								always run tar in C locale so that grep works properly  
							
							
							
						 
						
							2008-10-04 18:54:03 +00:00  
				
					
						
							
							
								 
						
							
								0de778c41c 
								
							 
						 
						
							
							
								
								move basedirprot call to postinst also  
							
							
							
						 
						
							2008-10-04 16:50:14 +00:00  
				
					
						
							
							
								 
						
							
								270c7a6e37 
								
							 
						 
						
							
							
								
								move /var/alternc-specific commands from alternc.install to postinst  
							
							
							
						 
						
							2008-10-04 16:48:30 +00:00  
				
					
						
							
							
								 
						
							
								8f43b19340 
								
							 
						 
						
							
							
								
								security precaution: leave the my.cnf readable only to the webserver. we're protected by the openbasedir  
							
							
							
						 
						
							2008-07-10 21:37:29 +00:00  
				
					
						
							
							
								 
						
							
								cf484070de 
								
							 
						 
						
							
							
								
								remove a bashism: don't use the function keyword to declare functions,  
							
							... 
							
							
							
							it's not POSIX.
Note that there might be some other bashisms around, but this is the
only one I am aware of now, so...
Closes : #1122  
							
						 
						
							2008-04-24 15:35:33 +00:00  
				
					
						
							
							
								 
						
							
								30057bba56 
								
							 
						 
						
							
							
								
								add a [mysql] block to our my.cnf that contains the database= settings  
							
							... 
							
							
							
							so that mysqldump and other utilities using this file don't get a
warning.
Note that we do not convert existing configuration so that
milestone:0.9.8 installs will have to be manually patched to remove
the warning on mysqldump.
See #1127  and ["Errata_0.9.8"]. 
							
						 
						
							2008-04-24 15:24:41 +00:00  
				
					
						
							
							
								 
						
							
								115fe16dbf 
								
							 
						 
						
							
							
								
								use the proper variable for database user replacement.  Closes :  #1124  
							
							
							
						 
						
							2008-04-17 23:04:26 +00:00  
				
					
						
							
							
								 
						
							
								c92074b1e6 
								
							 
						 
						
							
							
								
								document that mysql.sh needs MYSQL_CLIENT  
							
							
							
						 
						
							2008-04-15 15:07:14 +00:00  
				
					
						
							
							
								 
						
							
								7cfa0db5ed 
								
							 
						 
						
							
							
								
								fix mysql.cnf regexp for a last time, i hope  
							
							
							
						 
						
							2008-04-14 03:22:10 +00:00  
				
					
						
							
							
								 
						
							
								becf621bb4 
								
							 
						 
						
							
							
								
								fix quoting again  
							
							
							
						 
						
							2008-04-14 03:14:25 +00:00  
				
					
						
							
							
								 
						
							
								21f2254a00 
								
							 
						 
						
							
							
								
								be more verbose in template expansion  
							
							
							
						 
						
							2008-04-14 03:10:58 +00:00  
				
					
						
							
							
								 
						
							
								6bedb59def 
								
							 
						 
						
							
							
								
								last minute fix: fix template instantiation for mysql passwords  
							
							
							
						 
						
							2008-04-14 03:01:13 +00:00  
				
					
						
							
							
								 
						
							
								d5a4c72e4a 
								
							 
						 
						
							
							
								
								Major redesign of the MySQL backend interface to fix a security issue.  
							
							... 
							
							
							
							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) 
							
						 
						
							2008-04-13 04:35:19 +00:00  
				
					
						
							
							
								 
						
							
								73b7746f58 
								
							 
						 
						
							
							
								
								add missing configuration that wasn't ran properly when installing, since initrep.sh was removed from the installation at some point. remove initrep.sh altogether since it's not required anymore.  Closes :  #1109 .  
							
							
							
						 
						
							2008-04-10 19:30:59 +00:00  
				
					
						
							
							
								 
						
							
								21935b9c57 
								
							 
						 
						
							
							
								
								attempt to fix bug  #1109  by explicitely creating the sasl directory  
							
							
							
						 
						
							2008-04-10 18:52:23 +00:00  
				
					
						
							
							
								 
						
							
								e8caebb01f 
								
							 
						 
						
							
							
								
								add trivial code to display an RSS feed on the home page of users, feed can be changed in the variables panel  
							
							
							
						 
						
							2008-02-01 23:03:53 +00:00  
				
					
						
							
							
								 
						
							
								62cd8a201b 
								
							 
						 
						
							
							
								
								fix typo  
							
							
							
						 
						
							2007-12-12 22:16:17 +00:00  
				
					
						
							
							
								 
						
							
								a035c95f98 
								
							 
						 
						
							
							
								
								reverting part of [1994]: keep on calling apache restart properly  
							
							
							
						 
						
							2007-10-05 15:46:24 +00:00  
				
					
						
							
							
								 
						
							
								75e2f1cba1 
								
							 
						 
						
							
							
								
								Another fix to allow alternc to consider the php5 in an apache2 environnement  
							
							... 
							
							
							
							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 ... 
							
						 
						
							2007-10-05 14:46:40 +00:00  
				
					
						
							
							
								 
						
							
								03038d18dd 
								
							 
						 
						
							
							
								
								Suppress an  usueless restart of apache in dopo.sh  
							
							... 
							
							
							
							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 :) 
							
						 
						
							2007-10-05 14:31:05 +00:00  
				
					
						
							
							
								 
						
							
								4381c97bdb 
								
							 
						 
						
							
							
								
								use dpkg-statoverride instead of hardcoding config, because it will be replaced on saslauthd restarts. See:  #1069 .  Closes :  #684  
							
							
							
						 
						
							2007-10-02 17:37:47 +00:00  
				
					
						
							
							
								 
						
							
								217662a8a1 
								
							 
						 
						
							
							
								
								fix ownership of saslauthd directory.  Closes :  #1069  
							
							
							
						 
						
							2007-10-02 17:34:09 +00:00  
				
					
						
							
							
								 
						
							
								251cb7db6d 
								
							 
						 
						
							
							
								
								restart with stop/start instead of restart (...) apache AND apache2 (test)  
							
							
							
						 
						
							2007-09-27 08:29:11 +00:00  
				
					
						
							
							
								 
						
							
								df3b3b0769 
								
							 
						 
						
							
							
								
								ensure that php variable is correctly expanded  
							
							
							
						 
						
							2007-09-27 08:18:50 +00:00  
				
					
						
							
							
								 
						
							
								6d36e8722f 
								
							 
						 
						
							
							
								
								fix php call.  Closes :  #1064  
							
							
							
						 
						
							2007-09-11 21:55:55 +00:00  
				
					
						
							
							
								 
						
							
								4be66099c0 
								
							 
						 
						
							
							
								
								try to rely on the actual .so presence instead of the package for libapache-mod-php*  
							
							
							
						 
						
							2007-09-09 20:48:42 +00:00  
				
					
						
							
							
								 
						
							
								06fe7d5e98 
								
							 
						 
						
							
							
								
								remove useless test -x for init.d services, invoke-rc.d takes care of that  
							
							
							
						 
						
							2007-09-09 20:32:16 +00:00  
				
					
						
							
							
								 
						
							
								233397e37a 
								
							 
						 
						
							
							
								
								try to reload apache2 too, install symlinks for apache2 if available  
							
							
							
						 
						
							2007-09-09 20:31:35 +00:00  
				
					
						
							
							
								 
						
							
								1908e3bf27 
								
							 
						 
						
							
							
								
								fix stupid typo in regexp  
							
							... 
							
							
							
							See: #1062  
							
						 
						
							2007-09-09 19:37:08 +00:00  
				
					
						
							
							
								 
						
							
								d6cbfcb1ce 
								
							 
						 
						
							
							
								
								first attempt at making alternc apache2-compatible  
							
							... 
							
							
							
							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 
							
						 
						
							2007-09-09 19:17:45 +00:00  
				
					
						
							
							
								 
						
							
								a563a4fdc4 
								
							 
						 
						
							
							
								
								add missing functions include  
							
							
							
						 
						
							2007-09-09 18:56:31 +00:00  
				
					
						
							
							
								 
						
							
								dc8c4de66b 
								
							 
						 
						
							
							
								
								re-establish apache-modconf as means of enabling vhost_alias and php modules, don't talk to ucf  
							
							... 
							
							
							
							Closes : #1062  
						
							2007-09-07 19:38:02 +00:00  
				
					
						
							
							
								 
						
							
								556cf1c5bb 
								
							 
						 
						
							
							
								
								instead of assuming that SHOW TABLES; gives us GRANT privileges, simply try to GRANT with our multiple techniques  
							
							... 
							
							
							
							Fixes : #1060  
						
							2007-08-27 16:33:31 +00:00  
				
					
						
							
							
								 
						
							
								f8fbb858a5 
								
							 
						 
						
							
							
								
								force the restart of apache & apache-ssl :  Fixes   #1000  
							
							
							
						 
						
							2007-08-26 20:44:53 +00:00  
				
					
						
							
							
								 
						
							
								3695904d0d 
								
							 
						 
						
							
							
								
								regenerating locale in another way  
							
							
							
						 
						
							2007-08-26 19:34:17 +00:00  
				
					
						
							
							
								 
						
							
								cefd4f7f25 
								
							 
						 
						
							
							
								
								regenerating locales if needed, so that languages works ...  
							
							
							
						 
						
							2007-08-26 19:14:51 +00:00  
				
					
						
							
							
								 
						
							
								3064ac14ed 
								
							 
						 
						
							
							
								
								we must restart services : apache and apache-ssl have to much modifications to be only reloaded ...  
							
							
							
						 
						
							2007-08-26 19:05:22 +00:00  
				
					
						
							
							
								 
						
							
								acf7ae05d3 
								
							 
						 
						
							
							
								
								debugging alternc.install apache modconf  
							
							
							
						 
						
							2007-08-26 19:01:52 +00:00  
				
					
						
							
							
								 
						
							
								41f20a8dcc 
								
							 
						 
						
							
							
								
								adding /usr/lib/cgi-bin as the auth folder for awstats.pl \!  
							
							
							
						 
						
							2007-08-26 18:33:40 +00:00  
				
					
						
							
							
								 
						
							
								7e24dd2e59 
								
							 
						 
						
							
							
								
								debugging alternc.install apache modconf  
							
							
							
						 
						
							2007-08-26 18:07:28 +00:00  
				
					
						
							
							
								 
						
							
								70e33d5231 
								
							 
						 
						
							
							
								
								debugging alternc.install apache modconf  
							
							
							
						 
						
							2007-08-26 17:41:14 +00:00  
				
					
						
							
							
								 
						
							
								73e1c87b0a 
								
							 
						 
						
							
							
								
								apache modules manual install  
							
							
							
						 
						
							2007-08-23 17:14:17 +00:00  
				
					
						
							
							
								 
						
							
								65ce0863af 
								
							 
						 
						
							
							
								
								suivi du conseil d'anarcat dans  #1013  
							
							
							
						 
						
							2007-08-23 08:25:45 +00:00  
				
					
						
							
							
								 
						
							
								5f59a52a6f 
								
							 
						 
						
							
							
								
								Now we use MYSQL_HOST in mysql.sh. Should work with remote mysqld. Updates  #1013  (to be tested though)  
							
							
							
						 
						
							2007-08-23 08:24:15 +00:00  
				
					
						
							
							
								 
						
							
								e05aece60e 
								
							 
						 
						
							
							
								
								We configure postfix even when main.cf don't exist.  Fixes   #1009  
							
							
							
						 
						
							2007-08-23 08:01:01 +00:00  
				
					
						
							
							
								 
						
							
								e8299927e9 
								
							 
						 
						
							
							
								
								Fixing etch ftp configuration,  Fixes   #1046  
							
							
							
						 
						
							2007-08-22 22:32:12 +00:00  
				
					
						
							
							
								 
						
							
								675a357932 
								
							 
						 
						
							
							
								
								remove the size_db cache, it wasn't used in the code and is fully accessible from the PHP/MySQL API  
							
							
							
						 
						
							2007-08-21 00:14:13 +00:00  
				
					
						
							
							
								 
						
							
								37b2219bbf 
								
							 
						 
						
							
							
								
								create the size_* tables properly  
							
							... 
							
							
							
							Closes: 1057 
							
						 
						
							2007-08-20 23:49:42 +00:00  
				
					
						
							
							
								 
						
							
								b960b55851 
								
							 
						 
						
							
							
								
								enable apache module also  
							
							
							
						 
						
							2007-05-31 20:40:16 +00:00  
				
					
						
							
							
								 
						
							
								051ce2dc61 
								
							 
						 
						
							
							
								
								it's override_php, not override.php ...  
							
							
							
						 
						
							2007-05-31 17:15:04 +00:00  
				
					
						
							
							
								 
						
							
								2a93b7e227 
								
							 
						 
						
							
							
								
								Loading Apache vhost module thanks to apache-modconf, and not manually in /etc/alternc/apache.conf : The module is now loaded at the right place.  
							
							... 
							
							
							
							Fix the bug with apache aliases (/admin/sql, /webmail) 
							
						 
						
							2007-05-11 08:12:43 +00:00  
				
					
						
							
							
								 
						
							
								27c70f2047 
								
							 
						 
						
							
							
								
								Comme php5 peut etre installé, nous utilisons le lien php qui pointe soit vers php5 soit vers php4 ( soit php6 ? ).  
							
							... 
							
							
							
							close : #1042  
						
							2007-04-18 16:55:34 +00:00  
				
					
						
							
							
								 
						
							
								9245031133 
								
							 
						 
						
							
							
								
								use reload instead of force-reload since the latter doesn't seem to  
							
							... 
							
							
							
							work with apache 
							
						 
						
							2006-11-28 03:40:44 +00:00  
				
					
						
							
							
								 
						
							
								4404569e2b 
								
							 
						 
						
							
							
								
								My stab at  #563 : stop overwriting php.ini.  
							
							... 
							
							
							
							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. 
							
						 
						
							2006-11-27 23:52:50 +00:00  
				
					
						
							
							
								 
						
							
								173e86a3c0 
								
							 
						 
						
							
							
								
								retirer httpd.conf de l'installation d'alternc, les symlinks devraient maintenant suffire. testing obligatoire. see  #562  
							
							
							
						 
						
							2006-07-08 09:22:58 +00:00  
				
					
						
							
							
								 
						
							
								30587b8345 
								
							 
						 
						
							
							
								
								Corrections des quotas par default pour mysql_users  
							
							... 
							
							
							
							Closes : #670  
						
							2006-06-28 23:10:29 +00:00  
				
					
						
							
							
								 
						
							
								d8da5e93ec 
								
							 
						 
						
							
							
								
								new translations + secondarymx management  
							
							
							
						 
						
							2006-05-22 09:03:51 +00:00  
				
					
						
							
							
								 
						
							
								ae1af23a4b 
								
							 
						 
						
							
							
								
								Ajout du script fixperms.sh qui permet de remettre à plat les permissions et proprietaires des fichiers. Ref  #416  
							
							
							
						 
						
							2006-05-16 18:20:14 +00:00  
				
					
						
							
							
								 
						
							
								e1b905c76a 
								
							 
						 
						
							
							
								
								changing mysql.sh for install/upgrade time so that it work with mysql5 debian version also (debian-sys-maint with limited rights)  
							
							
							
						 
						
							2006-05-12 09:42:59 +00:00  
				
					
						
							
							
								 
						
							
								2969280afa 
								
							 
						 
						
							
							
								
								on ne prends pas en compte les gid / uid / mode differs lors du diff des fichiers de conf  
							
							
							
						 
						
							2006-05-04 09:03:31 +00:00  
				
					
						
							
							
								 
						
							
								2cc511a79e 
								
							 
						 
						
							
							
								
								suivi des instructions disponibles ici :  
							
							... 
							
							
							
							http://alternc.org/marchives/dev/2005-November/001800.html 
pour ajouter les éléments nécessaires au bon démarrage de saslauthd 
						
							2006-05-01 13:37:34 +00:00  
				
					
						
							
							
								 
						
							
								c3b37f5ecb 
								
							 
						 
						
							
							
								
								modif structure base initiale pour encryptage des mots de passe  
							
							
							
						 
						
							2006-05-01 13:19:03 +00:00  
				
					
						
							
							
								 
						
							
								bbd913e6e6 
								
							 
						 
						
							
							
								
								completely revert [1025] since we rely on apache config to enable/disable ssl/non-ssl now  
							
							
							
						 
						
							2006-04-26 22:13:55 +00:00  
				
					
						
							
							
								 
						
							
								abc975efd9 
								
							 
						 
						
							
							
								
								move bureau.conf with the templates, as it is one, should  fix   #646  
							
							
							
						 
						
							2006-04-26 21:38:32 +00:00  
				
					
						
							
							
								 
						
							
								c34386e9a4 
								
							 
						 
						
							
							
								
								activate a configuration file for the bureau, common for both SSL and non-SSL configs, requested by pierre-gilles et  
							
							... 
							
							
							
							benji.
activate variable substitution for bureau.conf in alternc.install 
							
						 
						
							2006-04-26 21:23:50 +00:00  
				
					
						
							
							
								 
						
							
								87f977c85b 
								
							 
						 
						
							
							
								
								rajout de la condition lors de la creation des tables dbusers  
							
							... 
							
							
							
							References: #265  
							
						 
						
							2006-04-26 16:58:29 +00:00  
				
					
						
							
							
								 
						
							
								979a7f0b0e 
								
							 
						 
						
							
							
								
								Rajout de la gestion des utilisateurs mysql pour les membres ( avec quotas )  
							
							... 
							
							
							
							Closes : #265  
						
							2006-04-26 14:59:28 +00:00  
				
					
						
							
							
								 
						
							
								4e444d92e0 
								
							 
						 
						
							
							
								
								Adding spoolsize to cache the size of web / mail / db contents, Closes 569  
							
							
							
						 
						
							2006-04-26 14:26:21 +00:00  
				
					
						
							
							
								 
						
							
								11b5e1a1c2 
								
							 
						 
						
							
							
								
								erreur  ->  
							
							
							
						 
						
							2006-04-26 14:00:52 +00:00  
				
					
						
							
							
								 
						
							
								6ca8255f49 
								
							 
						 
						
							
							
								
								AlternC Plugin are now part of AlternC svn repository\n Migration Phase 2  
							
							
							
						 
						
							2006-04-26 12:28:53 +00:00