[62552] trunk/dports/php

nox at macports.org nox at macports.org
Sun Jan 10 15:27:10 PST 2010


Revision: 62552
          http://trac.macports.org/changeset/62552
Author:   nox at macports.org
Date:     2010-01-10 15:27:07 -0800 (Sun, 10 Jan 2010)
Log Message:
-----------
Create new port php5-pop3

The POP3 extension makes it possible for a PHP script to connect to and
interact with a POP3 mail server. It is based on the PHP streams interface and
requires no external library.

Added Paths:
-----------
    trunk/dports/php/php5-pop3/
    trunk/dports/php/php5-pop3/Portfile
    trunk/dports/php/php5-pop3/files/
    trunk/dports/php/php5-pop3/files/patch-pop3.c.diff

Added: trunk/dports/php/php5-pop3/Portfile
===================================================================
--- trunk/dports/php/php5-pop3/Portfile	                        (rev 0)
+++ trunk/dports/php/php5-pop3/Portfile	2010-01-10 23:27:07 UTC (rev 62552)
@@ -0,0 +1,34 @@
+# $Id$
+
+PortSystem      1.0
+PortGroup       php5extension 1.0
+
+php5extension.setup pop3 1.0.2 pecl
+license         PHP
+categories      php mail devel
+platforms       darwin
+maintainers     nox openmaintainer
+description     POP3 Client Library
+
+long_description \
+    The POP3 extension makes it possible for a PHP script to connect to and \
+    interact with a POP3 mail server. It is based on the PHP streams interface \
+    and requires no external library.
+
+checksums       md5     cdbe4f41aa37bcf45e651d5568f3a8d2 \
+                sha1    5d7d9754413fbd9563464ae82588c7770cc1ce90 \
+                rmd160  01bc065cdb0d2ff375bb1d70a7b91b1f809acf30
+
+patchfiles      patch-pop3.c.diff
+
+use_parallel_build yes
+
+test.run        yes
+
+post-destroot {
+    set docdir ${prefix}/share/doc/${name}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 644 -W ${worksrcpath} CREDITS README \
+        ${destroot}${docdir}
+    copy ${worksrcpath}/examples ${destroot}${docdir}
+}


Property changes on: trunk/dports/php/php5-pop3/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/php/php5-pop3/files/patch-pop3.c.diff
===================================================================
--- trunk/dports/php/php5-pop3/files/patch-pop3.c.diff	                        (rev 0)
+++ trunk/dports/php/php5-pop3/files/patch-pop3.c.diff	2010-01-10 23:27:07 UTC (rev 62552)
@@ -0,0 +1,14 @@
+See http://pecl.php.net/bugs/bug.php?id=7276
+
+--- pop3.c.orig	2010-01-11 00:18:21.000000000 +0100
++++ pop3.c	2010-01-11 00:18:31.000000000 +0100
+@@ -172,8 +172,7 @@
+ 
+ 	intern = emalloc(sizeof(pop3_object));
+ 	intern->zo.ce = class_type;
+-	intern->zo.in_get = 0;
+-	intern->zo.in_set = 0;
++	intern->zo.guards = NULL;
+ 	intern->zo.properties = NULL;
+ 	intern->ptr = NULL;
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100110/d697f80e/attachment.html>


More information about the macports-changes mailing list