git: 301d106e8ce0 - main - devel/fossil: update to 2.22

From: Pietro Cerutti <gahr_at_FreeBSD.org>
Date: Thu, 01 Jun 2023 11:32:58 UTC
The branch main has been updated by gahr:

URL: https://cgit.FreeBSD.org/ports/commit/?id=301d106e8ce062b046971453ca873b02c61750ab

commit 301d106e8ce062b046971453ca873b02c61750ab
Author:     Pietro Cerutti <gahr@FreeBSD.org>
AuthorDate: 2023-06-01 11:32:00 +0000
Commit:     Pietro Cerutti <gahr@FreeBSD.org>
CommitDate: 2023-06-01 11:32:55 +0000

    devel/fossil: update to 2.22
    
    Release notes:
    https://fossil-scm.org/home/doc/trunk/www/changes.wiki#v2_22
---
 devel/fossil/Makefile              |  2 +-
 devel/fossil/distinfo              |  6 +++---
 devel/fossil/files/patch-smtp-ehlo | 39 --------------------------------------
 3 files changed, 4 insertions(+), 43 deletions(-)

diff --git a/devel/fossil/Makefile b/devel/fossil/Makefile
index cdd2efdf72ad..f1cee255cd5c 100644
--- a/devel/fossil/Makefile
+++ b/devel/fossil/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	fossil
-PORTVERSION=	2.21
+PORTVERSION=	2.22
 DISTVERSIONPREFIX=	src-
 PORTREVISION=	0
 PORTEPOCH=	2
diff --git a/devel/fossil/distinfo b/devel/fossil/distinfo
index 3fb9f1b6a7d2..3c79feae2fd9 100644
--- a/devel/fossil/distinfo
+++ b/devel/fossil/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1677736990
-SHA256 (fossil-src-2.21.tar.gz) = 195faf0b20c101834a809979d0a9cdf04a0dcbae1fdabae792c9db900b73bda0
-SIZE (fossil-src-2.21.tar.gz) = 6703622
+TIMESTAMP = 1685616069
+SHA256 (fossil-src-2.22.tar.gz) = b90c40beb75308b0eba46b5add6e54a7a9e65ac90ce86ec8d78ae2a4bb8bae60
+SIZE (fossil-src-2.22.tar.gz) = 6730858
diff --git a/devel/fossil/files/patch-smtp-ehlo b/devel/fossil/files/patch-smtp-ehlo
deleted file mode 100644
index eaf809fc494e..000000000000
--- a/devel/fossil/files/patch-smtp-ehlo
+++ /dev/null
@@ -1,39 +0,0 @@
-Index: src/alerts.c
-==================================================================
---- src/alerts.c.orig	2023-02-25 19:23:39 UTC
-+++ src/alerts.c
-@@ -617,7 +617,7 @@ AlertSender *alert_sender_new(const char *zAltDest, u3
-     if( zRelay ){
-       u32 smtpFlags = SMTP_DIRECT;
-       if( mFlags & ALERT_TRACE ) smtpFlags |= SMTP_TRACE_STDOUT;
--      p->pSmtp = smtp_session_new(p->zFrom, zRelay, smtpFlags);
-+      p->pSmtp = smtp_session_new(smtp_domain_of_addr(p->zFrom), zRelay, smtpFlags);
-       smtp_client_startup(p->pSmtp);
-     }
-   }
---- src/smtp.c.orig	2023-02-25 19:23:39 UTC
-+++ src/smtp.c
-@@ -581,7 +581,7 @@ int smtp_send_msg(
- ** The input is a base email address of the form "local@domain".
- ** Return a pointer to just the "domain" part.
- */
--static const char *domainOfAddr(const char *z){
-+const char *smtp_domain_of_addr(const char *z){
-   while( z[0] && z[0]!='@' ) z++;
-   if( z[0]==0 ) return 0;
-   return z+1;
-@@ -625,12 +625,12 @@ void test_smtp_send(void){
-   zFrom = g.argv[3];
-   nTo = g.argc-4;
-   azTo = (const char**)g.argv+4;
--  zFromDomain = domainOfAddr(zFrom);
-+  zFromDomain = smtp_domain_of_addr(zFrom);
-   if( zRelay!=0 && zRelay[0]!= 0) {
-     smtpFlags |= SMTP_DIRECT;
-     zToDomain = zRelay;
-   }else{
--    zToDomain = domainOfAddr(azTo[0]);
-+    zToDomain = smtp_domain_of_addr(azTo[0]);
-   }
-   p = smtp_session_new(zFromDomain, zToDomain, smtpFlags, smtpPort);
-   if( p->zErr ){