summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--php7-mailparse/.SRCINFO17
-rw-r--r--php7-mailparse/.gitignore6
-rw-r--r--php7-mailparse/PKGBUILD43
-rw-r--r--php7-mailparse/mailparse.ini1
-rw-r--r--php7-mailparse/package.xml214
5 files changed, 281 insertions, 0 deletions
diff --git a/php7-mailparse/.SRCINFO b/php7-mailparse/.SRCINFO
new file mode 100644
index 0000000..562c35c
--- /dev/null
+++ b/php7-mailparse/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = php-mailparse
+ pkgdesc = Extension for parsing and working with email messages (RFC822 and RFC2045)
+ pkgver = 3.1.1
+ pkgrel = 1
+ url = https://pecl.php.net/package/mailparse
+ arch = i686
+ arch = x86_64
+ license = PHP
+ depends = php>=7.2.0
+ backup = etc/php/conf.d/mailparse.ini
+ source = https://pecl.php.net/get/mailparse-3.1.1.tgz
+ source = mailparse.ini
+ sha256sums = c70f2650f81f7e234e5e2c8b079f3db04f38c269cf906c7846242fe9df92ce0a
+ sha256sums = e3a71ee16492ff486ad4e6b0c87a3af93bdb081efa5baf78d5d47f290f7ec86a
+
+pkgname = php-mailparse
+
diff --git a/php7-mailparse/.gitignore b/php7-mailparse/.gitignore
new file mode 100644
index 0000000..931fc2e
--- /dev/null
+++ b/php7-mailparse/.gitignore
@@ -0,0 +1,6 @@
+*.pkg.*
+pkg/
+src/
+*.pkg.*.sig
+*.src.tar.gz
+*.tgz \ No newline at end of file
diff --git a/php7-mailparse/PKGBUILD b/php7-mailparse/PKGBUILD
new file mode 100644
index 0000000..ce7fd7b
--- /dev/null
+++ b/php7-mailparse/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Thomas Gerbet <thomas at gerbet dot me>
+# Contributor: Johannes Schleifenbaum <johannes [at] js-webcoding [dot] de>
+
+pkgname=php7-mailparse
+pkgver=3.1.1
+pkgrel=1
+pkgdesc="Extension for parsing and working with email messages (RFC822 and RFC2045)"
+arch=('i686' 'x86_64')
+url="https://pecl.php.net/package/mailparse"
+license=('PHP')
+depends=('php7>=7.2.0')
+backup=('etc/php/conf.d/mailparse.ini')
+source=("https://pecl.php.net/get/mailparse-${pkgver}.tgz"
+ 'mailparse.ini')
+sha256sums=('c70f2650f81f7e234e5e2c8b079f3db04f38c269cf906c7846242fe9df92ce0a'
+ 'e3a71ee16492ff486ad4e6b0c87a3af93bdb081efa5baf78d5d47f290f7ec86a')
+
+build() {
+ cd "${srcdir}/mailparse-${pkgver}/"
+
+ phpize
+ ./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib/php7 \
+ --with-php-config="/usr/bin/php-config7"
+ make
+}
+
+check() {
+ cd "${srcdir}/mailparse-${pkgver}/"
+
+ export REPORT_EXIT_STATUS=1
+ export NO_INTERACTION=1
+ export SKIP_ONLINE_TESTS=1
+ make test
+}
+
+package() {
+ cd "${srcdir}/mailparse-${pkgver}/"
+
+ make INSTALL_ROOT="${pkgdir}/" install
+ install -D -m 644 "$srcdir"/mailparse.ini "$pkgdir"/etc/php7/conf.d/mailparse.ini
+}
diff --git a/php7-mailparse/mailparse.ini b/php7-mailparse/mailparse.ini
new file mode 100644
index 0000000..a618d66
--- /dev/null
+++ b/php7-mailparse/mailparse.ini
@@ -0,0 +1 @@
+;extension=mailparse.so \ No newline at end of file
diff --git a/php7-mailparse/package.xml b/php7-mailparse/package.xml
new file mode 100644
index 0000000..3490983
--- /dev/null
+++ b/php7-mailparse/package.xml
@@ -0,0 +1,214 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<package packagerversion="1.10.12" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <name>mailparse</name>
+ <channel>pecl.php.net</channel>
+ <summary>Email message manipulation</summary>
+ <description>Mailparse is an extension for parsing and working with email messages.
+It can deal with rfc822 and rfc2045 (MIME) compliant messages.</description>
+ <lead>
+ <name>Wez Furlong</name>
+ <user>wez</user>
+ <email>wez@php.net</email>
+ <active>yes</active>
+ </lead>
+ <lead>
+ <name>Brian Shire</name>
+ <user>shire</user>
+ <email>shire@php.net</email>
+ <active>yes</active>
+ </lead>
+ <lead>
+ <name>John Jawed</name>
+ <user>jawed</user>
+ <email>jawed@php.net</email>
+ <active>yes</active>
+ </lead>
+ <lead>
+ <name>Sean DuBois</name>
+ <user>seander</user>
+ <email>seander@php.net</email>
+ <active>yes</active>
+ </lead>
+ <lead>
+ <name>Remi Collet</name>
+ <user>remi</user>
+ <email>remi@php.net</email>
+ <active>yes</active>
+ </lead>
+ <date>2020-09-16</date>
+ <time>06:30:08</time>
+ <version>
+ <release>3.1.1</release>
+ <api>3.0</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <license uri="http://www.php.net/license">PHP</license>
+ <notes>
+- Fixed bug #74215: Memory leaks with mailparse (cmb)
+- Fixed bug #76498: Unable to use callable as callback (cmb)
+- Compatibility with 8.0.0beta4
+ </notes>
+ <contents>
+ <dir name="/">
+ <file md5sum="fc3d7d1c176a67af97b90d348168d5ce" name="tests/testdata/m0001.txt" role="test" />
+ <file md5sum="6ccd0d2e685f1d76730579209284d55e" name="tests/testdata/mime.exp" role="test" />
+ <file md5sum="9977c29a7cc66506e951c194c9854a7e" name="tests/testdata/mime.txt" role="test" />
+ <file md5sum="dec79f537de198c4e921e0c65ac69615" name="tests/testdata/multimedia-demo.exp" role="test" />
+ <file md5sum="8b9cf284bacfe485bd2de410ff09e2da" name="tests/testdata/multimedia-demo.txt.gz" role="test" />
+ <file md5sum="ed47320fa50fba1fe1f6cb90abd74d09" name="tests/testdata/oeuue" role="test" />
+ <file md5sum="eb943fe67176202748fef616bc400f83" name="tests/testdata/phpcvs1.exp" role="test" />
+ <file md5sum="11811181d1f553961a12f8f40bdc7146" name="tests/testdata/phpcvs1.txt" role="test" />
+ <file md5sum="033d0db993afa3ef95f5550517f4ab11" name="tests/testdata/qp.exp" role="test" />
+ <file md5sum="35f66ee80b6bfb54ca75c728c233eb79" name="tests/testdata/qp.txt" role="test" />
+ <file md5sum="df1926c6fa763c30376f2774168157db" name="tests/testdata/rfc2231.exp" role="test" />
+ <file md5sum="ea255ad4375f05f3ae9160d79018779e" name="tests/testdata/rfc2231.txt" role="test" />
+ <file md5sum="3e454df7a785a5058cd9e6ec602cce6f" name="tests/testdata/uue.exp" role="test" />
+ <file md5sum="50456b53bbc58888a88180576e5f444d" name="tests/testdata/uue.txt" role="test" />
+ <file md5sum="fbaf709a75b354f2d9583ff124737dd2" name="tests/001.phpt" role="test" />
+ <file md5sum="0606bf97ad8ba5976c0aa081373b08d5" name="tests/002.phpt" role="test" />
+ <file md5sum="166473eac2e09ae7de622f08314d7d9d" name="tests/003.phpt" role="test" />
+ <file md5sum="d8ae32061458d8bc407eb84c10c13d51" name="tests/004.phpt" role="test" />
+ <file md5sum="fc93d801d7b81ee8297902f0f48e1a65" name="tests/005.phpt" role="test" />
+ <file md5sum="f2225c35d0c5c4ebfd1393f25bcbd84f" name="tests/006.phpt" role="test" />
+ <file md5sum="f049243d888133fd333d96c479e43a7c" name="tests/007.phpt" role="test" />
+ <file md5sum="8b6dd97ca300e9a8aaecfa549aa35121" name="tests/008.phpt" role="test" />
+ <file md5sum="efa5d561c5f37b244c5fc3f532f4a37b" name="tests/009.phpt" role="test" />
+ <file md5sum="07cf4838d8593b866e7c896caaaa99fc" name="tests/010.phpt" role="test" />
+ <file md5sum="f602b5c304a7f831a03ffa1410bbba86" name="tests/011.phpt" role="test" />
+ <file md5sum="d7c45899c09963b32560295c4edd8b8d" name="tests/012.phpt" role="test" />
+ <file md5sum="09fedb15406c52a5ebfbec58ab631bca" name="tests/013.phpt" role="test" />
+ <file md5sum="7f7618a02b090994cdd8ffa5ec308808" name="tests/bug001.phpt" role="test" />
+ <file md5sum="3dc68a7c65151e4fc8fc97f28564edbf" name="tests/parse_test_messages.phpt" role="test" />
+ <file md5sum="f3fa30cd1db6dbf5d09e5c8d39045dc2" name="config.m4" role="src" />
+ <file md5sum="0f58eeebc05fcf38ecc1b4a44a786719" name="config.w32" role="src" />
+ <file md5sum="556085b05c27c1719aebde7a5008d86b" name="LICENSE" role="doc" />
+ <file md5sum="c08b3ff0db4689c0966c84d097ef4bcd" name="CREDITS" role="doc" />
+ <file md5sum="80364e3e1beb2498dd100d0c0707b167" name="mailparse.c" role="src" />
+ <file md5sum="6274dec9e69f893eb75994bda5d2fb28" name="Makefile.frag" role="src" />
+ <file md5sum="c6edb27f8b1f7ce27931723c541af08b" name="arginfo.h" role="src" />
+ <file md5sum="c15c3d92f6bd6efd63fa814584c551b7" name="php_mailparse.h" role="src" />
+ <file md5sum="5b4dc36f56feba99dc52c3f067fe7f1d" name="php_mailparse_mime.c" role="src" />
+ <file md5sum="a4801dbd400dad3186c918359259bd01" name="php_mailparse_mime.h" role="src" />
+ <file md5sum="0aba74b332a8a30a03feb80e1bec95ad" name="php_mailparse_rfc822.c" role="src" />
+ <file md5sum="26b585961913d8a7ed422cdb8309398e" name="php_mailparse_rfc822.h" role="src" />
+ <file md5sum="ebc01c82aa494d8cfa9e92f82d863c14" name="php_mailparse_rfc822.re" role="src" />
+ <file md5sum="f0bc75daaf2848d705c449708d092384" name="README.md" role="doc" />
+ <file md5sum="41aa8420372a5676cbfaf9af2b12cb7a" name="try.php" role="doc" />
+ </dir>
+ </contents>
+ <dependencies>
+ <required>
+ <php>
+ <min>7.0.0</min>
+ </php>
+ <pearinstaller>
+ <min>1.10</min>
+ </pearinstaller>
+ <extension>
+ <name>mbstring</name>
+ </extension>
+ </required>
+ </dependencies>
+ <providesextension>mailparse</providesextension>
+ <extsrcrelease />
+ <changelog>
+ <release>
+ <date>2020-04-22</date>
+ <version>
+ <release>3.1.0</release>
+ <api>3.0</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <license uri="http://www.php.net/license">PHP</license>
+ <notes>
+- add arginfo to all functions
+- fix MimeMessage constructor name
+ </notes>
+ </release>
+ <release>
+ <date>2019-12-19</date>
+ <version>
+ <release>3.0.4</release>
+ <api>3.0</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <license uri="http://www.php.net/license">PHP</license>
+ <notes>
+- Replace ulong with zend_ulong, fix Windows build (cmb)
+ </notes>
+ </release>
+ <release>
+ <date>2019-03-20</date>
+ <version>
+ <release>3.0.3</release>
+ <api>3.0</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <license uri="http://www.php.net/license">PHP</license>
+ <notes>
+QA Release:
+- add missing files in archive
+- fix -Wformat warning
+- add dependency on mbstring extension
+- PHP 7.3 compatibility
+ </notes>
+ </release>
+ <release>
+ <date>2016-12-07</date>
+ <version>
+ <release>3.0.2</release>
+ <api>3.0</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <license uri="http://www.php.net/license">PHP</license>
+ <notes>
+- Fix segfault in getChild
+ </notes>
+ </release>
+ <release>
+ <date>2016-01-29</date>
+ <version>
+ <release>3.0.1</release>
+ <api>3.0</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <license uri="http://www.php.net/license">PHP</license>
+ <notes>
+- Fix double free caused by mailparse_msg_free
+ </notes>
+ </release>
+ <release>
+ <date>2015-12-23</date>
+ <version>
+ <release>3.0.0</release>
+ <api>3.0</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <license uri="http://www.php.net/license">PHP</license>
+ <notes>
+- PHP 7 Release
+ </notes>
+ </release>
+ </changelog>
+</package>