[CVS] OpenPKG: openpkg-src/fetchmail/ fetchmail.patch fetchmail.spec

2008-11-17 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   17-Nov-2008 22:08:59
  Branch: HEAD Handle: 2008111721085900

  Modified files:
openpkg-src/fetchmail   fetchmail.patch fetchmail.spec

  Log:
upgrading package: fetchmail 6.3.8 -> 6.3.9

  Summary:
RevisionChanges Path
1.11+2  -21 openpkg-src/fetchmail/fetchmail.patch
1.94+2  -2  openpkg-src/fetchmail/fetchmail.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/fetchmail/fetchmail.patch
  
  $ cvs diff -u -r1.10 -r1.11 fetchmail.patch
  --- openpkg-src/fetchmail/fetchmail.patch 4 Sep 2007 08:29:06 -   
1.10
  +++ openpkg-src/fetchmail/fetchmail.patch 17 Nov 2008 21:08:59 -  
1.11
  @@ -1,6 +1,6 @@
   Index: socket.c
   socket.c.orig2006-12-17 01:05:31 +0100
  -+++ socket.c 2007-01-06 09:43:51 +0100
  +--- socket.c.orig2008-11-13 12:48:47 +0100
   socket.c 2008-11-17 13:59:21 +0100
   @@ -9,6 +9,8 @@
#include 
#include 
  @@ -10,22 +10,3 @@
#include  /* isspace() */
#ifdef HAVE_MEMORY_H
#include 
  -
  --
  -
  -Security Fix
  -http://fetchmail.berlios.de/fetchmail-SA-2007-02.txt
  -
  -Index: sink.c
   sink.c   (revision 5118)
  -+++ sink.c   (revision 5119)
  -@@ -262,7 +262,7 @@
  - const char *md1 = "MAILER-DAEMON", *md2 = "MAILER-DAEMON@";
  - 
  - /* don't bounce in reply to undeliverable bounces */
  --if (!msg->return_path[0] ||
  -+if (!msg || !msg->return_path[0] ||
  - strcmp(msg->return_path, "<>") == 0 ||
  - strcasecmp(msg->return_path, md1) == 0 ||
  - strncasecmp(msg->return_path, md2, strlen(md2)) == 0)
  -
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/fetchmail/fetchmail.spec
  
  $ cvs diff -u -r1.93 -r1.94 fetchmail.spec
  --- openpkg-src/fetchmail/fetchmail.spec  8 Apr 2008 14:40:58 -   
1.93
  +++ openpkg-src/fetchmail/fetchmail.spec  17 Nov 2008 21:08:59 -  
1.94
  @@ -31,8 +31,8 @@
   Class:BASE
   Group:Mail
   License:  GPL
  -Version:  6.3.8
  -Release:  20080408
  +Version:  6.3.9
  +Release:  20081117
   
   #   package options
   %option   with_conf  no
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/fetchmail/ fetchmail.patch fetchmail.spec

2007-09-04 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   04-Sep-2007 10:29:06
  Branch: HEAD Handle: 2007090409290600

  Modified files:
openpkg-src/fetchmail   fetchmail.patch fetchmail.spec

  Log:
Security Fix (http://fetchmail.berlios.de/fetchmail-SA-2007-02.txt)

  Summary:
RevisionChanges Path
1.10+19 -0  openpkg-src/fetchmail/fetchmail.patch
1.88+1  -1  openpkg-src/fetchmail/fetchmail.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/fetchmail/fetchmail.patch
  
  $ cvs diff -u -r1.9 -r1.10 fetchmail.patch
  --- openpkg-src/fetchmail/fetchmail.patch 6 Jan 2007 09:23:12 -   
1.9
  +++ openpkg-src/fetchmail/fetchmail.patch 4 Sep 2007 08:29:06 -   
1.10
  @@ -10,3 +10,22 @@
#include  /* isspace() */
#ifdef HAVE_MEMORY_H
#include 
  +
  +-
  +
  +Security Fix
  +http://fetchmail.berlios.de/fetchmail-SA-2007-02.txt
  +
  +Index: sink.c
  +--- sink.c   (revision 5118)
   sink.c   (revision 5119)
  +@@ -262,7 +262,7 @@
  + const char *md1 = "MAILER-DAEMON", *md2 = "MAILER-DAEMON@";
  + 
  + /* don't bounce in reply to undeliverable bounces */
  +-if (!msg->return_path[0] ||
  ++if (!msg || !msg->return_path[0] ||
  + strcmp(msg->return_path, "<>") == 0 ||
  + strcasecmp(msg->return_path, md1) == 0 ||
  + strncasecmp(msg->return_path, md2, strlen(md2)) == 0)
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/fetchmail/fetchmail.spec
  
  $ cvs diff -u -r1.87 -r1.88 fetchmail.spec
  --- openpkg-src/fetchmail/fetchmail.spec  20 Jul 2007 12:13:48 -  
1.87
  +++ openpkg-src/fetchmail/fetchmail.spec  4 Sep 2007 08:29:06 -   
1.88
  @@ -33,7 +33,7 @@
   Group:Mail
   License:  GPL
   Version:  6.3.8
  -Release:  20070720
  +Release:  20070904
   
   #   package options
   %option   with_conf  no
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/fetchmail/ fetchmail.patch fetchmail.spec

2007-01-06 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   06-Jan-2007 10:23:12
  Branch: HEAD Handle: 2007010609231200

  Modified files:
openpkg-src/fetchmail   fetchmail.patch fetchmail.spec

  Log:
upgrading package: fetchmail 6.3.5 -> 6.3.6

  Summary:
RevisionChanges Path
1.9 +2  -15 openpkg-src/fetchmail/fetchmail.patch
1.82+2  -2  openpkg-src/fetchmail/fetchmail.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/fetchmail/fetchmail.patch
  
  $ cvs diff -u -r1.8 -r1.9 fetchmail.patch
  --- openpkg-src/fetchmail/fetchmail.patch 28 Nov 2006 11:49:08 -  
1.8
  +++ openpkg-src/fetchmail/fetchmail.patch 6 Jan 2007 09:23:12 -   
1.9
  @@ -1,6 +1,6 @@
   Index: socket.c
   socket.c.orig2003-10-10 12:32:15.0 +0200
  -+++ socket.c 2003-10-19 13:17:45.0 +0200
  +--- socket.c.orig2006-12-17 01:05:31 +0100
   socket.c 2007-01-06 09:43:51 +0100
   @@ -9,6 +9,8 @@
#include 
#include 
  @@ -10,16 +10,3 @@
#include  /* isspace() */
#ifdef HAVE_MEMORY_H
#include 
  -Index: daemon.c
   daemon.c.orig2006-08-07 11:22:40 +0200
  -+++ daemon.c 2006-11-28 12:45:27 +0100
  -@@ -218,8 +218,7 @@
  -   if ((logfd = open(logfile, O_CREAT|O_WRONLY|O_APPEND, 0666)) < 0) {   
/* stdout */
  -   report(stderr, "cannot open %s: %s\n", logfile, strerror(errno));
  -   return PS_IOERR;
  --  } else
  --  logfd = 0;/* use /dev/null */
  -+  }
  -   } else
  -   logfd = 0;/* this is /dev/null */
  - 
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/fetchmail/fetchmail.spec
  
  $ cvs diff -u -r1.81 -r1.82 fetchmail.spec
  --- openpkg-src/fetchmail/fetchmail.spec  1 Jan 2007 17:37:45 -   
1.81
  +++ openpkg-src/fetchmail/fetchmail.spec  6 Jan 2007 09:23:12 -   
1.82
  @@ -32,8 +32,8 @@
   Class:BASE
   Group:Mail
   License:  GPL
  -Version:  6.3.5
  -Release:  20061128
  +Version:  6.3.6
  +Release:  20070106
   
   #   package options
   %option   with_conf  no
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/fetchmail/ fetchmail.patch fetchmail.spec

2006-11-28 Thread Torsten Homeyer
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Torsten Homeyer
  Root:   /v/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   28-Nov-2006 12:49:08
  Branch: HEAD Handle: 2006112811490800

  Modified files:
openpkg-src/fetchmail   fetchmail.patch fetchmail.spec

  Log:
fixed fetchmail not logging in daemon mode

  Summary:
RevisionChanges Path
1.8 +13 -0  openpkg-src/fetchmail/fetchmail.patch
1.80+1  -1  openpkg-src/fetchmail/fetchmail.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/fetchmail/fetchmail.patch
  
  $ cvs diff -u -r1.7 -r1.8 fetchmail.patch
  --- openpkg-src/fetchmail/fetchmail.patch 18 Nov 2005 07:51:59 -  
1.7
  +++ openpkg-src/fetchmail/fetchmail.patch 28 Nov 2006 11:49:08 -  
1.8
  @@ -10,3 +10,16 @@
#include  /* isspace() */
#ifdef HAVE_MEMORY_H
#include 
  +Index: daemon.c
  +--- daemon.c.orig2006-08-07 11:22:40 +0200
   daemon.c 2006-11-28 12:45:27 +0100
  +@@ -218,8 +218,7 @@
  +   if ((logfd = open(logfile, O_CREAT|O_WRONLY|O_APPEND, 0666)) < 0) {   
/* stdout */
  +   report(stderr, "cannot open %s: %s\n", logfile, strerror(errno));
  +   return PS_IOERR;
  +-  } else
  +-  logfd = 0;/* use /dev/null */
  ++  }
  +   } else
  +   logfd = 0;/* this is /dev/null */
  + 
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/fetchmail/fetchmail.spec
  
  $ cvs diff -u -r1.79 -r1.80 fetchmail.spec
  --- openpkg-src/fetchmail/fetchmail.spec  24 Nov 2006 16:34:10 -  
1.79
  +++ openpkg-src/fetchmail/fetchmail.spec  28 Nov 2006 11:49:08 -  
1.80
  @@ -33,7 +33,7 @@
   Group:Mail
   License:  GPL
   Version:  6.3.5
  -Release:  20061124
  +Release:  20061128
   
   #   package options
   %option   with_conf  no
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/fetchmail/ fetchmail.patch fetchmail.spec

2005-11-17 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   18-Nov-2005 08:52:00
  Branch: HEAD Handle: 2005111807515900

  Modified files:
openpkg-src/fetchmail   fetchmail.patch fetchmail.spec

  Log:
upgrading package: fetchmail 6.2.5 -> 6.2.9rc9

  Summary:
RevisionChanges Path
1.7 +0  -49 openpkg-src/fetchmail/fetchmail.patch
1.66+23 -17 openpkg-src/fetchmail/fetchmail.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/fetchmail/fetchmail.patch
  
  $ cvs diff -u -r1.6 -r1.7 fetchmail.patch
  --- openpkg-src/fetchmail/fetchmail.patch 28 Jul 2005 12:10:04 -  
1.6
  +++ openpkg-src/fetchmail/fetchmail.patch 18 Nov 2005 07:51:59 -  
1.7
  @@ -10,52 +10,3 @@
#include  /* isspace() */
#ifdef HAVE_MEMORY_H
#include 
  -Index: driver.c
   driver.c.orig2003-10-15 21:22:31 +0200
  -+++ driver.c 2005-01-29 13:36:30 +0100
  -@@ -429,7 +429,9 @@
  - /* for POP3, we can get the size of one mail only! Unfortunately, this
  -  * protocol specific test cannot be done elsewhere as the protocol
  -  * could be "auto". */
  --if (ctl->server.protocol == P_POP3)
  -+if (   ctl->server.protocol == P_POP3
  -+|| ctl->server.protocol == P_APOP
  -+|| ctl->server.protocol == P_RPOP)
  - fetchsizelimit = 1;
  - 
  - /* Time to allocate memory to store the sizes */
  -
  -OpenPKG-SA-2005.016-fetchmail; CAN-2005-2335
  -Patch from Ludwig Nussel @SUSE
  -Index: fetchmail-6.2.5/pop3.c
  -===
   pop3.c.625
  -+++ pop3.c
  -@@ -613,6 +613,8 @@ static int pop3_gettopid( int sock, int 
  - return 0;
  - }
  - 
  -+#define str(s) #s
  -+#define UIDLFMT(n) "%d %" str(n) "s"
  - static int pop3_getuidl( int sock, int num , char *id)
  - {
  - int ok;
  -@@ -620,7 +622,7 @@ static int pop3_getuidl( int sock, int n
  - gen_send(sock, "UIDL %d", num);
  - if ((ok = pop3_ok(sock, buf)) != 0)
  - return(ok);
  --if (sscanf(buf, "%d %s", &num, id) != 2)
  -+if (sscanf(buf, UIDLFMT(IDLEN), &num, id) != 2)
  - return(PS_PROTOCOL);
  - return(PS_SUCCESS);
  - }
  -@@ -862,7 +864,7 @@ static int pop3_getrange(int sock, 
  - {
  - if (DOTLINE(buf))
  - break;
  --else if (sscanf(buf, "%d %s", &num, id) == 2)
  -+else if (sscanf(buf, UIDLFMT(IDLEN), &num, id) == 2)
  - {
  - struct idlist   *old, *new;
  - 
  -
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/fetchmail/fetchmail.spec
  
  $ cvs diff -u -r1.65 -r1.66 fetchmail.spec
  --- openpkg-src/fetchmail/fetchmail.spec  28 Jul 2005 12:10:04 -  
1.65
  +++ openpkg-src/fetchmail/fetchmail.spec  18 Nov 2005 07:51:59 -  
1.66
  @@ -22,6 +22,10 @@
   ##  SUCH DAMAGE.
   ##
   
  +#   package version
  +%define   V_dist 6.2.9-rc9
  +%define   V_opkg 6.2.9rc9
  +
   #   package information
   Name: fetchmail
   Summary:  Batch client for POP and IMAP protocols
  @@ -32,11 +36,14 @@
   Class:BASE
   Group:Mail
   License:  GPL
  -Version:  6.2.5
  -Release:  20050728
  +Version:  %{V_opkg}
  +Release:  20051118
  +
  +#   package options
  +%option   with_conf  no
   
   #   list of sources
  -Source0:  http://www.catb.org/~esr/fetchmail/fetchmail-%{version}.tar.gz
  +Source0:  
http://download.berlios.de/fetchmail/fetchmail-%{V_dist}.tar.bz2
   Source1:  rc.fetchmail
   Source2:  fetchmail.master
   Source3:  fetchmail.users
  @@ -49,6 +56,9 @@
   PreReq:   OpenPKG, openpkg >= 20040130
   BuildPreReq:  openssl
   PreReq:   openssl
  +%if "%{with_conf}" == "yes"
  +PreReq:   python
  +%endif
   AutoReq:  no
   AutoReqProv:  no
   
  @@ -62,25 +72,15 @@
   
   %track
   prog fetchmail = {
  -version   = %{version}
  -url   = http://www.catb.org/~esr/fetchmail/
  -regex = fetchmail-(__VER__)\.tar\.gz
  +version   = %{V_dist}
  +url   = http://download.berlios.de/fetchmail/
  +regex = fetchmail-(__VER__(-rc\d+)?)\.tar\.(gz|bz2)
   }
   
   %prep
  -%setup -q
  +%setup -q -n fetchmail-%{V_dist}
   %patch -p0
   
  -#   upgrade config scripts for better platform support
  -%{l_prefix}/bin/config install
  -
  -#   don't outguess c

[CVS] OpenPKG: openpkg-src/fetchmail/ fetchmail.patch fetchmail.spec

2005-07-28 Thread Thomas Lotterer
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Thomas Lotterer
  Root:   /v/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   28-Jul-2005 14:10:04
  Branch: HEAD Handle: 2005072813100400

  Modified files:
openpkg-src/fetchmail   fetchmail.patch fetchmail.spec

  Log:
SA-2005.016-fetchmail; CAN-2005-2335

  Summary:
RevisionChanges Path
1.6 +35 -0  openpkg-src/fetchmail/fetchmail.patch
1.65+1  -1  openpkg-src/fetchmail/fetchmail.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/fetchmail/fetchmail.patch
  
  $ cvs diff -u -r1.5 -r1.6 fetchmail.patch
  --- openpkg-src/fetchmail/fetchmail.patch 29 Jan 2005 12:39:27 -  
1.5
  +++ openpkg-src/fetchmail/fetchmail.patch 28 Jul 2005 12:10:04 -  
1.6
  @@ -24,3 +24,38 @@
fetchsizelimit = 1;

/* Time to allocate memory to store the sizes */
  +
  +OpenPKG-SA-2005.016-fetchmail; CAN-2005-2335
  +Patch from Ludwig Nussel @SUSE
  +Index: fetchmail-6.2.5/pop3.c
  +===
  +--- pop3.c.625
   pop3.c
  +@@ -613,6 +613,8 @@ static int pop3_gettopid( int sock, int 
  + return 0;
  + }
  + 
  ++#define str(s) #s
  ++#define UIDLFMT(n) "%d %" str(n) "s"
  + static int pop3_getuidl( int sock, int num , char *id)
  + {
  + int ok;
  +@@ -620,7 +622,7 @@ static int pop3_getuidl( int sock, int n
  + gen_send(sock, "UIDL %d", num);
  + if ((ok = pop3_ok(sock, buf)) != 0)
  + return(ok);
  +-if (sscanf(buf, "%d %s", &num, id) != 2)
  ++if (sscanf(buf, UIDLFMT(IDLEN), &num, id) != 2)
  + return(PS_PROTOCOL);
  + return(PS_SUCCESS);
  + }
  +@@ -862,7 +864,7 @@ static int pop3_getrange(int sock, 
  + {
  + if (DOTLINE(buf))
  + break;
  +-else if (sscanf(buf, "%d %s", &num, id) == 2)
  ++else if (sscanf(buf, UIDLFMT(IDLEN), &num, id) == 2)
  + {
  + struct idlist   *old, *new;
  + 
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/fetchmail/fetchmail.spec
  
  $ cvs diff -u -r1.64 -r1.65 fetchmail.spec
  --- openpkg-src/fetchmail/fetchmail.spec  24 Mar 2005 11:18:45 -  
1.64
  +++ openpkg-src/fetchmail/fetchmail.spec  28 Jul 2005 12:10:04 -  
1.65
  @@ -33,7 +33,7 @@
   Group:Mail
   License:  GPL
   Version:  6.2.5
  -Release:  20050311
  +Release:  20050728
   
   #   list of sources
   Source0:  http://www.catb.org/~esr/fetchmail/fetchmail-%{version}.tar.gz
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/fetchmail/ fetchmail.patch fetchmail.spec

2005-01-29 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   29-Jan-2005 13:39:27
  Branch: HEAD Handle: 2005012912392700

  Modified files:
openpkg-src/fetchmail   fetchmail.patch fetchmail.spec

  Log:
make Fetchmail compatible with QPopper's APOP functionality as
mentioned on the fetchmail lists

  Summary:
RevisionChanges Path
1.5 +14 -0  openpkg-src/fetchmail/fetchmail.patch
1.60+1  -1  openpkg-src/fetchmail/fetchmail.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/fetchmail/fetchmail.patch
  
  $ cvs diff -u -r1.4 -r1.5 fetchmail.patch
  --- openpkg-src/fetchmail/fetchmail.patch 19 Oct 2003 11:23:48 -  
1.4
  +++ openpkg-src/fetchmail/fetchmail.patch 29 Jan 2005 12:39:27 -  
1.5
  @@ -10,3 +10,17 @@
#include  /* isspace() */
#ifdef HAVE_MEMORY_H
#include 
  +Index: driver.c
  +--- driver.c.orig2003-10-15 21:22:31 +0200
   driver.c 2005-01-29 13:36:30 +0100
  +@@ -429,7 +429,9 @@
  + /* for POP3, we can get the size of one mail only! Unfortunately, this
  +  * protocol specific test cannot be done elsewhere as the protocol
  +  * could be "auto". */
  +-if (ctl->server.protocol == P_POP3)
  ++if (   ctl->server.protocol == P_POP3
  ++|| ctl->server.protocol == P_APOP
  ++|| ctl->server.protocol == P_RPOP)
  + fetchsizelimit = 1;
  + 
  + /* Time to allocate memory to store the sizes */
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/fetchmail/fetchmail.spec
  
  $ cvs diff -u -r1.59 -r1.60 fetchmail.spec
  --- openpkg-src/fetchmail/fetchmail.spec  24 Jan 2005 14:45:09 -  
1.59
  +++ openpkg-src/fetchmail/fetchmail.spec  29 Jan 2005 12:39:27 -  
1.60
  @@ -34,7 +34,7 @@
   Group:Mail
   License:  GPL
   Version:  6.2.5
  -Release:  20050124
  +Release:  20050129
   
   #   list of sources
   Source0:  http://www.catb.org/~esr/fetchmail/fetchmail-%{version}.tar.gz
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org