From 6be0c95a279c7f4775a0fb4a039a68ee455d0306 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Tue, 12 Oct 2021 21:36:25 +0200 Subject: * Mailparse PHP plugin compiled for PHP 7.x new file: php7-mailparse/.SRCINFO new file: php7-mailparse/.gitignore new file: php7-mailparse/PKGBUILD new file: php7-mailparse/mailparse.ini new file: php7-mailparse/package.xml --- php7-mailparse/.SRCINFO | 17 ++++ php7-mailparse/.gitignore | 6 ++ php7-mailparse/PKGBUILD | 43 +++++++++ php7-mailparse/mailparse.ini | 1 + php7-mailparse/package.xml | 214 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 281 insertions(+) create mode 100644 php7-mailparse/.SRCINFO create mode 100644 php7-mailparse/.gitignore create mode 100644 php7-mailparse/PKGBUILD create mode 100644 php7-mailparse/mailparse.ini create mode 100644 php7-mailparse/package.xml 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 +# Contributor: Johannes Schleifenbaum + +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 @@ + + + mailparse + pecl.php.net + Email message manipulation + Mailparse is an extension for parsing and working with email messages. +It can deal with rfc822 and rfc2045 (MIME) compliant messages. + + Wez Furlong + wez + wez@php.net + yes + + + Brian Shire + shire + shire@php.net + yes + + + John Jawed + jawed + jawed@php.net + yes + + + Sean DuBois + seander + seander@php.net + yes + + + Remi Collet + remi + remi@php.net + yes + + 2020-09-16 + + + 3.1.1 + 3.0 + + + stable + stable + + PHP + +- Fixed bug #74215: Memory leaks with mailparse (cmb) +- Fixed bug #76498: Unable to use callable as callback (cmb) +- Compatibility with 8.0.0beta4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 7.0.0 + + + 1.10 + + + mbstring + + + + mailparse + + + + 2020-04-22 + + 3.1.0 + 3.0 + + + stable + stable + + PHP + +- add arginfo to all functions +- fix MimeMessage constructor name + + + + 2019-12-19 + + 3.0.4 + 3.0 + + + stable + stable + + PHP + +- Replace ulong with zend_ulong, fix Windows build (cmb) + + + + 2019-03-20 + + 3.0.3 + 3.0 + + + stable + stable + + PHP + +QA Release: +- add missing files in archive +- fix -Wformat warning +- add dependency on mbstring extension +- PHP 7.3 compatibility + + + + 2016-12-07 + + 3.0.2 + 3.0 + + + stable + stable + + PHP + +- Fix segfault in getChild + + + + 2016-01-29 + + 3.0.1 + 3.0 + + + stable + stable + + PHP + +- Fix double free caused by mailparse_msg_free + + + + 2015-12-23 + + 3.0.0 + 3.0 + + + stable + stable + + PHP + +- PHP 7 Release + + + + -- cgit v1.2.3-70-g09d2