FreeBSD Bugzilla – Attachment 249071 Details for
Bug 277611
mail/snappymail: Fix autoconfig
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mail-snappymail-Fix-autoconfig.patch
0001-mail-snappymail-Fix-autoconfig.patch (text/plain), 2.82 KB, created by
Jesús Daniel Colmenares Oviedo
on 2024-03-10 13:29:11 UTC
(
hide
)
Description:
mail-snappymail-Fix-autoconfig.patch
Filename:
MIME Type:
Creator:
Jesús Daniel Colmenares Oviedo
Created:
2024-03-10 13:29:11 UTC
Size:
2.82 KB
patch
obsolete
>From 90afd17778acccd42ebcef9d66bd377031dab854 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Jes=C3=BAs=20Daniel=20Colmenares=20Oviedo?= > <DtxdF@disroot.org> >Date: Sun, 10 Mar 2024 09:15:11 -0400 >Subject: [PATCH] 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] >``` >--- > 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 >-- >2.43.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 277611
: 249071