Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37885415
en ru br
Репозитории ALT
5.1: 4.64L-alt6
4.1: 4.64L-alt5
4.0: 4.64L-alt4.1
3.0: 4.58L-alt4
+backports:4.64L-alt0.M30.4
www.altlinux.org/Changes

Группа :: Сети/Почта
Пакет: pine

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: pine4.61.dif
Скачать


Index: pine4.63/README.SuSE
================================================================================
--- pine4.64/README.SuSE
+++ pine4.64/README.SuSE
@@ -0,0 +1,60 @@
+
+Comprehensive overview of patches/changes applied to Pine 4.58
+Last change: January 14, 2004 by Bernhard Kaindl, SUSE.
+
+Patches provided by Eduardo Chappa:
+
+- using password files -> pine-passfile.html
+- searching in mail body only -> pine-body.html
+- justify paragraphs that contain more than one level of indentation
+  -> pine-fillpara.html
+- editing (old) search patterns in pico -> pine-insertpat.html
+- fancier threading -> pine-fancy.html
+- displaying number of new messages -> pine-newmessages.html
+- circular checking incoming folders -> pine-circtab.html
+- writing accents (even on console) -> pine-WrtAcc.html
+- using Pine to sent mail from the command line -> pine-outgoing.html
+- automatically checking for new mails in the incoming folders
+  -> pine-incoming.html
+- changing From header at any time -> pine-fromheader.html
+
+(to learn more about patches provided by Eduardo Chappa visit
+ http://www.math.washington.edu/~chappa/pine/patches/)
+
+
+Other patches:
+
+- support for maildir format by Mattias Larsson (-> README.maildir)
+- support of UTF-8 (-> pine-iconv-7e.html)
+- workaround for insecure url parsing code (-> pine-urlquote.html)
+- fix against crash on sending while using the quell-content-id feature
+  -> pine-smtp.html
+
+
+Possible ways to use UTF-8 with this version of Pine:
+1.)
+In your environment (e.g. with /etc/sysconfig/language) set
+LANG=de_DE@euro
+(or any other non-UTF-8 mapping).
+
+In your pine configuration, set
+character-set=ISO-8859-15
+send-charset=UTF-8
+
+This way you will be able to read UTF-8 as the characters can be converted.
+You will send UTF-8 encoded messages per default pushing the development of
+UTF-8-ready applications even further.
+
+
+2)
+LANG=de_DE.UTF-8
+(or any other UTF-8 mapping), run your terminal(e.g. xterm, mlterm)
+and set
+character-set=UTF-8
+send-charset=UTF-8   (or empty, it will default to UTF-8 in this case)
+in your pine configuration.
+
+However, when editing message headers or using Pico as editor things
+may not work as expected. For details pine-iconv-7e.html. Use an external
+Editor which supports UTF-8 like vim, judit or so.
+
--- pine4.64/doc/pine.1
+++ pine4.64/doc/pine.1
@@ -309,9 +309,9 @@
 .if n .ta 2.8i
 .if t .ta 2.1i
 
-/usr/spool/mail/xxxx	Default folder for incoming mail.
+/var/mail/xxxx		Default folder for incoming mail.
 .br
-~/mail	Default directory for mail folders.
+~/Mail	Default directory for mail folders.
 .br
 ~/.addressbook	Default address book file.
 .br
@@ -333,21 +333,21 @@
 .br
 /etc/mime.types	System-wide file ext. to MIME type mapping
 .br
-/usr/local/lib/pine.info	Local pointer to system administrator.
+/usr/lib/pine.info	Local pointer to system administrator.
 .br
-/usr/local/lib/pine.conf	System-wide configuration file.
+/etc/pine.conf	System-wide configuration file.
 .br
-/usr/local/lib/pine.conf.fixed	 Non-overridable configuration file.
+/etc/pine.conf.fixed	 Non-overridable configuration file.
 .br
-/tmp/.\\usr\\spool\\mail\\xxxx	Per-folder mailbox lock files.
+/tmp/.\\var\\mail\\xxxx		Per-folder mailbox lock files.
 .br
 ~/.pine-interrupted-mail	Message which was interrupted.
 .br
-~/mail/postponed-msgs	For postponed messages.
+~/Mail/postponed-msgs	For postponed messages.
 .br
-~/mail/sent-mail	Outgoing message archive (FCC).
+~/Mail/sent-mail	Outgoing message archive (FCC).
 .br
-~/mail/saved-messages	Default destination for Saving messages.
+~/Mail/saved-messages	Default destination for Saving messages.
 .SH "SEE ALSO"
 
 pico(1), binmail(1), aliases(5), mailaddr(7), sendmail(8), spell(1), imapd(8)
--- pine4.64/imap/docs/FAQ.txt
+++ pine4.64/imap/docs/FAQ.txt
@@ -195,7 +195,7 @@
             server"? 
           + 7.7 Why do I get the message 
                o Moved ##### bytes of new mail to /home/user/mbox from
-                 /var/spool/mail/user
+                 /var/mail/user
             and why did this happen?
           + 7.8 Why isn't it showing the local host name as a
             fully-qualified domain name? 
@@ -203,7 +203,7 @@
             headers of outgoing mail not coming out as a fully-qualified
             domain name? 
           + 7.10 What does the message: 
-               o Mailbox vulnerable - directory /var/spool/mail must have
+               o Mailbox vulnerable - directory /var/mail must have
                  1777 protection
             mean? How can I fix this?
           + 7.11 What does the message: 
@@ -1156,7 +1156,7 @@
             uppercase), then subsequent access to INBOX by any c-client
             based application will use the mbx-format INBOX. Any mail
             delivered to the traditional format mailbox in the spool
-            directory (e.g. /var/spool/mail/$USER) will automatically be
+            directory (e.g. /var/mail/$USER) will automatically be
             copied into the mbx-format INBOX and the spool directory copy
             removed.
           + You can cause any newly-created mailboxes to be in mbx-format
@@ -1916,7 +1916,7 @@
    
    7.6 Why does mail disappear even though I set "keep mail on server"? 
    7.7 Why do I get the message Moved ##### bytes of new mail to
-   /home/user/mbox from /var/spool/mail/user and why did this happen? 
+   /home/user/mbox from /var/mail/user and why did this happen? 
    
           This is probably caused by the mbox driver. If the file "mbox"
           exists on the user's home directory and is in UNIX mailbox
@@ -1988,7 +1988,7 @@
      _________________________________________________________________
    
    7.10 What does the message: Mailbox vulnerable - directory
-   /var/spool/mail must have 1777 protection mean? How can I fix this? 
+   /var/mail must have 1777 protection mean? How can I fix this? 
    
           In order to update a mailbox in the default UNIX format, it is
           necessary to create a lock file to prevent the mailer from
--- pine4.64/imap/src/osdep/unix/Makefile
+++ pine4.64/imap/src/osdep/unix/Makefile
@@ -83,11 +83,11 @@
 LOGINPW=std
 SIGTYPE=bsd
 CRXTYPE=std
-ACTIVEFILE=/usr/lib/news/active
-SPOOLDIR=/usr/spool
-MAILSPOOL=$(SPOOLDIR)/mail
+ACTIVEFILE=/var/lib/news/active
+SPOOLDIR=/var/spool
+MAILSPOOL=/var/mail
 NEWSSPOOL=$(SPOOLDIR)/news
-RSHPATH=/usr/ucb/rsh
+RSHPATH=/usr/bin/rsh
 LOCKPGM=/etc/mlock
 
 
--- pine4.64/imap/src/osdep/unix/mh.c
+++ pine4.64/imap/src/osdep/unix/mh.c
@@ -28,6 +28,7 @@
 #include <pwd.h>
 #include <sys/stat.h>
 #include <sys/time.h>
+#include <time.h>
 #include "mh.h"
 #include "misc.h"
 #include "dummy.h"
--- pine4.64/imap/src/osdep/unix/mx.c
+++ pine4.64/imap/src/osdep/unix/mx.c
@@ -28,6 +28,7 @@
 #include <pwd.h>
 #include <sys/stat.h>
 #include <sys/time.h>
+#include <time.h>
 #include "mx.h"
 #include "misc.h"
 #include "dummy.h"
--- pine4.64/imap/src/osdep/unix/news.c
+++ pine4.64/imap/src/osdep/unix/news.c
@@ -27,6 +27,7 @@
 #include "osdep.h"
 #include <sys/stat.h>
 #include <sys/time.h>
+#include <time.h>
 #include "misc.h"
 #include "newsrc.h"
 
--- pine4.64/imap/src/osdep/unix/os_slx.c
+++ pine4.64/imap/src/osdep/unix/os_slx.c
@@ -33,6 +33,7 @@
 extern int errno;		/* just in case */
 #include <pwd.h>
 #include <shadow.h>
+#include <crypt.h>
 #include "misc.h"
 
 
--- pine4.64/imap/src/osdep/unix/phile.c
+++ pine4.64/imap/src/osdep/unix/phile.c
@@ -29,6 +29,7 @@
 #include <pwd.h>
 #include <sys/stat.h>
 #include <sys/time.h>
+#include <time.h>
 #include "rfc822.h"
 #include "misc.h"
 #include "dummy.h"
--- pine4.64/pico/main.c
+++ pine4.64/pico/main.c
@@ -247,7 +247,7 @@
     curwp->w_flag |= WFMODE;		/* and force an update	*/
 
     if(timeoutset)
-      emlwrite("Checking for new mail every %D seconds", (void *)timeo);
+      emlwrite("Checking for new mail every %d seconds", (void *)timeo);
 
     forwline(0, starton - 1);		/* move dot to specified line */
 
--- pine4.64/pico/makefile.lnx
+++ pine4.64/pico/makefile.lnx
@@ -36,7 +36,7 @@
 RM=          rm -f
 LN=          ln -s
 MAKE=        make
-OPTIMIZE=    # -O
+OPTIMIZE=    -pipe
 PROFILE=     # -pg
 DEBUG=       -g -DDEBUG
 
--- pine4.64/pico/osdep/os-lnx.h
+++ pine4.64/pico/osdep/os-lnx.h
@@ -25,6 +25,9 @@
 #include <string.h>
 #include <sys/types.h>
 
+/* Added for GLIBC port */
+#include <sys/ioctl.h>
+
 #define  USE_DIRENT
 #include <sys/dir.h>
 #include <unistd.h>
@@ -187,8 +190,10 @@
 /*
  * Make sys_errlist visible
  */
-/* extern char *sys_errlist[]; */
-/* extern int   sys_nerr; */
+#ifndef __GLIBC__
+extern char *sys_errlist[];
+extern int   sys_nerr;
+#endif
 
 
 #endif /* _PICO_OS_INCLUDED */
--- pine4.64/pico/pilot.c
+++ pine4.64/pico/pilot.c
@@ -131,7 +131,7 @@
 
     curbp->b_mode |= gmode;		/* and set default modes*/
     if(timeo)
-      emlwrite("Checking for new mail every %D seconds", (void *) timeo);
+      emlwrite("Checking for new mail every %d seconds", (void *) timeo);
 
     set_browser_title(PILOT_VERSION);
     FileBrowse(filedir, NSTRING, filename, NSTRING, NULL, 0, NULL);
--- pine4.64/pine/mailcap.c
+++ pine4.64/pine/mailcap.c
@@ -1,3 +1,4 @@
+
 #if !defined(lint) && !defined(DOS)
 static char rcsid[] = "$Id: mailcap.c 13858 2004-11-03 20:11:00Z hubert $";
 #endif
@@ -993,14 +994,18 @@
 		     * have to put those outside of the single quotes.
 		     * (The parm+1000 nonsense is to protect against
 		     * malicious mail trying to overlow our buffer.)
+				 *
+				 * TCH - Change 2/8/1999
+				 * Also quote the ` slash to prevent execution of arbirtrary code
 		     */
 		    for(p = parm; *p && p < parm+1000; p++){
-			if(*p == '\''){
+			if((*p == '\'')||(*p=='`')){ 
 			    *to++ = '\'';  /* closing quote */
 			    *to++ = '\\';
-			    *to++ = '\'';  /* below will be opening quote */
-			}
-			*to++ = *p;
+			    *to++ = *p; /* quoted character */
+                            *to++ = '\'';  /* opening quote */
+			} else
+			    *to++ = *p;
 		    }
 
 		    fs_give((void **) &parm);
@@ -1042,7 +1047,7 @@
      */
     if(!used_tmp_file && tmp_file)
       sprintf(to, MC_ADD_TMP, tmp_file);
-
+		
     return(cpystr(tmp_20k_buf));
 }
 
--- pine4.64/pine/makefile.lnx
+++ pine4.64/pine/makefile.lnx
@@ -45,9 +45,9 @@
 RM=          rm -f
 LN=          ln -s
 MAKE=        make
-OPTIMIZE=    # -O2
+OPTIMIZE=    -O2 -pipe
 PROFILE=     # -pg
-DEBUG=       -g -DDEBUG -DDEBUGJOURNAL
+DEBUG=       -g # -DDEBUG -DDEBUGJOURNAL
 
 CCLIENTDIR=  ../c-client
 PICODIR=     ../pico
--- pine4.64/pine/osdep/os-lnx.h
+++ pine4.64/pine/osdep/os-lnx.h
@@ -163,10 +163,10 @@
 
 /*----- System-wide config file ----------------------------------------*/
 #ifndef SYSTEM_PINERC
-#define SYSTEM_PINERC             "/usr/local/lib/pine.conf"
+#define SYSTEM_PINERC             "/etc/pine.conf"
 #endif
 #ifndef SYSTEM_PINERC_FIXED
-#define SYSTEM_PINERC_FIXED       "/usr/local/lib/pine.conf.fixed"
+#define SYSTEM_PINERC_FIXED       "/etc/pine.conf.fixed"
 #endif
 
 
@@ -181,7 +181,7 @@
 #define POSTPONED_MSGS            "postponed-msgs"
 #define INTERRUPTED_MAIL          ".pine-interrupted-mail"
 #define DEADLETTER                "dead.letter"
-#define DF_MAIL_DIRECTORY         "mail"
+#define DF_MAIL_DIRECTORY         "Mail"
 #define INBOX_NAME                "INBOX"
 #define DF_SIGNATURE_FILE         ".signature"
 #define DF_ELM_STYLE_SAVE         "no"
--- pine4.64/pine/pine-use.c
+++ pine4.64/pine/pine-use.c
@@ -45,7 +45,7 @@
 #include <sys/stat.h>
 
 #ifndef MAILSPOOLPCTS
-#define MAILSPOOLPCTS "/usr/spool/mail/%s"
+#define MAILSPOOLPCTS "/var/mail/%s"
 /* #define MAILSPOOLPCTS "/usr/mail/%s" */
 #endif
 
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin