1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

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.

WWW: http://pecl.php.net/package/POP3

PR:		ports/115366
Submitted by:	buganini at gmail.com
This commit is contained in:
Martin Wilke 2007-08-20 15:48:03 +00:00
parent 5d6190bb0d
commit 174c5f7bf8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197971
5 changed files with 50 additions and 0 deletions

View File

@ -413,6 +413,7 @@
SUBDIR += pear-Net_LMTP
SUBDIR += pecl-esmtp
SUBDIR += pecl-mailparse
SUBDIR += pecl-pop3
SUBDIR += perdition
SUBDIR += pflogstats
SUBDIR += pflogsumm

25
mail/pecl-pop3/Makefile Normal file
View File

@ -0,0 +1,25 @@
# Ports collection makefile for: pecl-pop3
# Date created: 10 August 2007
# Whom: buganini@gmail.com
#
# $FreeBSD$
#
PORTNAME= pop3
PORTVERSION= 1.0.2
CATEGORIES= mail
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
EXTRACT_SUFX= .tgz
DIST_SUBDIR= PECL
MAINTAINER= buganini@gmail.com
COMMENT= POP3 Client Library for PHP
USE_PHP= yes
USE_PHPIZE= yes
USE_PHP_BUILD= yes
USE_PHPEXT= yes
PHP_MODNAME= pop3
.include <bsd.port.mk>

3
mail/pecl-pop3/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (PECL/pop3-1.0.2.tgz) = cdbe4f41aa37bcf45e651d5568f3a8d2
SHA256 (PECL/pop3-1.0.2.tgz) = da74aa68832b4158dc834c6809b2c5315769c97a9a898b84471d6b077e83506c
SIZE (PECL/pop3-1.0.2.tgz) = 9185

View File

@ -0,0 +1,15 @@
--- pop3.c Fri Aug 10 04:11:56 2007
+++ pop3.c Fri Aug 10 04:12:25 2007
@@ -172,8 +172,12 @@
intern = emalloc(sizeof(pop3_object));
intern->zo.ce = class_type;
+#if ZEND_MODULE_API_NO >= 20050922
+ intern->zo.guards = NULL;
+#else
intern->zo.in_get = 0;
intern->zo.in_set = 0;
+#endif
intern->zo.properties = NULL;
intern->ptr = NULL;

6
mail/pecl-pop3/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
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.
WWW: http://pecl.php.net/package/POP3