Received: by mail.netbsd.org (Postfix, from userid 605) id B4CB084D8B; Sun, 16 Aug 2020 15:51:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3BCD684D3C for ; Sun, 16 Aug 2020 15:51:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id zeZyiB6GVfhK for ; Sun, 16 Aug 2020 15:51:45 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id A9BB484CDA for ; Sun, 16 Aug 2020 15:51:45 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id A3CCEFB28; Sun, 16 Aug 2020 15:51:45 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1597593105196140" MIME-Version: 1.0 Date: Sun, 16 Aug 2020 15:51:45 +0000 From: "Juraj Lutter" Subject: CVS commit: pkgsrc/mail/php-mailparse To: pkgsrc-changes@NetBSD.org Reply-To: otis@netbsd.org X-Mailer: log_accum Message-Id: <20200816155145.A3CCEFB28@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1597593105196140 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1597593105196140 Content-Disposition: inline Content-Length: 2469 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 + --_----------=_1597593105196140--