From nobody Mon Mar 11 00:08:29 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 4TtHDY3yjsz5DBgs; Mon, 11 Mar 2024 00:08:29 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TtHDY37tcz4r8b; Mon, 11 Mar 2024 00:08:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710115709; 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=UgJaBh0UcShts+N4AzUiFclTM1kfCwmIbBl2Xpfaxvg=; b=rn1MJgItWgLwDXtLtbWaibHiQL6hClEC/iTTFCbCLeQG33iVhQcNT12hnJAZUmgjW15+lG EhXeaR1LS5VwJLnPLddAL3SRndfqmEqriV9aX8HzVPf93iiKzbZ7RFEpd6cYA4T8ccSipx KXc0fVnFJ8QzF5mj3SX/fPrmL+8XNrcCRm1aDAdukXxYbMshhdlwbYugVjC7enxGpUkKTX fg/yN3l2VMxQafWc297h4EnrRCm6Ax0uuIpvv7XWJ1P7MTypDAmoFCm8QPFskEH3VZlCXQ faq10mm59kG3iXIb8fihr2MCYyTiU6v2YWAaLW8aegobX93/8A3CnaHwxtmdaA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710115709; a=rsa-sha256; cv=none; b=D9aYRj+JVUdQxgKYTiLCrzXDdxpd40VTqlkbBgbREACnlz4qBs3MYVq8wfflvcglw3I5AN nmVG/8IPgAnraLxQX6+Sx/efqrsu+aN3voeW4NEBW9v2m+6NP64C9+n28U7a+9akxojjFb yndOiQpRhobbaYiHtAGjzVJMUJcBb6RYatWCHj7xh6cMJOEcwXZTzHupxucgm+9MZjr8V4 jMzkzZUEZTw4cNMaV0BTywcgK0QtSvIFrzbbT9fYrWkh59yjTsK/vuFLyiwIiYKegB7vQv flu0gxJagIQvO/ed5ql+Rqi4B/SMHYLt2JBmrMYkDax2wajQ3PHHdCfB0kJ9CQ== 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=1710115709; 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=UgJaBh0UcShts+N4AzUiFclTM1kfCwmIbBl2Xpfaxvg=; b=mf03CD59iQRpjDynhGf7Q1gpyWUILHnSlOW8Qy5SQfG39ArsGGmNNJS1dUxWcHdYmSpkX6 BlttY6VwCuhNvzRrXQZEoaw0qosf2fpnjnaiJvKhBdkqcmYhX3j0YLRXzAQMiboNk8ayex qwuGtzM71hsF1aR9z1qZqQypw07/qOoKRfoGPCLbC82OHX1hPbFwgYzhMXI8IRvqD9Cn8z KlcdpahghQ8ql3lG8M0QxpQ1iXJMLx56NPHSkBLKn2pT9eZAzlT0LMOZfFI8NF9jmRrb5q 0QutEq+pxSdtoTXO4cYCbV44CJFtgEh/GNkESCEawJBbirKwjZLWYH8d7HLfIQ== 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 4TtHDY2QYsz16Ts; Mon, 11 Mar 2024 00:08:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42B08T25060366; Mon, 11 Mar 2024 00:08:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42B08TuK060363; Mon, 11 Mar 2024 00:08:29 GMT (envelope-from git) Date: Mon, 11 Mar 2024 00:08:29 GMT Message-Id: <202403110008.42B08TuK060363@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yasuhiro Kimura Subject: git: 746736cb56a7 - main - mail/snappymail: Fix autoconfig 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yasu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 746736cb56a704b1a915afe15281e5e9e7166cad Auto-Submitted: auto-generated The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=746736cb56a704b1a915afe15281e5e9e7166cad commit 746736cb56a704b1a915afe15281e5e9e7166cad Author: Jesús Daniel Colmenares Oviedo AuthorDate: 2024-03-10 13:15:11 +0000 Commit: Yasuhiro Kimura CommitDate: 2024-03-11 00:07:28 +0000 mail/snappymail: Fix autoconfig When configuring a new domain and hit the Autoconfig button, an error is occurred due the missing SimpleXML extension. ``` [2024-03-09 07:18:28.749][72d59c31] PHP[WARNING]: file_get_contents(https://autoconfig.disroot.org/.well-known/mail-v1.xml?emailaddress=test%40disroot.org): Failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden /usr/local/www/snappymail/snappymail/v/2.35.2/app/libraries/RainLoop/Providers/Domain/Autoconfig.php [line:64, code:2] [2024-03-09 07:18:30.360][72d59c31] PHP[WARNING]: file_get_contents(https://disroot.org/.well-known/autoconfig/mail/config-v1.1.xml): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found /usr/local/www/snappymail/snappymail/v/2.35.2/app/libraries/RainLoop/Providers/Domain/Autoconfig.php [line:64, code:2] [2024-03-09 07:18:31.518][72d59c31] SERVICE[WARNING]: Call to undefined function simplexml_load_string() ``` After installing the simplexml extension, it just shows a bunch of warnings, but Autoconfig works and configures the parameters without user intervention. ``` [2024-03-09 07:20:27.683][64f93497] PHP[WARNING]: file_get_contents(https://autoconfig.disroot.org/.well-known/mail-v1.xml?emailaddress=test%40disroot.org): Failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden /usr/local/www/snappymail/snappymail/v/2.35.2/app/libraries/RainLoop/Providers/Domain/Autoconfig.php [line:64, code:2] [2024-03-09 07:20:29.426][64f93497] PHP[WARNING]: file_get_contents(https://disroot.org/.well-known/autoconfig/mail/config-v1.1.xml): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found /usr/local/www/snappymail/snappymail/v/2.35.2/app/libraries/RainLoop/Providers/Domain/Autoconfig.php [line:64, code:2] ``` PR: 277611 MFH: 2024Q1 --- mail/snappymail/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mail/snappymail/Makefile b/mail/snappymail/Makefile index c202afa3fb46..913fc2869dcc 100644 --- a/mail/snappymail/Makefile +++ b/mail/snappymail/Makefile @@ -1,6 +1,6 @@ PORTNAME= snappymail DISTVERSION= 2.35.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail www MASTER_SITES= https://github.com/the-djmaze/snappymail/releases/download/v${DISTVERSION}/ PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} @@ -15,8 +15,8 @@ RUN_DEPENDS= ${PECL_PKGNAMEPREFIX}APCu>0:devel/pecl-APCu@${PHP_FLAVOR} \ ${PECL_PKGNAMEPREFIX}uuid>0:devel/pecl-uuid@${PHP_FLAVOR} USES= php:web,flavors -USE_PHP= ctype curl dom fileinfo gd iconv intl mbstring phar sodium tidy \ - xml zip zlib +USE_PHP= ctype curl dom fileinfo gd iconv intl mbstring phar simplexml \ + sodium tidy xml zip zlib NO_ARCH= yes NO_BUILD= yes