ports/112524: patches to update re2c to .12.0
Michael Scheidell
scheidell at secnap.net
Tue May 8 16:40:05 UTC 2007
>Number: 112524
>Category: ports
>Synopsis: patches to update re2c to .12.0
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue May 08 16:40:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Michael Scheidell
>Release: FreeBSD 5.5-RELEASE-p8 i386
>Organization:
SECNAP Network Security
>Environment:
System: FreeBSD scanner.secnap.net 5.5-RELEASE-p8 FreeBSD 5.5-RELEASE-p8 #2: Fri Dec 29 22:23:34 EST 2006 scheidell at scanner.secnap.net:/usr/obj/usr/src/sys/HACKERTRAP_750 i386
>Description:
re2c versions before .11.3 will segv on complex patterns.
.12.0 is REQUIRED by p5-Mail-SpamAssassin version 3.2.0 port
(I am the maintainer of that port)
>How-To-Repeat:
make spamassassin with sa-compile option, start sa or amavis.
run sa-compile (which calls re2c) and see re2c segv in
/var/log/messages
>Fix:
These patches will update to .12.0
Note: I left 0 byte files in for the obsolete patch files.
You can remove the files if you like
--- /var/tmp/re2c/Makefile Wed Feb 21 09:57:01 2007
+++ ./Makefile Tue May 8 11:35:37 2007
@@ -6,7 +6,7 @@
#
PORTNAME= re2c
-PORTVERSION= 0.11.1
+PORTVERSION= 0.12.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff -bBru /var/tmp/re2c/distinfo ./distinfo
--- /var/tmp/re2c/distinfo Wed Feb 21 09:57:01 2007
+++ ./distinfo Tue May 8 11:37:08 2007
@@ -1,3 +1,4 @@
-MD5 (re2c-0.11.1.tar.gz) = 0ded31b5a3905741fc7bdbca62a1c5b1
-SHA256 (re2c-0.11.1.tar.gz) =
005333f2a9664064564248eac9f391255f172227f2fba21d649927b6284d223d
-SIZE (re2c-0.11.1.tar.gz) = 579908
+MD5 (re2c-0.12.0.tar.gz) = 68d6d1faf26179a7fe1f2d348cf90ac8
+SHA256 (re2c-0.12.0.tar.gz) =
401d79891fdac2368f71ca64dfbfb6c1d58125ae405ecfdc2450c7cf87ffa1e2
+SIZE (re2c-0.12.0.tar.gz) = 609596
+
diff -bBru /var/tmp/re2c/files/patch-action.cc ./files/patch-action.cc
--- /var/tmp/re2c/files/patch-action.cc Tue Jun 1 05:41:36 2004
+++ ./files/patch-action.cc Tue May 8 11:33:46 2007
@@ -1,10 +0,0 @@
---- actions.cc.orig Tue Jun 1 17:31:44 2004
-+++ actions.cc Tue Jun 1 17:32:05 2004
-@@ -1,6 +1,7 @@
- /* $Id: actions.cc,v 1.5 2004/05/13 02:58:17 nuffer Exp $ */
- #include <time.h>
- #include <string.h>
-+#include <ctype.h>
- #include <iostream>
- #include <iomanip>
-
diff -bBru /var/tmp/re2c/files/patch-substr.h ./files/patch-substr.h
--- /var/tmp/re2c/files/patch-substr.h Tue Jun 1 05:41:36 2004
+++ ./files/patch-substr.h Tue May 8 11:33:52 2007
@@ -1,10 +0,0 @@
---- substr.h.orig Thu May 13 10:58:18 2004
-+++ substr.h Tue Jun 1 17:31:18 2004
-@@ -2,6 +2,7 @@
- #ifndef _substr_h
- #define _substr_h
-
-+#include <sys/types.h>
- #include <iostream>
- #include "basics.h"
-
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list