Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Feb 2004 09:03:12 +0100 (CET)
From:      Udo Schweigert <udo.schweigert@siemens.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/62569: maintainer-update of mail/mutt-devel
Message-ID:  <200402090803.i1983Cgt009368@alaska.cert.siemens.de>
Resent-Message-ID: <200402090810.i198AN8f072635@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         62569
>Category:       ports
>Synopsis:       maintainer-update of mail/mutt-devel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 09 00:10:23 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Udo Schweigert
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:

>Description:

Maintainer update of mail/mutt-devel:

	- Fix the generation of temporary file names by using mktemp instead of
	  PIDs.

	- Bump PORTREVISION.


>How-To-Repeat:
>Fix:

diff -ru  /usr/ports/mail/mutt-devel/Makefile ./Makefile
--- /usr/ports/mail/mutt-devel/Makefile	Sun Feb  8 06:33:18 2004
+++ ./Makefile	Mon Feb  9 08:58:37 2004
@@ -75,6 +75,7 @@
 
 PORTNAME=	mutt-devel
 PORTVERSION=	1.5.6
+PORTREVISION=	1
 CATEGORIES+=	mail ipv6
 .if defined(WITH_MUTT_NNTP)
 CATEGORIES+=	news
diff -ru  /usr/ports/mail/mutt-devel/files/patch-mktemp ./files/patch-mktemp
--- /usr/ports/mail/mutt-devel/files/patch-mktemp	Thu Jan  1 01:00:00 1970
+++ ./files/patch-mktemp	Mon Feb  9 08:53:48 2004
@@ -0,0 +1,12 @@
+--- muttlib.c.orig	Sun Feb  1 18:15:17 2004
++++ muttlib.c	Mon Feb  9 08:44:36 2004
+@@ -657,7 +657,8 @@
+ 
+ void _mutt_mktemp (char *s, const char *src, int line)
+ {
+-  snprintf (s, _POSIX_PATH_MAX, "%s/mutt-%s-%d-%d", NONULL (Tempdir), NONULL(Hostname), (int) getpid (), Counter++);
++  snprintf (s, _POSIX_PATH_MAX, "%s/mutt-%s-XXXXXXXX", NONULL(Tempdir), NONULL(Hostname));
++  mktemp (s);
+   dprint (1, (debugfile, "%s:%d: mutt_mktemp returns \"%s\".\n", src, line, s));
+   unlink (s);
+ }
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402090803.i1983Cgt009368>