pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2004Q4]: pkgsrc/mail/sympa Pullup ticket 291 - requested by St...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0374f170eda6
branches:  pkgsrc-2004Q4
changeset: 485902:0374f170eda6
user:      snj <snj%pkgsrc.org@localhost>
date:      Tue Feb 15 23:05:53 2005 +0000

description:
Pullup ticket 291 - requested by Stoned Elipot
security fix for sympa

Revisions pulled up:
- pkgsrc/mail/sympa/Makefile            1.12
- pkgsrc/mail/sympa/distinfo            1.5
- pkgsrc/mail/sympa/patches/patch-ad    1.3
- pkgsrc/mail/sympa/patches/patch-ae    1.3

    Module Name:    pkgsrc
    Committed By:   seb
    Date:           Tue Feb 15 22:45:54 UTC 2005

    Modified Files:
            pkgsrc/mail/sympa: Makefile distinfo
    Added Files:
            pkgsrc/mail/sympa/patches: patch-ad patch-ae

    Log Message:
    Apply security fixes for CAN-2005-0073. Patches obtained from
    Sympa's CVS repository via Sympa's homepage.

    Bump PKGREVISION to 2.

diffstat:

 mail/sympa/Makefile         |   4 ++--
 mail/sympa/distinfo         |   4 +++-
 mail/sympa/patches/patch-ad |  25 +++++++++++++++++++++++++
 mail/sympa/patches/patch-ae |  25 +++++++++++++++++++++++++
 4 files changed, 55 insertions(+), 3 deletions(-)

diffs (86 lines):

diff -r f5a41cf6e78b -r 0374f170eda6 mail/sympa/Makefile
--- a/mail/sympa/Makefile       Tue Feb 15 21:06:13 2005 +0000
+++ b/mail/sympa/Makefile       Tue Feb 15 23:05:53 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2004/10/03 00:12:55 tv Exp $
+# $NetBSD: Makefile,v 1.11.2.1 2005/02/15 23:05:53 snj Exp $
 #
 
 DISTNAME=      sympa-4.1.2
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    mail
 MASTER_SITES=  http://www.sympa.org/distribution/
 
diff -r f5a41cf6e78b -r 0374f170eda6 mail/sympa/distinfo
--- a/mail/sympa/distinfo       Tue Feb 15 21:06:13 2005 +0000
+++ b/mail/sympa/distinfo       Tue Feb 15 23:05:53 2005 +0000
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.4 2004/10/10 15:09:23 seb Exp $
+$NetBSD: distinfo,v 1.4.2.1 2005/02/15 23:05:53 snj Exp $
 
 SHA1 (sympa-4.1.2.tar.gz) = 68a122a8d762874e2b4bb0c80020e36d8bc344fc
 Size (sympa-4.1.2.tar.gz) = 2354843 bytes
 SHA1 (patch-aa) = 1653a5700572068348e93f659892119230795dae
 SHA1 (patch-ab) = 3b15442e7146dd56bfab698bcb062911a5bba599
 SHA1 (patch-ac) = 77802bab188da024c18810c07bf62064b28e3af1
+SHA1 (patch-ad) = a0230a55043e81267f14d662e45f16afd04b0e82
+SHA1 (patch-ae) = 3451dfed68e02fa298fc22be41e3c878ecc18c29
diff -r f5a41cf6e78b -r 0374f170eda6 mail/sympa/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sympa/patches/patch-ad       Tue Feb 15 23:05:53 2005 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-ad,v 1.2.2.1 2005/02/15 23:05:53 snj Exp $
+
+--- src/bouncequeue.c.orig     2003-10-07 12:04:47.000000000 +0000
++++ src/bouncequeue.c
+@@ -30,6 +30,11 @@ static char     qfile[128];
+ static char     buf[16384];
+ static int      i, fd;
+ 
++/* For HP-UX */
++#ifndef EX_CONFIG
++# define EX_CONFIG 78
++#endif
++
+ #ifndef CONFIG
+ # define CONFIG               "/etc/sympa.conf"
+ #endif
+@@ -97,7 +102,7 @@ main(int argn, char **argv)
+       exit(EX_NOPERM);
+    }
+    umask(027);
+-   sprintf(qfile, "T.%s.%ld.%d", listname, time(NULL), getpid());
++   snprintf(qfile, sizeof(qfile), "T.%s.%ld.%d", listname, time(NULL), getpid());
+    fd = open(qfile, O_CREAT|O_WRONLY, 0600);
+    if (fd == -1)
+       exit(EX_TEMPFAIL);
diff -r f5a41cf6e78b -r 0374f170eda6 mail/sympa/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sympa/patches/patch-ae       Tue Feb 15 23:05:53 2005 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-ae,v 1.2.2.1 2005/02/15 23:05:53 snj Exp $
+
+--- src/queue.c.orig   2003-10-07 12:04:47.000000000 +0000
++++ src/queue.c
+@@ -32,6 +32,11 @@ static char     qfile[128];
+ static char     buf[16384];
+ static int      i, fd;
+ 
++/* For HP-UX */
++#ifndef EX_CONFIG
++# define EX_CONFIG 78
++#endif
++
+ #ifndef CONFIG
+ # define CONFIG               "/etc/sympa.conf"
+ #endif
+@@ -116,7 +121,7 @@ main(int argn, char **argv)
+      exit(EX_NOPERM);
+    }
+    umask(027);
+-   sprintf(qfile, "T.%s.%ld.%d", listname, time(NULL), getpid());
++   snprintf(qfile, sizeof(qfile), "T.%s.%ld.%d", listname, time(NULL), getpid());
+    fd = open(qfile, O_CREAT|O_WRONLY, 0600);
+    if (fd == -1){
+      char* buffer=(char*)malloc(strlen(argv[0])+strlen(queuedir)+80);



Home | Main Index | Thread Index | Old Index