pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/php-mailparse



Module Name:    pkgsrc
Committed By:   otis
Date:           Sun Aug 16 15:51:45 UTC 2020

Added Files:
        pkgsrc/mail/php-mailparse: DESCR Makefile distinfo
        pkgsrc/mail/php-mailparse/patches: patch-mailparse.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/php-mailparse/DESCR \
    pkgsrc/mail/php-mailparse/Makefile pkgsrc/mail/php-mailparse/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/php-mailparse/patches/patch-mailparse.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/mail/php-mailparse/DESCR
diff -u /dev/null pkgsrc/mail/php-mailparse/DESCR:1.1
--- /dev/null   Sun Aug 16 15:51:45 2020
+++ pkgsrc/mail/php-mailparse/DESCR     Sun Aug 16 15:51:45 2020
@@ -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
Index: pkgsrc/mail/php-mailparse/Makefile
diff -u /dev/null pkgsrc/mail/php-mailparse/Makefile:1.1
--- /dev/null   Sun Aug 16 15:51:45 2020
+++ pkgsrc/mail/php-mailparse/Makefile  Sun Aug 16 15:51:45 2020
@@ -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"
Index: pkgsrc/mail/php-mailparse/distinfo
diff -u /dev/null pkgsrc/mail/php-mailparse/distinfo:1.1
--- /dev/null   Sun Aug 16 15:51:45 2020
+++ pkgsrc/mail/php-mailparse/distinfo  Sun Aug 16 15:51:45 2020
@@ -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

Index: pkgsrc/mail/php-mailparse/patches/patch-mailparse.c
diff -u /dev/null pkgsrc/mail/php-mailparse/patches/patch-mailparse.c:1.1
--- /dev/null   Sun Aug 16 15:51:45 2020
+++ pkgsrc/mail/php-mailparse/patches/patch-mailparse.c Sun Aug 16 15:51:45 2020
@@ -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