Changeset 1098
- Timestamp:
- 04/06/05 23:14:50 (4 years ago)
- Files:
-
- trunk/config.php (modified) (2 diffs)
- trunk/debian/changelog (modified) (1 diff)
- trunk/debian/control (modified) (1 diff)
- trunk/debian/po (added)
- trunk/debian/po/POTFILES.in (added)
- trunk/debian/po/fr.po (added)
- trunk/debian/po/templates.pot (added)
- trunk/debian/postinst (modified) (1 diff)
- trunk/debian/postrm.template (deleted)
- trunk/debian/preinst.template (deleted)
- trunk/debian/prerm.template (deleted)
- trunk/debian/rules (modified) (2 diffs)
- trunk/debian/templates (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/config.php
r1088 r1098 12 12 require_once($root."class/m_err.php"); 13 13 14 global $dbalready;15 14 global $er,$fe,$username,$db; 16 15 17 if (!$dbalready) { 16 require_once($root."class/db_mysql.php"); 18 17 19 require_once($root."class/db_mysql.php"); 18 if (!class_exists("DB_system")) { 19 20 20 // Classe héritée de la classe db de la phplib. 21 21 class DB_system extends DB_Sql { … … 30 30 } 31 31 $db= new DB_system(); 32 $dbalready=1;33 32 } 34 33 trunk/debian/changelog
r1088 r1098 1 alternc-changepass (0.9.4) testing; urgency=low 2 3 * Debian compliance, conflicts with alternc-procmail, global vars, po-debconf 4 5 -- Benjamin Sonntag <benjamin@alternc.org> Mon, 6 Apr 2005 00:00:00 +0200 6 1 7 alternc-changepass (0.9.3-1) unstable; urgency=low 2 8 trunk/debian/control
r1088 r1098 3 3 Priority: optional 4 4 Maintainer: Benjamin Sonntag <benjamin@alternc.org> 5 Standards-Version: 3.5.6 5 Build-Depends: debhelper (>= 4.1.16) 6 Standards-Version: 3.6.1 6 7 7 8 Package: alternc-changepass trunk/debian/postinst
r1096 r1098 9 9 configure) 10 10 11 # On ajoute la ligne GLOBAL dans local.php si le fichier ne la contient pas ... (pour les alternc < 0.9.3) 12 FL=/var/alternc/bureau/class/local.php 13 echo -n "Configuring local.php " 14 if grep -qs "^global" $FL 15 then 16 echo "no patch needed, global already present" 17 else 18 echo "applying patch" 19 # the .php is here for security reasons ! as local.php contains the mysql password ! 20 rm -f $FL.alternc_procmail.php 21 sed -e "s/^\$L_MX/\\ 22 global \$L_MYSQL_HOST,\$L_MYSQL_LOGIN,\$L_MYSQL_PWD,\$L_MYSQL_DATABASE,\$L_SHOWVERSION,\$L_VERSION,\$L_FQDN,\$L_HOSTING,\$L_NS2,\$L_NS1,\$L_MX; \\ 23 \$L_MX/" <$FL >$FL.alternc_procmail.php 24 mv -f $FL.alternc_procmail.php $FL 25 fi 11 26 db_get alternc-changepass/warning_squirrelmail_plugin || true 12 27 trunk/debian/rules
r1094 r1098 30 30 dh_testroot 31 31 rm -f build-stamp 32 debconf-updatepo 32 33 33 34 # Add here commands to clean up after the build process. … … 50 51 51 52 # Copy the desk files 52 cp change.php config.php READMEsetup.php debian/alternc-changepass/usr/share/squirrelmail/plugins/alternc_changepass/53 cp change.php config.php setup.php debian/alternc-changepass/usr/share/squirrelmail/plugins/alternc_changepass/ 53 54 cp -r locales/* debian/alternc-changepass/var/alternc/bureau/locales/ 54 55 # Remove CVS entries. trunk/debian/templates
r1095 r1098 1 1 Template: alternc-changepass/warning_squirrelmail_plugin 2 2 Type: note 3 Description: Installing a Squirrelmail / AlternC plugin.3 _Description: Installing a Squirrelmail / AlternC plugin. 4 4 You are installing the alternc-changepass package. This package is a 5 5 squirrelmail plugin. As such, it is disabled by default. Launch 6 6 /etc/squirrelmail/conf.pl to configure and enable this plugin. 7 Description-fr.ISO-8859-15: Installation d'un greffon Squirrelmail / AlternC.8 Vous êtes en train d'installer le paquet alternc-changepass. Ce paquet9 est un greffon à Squirrelmail. Par conséquent, il est désactivé par défaut.10 Pour l'activer, lancez /etc/squirrelmail/conf.pl.
