From: Dragan Dosen Date: Sun, 28 Oct 2007 15:16:59 +0000 (+0000) Subject: r1: [svn-inject] Installing original source of squirrelmail-change-pass-cn X-Git-Tag: v3.0-2~10 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=b32177d47e45255bada1b4588b16abcbcc3f6382;p=squirrelmail-change-pass-cn.git r1: [svn-inject] Installing original source of squirrelmail-change-pass-cn --- b32177d47e45255bada1b4588b16abcbcc3f6382 diff --git a/change_pass/ChangeLog b/change_pass/ChangeLog new file mode 100644 index 0000000..9920562 --- /dev/null +++ b/change_pass/ChangeLog @@ -0,0 +1,135 @@ +$Id: ChangeLog,v 1.21 2007/06/09 22:55:25 indiri69 Exp $ + +* Sat Jun 9 2007 Seth Randall +- Updated version to 2.7a-1.4.x + +* Mon Jun 4 2007 Seth Randall +- Added Korean translation by LEE CHANG MIN . +- Added Dutch translation by Sander Eerkes . + +* Sun Jun 3 2007 Seth Randall +- Added Swedish translation by Erik Lindgren . + +* Wed Oct 4 2006 Tomas Kuliavas +- Added Norwegian Bokmal translation by Svein Olav Bjerkeset + . SquirrelMail tracker #1525721. + +* Sat Nov 19 2005 Seth Randall + +- Added FAQ +- Updated INSTALL and README files +- Added Slovenian translation (sl_SI) from "Sasa Stupar +- Added Czech translation (cs_CZ) from "Martin Å louf" +- Updated Italian translation (it_IT) from "Salvatore Bocchetti" + +* Mon Jul 18 2005 Seth Randall + +- Added Finnish translation (fi_FI) from "Kari Mattsson" + +* Thu Sep 16 2004 Seth Randall + +- Added Italian translation (it_IT) from "magomarcelo" + +* Wed Jul 21 2004 Seth Randall + +- Added option to specify a poppass server if it's different than the imap server +- Changed version number to 2.7-1.4.x + +* Wed Jun 30 2004 Seth Randall + +- Added Brazilian Portuguese translation (pt_BR) from "Edinardo Potrich" + +* Thu Dec 18 2003 Seth Randall + +- Minor updates to some translations +- Changed version number to 2.6-1.4.x + +* Wed Dec 17 2003 Seth Randall + +- Added French translation (fr_FR) from "Ludovic Marcotte" + +* Sun Dec 7 2003 Seth Randall + +- Added German translation (de_DE) from "Steffen Beyer" +- Accept 3xx codes after pass command (arguably wrong, but the poppass daemon + in the ports collection does it that way) +- Changed version number to 2.5-1.4.x + +* Sat Nov 8 2003 Seth Randall + +- Added Bulgarian translation (bg_BG) from "Marian Popov" + +* Mon Oct 20 2003 Seth Randall + +- Changed version number to 2.4-1.4.x + +* Wed Oct 1 2003 Seth Randall + +- Added Polish translation (pl_PL) from "Sebastian Turzynski" + +* Thu Sep 25 2003 Seth Randall + +- Added Spanish (es_ES) translation from "grana canal10" +- Explicitly define SQ_SESSION as the source of onetimepad + +* Fri Sep 19 2003 Seth Randall + +- Added translation support (thanks to Ruben Leote Mendes) +- Added Portuguese (Portugal) (pt_PT) translation from "Ruben Leote Mendes" +- Added change_pass_version in setup.php +- Changed version number to 2.3-1.4.x + +* Thu Jul 10 2003 Seth Randall + +- Removed poppassd software +- Added proper handling of 2xx and 3xx responses +- Changed version number to 2.2-1.4.x + +* Fri Apr 25 2003 Seth Randall + +- Added support for 300 after "user" command (thanks to Richard Gee) +- Added version file +- Changed version number to 2.1-1.4.x + +* Mon Apr 7 2003 Seth Randall + +- Updated for SquirrelMail 1.4.x +- Changed version number to 2.0-1.4.x + +* Tue Jan 7 2003 Seth Randall + +- Added courierpassd +- Changed version number to 1.5 + +* Wed Dec 18 2002 Seth Randall + +- Removed debug code +- Added a poppassd for some BSDs +- Changed version number to 1.4a + +* Thu Sep 26 2002 Seth Randall + +- Updated for SquirrelMail 1.2.8 +- Changed version number to 1.4 + +* Mon Mar 26 2001 Tyler Akins + +- Now uses the mail server address instead of hardcoding "localhost" +- Now forwards to correct URL (removes errors if you want to change your + password twice in a row) +- Changed version number to 1.3 + +* Tue Feb 6 2001 Tyler Akins + +- Added debug mode +- Better error message +- Better error checking +- No need to log out and back in after password change +- Changed version number to 1.2 + +* Tue Jan 23 2001 Tyler Akins + +- Changed variable and function names using change_pass_ as a prefix to + avoid conflict with other plugins as has been mentioned in the plugins + mailing list +- Changed version number to 1.1 diff --git a/change_pass/FAQ b/change_pass/FAQ new file mode 100644 index 0000000..631ef75 --- /dev/null +++ b/change_pass/FAQ @@ -0,0 +1,10 @@ +Q. I get an error saying "ERROR: Connection refused (111)" + +A. You don't have a poppass daemon running on the server you've selected. + Make certain you have configured settings.php properly and tested it + as stated in the INSTALL file. + +Q. The plugin does seem to work + +A. Make sure you can change the password manually. See the instructions in the + INSTALL file on how to test and make sure. diff --git a/change_pass/INSTALL b/change_pass/INSTALL new file mode 100644 index 0000000..470203d --- /dev/null +++ b/change_pass/INSTALL @@ -0,0 +1,37 @@ +Installing change_pass +====================== +Extract the change_pass file into the plugins directory of your +SquirrelMail setup. + +If your poppass server isn't running on the same server as your IMAP server +or is running on a port other than 106 then you need to change the settings.php +file with the correct information. + +If you don't have a poppass server or don't know what one is, please read +the README file. + +Then go to your config directory and run conf.pl. Choose option +8 and add the plugin. Save and exit, then that should be all +if the plugin was made correctly. :) + + $ cd .. + $ ./configure + +Be sure to test and make certain your poppass daemon is working properly. +To test, try telneting into the daemon and changing a password: + +$ telnet localhost 106 +Trying 127.0.0.1... +Connected to localhost. +Escape character is '^]'. +200 poppassd v1.8.1 hello, who are you? +user +200 Your password please. +pass +200 Your new password please. +newpass +200 Password changed, thank-you. +quit +200 Bye. +Connection closed by foreign host. + diff --git a/change_pass/README b/change_pass/README new file mode 100644 index 0000000..1d7abab --- /dev/null +++ b/change_pass/README @@ -0,0 +1,28 @@ +$Id: README,v 1.7 2007/06/09 23:08:17 indiri69 Exp $ +change_pass -- Version 2.7a-1.4.x +Ritchie Low +Seth Randall + +Description +=========== +This is a Squirrelmail plugin to change password using the Poppassd service +at port 106 + +You can get poppassd compliant services from the following: +Pawel Krawczyk http://echelon.pl/pubs/poppassd.html (Supports PAM) +Andrew Stevenson ftp://ftp.ugh.net.au/pub/unix/poppwd +NetWin http://netwinsite.com/poppassd/ (Changes /etc/passwd) +Kerberos http://kpoppassd.sourceforge.net (Thank to Michael G. Rozman this link) +HP-UX 11.x http://barney.gonzaga.edu/~awithers/poppassd/ (link from above site) +BSD users should try the one from the ports collection for their brand of BSD first. +Courier users should try courierpassd at http://www.arda.homeunix.net/store/ + +poppassd must be running on your whatever server handles the passwords for your +mail server for this to work. Other than that, you just need to add this plugin +to SquirrelMail (using the perl script or by editing config.php by hand), and +all should be fine. For full installation instructions, see the INSTALL file. + +To change the server or port poppassd listens on, change the options in +settings.php. + +If you experience problems, please see the INSTALL file and FAQ diff --git a/change_pass/change_pass.po b/change_pass/change_pass.po new file mode 100644 index 0000000..035caaa --- /dev/null +++ b/change_pass/change_pass.po @@ -0,0 +1,76 @@ +# LANGUAGE change_pass plugin translation. +# Copyright (C) 2003 The Squirrelmail Development Team. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: $Id: change_pass.po,v 1.2 2003/12/14 20:26:40 indiri69 Exp $\n" +"POT-Creation-Date: 2003-09-12 12:12-0600\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: ENCODING\n" + +#: options.php:36 setup.php:18 +msgid "Change Password" +msgstr "" + +#: options.php:77 +msgid "Closing Connection" +msgstr "" + +#: options.php:137 +msgid "Connecting to Password Server" +msgstr "" + +#: options.php:141 +msgid "ERROR:" +msgstr "" + +#: options.php:52 +msgid "New Password" +msgstr "" + +#: options.php:51 +msgid "Old Password" +msgstr "" + +#: options.php:173 setup.php:35 +msgid "Password changed successfully." +msgstr "" + +#: options.php:64 +msgid "Submit" +msgstr "" + +#: setup.php:20 +msgid "" +"This connects to your local Password Server to change your email password." +msgstr "" + +#: options.php:53 +msgid "Verify New Password" +msgstr "" + +#: options.php:112 +msgid "You must also type in your new password in the verify box." +msgstr "" + +#: options.php:109 +msgid "You must type in a new password." +msgstr "" + +#: options.php:106 +msgid "You must type in your old password." +msgstr "" + +#: options.php:115 +msgid "Your new password doesn't match the verify password." +msgstr "" + +#: options.php:118 +msgid "Your old password is not correct." +msgstr "" diff --git a/change_pass/index.php b/change_pass/index.php new file mode 100644 index 0000000..185d0f3 --- /dev/null +++ b/change_pass/index.php @@ -0,0 +1,16 @@ + diff --git a/change_pass/locale/Makefile b/change_pass/locale/Makefile new file mode 100644 index 0000000..d5bda08 --- /dev/null +++ b/change_pass/locale/Makefile @@ -0,0 +1,12 @@ +.SUFFIXES: +.SUFFIXES: .po .mo + +SUBDIR = $(wildcard */LC_MESSAGES/*.po) + +%.mo: %.po + msgfmt $? -o $@ + +all: $(foreach dir,$(SUBDIR),$(basename $(dir)).mo) + +clean: $(foreach dir,$(SUBDIR),$(basename $(dir)).mo) + rm $? diff --git a/change_pass/locale/bg_BG/LC_MESSAGES/change_pass.mo b/change_pass/locale/bg_BG/LC_MESSAGES/change_pass.mo new file mode 100644 index 0000000..441de0f Binary files /dev/null and b/change_pass/locale/bg_BG/LC_MESSAGES/change_pass.mo differ diff --git a/change_pass/locale/bg_BG/LC_MESSAGES/change_pass.po b/change_pass/locale/bg_BG/LC_MESSAGES/change_pass.po new file mode 100644 index 0000000..ed21c18 --- /dev/null +++ b/change_pass/locale/bg_BG/LC_MESSAGES/change_pass.po @@ -0,0 +1,75 @@ +# Bulgarian change_pass plugin translation. +# Copyright (C) 2003 The Squirrelmail Development Team. +# Marian Kalinov Popov , 2003. +# +msgid "" +msgstr "" +"Project-Id-Version: $Id: change_pass.po,v 1.2 2003/12/14 20:26:40 indiri69 Exp $\n" +"POT-Creation-Date: 2003-11-08 12:12-0600\n" +"PO-Revision-Date: 2003-11-25 20:20+0700\n" +"Last-Translator: Marian Popov \n" +"Language-Team: Bulgarian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=cp1251\n" +"Content-Transfer-Encoding: 8bit\n" + +#: options.php:36 setup.php:18 +msgid "Change Password" +msgstr "Ñìÿíà íà Ïàðîëàòà" + +#: options.php:77 +msgid "Closing Connection" +msgstr "Ïðåêúñâàíå íà âðúçêàòà" + +#: options.php:137 +msgid "Connecting to Password Server" +msgstr "Ñâúðçâàíå êúì ñúðâúð çà ïàðîëè" + +#: options.php:141 +msgid "ERROR:" +msgstr "ÃÐÅØÊÀ:" + +#: options.php:52 +msgid "New Password" +msgstr "Íîâà Ïàðîëà" + +#: options.php:51 +msgid "Old Password" +msgstr "Ñòàðà Ïàðîëà" + +#: options.php:173 setup.php:35 +msgid "Password changed successfully." +msgstr "Ïàðîëàòà å ñìåíåíà óñïåøíî." + +#: options.php:64 +msgid "Submit" +msgstr "Âúâåäè" + +#: setup.php:20 +msgid "" +"This connects to your local Password Server to change your email password." +msgstr "Ñâúðçâàíå êúì ëîêàëíèÿ ñúðâúð çà ïàðîëè çà ñìÿíà ïàðîëàòà íà Âàøèÿ èìåèë." + +#: options.php:53 +msgid "Verify New Password" +msgstr "Ïðîâåðêà íà íîâàòà ïàðîëà" + +#: options.php:112 +msgid "You must also type in your new password in the verify box." +msgstr "Òðÿáâà äà âúâåäåòå íîâàòà ïàðîëà è â ïîëåòî çà ïðîâåðêà." + +#: options.php:109 +msgid "You must type in a new password." +msgstr "Òðÿáâà äà âúâåäåòå íîâà ïàðîëà." + +#: options.php:106 +msgid "You must type in your old password." +msgstr "Òðÿáâà íà âúâåäåòå ñòàðàòà ïàðîëà." + +#: options.php:115 +msgid "Your new password doesn't match the verify password." +msgstr "Âàøàòà íîâà ïàðîëà íå ñúâïàäà." + +#: options.php:118 +msgid "Your old password is not correct." +msgstr "Ñòàðàòà Âè ïàðîëà íå å ïðàâèëíà." diff --git a/change_pass/locale/cs_CZ/LC_MESSAGES/change_pass.mo b/change_pass/locale/cs_CZ/LC_MESSAGES/change_pass.mo new file mode 100644 index 0000000..291d51c Binary files /dev/null and b/change_pass/locale/cs_CZ/LC_MESSAGES/change_pass.mo differ diff --git a/change_pass/locale/cs_CZ/LC_MESSAGES/change_pass.po b/change_pass/locale/cs_CZ/LC_MESSAGES/change_pass.po new file mode 100644 index 0000000..bf8a988 --- /dev/null +++ b/change_pass/locale/cs_CZ/LC_MESSAGES/change_pass.po @@ -0,0 +1,75 @@ +# Czech (cs_CZ) change_pass plugin translation. +# Copyright (C) 2003-2005 The Squirrelmail Development Team. +# Martin Å louf 2005 +# +msgid "" +msgstr "" +"Project-Id-Version: $Id: change_pass.po,v 1.1 2005/11/20 06:42:00 indiri69 Exp $\n" +"POT-Creation-Date: 2003-09-12 12:12-0600\n" +"PO-Revision-Date: 2005-10-26 15:37-0700\n" +"Last-Translator: Martin Å louf \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: options.php:36 setup.php:18 +msgid "Change Password" +msgstr "Zmìna hesla" + +#: options.php:77 +msgid "Closing Connection" +msgstr "Konec spojení" + +#: options.php:137 +msgid "Connecting to Password Server" +msgstr "Pøipojování k serveru" + +#: options.php:141 +msgid "ERROR:" +msgstr "Chyba:" + +#: options.php:52 +msgid "New Password" +msgstr "Nové heslo" + +#: options.php:51 +msgid "Old Password" +msgstr "Staré heslo" + +#: options.php:173 setup.php:35 +msgid "Password changed successfully." +msgstr "Heslo bylo zmìnìno úspì¹nì" + +#: options.php:64 +msgid "Submit" +msgstr "Odeslat" + +#: setup.php:20 +msgid "" +"This connects to your local Password Server to change your email password." +msgstr "Tento plugin se pøipojí k serveru a pokusí se zmìnit va¹e heslo." + +#: options.php:53 +msgid "Verify New Password" +msgstr "Ovìø heslo" + +#: options.php:112 +msgid "You must also type in your new password in the verify box." +msgstr "Musíte zadat Va¹e nové heslo i do ovìøovacího políèka" + +#: options.php:109 +msgid "You must type in a new password." +msgstr "Musíte zadat nové heslo" + +#: options.php:106 +msgid "You must type in your old password." +msgstr "Musíte zadat Va¹e staré heslo" + +#: options.php:115 +msgid "Your new password doesn't match the verify password." +msgstr "Nezadal jste heslo správnì. Musíte zadat dvakrát stejné heslo." + +#: options.php:118 +msgid "Your old password is not correct." +msgstr "Va¹e staré heslo není správné." diff --git a/change_pass/locale/de_DE/LC_MESSAGES/change_pass.mo b/change_pass/locale/de_DE/LC_MESSAGES/change_pass.mo new file mode 100644 index 0000000..37a8c15 Binary files /dev/null and b/change_pass/locale/de_DE/LC_MESSAGES/change_pass.mo differ diff --git a/change_pass/locale/de_DE/LC_MESSAGES/change_pass.po b/change_pass/locale/de_DE/LC_MESSAGES/change_pass.po new file mode 100644 index 0000000..ef2b37a --- /dev/null +++ b/change_pass/locale/de_DE/LC_MESSAGES/change_pass.po @@ -0,0 +1,75 @@ +# German change_pass plugin translation. +# Copyright (C) 2003 The Squirrelmail Development Team. +# Steffen Beyer , 2003. +# +msgid "" +msgstr "" +"Project-Id-Version: $Id: change_pass.po,v 1.2 2003/12/14 20:26:40 indiri69 Exp $\n" +"POT-Creation-Date: 2003-09-12 12:12-0600\n" +"PO-Revision-Date: 2003-12-06 12:47+0100\n" +"Last-Translator: Steffen Beyer \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#: options.php:36 setup.php:18 +msgid "Change Password" +msgstr "Passwort ändern" + +#: options.php:77 +msgid "Closing Connection" +msgstr "Verbindung wird beendet" + +#: options.php:137 +msgid "Connecting to Password Server" +msgstr "Verbinde mit Passwort-Server" + +#: options.php:141 +msgid "ERROR:" +msgstr "FEHLER:" + +#: options.php:52 +msgid "New Password" +msgstr "Neues Passwort" + +#: options.php:51 +msgid "Old Password" +msgstr "Altes Passwort" + +#: options.php:173 setup.php:35 +msgid "Password changed successfully." +msgstr "Passwort erfolgreich geändert." + +#: options.php:64 +msgid "Submit" +msgstr "Ändern" + +#: setup.php:20 +msgid "" +"This connects to your local Password Server to change your email password." +msgstr "Hier kann das zum Anmelden benötigte Passwort geändert werden." + +#: options.php:53 +msgid "Verify New Password" +msgstr "Neues Passwort wiederholen" + +#: options.php:112 +msgid "You must also type in your new password in the verify box." +msgstr "Bitte das neue Passwort zur Sicherheit wiederholen." + +#: options.php:109 +msgid "You must type in a new password." +msgstr "Bitte ein neues Passwort wählen." + +#: options.php:106 +msgid "You must type in your old password." +msgstr "Bitte das alte Passwort eingeben." + +#: options.php:115 +msgid "Your new password doesn't match the verify password." +msgstr "Die eingegebenen neuen Passwörter unterscheiden sich." + +#: options.php:118 +msgid "Your old password is not correct." +msgstr "Das alte Passwort ist nicht korrekt." diff --git a/change_pass/locale/es_ES/LC_MESSAGES/change_pass.mo b/change_pass/locale/es_ES/LC_MESSAGES/change_pass.mo new file mode 100644 index 0000000..4f52ccd Binary files /dev/null and b/change_pass/locale/es_ES/LC_MESSAGES/change_pass.mo differ diff --git a/change_pass/locale/es_ES/LC_MESSAGES/change_pass.po b/change_pass/locale/es_ES/LC_MESSAGES/change_pass.po new file mode 100644 index 0000000..989d257 --- /dev/null +++ b/change_pass/locale/es_ES/LC_MESSAGES/change_pass.po @@ -0,0 +1,75 @@ +# Spanish change_pass plugin translation. +# Copyright (C) 2003 The Squirrelmail Development Team. +# grana canal10 , 2003. +# +msgid "" +msgstr "" +"Project-Id-Version: $Id: change_pass.po,v 1.2 2003/12/14 20:26:40 indiri69 Exp $\n" +"POT-Creation-Date: 2003-09-12 12:12-0600\n" +"PO-Revision-Date: 2003-09-25 20:20+0700\n" +"Last-Translator: grana canal10 \n" +"Language-Team: Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#: options.php:36 setup.php:18 +msgid "Change Password" +msgstr "Cambiar contraseña" + +#: options.php:77 +msgid "Closing Connection" +msgstr "Cerrando la conexion" + +#: options.php:137 +msgid "Connecting to Password Server" +msgstr "Conectando al servidor de contraseñas" + +#: options.php:141 +msgid "ERROR:" +msgstr "ERROR:" + +#: options.php:52 +msgid "New Password" +msgstr "Nueva contraseña" + +#: options.php:51 +msgid "Old Password" +msgstr "Vieja contraseña" + +#: options.php:173 setup.php:35 +msgid "Password changed successfully." +msgstr "La contraseña fue cambiada correctamente." + +#: options.php:64 +msgid "Submit" +msgstr "Enviar" + +#: setup.php:20 +msgid "" +"This connects to your local Password Server to change your email password." +msgstr "Conecta con su servidor de Contraseñas local para cambiar su contraseña de mail." + +#: options.php:53 +msgid "Verify New Password" +msgstr "Verifica nueva contraseña" + +#: options.php:112 +msgid "You must also type in your new password in the verify box." +msgstr "Usted debe ingresar su nueva contraseña en la casilla de verificacion." + +#: options.php:109 +msgid "You must type in a new password." +msgstr "Usted debe ingresar una nueva contraseña." + +#: options.php:106 +msgid "You must type in your old password." +msgstr "Usted debe ingresar su vieja contraseña." + +#: options.php:115 +msgid "Your new password doesn't match the verify password." +msgstr "Su nueva contraseña y la de verificacion no coinciden." + +#: options.php:118 +msgid "Your old password is not correct." +msgstr "Su contraseña anterior no es correcta." diff --git a/change_pass/locale/fi_FI/LC_MESSAGES/change_pass.mo b/change_pass/locale/fi_FI/LC_MESSAGES/change_pass.mo new file mode 100644 index 0000000..6f0d2e4 Binary files /dev/null and b/change_pass/locale/fi_FI/LC_MESSAGES/change_pass.mo differ diff --git a/change_pass/locale/fi_FI/LC_MESSAGES/change_pass.po b/change_pass/locale/fi_FI/LC_MESSAGES/change_pass.po new file mode 100644 index 0000000..d76f8e8 --- /dev/null +++ b/change_pass/locale/fi_FI/LC_MESSAGES/change_pass.po @@ -0,0 +1,76 @@ +# Finnish change_pass plugin translation. +# Copyright (C) 2003 The Squirrelmail Development Team. +# Kari Mattsson \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#: options.php:36 setup.php:18 +msgid "Change Password" +msgstr "Vaihda salasana" + +#: options.php:77 +msgid "Closing Connection" +msgstr "Suljen yhteyden" + +#: options.php:137 +msgid "Connecting to Password Server" +msgstr "Ota yhteyden salasanapalvelimeen" + +#: options.php:141 +msgid "ERROR:" +msgstr "VIRHE:" + +#: options.php:52 +msgid "New Password" +msgstr "Uusi salasana" + +#: options.php:51 +msgid "Old Password" +msgstr "Vanha salasana" + +#: options.php:173 setup.php:35 +msgid "Password changed successfully." +msgstr "Salasana vaihdettiin onnistuneesti." + +#: options.php:64 +msgid "Submit" +msgstr "Lähetä" + +#: setup.php:20 +msgid "" +"This connects to your local Password Server to change your email password." +msgstr "Otetaan yhteys salasanapalvelimeen sähköpostin salasanan vaihtamiseksi." + +#: options.php:53 +msgid "Verify New Password" +msgstr "Vahvista kirjoittamalla uusi salasana" + +#: options.php:112 +msgid "You must also type in your new password in the verify box." +msgstr "Uusi salasana täytyy myös kirjoittaa vahvistuskehykseen." + +#: options.php:109 +msgid "You must type in a new password." +msgstr "Sinun täytyy kirjoittaa uusi salasana." + +#: options.php:106 +msgid "You must type in your old password." +msgstr "Sinun täytyy kirjoittaa vanha salasana." + +#: options.php:115 +msgid "Your new password doesn't match the verify password." +msgstr "Uusi salasana ei täsmää vahvistussalasanaan." + +#: options.php:118 +msgid "Your old password is not correct." +msgstr "Vanha salasanasi ei ole oikea." diff --git a/change_pass/locale/fr_FR/LC_MESSAGES/change_pass.mo b/change_pass/locale/fr_FR/LC_MESSAGES/change_pass.mo new file mode 100644 index 0000000..9fb264c Binary files /dev/null and b/change_pass/locale/fr_FR/LC_MESSAGES/change_pass.mo differ diff --git a/change_pass/locale/fr_FR/LC_MESSAGES/change_pass.po b/change_pass/locale/fr_FR/LC_MESSAGES/change_pass.po new file mode 100644 index 0000000..ad5a6fd --- /dev/null +++ b/change_pass/locale/fr_FR/LC_MESSAGES/change_pass.po @@ -0,0 +1,75 @@ +# French (fr_FR) change_pass plugin translation. +# Copyright (C) 2003 The Squirrelmail Development Team. +# Ludovic Marcotte , 2003. +# +msgid "" +msgstr "" +"Project-Id-Version: $Id: change_pass.po,v 1.1 2003/12/17 22:41:13 indiri69 Exp $\n" +"POT-Creation-Date: 2003-09-12 12:12-0600\n" +"PO-Revision-Date: 2003-12-17 15:37-0700\n" +"Last-Translator: Ludovic Marcotte \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#: options.php:36 setup.php:18 +msgid "Change Password" +msgstr "Changer le mot de passe" + +#: options.php:77 +msgid "Closing Connection" +msgstr "Fermeture de la connexion" + +#: options.php:137 +msgid "Connecting to Password Server" +msgstr "Connexion au serveur de mot de passe" + +#: options.php:141 +msgid "ERROR:" +msgstr "ERREUR:" + +#: options.php:52 +msgid "New Password" +msgstr "Nouveau mot de passe" + +#: options.php:51 +msgid "Old Password" +msgstr "Ancien mot de passe" + +#: options.php:173 setup.php:35 +msgid "Password changed successfully." +msgstr "Le mot de passe a été changé avec succès." + +#: options.php:64 +msgid "Submit" +msgstr "Soumettre" + +#: setup.php:20 +msgid "" +"This connects to your local Password Server to change your email password." +msgstr "Ceci se connecte à votre serveur de mot de passe afin de le changer." + +#: options.php:53 +msgid "Verify New Password" +msgstr "Vérifiez le nouveau mot de passe" + +#: options.php:112 +msgid "You must also type in your new password in the verify box." +msgstr "Vous devez aussi spécifiez le nouveau mot de passe dans le champ de vérification." + +#: options.php:109 +msgid "You must type in a new password." +msgstr "Vous devez spécifiez un nouveau mot de passe." + +#: options.php:106 +msgid "You must type in your old password." +msgstr "Vous devez spécifiez votre ancien mot de passe." + +#: options.php:115 +msgid "Your new password doesn't match the verify password." +msgstr "Votre nouveau mot de passe n'est pas identique à celui de vérification." + +#: options.php:118 +msgid "Your old password is not correct." +msgstr "Votre ancien mot de passe est incorrect." diff --git a/change_pass/locale/it_IT/LC_MESSAGES/change_pass.mo b/change_pass/locale/it_IT/LC_MESSAGES/change_pass.mo new file mode 100644 index 0000000..f3917b9 Binary files /dev/null and b/change_pass/locale/it_IT/LC_MESSAGES/change_pass.mo differ diff --git a/change_pass/locale/it_IT/LC_MESSAGES/change_pass.po b/change_pass/locale/it_IT/LC_MESSAGES/change_pass.po new file mode 100644 index 0000000..892de7d --- /dev/null +++ b/change_pass/locale/it_IT/LC_MESSAGES/change_pass.po @@ -0,0 +1,74 @@ +# Italian (it_IT) change_pass plugin translation. +# Salvatore Bocchetti +# +msgid "" +msgstr "" +"Project-Id-Version: $Id: change_pass.po,v 1.2 2005/11/20 06:42:00 indiri69 Exp $\n" +"POT-Creation-Date: 2004-11-01 12:12-0000\n" +"Last-Translator: Salvatore Bocchetti \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + + +#: options.php:36 setup.php:18 +msgid "Change Password" +msgstr "Modifica Password" + +#: options.php:77 +msgid "Closing Connection" +msgstr "Chiusura della Connessione" + +#: options.php:137 +msgid "Connecting to Password Server" +msgstr "Connessione al server delle password" + +#: options.php:141 +msgid "ERROR:" +msgstr "ERRORE:" + +#: options.php:52 +msgid "New Password" +msgstr "Nuova Password" + +#: options.php:51 +msgid "Old Password" +msgstr "Vecchia Password" + +#: options.php:173 setup.php:35 +msgid "Password changed successfully." +msgstr "La password è stata modificata" + +#: options.php:64 +msgid "Submit" +msgstr "Invia" + +#: setup.php:20 +msgid "" +"This connects to your local Password Server to change your email password." +msgstr "Da qui è possibile modificare la propria password di accesso" + +#: options.php:53 +msgid "Verify New Password" +msgstr "Verifica Nuova Password" + +#: options.php:112 +msgid "You must also type in your new password in the verify box." +msgstr "E' necessario re-inserire la nuova password nel campo Verifica" + +#: options.php:109 +msgid "You must type in a new password." +msgstr "E' necessario specificare una nuova password" + +#: options.php:106 +msgid "You must type in your old password." +msgstr "E' necessario inserire la password preesistente." + +#: options.php:115 +msgid "Your new password doesn't match the verify password." +msgstr "La nuova Password non coincide con quella inserita nel campo Verifica." + +#: options.php:118 +msgid "Your old password is not correct." +msgstr "La vecchia Password inserita non è corretta." diff --git a/change_pass/locale/ja_JP/LC_MESSAGES/change_pass.mo b/change_pass/locale/ja_JP/LC_MESSAGES/change_pass.mo new file mode 100644 index 0000000..f6ff117 Binary files /dev/null and b/change_pass/locale/ja_JP/LC_MESSAGES/change_pass.mo differ diff --git a/change_pass/locale/ja_JP/LC_MESSAGES/change_pass.po b/change_pass/locale/ja_JP/LC_MESSAGES/change_pass.po new file mode 100644 index 0000000..2a69b88 --- /dev/null +++ b/change_pass/locale/ja_JP/LC_MESSAGES/change_pass.po @@ -0,0 +1,75 @@ +# LANGUAGE change_pass plugin translation. +# Copyright (C) 2003 The Squirrelmail Development Team. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: $Id: change_pass.po,v 1.2 2004/05/03 17:03:50 indiri69 Exp $\n" +"POT-Creation-Date: 2003-09-12 12:12-0600\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=euc-jp\n" +"Content-Transfer-Encoding: 8bit\n" + +#: options.php:36 setup.php:18 +msgid "Change Password" +msgstr "¥Ñ¥¹¥ï¡¼¥ÉÊѹ¹" + +#: options.php:77 +msgid "Closing Connection" +msgstr "¥³¥Í¥¯¥·¥ç¥ó¤òÊĤ¸¤ë" + +#: options.php:137 +msgid "Connecting to Password Server" +msgstr "¥Ñ¥¹¥ï¡¼¥É¥µ¡¼¥Ð¤ØÀܳ" + +#: options.php:141 +msgid "ERROR:" +msgstr "¥¨¥é¡¼:" + +#: options.php:52 +msgid "New Password" +msgstr "¿·¤·¤¤¥Ñ¥¹¥ï¡¼¥É" + +#: options.php:51 +msgid "Old Password" +msgstr "¸Å¤¤¥Ñ¥¹¥ï¡¼¥É" + +#: options.php:173 setup.php:35 +msgid "Password changed successfully." +msgstr "¥Ñ¥¹¥ï¡¼¥ÉÊѹ¹¤¬´°Î»¤·¤Þ¤·¤¿¡£" + +#: options.php:64 +msgid "Submit" +msgstr "Êѹ¹" + +#: setup.php:20 +msgid "" +"This connects to your local Password Server to change your email password." +msgstr "¤¢¤Ê¤¿¤ÎÅŻҥ᡼¥ë¥Ñ¥¹¥ï¡¼¥É¤òÊѹ¹¤·¤Þ¤¹¡£Êѹ¹¸å¤Ïɬ¤º ¥í¥°¥ª¥Õ -> ¥í¥°¥ª¥ó¤·¤Æ¤¯¤À¤µ¤¤¡£" + +#: options.php:53 +msgid "Verify New Password" +msgstr "¿·¤·¤¤¥Ñ¥¹¥ï¡¼¥ÉºÆÆþÎÏ" + +#: options.php:112 +msgid "You must also type in your new password in the verify box." +msgstr "¿·¤·¤¤¥Ñ¥¹¥ï¡¼¥ÉºÆÆþÎϤò¤·¤Æ¤¯¤À¤µ¤¤¡£" + +#: options.php:109 +msgid "You must type in a new password." +msgstr "¿·¤·¤¤¥Ñ¥¹¥ï¡¼¥É¤ËÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£" + +#: options.php:106 +msgid "You must type in your old password." +msgstr "¸Å¤¤¥Ñ¥¹¥ï¡¼¥É¤ËÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£" + +#: options.php:115 +msgid "Your new password doesn't match the verify password." +msgstr "¿·¤·¤¤¥Ñ¥¹¥ï¡¼¥É¤È¡¢¥Ñ¥¹¥ï¡¼¥ÉºÆÆþÎϤ¬°ìÃפ·¤Þ¤»¤ó¡£" + +#: options.php:118 +msgid "Your old password is not correct." +msgstr "¸Å¤¤¥Ñ¥¹¥ï¡¼¥É¤¬´Ö°ã¤Ã¤Æ¤¤¤Þ¤¹¡£" diff --git a/change_pass/locale/ko_KR/LC_MESSAGES/change_pass.mo b/change_pass/locale/ko_KR/LC_MESSAGES/change_pass.mo new file mode 100644 index 0000000..1aeb17d Binary files /dev/null and b/change_pass/locale/ko_KR/LC_MESSAGES/change_pass.mo differ diff --git a/change_pass/locale/ko_KR/LC_MESSAGES/change_pass.po b/change_pass/locale/ko_KR/LC_MESSAGES/change_pass.po new file mode 100644 index 0000000..a97b8be --- /dev/null +++ b/change_pass/locale/ko_KR/LC_MESSAGES/change_pass.po @@ -0,0 +1,77 @@ +# Korean change_pass plugin translation. +# Copyright (C) 2007 The Squirrelmail Development Team. +# $Id: change_pass.po,v 1.1 2007/06/05 03:40:46 indiri69 Exp $ +# +msgid "" +msgstr "" +"Project-Id-Version: change_pass 2.7\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-09-12 12:12-0600\n" +"PO-Revision-Date: 2007-06-04 21:34-0600\n" +"Last-Translator: LEE CHANG MIN \n" +"Language-Team: Korean \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=euc-kr\n" +"Content-Transfer-Encoding: 8bit" + +#: options.php:36 setup.php:18 +msgid "Change Password" +msgstr "ºñ¹Ð¹øÈ£ º¯°æ" + +#: options.php:77 +msgid "Closing Connection" +msgstr "Á¢¼ÓÀ» ²÷½À´Ï´Ù" + +#: options.php:137 +msgid "Connecting to Password Server" +msgstr "ºñ¹Ð¹øÈ£ ¼­¹ö·Î Á¢¼ÓÁßÀÔ´Ï´Ù" + +#: options.php:141 +msgid "ERROR:" +msgstr "¿¡·¯" + +#: options.php:52 +msgid "New Password" +msgstr "»õ·Î¿î ºñ¹Ð¹øÈ£" + +#: options.php:51 +msgid "Old Password" +msgstr "ÀÌÀü ºñ¹Ð¹øÈ£" + +#: options.php:173 setup.php:35 +msgid "Password changed successfully." +msgstr "ºñ¹Ð¹øÈ£ º¯°æÀ» ¿Ï·áÇß½À´Ï´Ù." + +#: options.php:64 +msgid "Submit" +msgstr "¹Ù²Ù±â" + +#: setup.php:20 +msgid "" +"This connects to your local Password Server to change your email password." +msgstr "ÀÌ°÷¿¡¼­ ºñ¹Ð¹øÈ£¸¦ º¯°æÇÏ½Ã¸é ¼­¹ö shell °èÁ¤ÀÇ ºñ¹Ð¹øÈ£°¡ º¯°æµË´Ï´Ù. ¸¸ÀÏ outlook °°Àº ¸ÞÀÏ Å¬¶óÀ̾ðÆ®¸¦ »ç¿ëÇϽøé Á¢¼Óºñ¹Ð¹øÈ£µµ °°ÀÌ º¯°æ ÇÏ½Ã±æ ¹Ù¶ø´Ï´Ù." + +#: options.php:53 +msgid "Verify New Password" +msgstr "»õ·Î¿î ºñ¹Ð¹øÈ£ È®ÀÎ" + +#: options.php:112 +msgid "You must also type in your new password in the verify box." +msgstr "»õ·Î¿î ºñ¹Ð¹øÈ£¸¦ È®Àζõ¿¡ ´Ù½Ã ÀÔ·Â ¹Ù¶ø´Ï´Ù." + +#: options.php:109 +msgid "You must type in a new password." +msgstr "»õ·Î¿î ºñ¹Ð¹øÈ£¸¦ ÀԷ¹ٶø´Ï´Ù." + +#: options.php:106 +msgid "You must type in your old password." +msgstr "ÀÌÀü ºñ¹Ð¹øÈ£¸¦ ÀԷ¹ٶø´Ï´Ù." + +#: options.php:115 +msgid "Your new password doesn't match the verify password." +msgstr "»õ·Î¿î ºñ¹Ð¹øÈ£¿Í È®Àζõ¿¡ ÀÔ·ÂµÈ ºñ¹Ð¹øÈ£°¡ ¸ÂÁö ¾Ê½À´Ï´Ù." + +#: options.php:118 +msgid "Your old password is not correct." +msgstr "ÀÌÀü ºñ¹Ð¹øÈ£ ÀÔ·ÂÀÌ À߸øµÇ¾ú½À´Ï´Ù." + diff --git a/change_pass/locale/lt_LT/LC_MESSAGES/change_pass.mo b/change_pass/locale/lt_LT/LC_MESSAGES/change_pass.mo new file mode 100644 index 0000000..77aed8a Binary files /dev/null and b/change_pass/locale/lt_LT/LC_MESSAGES/change_pass.mo differ diff --git a/change_pass/locale/lt_LT/LC_MESSAGES/change_pass.po b/change_pass/locale/lt_LT/LC_MESSAGES/change_pass.po new file mode 100644 index 0000000..f15dee2 --- /dev/null +++ b/change_pass/locale/lt_LT/LC_MESSAGES/change_pass.po @@ -0,0 +1,77 @@ +# Lithuanian change_pass plugin translation. +# Copyright (C) 2003 Free Software Foundation, Inc. +# Tomas Kuliavas , 2003. +msgid "" +msgstr "" +"Project-Id-Version: $Id: change_pass.po,v 1.1 2003/12/14 20:26:40 indiri69 Exp $\n" +"POT-Creation-Date: 2003-09-12 12:12-0600\n" +"PO-Revision-Date: 2003-11-30 20:10+0200\n" +"Last-Translator: Tomas Kuliavas \n" +"Language-Team: Lithuanian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: options.php:36 setup.php:18 +msgid "Change Password" +msgstr "Pakeisti slaptažodį" + +#: options.php:77 +msgid "Closing Connection" +msgstr "Uždaroma Jungtis" + +#: options.php:137 +msgid "Connecting to Password Server" +msgstr "Jungiamasi prie Slaptažodžių Serverio" + +#: options.php:141 +msgid "ERROR:" +msgstr "KLAIDA:" + +#: options.php:52 +msgid "New Password" +msgstr "Naujasis slaptažodis" + +#: options.php:51 +msgid "Old Password" +msgstr "Senasis slaptažodis" + +#: options.php:173 setup.php:35 +msgid "Password changed successfully." +msgstr "Slaptažodis buvo sėkmingai pakeistas." + +#: options.php:64 +msgid "Submit" +msgstr "Pakeisti" + +#: setup.php:20 +msgid "" +"This connects to your local Password Server to change your email password." +msgstr "" +"Čia galima prisijungti prie JÅ«sų slaptažodžių serverio ir pakeisti savo " +"paÅ¡to slaptažodį." + +#: options.php:53 +msgid "Verify New Password" +msgstr "Patvirtinti naują slaptažodį" + +#: options.php:112 +msgid "You must also type in your new password in the verify box." +msgstr "JÅ«s turite dar kartą įvesti naują slaptažodį patvirtinimo laukelyje." + +#: options.php:109 +msgid "You must type in a new password." +msgstr "JÅ«s turite įvesti naująjį slaptažodį." + +#: options.php:106 +msgid "You must type in your old password." +msgstr "JÅ«s turite įvesti savo senąjį slaptažodį." + +#: options.php:115 +msgid "Your new password doesn't match the verify password." +msgstr "" +"Naujasis slaptažodis neatitinka to, kuris įraÅ¡ytas patvirtinimo laukelyje." + +#: options.php:118 +msgid "Your old password is not correct." +msgstr "JÅ«sų senasis slaptažodis yra neteisingas." diff --git a/change_pass/locale/nb_NO/LC_MESSAGES/change_pass.mo b/change_pass/locale/nb_NO/LC_MESSAGES/change_pass.mo new file mode 100644 index 0000000..120f630 Binary files /dev/null and b/change_pass/locale/nb_NO/LC_MESSAGES/change_pass.mo differ diff --git a/change_pass/locale/nb_NO/LC_MESSAGES/change_pass.po b/change_pass/locale/nb_NO/LC_MESSAGES/change_pass.po new file mode 100644 index 0000000..7e48705 --- /dev/null +++ b/change_pass/locale/nb_NO/LC_MESSAGES/change_pass.po @@ -0,0 +1,77 @@ +# Norwegian (bokmal) translation of change_pass plugin. +# Copyright (C) 2006 The SquirrelMail Project Team +# This file is distributed under the same license as the change_pass package. +# Svein Olav Bjerkeset , 2006. +# $Id: change_pass.po,v 1.1 2006/10/04 06:44:41 tokul Exp $ +msgid "" +msgstr "" +"Project-Id-Version: change_pass 2.7\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-07-19 10:25+0200\n" +"PO-Revision-Date: 2006-07-19 14:05+0200\n" +"Last-Translator: Svein Olav Bjerkeset \n" +"Language-Team: Norwegian (bokmal) \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../options.php:36 ../setup.php:21 +msgid "Change Password" +msgstr "Endre passord" + +#: ../options.php:51 +msgid "Old Password" +msgstr "Gammelt passord" + +#: ../options.php:52 +msgid "New Password" +msgstr "Nytt passord" + +#: ../options.php:53 +msgid "Verify New Password" +msgstr "Bekreft nytt passord" + +#: ../options.php:64 +msgid "Submit" +msgstr "Endre" + +#: ../options.php:77 +msgid "Closing Connection" +msgstr "Lukker forbindelsen" + +#: ../options.php:106 +msgid "You must type in your old password." +msgstr "Du må oppgi ditt gamle passord." + +#: ../options.php:109 +msgid "You must type in a new password." +msgstr "Du må skrive inn det nye passordet." + +#: ../options.php:112 +msgid "You must also type in your new password in the verify box." +msgstr "Du må bekrefte det nye passordet." + +#: ../options.php:115 +msgid "Your new password doesn't match the verify password." +msgstr "Du har ikke skrevet det nye passordet likt to ganger." + +#: ../options.php:118 +msgid "Your old password is not correct." +msgstr "Ditt gamle passord er ikke riktig." + +#: ../options.php:138 +msgid "Connecting to Password Server" +msgstr "Kobler til passordserver" + +#: ../options.php:142 +msgid "ERROR:" +msgstr "FEIL:" + +#: ../options.php:173 ../setup.php:38 +msgid "Password changed successfully." +msgstr "Passordet ditt er endret." + +#: ../setup.php:23 +msgid "" +"This connects to your local Password Server to change your email password." +msgstr "Her kan du endre ditt e-post passord." diff --git a/change_pass/locale/nl_NL/LC_MESSAGES/change_pass.mo b/change_pass/locale/nl_NL/LC_MESSAGES/change_pass.mo new file mode 100644 index 0000000..4461c22 Binary files /dev/null and b/change_pass/locale/nl_NL/LC_MESSAGES/change_pass.mo differ diff --git a/change_pass/locale/nl_NL/LC_MESSAGES/change_pass.po b/change_pass/locale/nl_NL/LC_MESSAGES/change_pass.po new file mode 100644 index 0000000..bad386b --- /dev/null +++ b/change_pass/locale/nl_NL/LC_MESSAGES/change_pass.po @@ -0,0 +1,75 @@ +# Dutch translation of change_pass plugin translation. +# Copyright (c) 2006 The SquirrelMail Project Team +# Sander , 2006. +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: $Id: change_pass.po,v 1.1 2007/06/05 04:05:06 indiri69 Exp $\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-31 15:00-0700\n" +"PO-Revision-Date: 2006-02-15 09:01+0100\n" +"Last-Translator: Sander Eerkes \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#: options.php:36 setup.php:18 +msgid "Change Password" +msgstr "Wachtwoord Wijzigen" + +#: options.php:77 +msgid "Closing Connection" +msgstr "Verbinding aan het sluiten" + +#: options.php:137 +msgid "Connecting to Password Server" +msgstr "Verbinding met de Wachtwoord Server aan het maken" + +#: options.php:141 +msgid "ERROR:" +msgstr "ERROR:" + +#: options.php:52 +msgid "New Password" +msgstr "Nieuw Wachtwoord" + +#: options.php:51 +msgid "Old Password" +msgstr "Oud Wachtwoord" + +#: options.php:173 setup.php:35 +msgid "Password changed successfully." +msgstr "Wachtwoord succesvol gewijzigd." + +#: options.php:64 +msgid "Submit" +msgstr "Wijzig" + +#: setup.php:20 +msgid "This connects to your local Password Server to change your email password." +msgstr "Hier kunt u uw email wachtwoord wijzigen." + +#: options.php:53 +msgid "Verify New Password" +msgstr "Bevestig Nieuw Wachtwoord" + +#: options.php:112 +msgid "You must also type in your new password in the verify box." +msgstr "U moet uw nieuwe wachtwoord ook in het 'Bevestig Nieuw Wachtwoord' veld invullen." + +#: options.php:109 +msgid "You must type in a new password." +msgstr "U moet een nieuw wachtwoord opgeven." + +#: options.php:106 +msgid "You must type in your old password." +msgstr "U moet uw oude wachtwoord opgeven." + +#: options.php:115 +msgid "Your new password doesn't match the verify password." +msgstr "Uw nieuwe wachtwoord komt niet overeen met het wachtwoord in het bevestig veld." + +#: options.php:118 +msgid "Your old password is not correct." +msgstr "Uw oude wachtwoord is niet correct." diff --git a/change_pass/locale/pl_PL/LC_MESSAGES/change_pass.mo b/change_pass/locale/pl_PL/LC_MESSAGES/change_pass.mo new file mode 100644 index 0000000..027980f Binary files /dev/null and b/change_pass/locale/pl_PL/LC_MESSAGES/change_pass.mo differ diff --git a/change_pass/locale/pl_PL/LC_MESSAGES/change_pass.po b/change_pass/locale/pl_PL/LC_MESSAGES/change_pass.po new file mode 100644 index 0000000..e834be9 --- /dev/null +++ b/change_pass/locale/pl_PL/LC_MESSAGES/change_pass.po @@ -0,0 +1,75 @@ +# POLISH change_pass plugin translation. +# Copyright (C) 2003 The Squirrelmail Development Team. +# Sebastian Turzyñski , 2003. +# +msgid "" +msgstr "" +"Project-Id-Version: $Id: change_pass.po,v 1.2 2003/12/14 20:26:40 indiri69 Exp $\n" +"POT-Creation-Date: 2003-09-12 12:12-0600\n" +"PO-Revision-Date: 2003-09-30 13:20+0100\n" +"Last-Translator: Sebastian Turzynski \n" +"Language-Team: Polish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-2\n" +"Content-Transfer-Encoding: 8bit\n" + +#: options.php:36 setup.php:18 +msgid "Change Password" +msgstr "Zmieñ has³o" + +#: options.php:77 +msgid "Closing Connection" +msgstr "Zamykanie po³±czenia" + +#: options.php:137 +msgid "Connecting to Password Server" +msgstr "£±czenie z serwerem hase³" + +#: options.php:141 +msgid "ERROR:" +msgstr "B³±d:" + +#: options.php:52 +msgid "New Password" +msgstr "Nowe has³o" + +#: options.php:51 +msgid "Old Password" +msgstr "Stare has³o" + +#: options.php:173 setup.php:35 +msgid "Password changed successfully." +msgstr "Has³o zosta³o zmienione pomy¶lnie." + +#: options.php:64 +msgid "Submit" +msgstr "Potwierd¼" + +#: setup.php:20 +msgid "" +"This connects to your local Password Server to change your email password." +msgstr "£±czy z lokalnym serwerem hase³ aby zmieniæ has³o Twojego konta pocztowego." + +#: options.php:53 +msgid "Verify New Password" +msgstr "Potwierd¼ nowe has³o" + +#: options.php:112 +msgid "You must also type in your new password in the verify box." +msgstr "Musisz tak¿e wpisaæ nowe has³o w polu potwierdzenia." + +#: options.php:109 +msgid "You must type in a new password." +msgstr "Musisz wpisaæ nowe has³o." + +#: options.php:106 +msgid "You must type in your old password." +msgstr "Musisz wpisaæ stare has³o." + +#: options.php:115 +msgid "Your new password doesn't match the verify password." +msgstr "Twoje nowe has³o nie odpowiada has³u wpisanemu w polu potwierdzenia has³a." + +#: options.php:118 +msgid "Your old password is not correct." +msgstr "Twoje stare has³o nie jest prawid³owe." diff --git a/change_pass/locale/pt_BR/LC_MESSAGES/change_pass.mo b/change_pass/locale/pt_BR/LC_MESSAGES/change_pass.mo new file mode 100644 index 0000000..fc428d2 Binary files /dev/null and b/change_pass/locale/pt_BR/LC_MESSAGES/change_pass.mo differ diff --git a/change_pass/locale/pt_BR/LC_MESSAGES/change_pass.po b/change_pass/locale/pt_BR/LC_MESSAGES/change_pass.po new file mode 100644 index 0000000..2956300 --- /dev/null +++ b/change_pass/locale/pt_BR/LC_MESSAGES/change_pass.po @@ -0,0 +1,80 @@ +# $Id: change_pass.po,v 1.1 2004/06/30 17:21:21 indiri69 Exp $ +# Brazilian Portuguese change_pass plugin translation. +# Copyright (C) 2003 The Squirrelmail Development Team. +# Edinardo Potrich , 2004. +# +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-09-12 12:12-0600\n" +"PO-Revision-Date: 2004-06-29 09:42-0300\n" +"Last-Translator: Edinardo Potrich \n" +"Language-Team: Portuguese/Brazil \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit" + +#: options.php:36 setup.php:18 +msgid "Change Password" +msgstr "Alterar Senha" + +#: options.php:77 +msgid "Closing Connection" +msgstr "Terminando Conexão" + +#: options.php:137 +msgid "Connecting to Password Server" +msgstr "Conectado ao Servidor de Senhas" + +#: options.php:141 +msgid "ERROR:" +msgstr "ERRO:" + +#: options.php:52 +msgid "New Password" +msgstr "Nova Senha" + +#: options.php:51 +msgid "Old Password" +msgstr "Senha Atual" + +#: options.php:173 setup.php:35 +msgid "Password changed successfully." +msgstr "Senha alterada com sucesso." + +#: options.php:64 +msgid "Submit" +msgstr "Alterar" + +#: setup.php:20 +msgid "" +"This connects to your local Password Server to change your email password." +msgstr "" +"Conecta-se ao seu Servidor de Senhas local para alterar sua senha de email." + +#: options.php:53 +msgid "Verify New Password" +msgstr "Repita a Nova Senha" + +#: options.php:112 +msgid "You must also type in your new password in the verify box." +msgstr "Você também deve repetir a nova senha." + +#: options.php:109 +msgid "You must type in a new password." +msgstr "Você deve digitar a nova senha." + +#: options.php:106 +msgid "You must type in your old password." +msgstr "Você tem que digitar sua senha atual." + +#: options.php:115 +msgid "Your new password doesn't match the verify password." +msgstr "Sua nova senha não coincide com a repetição." + +#: options.php:118 +msgid "Your old password is not correct." +msgstr "Sua senha atual esta incorreta." + diff --git a/change_pass/locale/pt_PT/LC_MESSAGES/change_pass.mo b/change_pass/locale/pt_PT/LC_MESSAGES/change_pass.mo new file mode 100644 index 0000000..fcfa87a Binary files /dev/null and b/change_pass/locale/pt_PT/LC_MESSAGES/change_pass.mo differ diff --git a/change_pass/locale/pt_PT/LC_MESSAGES/change_pass.po b/change_pass/locale/pt_PT/LC_MESSAGES/change_pass.po new file mode 100644 index 0000000..69fdf74 --- /dev/null +++ b/change_pass/locale/pt_PT/LC_MESSAGES/change_pass.po @@ -0,0 +1,75 @@ +# Portuguese change_pass plugin translation. +# Copyright (C) 2003 The Squirrelmail Development Team. +# Ruben Leote Mendes , 2003. +# +msgid "" +msgstr "" +"Project-Id-Version: $Id: change_pass.po,v 1.2 2003/12/14 20:26:40 indiri69 Exp $\n" +"POT-Creation-Date: 2003-09-12 12:12-0600\n" +"PO-Revision-Date: 2003-09-13 17:40+0100\n" +"Last-Translator: Ruben Leote Mendes \n" +"Language-Team: Portuguese Portugal \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#: options.php:36 setup.php:18 +msgid "Change Password" +msgstr "Alterar Senha" + +#: options.php:77 +msgid "Closing Connection" +msgstr "A Terminar Ligação" + +#: options.php:137 +msgid "Connecting to Password Server" +msgstr "A Estabelecer Ligação com o Servidor" + +#: options.php:141 +msgid "ERROR:" +msgstr "ERRO:" + +#: options.php:52 +msgid "New Password" +msgstr "Senha Nova" + +#: options.php:51 +msgid "Old Password" +msgstr "Senha Actual" + +#: options.php:173 setup.php:35 +msgid "Password changed successfully." +msgstr "Senha alterada com sucesso." + +#: options.php:64 +msgid "Submit" +msgstr "Alterar" + +#: setup.php:20 +msgid "" +"This connects to your local Password Server to change your email password." +msgstr "Aqui pode alterar a sua senha secreta." + +#: options.php:53 +msgid "Verify New Password" +msgstr "Repetir Senha Nova" + +#: options.php:112 +msgid "You must also type in your new password in the verify box." +msgstr "Tem de repetir a senha nova." + +#: options.php:109 +msgid "You must type in a new password." +msgstr "Tem de introduzir a senha nova." + +#: options.php:106 +msgid "You must type in your old password." +msgstr "Tem de introduzir a senha actual." + +#: options.php:115 +msgid "Your new password doesn't match the verify password." +msgstr "As senhas não coincidem." + +#: options.php:118 +msgid "Your old password is not correct." +msgstr "A senha actual está incorrecta." diff --git a/change_pass/locale/sl_SI/LC_MESSAGES/change_pass.mo b/change_pass/locale/sl_SI/LC_MESSAGES/change_pass.mo new file mode 100644 index 0000000..867117c Binary files /dev/null and b/change_pass/locale/sl_SI/LC_MESSAGES/change_pass.mo differ diff --git a/change_pass/locale/sl_SI/LC_MESSAGES/change_pass.po b/change_pass/locale/sl_SI/LC_MESSAGES/change_pass.po new file mode 100644 index 0000000..c52e535 --- /dev/null +++ b/change_pass/locale/sl_SI/LC_MESSAGES/change_pass.po @@ -0,0 +1,80 @@ +# Slovenian (sl_SI) change_pass plugin translation. +# Copyright (C) 2003 The Squirrelmail Development Team. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: $Id: change_pass.po,v 1.1 2005/11/20 06:42:00 indiri69 Exp $\n" +"POT-Creation-Date: 2003-09-12 12:12-0600\n" +"PO-Revision-Date: 2005-10-11 12:31+0100\n" +"Last-Translator: Sasa Stupar \n" +"Language-Team: Sasa Stupar \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Slovenian\n" +"X-Poedit-Country: SLOVENIA\n" +"X-Poedit-SourceCharset: iso-8859-1\n" + +#: options.php:36 +#: setup.php:18 +msgid "Change Password" +msgstr "Sprememba gesla" + +#: options.php:77 +msgid "Closing Connection" +msgstr "Zapiranje povezave" + +#: options.php:137 +msgid "Connecting to Password Server" +msgstr "Povezujem se na strežnik za gesla" + +#: options.php:141 +msgid "ERROR:" +msgstr "NAPAKA:" + +#: options.php:52 +msgid "New Password" +msgstr "Novo geslo" + +#: options.php:51 +msgid "Old Password" +msgstr "Staro geslo" + +#: options.php:173 +#: setup.php:35 +msgid "Password changed successfully." +msgstr "Geslo uspeÅ¡no spremenjeno." + +#: options.php:64 +msgid "Submit" +msgstr "PoÅ¡lji" + +#: setup.php:20 +msgid "This connects to your local Password Server to change your email password." +msgstr "Za spremembo gesla se poveže z vaÅ¡im lokalnim strežnikom." + +#: options.php:53 +msgid "Verify New Password" +msgstr "Preveri novo geslo" + +#: options.php:112 +msgid "You must also type in your new password in the verify box." +msgstr "V polje \"Preveri novo geslo\" morate pravtako vpisati novo geslo." + +#: options.php:109 +msgid "You must type in a new password." +msgstr "Morate vpisati novo geslo." + +#: options.php:106 +msgid "You must type in your old password." +msgstr "Morate vpisati staro geslo." + +#: options.php:115 +msgid "Your new password doesn't match the verify password." +msgstr "VaÅ¡e novo geslo se ne ujema." + +#: options.php:118 +msgid "Your old password is not correct." +msgstr "VaÅ¡e staro geslo je napačno." + diff --git a/change_pass/locale/sv_SE/LC_MESSAGES/change_pass.mo b/change_pass/locale/sv_SE/LC_MESSAGES/change_pass.mo new file mode 100644 index 0000000..16f1974 Binary files /dev/null and b/change_pass/locale/sv_SE/LC_MESSAGES/change_pass.mo differ diff --git a/change_pass/locale/sv_SE/LC_MESSAGES/change_pass.po b/change_pass/locale/sv_SE/LC_MESSAGES/change_pass.po new file mode 100644 index 0000000..3580f08 --- /dev/null +++ b/change_pass/locale/sv_SE/LC_MESSAGES/change_pass.po @@ -0,0 +1,79 @@ +# Swedish translation of change_pass plugin. +# Copyright (C) 2007 The Squirrelmail Development Team. +# Erik Lindgren , 2005. +# $Id: change_pass.po,v 1.1 2007/06/05 03:30:07 indiri69 Exp $ +# +# +msgid "" +msgstr "" +"Project-Id-Version: change_pass 2.7\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-01-18 23:24+0100\n" +"PO-Revision-Date: 2007-06-04 20:24-0600\n" +"Last-Translator: Erik Lindgren \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit" + +#: options.php:36 setup.php:18 +msgid "Change Password" +msgstr "Ändra lösenord" + +#: options.php:77 +msgid "Closing Connection" +msgstr "Stänger förbindelse" + +#: options.php:137 +msgid "Connecting to Password Server" +msgstr "Ansluter till lösenordsservern" + +#: options.php:141 +msgid "ERROR:" +msgstr "FEL:" + +#: options.php:52 +msgid "New Password" +msgstr "Nytt lösenord" + +#: options.php:51 +msgid "Old Password" +msgstr "Gammalt lösenord" + +#: options.php:173 setup.php:35 +msgid "Password changed successfully." +msgstr "Ändring av lösenordet lyckades." + +#: options.php:64 +msgid "Submit" +msgstr "Ändra" + +#: setup.php:20 +msgid "" +"This connects to your local Password Server to change your email password." +msgstr "Detta ansluter till den lokala lösenordsservern för att ändra ditt lösenord." + +#: options.php:53 +msgid "Verify New Password" +msgstr "Verifiera nytt lösenord" + +#: options.php:112 +msgid "You must also type in your new password in the verify box." +msgstr "Du måste skriva ditt nya lösenord i verifieringsfältet." + +#: options.php:109 +msgid "You must type in a new password." +msgstr "Du måste skriva ett nytt lösenord." + +#: options.php:106 +msgid "You must type in your old password." +msgstr "Du måste skriva ditt gamla lösenord." + +#: options.php:115 +msgid "Your new password doesn't match the verify password." +msgstr "Du måste skriva samma lösenord i verifieringsfältet." + +#: options.php:118 +msgid "Your old password is not correct." +msgstr "Ditt gamla lösenord stämmer inte." + diff --git a/change_pass/options.php b/change_pass/options.php new file mode 100644 index 0000000..9343685 --- /dev/null +++ b/change_pass/options.php @@ -0,0 +1,183 @@ + + + + \n"; + echo " +
+
+
+\n"; + } + echo "
\n"; + } +?> +
+ + 'cp_oldpass', + _("New Password") => 'cp_newpass', + _("Verify New Password") => 'cp_verify'); + foreach($values as $key=>$value) { +?> + + + + + + +
+ +
+ name="plugin_change_pass"> +
+
+
+ + $strResp"; + } + } +} + +function change_pass_check($debug = 0) { + global $cp_oldpass, $cp_newpass, $cp_verify; + global $plugin_change_pass; + + sqgetGlobalVar('key', $key, SQ_COOKIE); + sqgetGlobalVar('onetimepad', $onetimepad, SQ_SESSION); + $messages = array(); + $password = OneTimePadDecrypt($key, $onetimepad); + + if ($cp_oldpass == '') { + $messages[] = _("You must type in your old password."); + } + if ($cp_newpass == '') { + $messages[] = _("You must type in a new password."); + } + if ($cp_verify == '') { + $messages[] = _("You must also type in your new password in the verify box."); + } + if ($cp_newpass != '' && ($cp_verify != $cp_newpass)) { + $messages[] = _("Your new password doesn't match the verify password."); + } + if ($cp_oldpass != '' && ($cp_oldpass != $password)) { + $messages[] = _("Your old password is not correct."); + } + if (count($messages)) { + $return = $messages; + } else { + $return = change_pass_go($password, $debug); + } + return $return; +} + +function change_pass_go($password, $debug) { + include_once(SM_PATH . 'plugins/change_pass/settings.php'); + + global $username; + global $cp_newpass, $key, $onetimepad; + + sqgetGlobalVar('base_uri', $base_uri, SQ_SESSION); + $messages = array(); + + if ($debug) { + $messages[] = _("Connecting to Password Server"); + } + $pop_socket = fsockopen($poppass_server, $poppass_port, $errno, $errstr); + if (!$pop_socket) { + $messages[] = _("ERROR:") . "$errstr ($errno)"; + return $messages; + } + + change_pass_readfb($pop_socket, $result, $messages, $debug); + if(!preg_match('/^2\d\d/', $result) ) { + change_pass_closeport($pop_socket, $messages, $debug); + return $messages; + } + + fputs($pop_socket, "user $username\r\n"); + change_pass_readfb($pop_socket, $result, $messages, $debug); + if(!preg_match('/^[23]\d\d/', $result) ) { + change_pass_closeport($pop_socket, $messages, $debug); + return $messages; + } + + fputs($pop_socket, "pass $password\r\n"); + change_pass_readfb($pop_socket, $result, $messages, $debug); + if(!preg_match('/^[23]\d\d/', $result) ) { + change_pass_closeport($pop_socket, $messages, $debug); + return $messages; + } + + fputs($pop_socket, "newpass $cp_newpass\r\n"); + change_pass_readfb($pop_socket, $result, $messages, $debug); + change_pass_closeport($pop_socket, $messages, $debug); + if(!preg_match('/^2\d\d/', $result) ) { + return $messages; + } + + $messages[] = _("Password changed successfully."); + + // Write new cookies for the password + $onetimepad = OneTimePadCreate(strlen($cp_newpass)); + $key = OneTimePadEncrypt($cp_newpass, $onetimepad); + sqsession_register($onetimepad, 'onetimepad'); + setcookie('key', $key, 0, $base_uri); + + return $messages; +} +?> diff --git a/change_pass/settings.php b/change_pass/settings.php new file mode 100644 index 0000000..f34c172 --- /dev/null +++ b/change_pass/settings.php @@ -0,0 +1,11 @@ + diff --git a/change_pass/setup.php b/change_pass/setup.php new file mode 100644 index 0000000..606fdfd --- /dev/null +++ b/change_pass/setup.php @@ -0,0 +1,49 @@ + _("Change Password"), + 'url' => SM_PATH . 'plugins/change_pass/options.php', + 'desc' => _("This connects to your local Password Server to change your email password."), + 'js' => false + ); + + bindtextdomain('squirrelmail', SM_PATH . 'locale'); + textdomain('squirrelmail'); +} + +function change_pass_save_pref() { + if(sqgetGlobalVar('plugin_change_pass', $plugin_change_pass)) { + include_once(SM_PATH . 'functions/i18n.php'); + bindtextdomain('change_pass', SM_PATH . 'plugins/change_pass/locale'); + textdomain('change_pass'); + + echo '

' . + _("Password changed successfully.") . + "

\n"; + + bindtextdomain('squirrelmail', SM_PATH . 'locale'); + textdomain('squirrelmail'); + } +} + + function change_pass_version() { + return '2.7a-1.4.x'; + } +?> diff --git a/change_pass/version b/change_pass/version new file mode 100644 index 0000000..d88285c --- /dev/null +++ b/change_pass/version @@ -0,0 +1,2 @@ +Change Password +2.7a-1.4.x diff --git a/change_pass/xm b/change_pass/xm new file mode 100755 index 0000000..3b30679 --- /dev/null +++ b/change_pass/xm @@ -0,0 +1 @@ +xgettext --keyword=_ -d change_pass -s -C *.php diff --git a/debian/README.CARNet b/debian/README.CARNet new file mode 100644 index 0000000..cc11055 --- /dev/null +++ b/debian/README.CARNet @@ -0,0 +1,29 @@ +squirrelmail-change-pass-cn +--------------------------- + +Ovaj paket donosi change_pass plugin za SquirrelMail. + +Izvorni kod change_pass plugina je skinut sa adrese: + + http://www.squirrelmail.org/plugin_view.php?id=21 + +squirrelmail-change-pass-cn paket automatski aktivira change_pass +plugin unutar SquirrelMail konfiguracije, a zatim vrsi podesavanje +poppassd servisa. + +Konfiguracija poppassd servisa nalazi se u datoteci: + + /etc/xinetd.d/poppassd + +Pristup poppassd servisu kontrolira se kroz datoteka: + + /etc/hosts.allow i /etc/hosts.deny + +Zbog sigurnosnih razloga, pristup poppassd servisu ogranicen je +na localhost (127.0.0.1). + +Izvorni odrzavatelj paketa: Zoran Dzelajlija . +Trenutno odrzava: Dragan Dosen . + + + -- Dragan Dosen Sat, 27 Oct 2007 15:13:10 +0200 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..151db5f --- /dev/null +++ b/debian/changelog @@ -0,0 +1,19 @@ +squirrelmail-change-pass-cn (2.7a-1) etch; urgency=low + + * Inicijalni paket za Debian etch distribuciju. + * Prepravljana postinst skripta: + + koristimo sed umjesto perl-a za prepravak SquirrelMail + konfiguracije + + cp-update umjesto echo prilikom dodavanja zapisa u datoteke + /etc/hosts.allow i /etc/hosts.deny. + * Prepravljena prerm skripta - dodano: + + brisanje change_pass plugin zapisa iz SquirrelMail + konfiguracije. + + -- Dragan Dosen Fri, 26 Oct 2007 21:39:49 +0200 + +change_pass (2.6-1) testing; urgency=low + + * Prvo izdanje. + + -- Zoran Dzelajlija Wed, 17 Mar 2004 23:14:22 +0100 diff --git a/debian/changelog.CARNet b/debian/changelog.CARNet new file mode 120000 index 0000000..194579e --- /dev/null +++ b/debian/changelog.CARNet @@ -0,0 +1 @@ +changelog.Debian \ No newline at end of file diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..5a3e6e2 --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: squirrelmail-change-pass-cn +Origin: carnet +Section: web +Priority: optional +Maintainer: Dragan Dosen +Build-Depends: debhelper (>= 4.0.0) +Standards-Version: 3.6.1 + +Package: squirrelmail-change-pass-cn +Architecture: all +Depends: squirrelmail-cn (>= 1.4.9), xinetd-cn (>= 2.3.14), poppassd (>= 1.8.5), carnet-tools-cn (>= 2.4) +Description: change passwords from SquirrelMail via poppassd + change_pass is a SquirrelMail plugin that lets you change your + password using poppassd service. This is pretty safe if the + IMAP server is localhost. + diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..e395a86 --- /dev/null +++ b/debian/dirs @@ -0,0 +1 @@ +/usr/share/squirrelmail/plugins diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..4f5d82d --- /dev/null +++ b/debian/docs @@ -0,0 +1,6 @@ +change_pass/ChangeLog +change_pass/README +change_pass/FAQ +change_pass/INSTALL +debian/changelog.CARNet +debian/README.CARNet diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..b5d666c --- /dev/null +++ b/debian/install @@ -0,0 +1 @@ +change_pass /usr/share/squirrelmail/plugins diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..3811f55 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,89 @@ +#!/bin/sh + +set -e + +[ "$1" = "configure" ] || exit 0 +[ $DEBIAN_SCRIPT_DEBUG ] && set -vx + + +PKG="squirrelmail-change-pass-cn" +SQCONF=/etc/squirrelmail/config.php + +# Include CARNet functions +. /usr/share/carnet-tools/functions.sh + + +# Configure poppassd to refuse connection from all hosts +# but localhost (127.0.0.1). +# +if [ -e /etc/hosts.deny -a -e /etc/hosts.allow ]; then + + if ! egrep -q '^poppassd:' /etc/hosts.deny; then + echo "poppassd: ALL" | cp-update "$PKG" /etc/hosts.deny + fi + + if ! egrep -q '^poppassd:' /etc/hosts.allow; then + echo "poppassd: 127.0.0.1" | cp-update "$PKG" /etc/hosts.allow + fi +fi + + +# Enable change_pass plugin in SquirrelMail config.php. +# +if ! egrep '^\$plugins\[[0-9]+\][\ ]*=[\ ]*'\''change_pass'\' "$SQCONF"; then + + sq_last_plugin=`egrep '^\\$plugins\[[0-9]+\][\ ]*=[\ ]*'\' "$SQCONF" | sed 's/^.*\[//;s/\].*//' | sort -n | tail -n1` || true + + if [ -n "$sq_last_plugin" ]; then + + # Backup SquirrelMail configuration file. + cp_check_and_backup "$SQCONF" + + change_pass_num=$sq_last_plugin + let change_pass_num++ + + SQCONFTMP=`mktemp $SQCONF.tmp.XXXXXX` + + echo -n "CN: Enabling SquirrelMail change_pass plugin in $SQCONF" + sed '/^$plugins\[.*'${sq_last_plugin}'\]/a $plugins['${change_pass_num}'] = '\''change_pass'\'';' "$SQCONF" > "$SQCONFTMP" + cp_mv "$SQCONFTMP" "$SQCONF" + echo "." + fi + +fi + + +# Convert poppassd service from inetd.conf to xinetd.conf type. +# Service configuration is saved in /etc/xinetd.d/ directory. +# +if [ -x /etc/init.d/xinetd -a -d /etc/xinetd.d -a -x /usr/sbin/itox ]; then + + if egrep -q '^poppassd' /etc/inetd.conf && \ + [ ! -e /etc/xinetd.d/poppassd ]; then + + echo -n "CN: Enabling poppassd in /etc/xinetd.d/poppassd" + grep "^poppassd" /etc/inetd.conf | \ + itox -daemon_dir /usr/sbin | cp-update "$PKG" /etc/xinetd.d/poppassd + changed_config=1 + echo "." + fi +fi + + +# Restart xinetd if needed. +# +[ "$changed_config" ] && do=reload +pgrep -u root -f /usr/sbin/xinetd > /dev/null || do=start + +if [ "$do" ]; then + + if [ -x "/etc/init.d/xinetd" ]; then + if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then + invoke-rc.d xinetd "$do" || exit $? + else + /etc/init.d/xinetd "$do" || exit $? + fi + fi +fi + +exit 0 diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 0000000..11b8ed8 --- /dev/null +++ b/debian/prerm @@ -0,0 +1,76 @@ +#!/bin/sh + +set -e + +case "$1" in + remove|deconfigure) + + # Include CARNet functions + . /usr/share/carnet-tools/functions.sh + + PKG="squirrelmail-change-pass-cn" + need_restart=0 + + # Remove CARNet configuration from /etc/hosts.allow and + # /etc/hosts.deny. + # + if [ -f "/etc/hosts.allow" ]; then + cp-update -r "$PKG" /etc/hosts.allow + fi + if [ -f "/etc/hosts.deny" ]; then + cp-update -r "$PKG" /etc/hosts.deny + fi + + # Remove SquirrelMail change_pass plugin from SquirrelMail + # configuration. + # + SQCONF=/etc/squirrelmail/config.php + + cp_echo "CN: Disabling SquirrelMail change_pass plugin in $SQCONF" + cp_check_and_sed '^\$plugins.*change_pass' \ + '/^\$plugins.*change_pass/d' \ + "$SQCONF" || true + + # Remove poppassd service from xinetd. + # + if [ -f "/etc/xinetd.d/poppassd" ]; then + + if egrep -q "^# Begin update by CARNet package " /etc/xinetd.d/poppassd; then + + cp_echo "CN: Removing poppassd service from xinetd configuration." + rm -f /etc/xinetd.d/poppassd + need_restart=1 + fi + fi + + # Restart xinetd if needed. + # + if [ $need_restart -eq 1 ]; then + + if [ -x "/etc/init.d/xinetd" ]; then + if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then + invoke-rc.d xinetd restart || exit $? + else + /etc/init.d/xinetd restart || exit $? + fi + fi + fi + + # Mail root. + # + cp_mail "$PKG" + + break + ;; + upgrade) + : + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \$1'" >&2 + exit 0 + ;; +esac + +exit 0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..76c08c8 --- /dev/null +++ b/debian/rules @@ -0,0 +1,68 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +#export DH_VERBOSE=1 + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_install -X.svn -XChangeLog -XFAQ -XINSTALL -XREADME +# dh_installexamples +# dh_install +# dh_installmenu + dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link +# dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure