pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/php-pecl-imap



Module Name:    pkgsrc
Committed By:   taca
Date:           Sat Feb 22 15:36:23 UTC 2025

Added Files:
        pkgsrc/mail/php-pecl-imap: DESCR Makefile distinfo options.mk

Log Message:
mail/php-pecl-imap: add package version 1.0.3

Since PHP 8.4 drop imap extension, add PECL version now.

An extension to operate with the IMAP protocol, as well as the NNTP,
POP3, and local mailbox access methods.

This is pecl version for PHP 8.4 and later.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/php-pecl-imap/DESCR \
    pkgsrc/mail/php-pecl-imap/Makefile pkgsrc/mail/php-pecl-imap/distinfo \
    pkgsrc/mail/php-pecl-imap/options.mk

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-pecl-imap/DESCR
diff -u /dev/null pkgsrc/mail/php-pecl-imap/DESCR:1.1
--- /dev/null   Sat Feb 22 15:36:23 2025
+++ pkgsrc/mail/php-pecl-imap/DESCR     Sat Feb 22 15:36:23 2025
@@ -0,0 +1,4 @@
+An extension to operate with the IMAP protocol, as well as the NNTP,
+POP3, and local mailbox access methods.
+
+This is pecl version for PHP 8.4 and later.
Index: pkgsrc/mail/php-pecl-imap/Makefile
diff -u /dev/null pkgsrc/mail/php-pecl-imap/Makefile:1.1
--- /dev/null   Sat Feb 22 15:36:23 2025
+++ pkgsrc/mail/php-pecl-imap/Makefile  Sat Feb 22 15:36:23 2025
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2025/02/22 15:36:23 taca Exp $
+
+MODNAME=               imap
+PECL_VERSION=          1.0.3
+CATEGORIES+=           mail
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+COMMENT=               PHP extension for IMAP, including NNTP, POP3
+LICENSE=               php
+
+PHP_VERSIONS_ACCEPTED= 84
+
+USE_TOOLS+=            pkg-config
+
+CONFIGURE_ARGS+=       --with-${MODNAME}=shared,${BUILDLINK_PREFIX.imap-uw}
+CONFIGURE_ENV+=                ac_cv_lib_pam_pam_start=no
+
+.include "options.mk"
+.include "../../mail/imap-uw/buildlink3.mk"
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/mail/php-pecl-imap/distinfo
diff -u /dev/null pkgsrc/mail/php-pecl-imap/distinfo:1.1
--- /dev/null   Sat Feb 22 15:36:23 2025
+++ pkgsrc/mail/php-pecl-imap/distinfo  Sat Feb 22 15:36:23 2025
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2025/02/22 15:36:23 taca Exp $
+
+BLAKE2s (php-imap/imap-1.0.3.tgz) = f7d5a65795d016a1df213ba33f8564551c7590acd600af0def179b8f3606c54d
+SHA512 (php-imap/imap-1.0.3.tgz) = 845642883d9b75a72408c272682377f1b9d672198118b2be99e466232471663f0ea0d839069c19bc30886c142db5a2f9b835cd0251162e0b0d3acad3be3cbca2
+Size (php-imap/imap-1.0.3.tgz) = 63476 bytes
Index: pkgsrc/mail/php-pecl-imap/options.mk
diff -u /dev/null pkgsrc/mail/php-pecl-imap/options.mk:1.1
--- /dev/null   Sat Feb 22 15:36:23 2025
+++ pkgsrc/mail/php-pecl-imap/options.mk        Sat Feb 22 15:36:23 2025
@@ -0,0 +1,34 @@
+# $NetBSD: options.mk,v 1.1 2025/02/22 15:36:23 taca Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.imap-uw
+PKG_SUPPORTED_OPTIONS+=        ssl kerberos
+PKG_SUGGESTED_OPTIONS+=        ssl
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Support GSSAPI authentication via Kerberos 5.
+###
+.if !empty(PKG_OPTIONS:Mkerberos)
+.  include "../../mk/krb5.buildlink3.mk"
+CONFIGURE_ARGS+=       --with-kerberos
+.endif
+
+###
+### Support SSL/TLS connections.
+###
+.if !empty(PKG_OPTIONS:Mssl)
+.  include "../../security/openssl/buildlink3.mk"
+
+# Imap extension's config.m4 calls m4 macro PHP_SETUP_OPENSSL() which
+# expects PHP_ARG_WITH(openssl, ...) being called beforehand so that
+# PHP_OPENSSL is set. For a self contained extension build like for
+# this package this is not the case of course.
+CONFIGURE_ENV.SunOS+=  PHP_OPENSSL=yes
+CONFIGURE_ENV.*+=      PHP_OPENSSL=${SSLBASE:Q}
+CONFIGURE_ARGS.SunOS+= --with-${MODNAME}-ssl=yes
+CONFIGURE_ARGS.*+=     --with-${MODNAME}-ssl=${SSLBASE}
+
+.endif



Home | Main Index | Thread Index | Old Index