[22977] trunk/dports/mail/gmime

source_changes at macosforge.org source_changes at macosforge.org
Tue Mar 20 17:03:29 PDT 2007


Revision: 22977
          http://trac.macosforge.org/projects/macports/changeset/22977
Author:   pipping at macports.org
Date:     2007-03-20 17:03:29 -0700 (Tue, 20 Mar 2007)

Log Message:
-----------
 * apply patch submitted by boeyms at fastmail.fm
 * add checksums

Modified Paths:
--------------
    trunk/dports/mail/gmime/Portfile

Added Paths:
-----------
    trunk/dports/mail/gmime/files/
    trunk/dports/mail/gmime/files/patch-tests__test-mbox.c
    trunk/dports/mail/gmime/files/patch-tests__test-mime.c
    trunk/dports/mail/gmime/files/patch-tests__test-parser.c

Modified: trunk/dports/mail/gmime/Portfile
===================================================================
--- trunk/dports/mail/gmime/Portfile	2007-03-21 00:03:03 UTC (rev 22976)
+++ trunk/dports/mail/gmime/Portfile	2007-03-21 00:03:29 UTC (rev 22977)
@@ -2,7 +2,10 @@
 PortSystem 1.0
 
 name		gmime
-version		2.1.9
+version		2.2.4
+
+set branch              [strsed ${version} {s/\.[0-9]*$//}]
+
 description	MIME mail utilities
 long_description  The GMime suite provides a core library and set of utilities \
                   which may be used for the creation and parsing of messages \
@@ -13,10 +16,19 @@
 categories	mail
 platforms	darwin 
 homepage	http://spruce.sourceforge.net/gmime/
-master_sites    http://spruce.sourceforge.net/gmime/sources/v2.1/
-checksums	md5 8bd24a56d5f56be9150deb9840a0812a
-depends_lib     bin:pkg-config:pkgconfig \
-                lib:libiconv:libiconv \
-                lib:libglib.2:glib2
+master_sites    http://spruce.sourceforge.net/gmime/sources/v${branch}/
+checksums	md5 dd86578d15138596fae2bfe04d392f33 \
+		sha1 1cf5de2e9e594b136c37b7627f7676be6a977704 \
+		rmd160 c28793597d33397ff17b2b8f54b0c6a87f00604f
 
+depends_lib     port:pkgconfig \
+                port:libiconv \
+                port:glib2
+
+patchfiles	patch-tests__test-mime.c \
+		patch-tests__test-mbox.c \
+		patch-tests__test-parser.c 
 configure.args	--prefix=${prefix} 
+
+test.run        yes
+test.target     check

Added: trunk/dports/mail/gmime/files/patch-tests__test-mbox.c
===================================================================
--- trunk/dports/mail/gmime/files/patch-tests__test-mbox.c	                        (rev 0)
+++ trunk/dports/mail/gmime/files/patch-tests__test-mbox.c	2007-03-21 00:03:29 UTC (rev 22977)
@@ -0,0 +1,13 @@
+--- tests/test-mbox.c	2007-02-08 05:18:31.000000000 +0000
++++ tests/test-mbox.c	2007-03-04 12:59:52.000000000 +0000
+@@ -18,6 +18,10 @@
+  */
+ 
+ 
++#ifdef HAVE_CONFIG_H
++#include <config.h>
++#endif
++
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <unistd.h>

Added: trunk/dports/mail/gmime/files/patch-tests__test-mime.c
===================================================================
--- trunk/dports/mail/gmime/files/patch-tests__test-mime.c	                        (rev 0)
+++ trunk/dports/mail/gmime/files/patch-tests__test-mime.c	2007-03-21 00:03:29 UTC (rev 22977)
@@ -0,0 +1,13 @@
+--- tests/test-mime.c	2007-02-08 05:18:31.000000000 +0000
++++ tests/test-mime.c	2007-03-04 12:59:40.000000000 +0000
+@@ -18,6 +18,10 @@
+  */
+ 
+ 
++#ifdef HAVE_CONFIG_H
++#include <config.h>
++#endif
++
+ #include <stdio.h>
+ #include <string.h>
+ 

Added: trunk/dports/mail/gmime/files/patch-tests__test-parser.c
===================================================================
--- trunk/dports/mail/gmime/files/patch-tests__test-parser.c	                        (rev 0)
+++ trunk/dports/mail/gmime/files/patch-tests__test-parser.c	2007-03-21 00:03:29 UTC (rev 22977)
@@ -0,0 +1,13 @@
+--- tests/test-parser.c	2007-02-08 05:18:31.000000000 +0000
++++ tests/test-parser.c	2007-03-04 13:00:00.000000000 +0000
+@@ -18,6 +18,10 @@
+  */
+ 
+ 
++#ifdef HAVE_CONFIG_H
++#include <config.h>
++#endif
++
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <unistd.h>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070320/9f80ddcd/attachment.html


More information about the macports-changes mailing list