Date: Wed, 05 Dec 2007 10:03:58 +0100 (CET) From: Derkjan de Haan <haanjdj@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/118446: [patch] port update libsieve Message-ID: <20071205090358.75C4550863@haanjdj.homeip.net> Resent-Message-ID: <200712051120.lB5BK1TM089028@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 118446 >Category: ports >Synopsis: [patch] port update libsieve >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 05 11:20:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Derkjan >Release: FreeBSD 7.0-BETA4 amd64 >Organization: >Environment: System: FreeBSD olivetti.badmuts.org 7.0-BETA4 FreeBSD 7.0-BETA4 #1: Sun Dec 2 17:39:08 CET 2007 root@olivetti.badmuts.org:/usr/obj/usr/src/sys/CUSTOM amd64 >Description: I have prepared an update to the mail/libsieve port. Please review and apply. I have removed the FreeBSD4 patch because it didn't apply and FBSD4 is no longer supported anyway. >How-To-Repeat: >Fix: diff -ruN libsieve.ORG/Makefile libsieve/Makefile --- libsieve.ORG/Makefile 2007-10-17 12:12:47.000000000 +0200 +++ libsieve/Makefile 2007-12-05 09:50:24.000000000 +0100 @@ -6,8 +6,7 @@ # PORTNAME= libsieve -PORTVERSION= 2.2.5 -PORTREVISION= 1 +PORTVERSION= 2.2.6 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= libsieve diff -ruN libsieve.ORG/distinfo libsieve/distinfo --- libsieve.ORG/distinfo 2007-02-13 11:44:18.000000000 +0100 +++ libsieve/distinfo 2007-12-05 09:49:48.000000000 +0100 @@ -1,3 +1,3 @@ -MD5 (libsieve-2.2.5.tar.gz) = f0adbfa59254d07611d907f78aaa20cd -SHA256 (libsieve-2.2.5.tar.gz) = c449830592eebe1651f072bda524427134a52d9873b4a2d4725e076388911db8 -SIZE (libsieve-2.2.5.tar.gz) = 573924 +MD5 (libsieve-2.2.6.tar.gz) = c97050a3e823de8f6e960ab92cd8bd98 +SHA256 (libsieve-2.2.6.tar.gz) = dce45d73fba98afbffc6fbb6743b3f727cd41d5d3b09ac398a0cb90b21e7f0f0 +SIZE (libsieve-2.2.6.tar.gz) = 564722 diff -ruN libsieve.ORG/files/patch-freebsd4_fix libsieve/files/patch-freebsd4_fix --- libsieve.ORG/files/patch-freebsd4_fix 2006-08-08 18:49:12.000000000 +0200 +++ libsieve/files/patch-freebsd4_fix 1970-01-01 01:00:00.000000000 +0100 @@ -1,47 +0,0 @@ ---- src/sv_interface/tree.h.orig Tue Jul 18 17:17:23 2006 -+++ src/sv_interface/tree.h Mon Aug 7 10:11:05 2006 -@@ -30,7 +30,7 @@ - - #include "comparator.h" - --//#include <sys/types.h> -+#include <sys/types.h> - #include "regex.h" - - ---- src/sv_parser/comparator.h Tue Jul 18 17:15:16 2006 -+++ src/sv_parser/comparator.h Mon Aug 7 10:05:29 2006 -@@ -27,6 +27,8 @@ - #ifndef COMPARATOR_H - #define COMPARATOR_H - -+// sys/types.h was required prior to the FreeBSD 5.0 -+#include <sys/types.h> - #include "regex.h" - - /* compares pat to text; returns 1 if it's true, 0 otherwise ---- src/sv_parser/sieve.y.orig Mon Jul 24 14:24:53 2006 -+++ src/sv_parser/sieve.y Mon Aug 7 10:28:04 2006 -@@ -36,6 +36,9 @@ - #include <ctype.h> - - /* sv_regex */ -+/* POSIX says that <sys/types.h> must be included (by the caller) before -+ <regex.h>. */ -+#include <sys/types.h> - #include "regex.h" - - /* sv_parser */ ---- src/sv_util/xsize.h.orig Tue Jul 18 17:15:16 2006 -+++ src/sv_util/xsize.h Mon Aug 7 10:47:36 2006 -@@ -26,6 +26,10 @@ - #include <limits.h> - #if HAVE_STDINT_H - # include <stdint.h> -+#else -+// stdint.h was introduced in FreeBSD 5.0 -+// limits.h in 4.0 has SIZE_T_MAX, not SIZE_MAX -+# define SIZE_MAX SIZE_T_MAX - #endif - - /* The size of memory objects is often computed through expressions of >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071205090358.75C4550863>