ports/62569: maintainer-update of mail/mutt-devel
Udo Schweigert
udo.schweigert at siemens.com
Mon Feb 9 08:10:23 UTC 2004
>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:
More information about the freebsd-ports-bugs
mailing list