Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/php-mailparse Add php-mailparse 3.1.0, a PECL cla...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0319205117c3
branches:  trunk
changeset: 437099:0319205117c3
user:      otis <otis%pkgsrc.org@localhost>
date:      Sun Aug 16 15:51:45 2020 +0000

description:
Add php-mailparse 3.1.0, a PECL class for parsing and working
with email messages. It can deal with rfc822 and rfc2045 (MIME) compliant
messages.

diffstat:

 mail/php-mailparse/DESCR                     |   5 +++++
 mail/php-mailparse/Makefile                  |  10 ++++++++++
 mail/php-mailparse/distinfo                  |   7 +++++++
 mail/php-mailparse/patches/patch-mailparse.c |  15 +++++++++++++++
 4 files changed, 37 insertions(+), 0 deletions(-)

diffs (53 lines):

diff -r 3eaaa700b986 -r 0319205117c3 mail/php-mailparse/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/php-mailparse/DESCR  Sun Aug 16 15:51:45 2020 +0000
@@ -0,0 +1,5 @@
+PHP is a programming language designed to be embedded into web pages.
+Mailparse is an extension for parsing and working with email messages.
+It can deal with rfc822 and rfc2045 (MIME) compliant messages.
+
+WWW: https://www.php.net/manual/en/intro.mailparse.php
diff -r 3eaaa700b986 -r 0319205117c3 mail/php-mailparse/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/php-mailparse/Makefile       Sun Aug 16 15:51:45 2020 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: Makefile,v 1.1 2020/08/16 15:51:45 otis Exp $
+
+MODNAME=               mailparse
+PECL_VERSION=          3.1.0
+CATEGORIES+=           mail
+COMMENT=               PHP extension for email message manipulation
+
+.include "../../lang/php/ext.mk"
+.include "../../converters/php-mbstring/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3eaaa700b986 -r 0319205117c3 mail/php-mailparse/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/php-mailparse/distinfo       Sun Aug 16 15:51:45 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/08/16 15:51:45 otis Exp $
+
+SHA1 (php-mailparse/mailparse-3.1.0.tgz) = 44e6372d25e7dd77127655e0a14edcd06eb72b9c
+RMD160 (php-mailparse/mailparse-3.1.0.tgz) = 3ab24df7120008c682a1eed2f613733b45cf8e1e
+SHA512 (php-mailparse/mailparse-3.1.0.tgz) = 5a2a0786fc62fc47a60dcd52158ed86a1a58a26dc764b62abd763f784553f853c6644e4de76c85ad9133c8359d040c546c662b5f838ff7a5c88307aa21a589ca
+Size (php-mailparse/mailparse-3.1.0.tgz) = 941058 bytes
+SHA1 (patch-mailparse.c) = 4580b6bbcc60888a2dfbcf091ef6a4096bfd6617
diff -r 3eaaa700b986 -r 0319205117c3 mail/php-mailparse/patches/patch-mailparse.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/php-mailparse/patches/patch-mailparse.c      Sun Aug 16 15:51:45 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-mailparse.c,v 1.1 2020/08/16 15:51:45 otis Exp $
+
+Check for php mbstring extension properly.
+
+--- mailparse.c.orig   2020-04-22 07:07:51.000000000 +0000
++++ mailparse.c
+@@ -29,7 +29,7 @@
+ #include "arginfo.h"
+ 
+ /* just in case the config check doesn't enable mbstring automatically */
+-#if !HAVE_MBSTRING
++#if !HAVE_MBSTRING && false
+ #error The mailparse extension requires the mbstring extension!
+ #endif
+ 



Home | Main Index | Thread Index | Old Index