From nobody Tue Jul 30 18:22:38 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WYNqz1LpHz5Rjmm; Tue, 30 Jul 2024 18:22:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WYNqy5MKsz4RSN; Tue, 30 Jul 2024 18:22:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722363758; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mWLIS6Gb1sMa8nTwkN3Lu1Gwi6ppkiqb0P3U7D+guX0=; b=U9GGi9WuKgayb+ZULwXXPLEoRNze0lPs78M+O2Lqo55/6DrPI52fgTqrbYxD3a2CFtQie8 uoP2Eit85dDI9SKgTHXojxeF1I/jECGKbimQ1fyQmcjf1ZGSC8yJg/cKJmnNI9SoK/n6vU BD+rFd6H9O3O6K9DUb+/hSj6PgYtR3a5FH0Q+pO8yfHz5m8/JPOdaDbOeXOMbU3izj+oGY 1lhP0vtRSQ9M3BRl1qLqplZZ5GfaTPG0WwDfWsG3lnB2DErwIr575zXd8ARWtsF5JbZ06j uIVz38bYIlCZAqpxjzf1cBvdhQKUTD5c24fzqR4J949WCoVH4D+nMEUERn9GAw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722363758; a=rsa-sha256; cv=none; b=d3m0FyLc43IPqc9NqcdjbdTVwXf1a0IGaIiggLnBxsSE/x4lj1GSmxxfe6feqHwZaatFd1 GAKYeGNnuDJMxosRFbuJcIspyWnSGoCHwSYbhnlljMiybdxTKR57iDmJyXJwNmoz7FANOv y3O11t4I7vglmiqMm/gIdbI/9F++TVaagHJ4BVJcr3Wv73xdSDYyLvL1RJFZvT+NN/rsZh UrLPsqhaZcevfS55YjB58DAZOyDf+o7VuSgr9Ehd0j7naIu8ZtdP6YRKuKsTpCDS+ASFSp cN0kbLl/nmNOH+XVVzAXVfCOmuGIo5P52RYkdeiQalTgYWDxNN3szwOzmbsLdw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722363758; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mWLIS6Gb1sMa8nTwkN3Lu1Gwi6ppkiqb0P3U7D+guX0=; b=awHqkUOhXFS06Ne64N0/zyO7SprH26uLbjfeOEWM0N0NcXPquqWK7XGqdwppo/cJCnlf7a 6YhzdfLtvzUkla2ZQE1PulB4DfSBDLSDZ1q0i2BTdFOBTsxym81CyLOt2RxipaefxbwaB/ AetKCqWDOAuPZYORgSCahIVMPAeeC2DZLiSCAzWAox4qLs0ChTZG5zoJKUrDdlfVjFwFWX oBw7c3he0lBpnfdG9aFfJifG/UsrcGueZVsqElQS7SD9hryLVYFJpp9R0T28Uz9Xh8s31l v+J+x2cfKWoazePH56QFYbsCz7yYbk0+IML7xDN0em+56kq6eLlBQDR6uyOGOA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WYNqy4tFczSWL; Tue, 30 Jul 2024 18:22:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46UIMc0n037571; Tue, 30 Jul 2024 18:22:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46UIMcPw037568; Tue, 30 Jul 2024 18:22:38 GMT (envelope-from git) Date: Tue, 30 Jul 2024 18:22:38 GMT Message-Id: <202407301822.46UIMcPw037568@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: d47abcaff730 - main - mail/pecl-imap: New port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d47abcaff730c43fb9f569997aad37f7b9a07ab2 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=d47abcaff730c43fb9f569997aad37f7b9a07ab2 commit d47abcaff730c43fb9f569997aad37f7b9a07ab2 Author: Muhammad Moinur Rahman AuthorDate: 2024-07-30 18:19:59 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2024-07-30 18:22:19 +0000 mail/pecl-imap: New port PHP extension to operate with the IMAP protocol, as well as the NNTP, POP3, and local mailbox access methods. This extension is no longer maintained by php team officially and might phase out of support in near future. --- Mk/Uses/php.mk | 12 ++++++++---- mail/Makefile | 1 + mail/pecl-imap/Makefile | 28 ++++++++++++++++++++++++++++ mail/pecl-imap/distinfo | 5 +++++ mail/pecl-imap/pkg-descr | 2 ++ 5 files changed, 44 insertions(+), 4 deletions(-) diff --git a/Mk/Uses/php.mk b/Mk/Uses/php.mk index c35e3dad88d7..ed76cf6f5f54 100644 --- a/Mk/Uses/php.mk +++ b/Mk/Uses/php.mk @@ -374,7 +374,7 @@ add-plist-phpext: # non-version specific components _USE_PHP_ALL= bcmath bitset bz2 calendar ctype curl dba dom \ enchant exif ffi fileinfo filter ftp gd gettext gmp \ - hash iconv igbinary intl json ldap mbstring mcrypt \ + hash iconv igbinary imap intl json ldap mbstring mcrypt \ memcache memcached mysqli odbc opcache \ openssl pcntl pcre pdo pdo_dblib pdo_firebird pdo_mysql \ pdo_odbc pdo_pgsql pdo_sqlite phar pgsql posix \ @@ -383,9 +383,9 @@ _USE_PHP_ALL= bcmath bitset bz2 calendar ctype curl dba dom \ tidy tokenizer xml xmlreader xmlrpc xmlwriter xsl zephir_parser \ zip zlib # version specific components -_USE_PHP_VER81= ${_USE_PHP_ALL} imap -_USE_PHP_VER82= ${_USE_PHP_ALL} imap -_USE_PHP_VER83= ${_USE_PHP_ALL} imap +_USE_PHP_VER81= ${_USE_PHP_ALL} +_USE_PHP_VER82= ${_USE_PHP_ALL} +_USE_PHP_VER83= ${_USE_PHP_ALL} _USE_PHP_VER84= ${_USE_PHP_ALL} bcmath_DEPENDS= math/php${PHP_VER}-bcmath @@ -407,7 +407,11 @@ gettext_DEPENDS=devel/php${PHP_VER}-gettext gmp_DEPENDS= math/php${PHP_VER}-gmp iconv_DEPENDS= converters/php${PHP_VER}-iconv igbinary_DEPENDS= converters/pecl-igbinary@${PHP_FLAVOR} +. if ${PHP_VER} <= 83 imap_DEPENDS= mail/php${PHP_VER}-imap +. else +imap_DEPENDS= mail/pecl-imap@${PHP_FLAVOR} +. endif intl_DEPENDS= devel/php${PHP_VER}-intl ldap_DEPENDS= net/php${PHP_VER}-ldap mbstring_DEPENDS= converters/php${PHP_VER}-mbstring diff --git a/mail/Makefile b/mail/Makefile index 4193b1f7d61f..d86307825e46 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -459,6 +459,7 @@ SUBDIR += pear-Net_Cyrus SUBDIR += pear-Net_IMAP SUBDIR += pear-Net_LMTP + SUBDIR += pecl-imap SUBDIR += pecl-mailparse SUBDIR += perdition SUBDIR += pflogsumm diff --git a/mail/pecl-imap/Makefile b/mail/pecl-imap/Makefile new file mode 100644 index 000000000000..74caf92aed10 --- /dev/null +++ b/mail/pecl-imap/Makefile @@ -0,0 +1,28 @@ +PORTNAME= imap +DISTVERSION= 1.0.2 +CATEGORIES= mail + +PATCH_SITES= https://github.com/php/pecl-mail-imap/commit/ +PATCHFILES= 4fc9970a29c205ec328f36edc8c119c158129324.diff:-p1 + +MAINTAINER= mickael.maillot@gmail.com +COMMENT= PHP extension to operate with the IMAP protocol +WWW= https://github.com/php/pecl-mail-imap + +LICENSE= PHP301 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libc-client.so.2010:mail/panda-cclient \ + libpcre2-8.so:devel/pcre2 + +USES= php:pecl localbase ssl +IGNORE_WITH_PHP= 81 82 83 + +CONFIGURE_ARGS+= --with-imap-ssl=${OPENSSLBASE} --with-imap=${LOCALBASE} +CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" + +TEST_TARGET= test + +LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl + +.include diff --git a/mail/pecl-imap/distinfo b/mail/pecl-imap/distinfo new file mode 100644 index 000000000000..70167ef0e690 --- /dev/null +++ b/mail/pecl-imap/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1722361491 +SHA256 (PECL/imap-1.0.2.tgz) = eb6d13fe10668dbb0ad6aa424139645434d0f8b4816c69dd1b251367adb3a16c +SIZE (PECL/imap-1.0.2.tgz) = 63295 +SHA256 (PECL/4fc9970a29c205ec328f36edc8c119c158129324.diff) = 110a2723afcf4cc02e703e8549002552de6b5303b66ee54bbd4c749b0ebe4b33 +SIZE (PECL/4fc9970a29c205ec328f36edc8c119c158129324.diff) = 489 diff --git a/mail/pecl-imap/pkg-descr b/mail/pecl-imap/pkg-descr new file mode 100644 index 000000000000..ff59fc016029 --- /dev/null +++ b/mail/pecl-imap/pkg-descr @@ -0,0 +1,2 @@ +PHP extension to operate with the IMAP protocol, as well as the +NNTP, POP3, and local mailbox access methods.