git: 01b0caaee48d - main - mail/cone: update to 1.5

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Sun, 27 Feb 2022 18:03:12 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=01b0caaee48dacca69cd0b307d3b7f50f24d1a2e

commit 01b0caaee48dacca69cd0b307d3b7f50f24d1a2e
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2022-02-25 12:42:21 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-02-27 18:01:25 +0000

    mail/cone: update to 1.5
    
    PR:     262158
    Reported by:    uffe@uffe.org
---
 mail/cone/Makefile                       |  7 ++++---
 mail/cone/distinfo                       |  6 +++---
 mail/cone/files/patch-c++                | 23 -----------------------
 mail/cone/files/patch-libmail_envelope.H | 10 ----------
 4 files changed, 7 insertions(+), 39 deletions(-)

diff --git a/mail/cone/Makefile b/mail/cone/Makefile
index 1fcb096b4825..31ba21815492 100644
--- a/mail/cone/Makefile
+++ b/mail/cone/Makefile
@@ -1,8 +1,7 @@
 # Created by: Matthias Andree <matthias.andree@gmx.de>
 
 PORTNAME=	cone
-PORTVERSION=	1.1
-PORTREVISION=	1
+PORTVERSION=	1.5
 CATEGORIES=	mail
 # This is for beta versions, leave it in please:
 #MASTER_SITES=	http://www.courier-mta.org/beta/${PORTNAME}/ \
@@ -18,7 +17,9 @@ LICENSE_FILE=	${WRKSRC}/COPYING.GPL
 
 LIB_DEPENDS=	libaspell.so:textproc/aspell \
 		libidn.so:dns/libidn \
-		libcourier-unicode.so:devel/courier-unicode
+		libcourier-unicode.so:devel/courier-unicode \
+		libldap_r.so:net/openldap24-client
+
 BUILD_DEPENDS=	gpgv:security/gnupg1
 RUN_DEPENDS=	gpgv:security/gnupg1
 
diff --git a/mail/cone/distinfo b/mail/cone/distinfo
index a37292d6696f..49cbf209e59c 100644
--- a/mail/cone/distinfo
+++ b/mail/cone/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1603844375
-SHA256 (cone-1.1.tar.bz2) = 7ed5f50e65420063621ab4c7127ae9177944655490e98c5b3f202c57e715d3f0
-SIZE (cone-1.1.tar.bz2) = 4017709
+TIMESTAMP = 1642453385
+SHA256 (cone-1.5.tar.bz2) = 0930bbc0e61a39165dbf8c87d697999763cd70b8b561515926565768e16230a9
+SIZE (cone-1.5.tar.bz2) = 3951782
diff --git a/mail/cone/files/patch-c++ b/mail/cone/files/patch-c++
deleted file mode 100644
index 392cdd31cc11..000000000000
--- a/mail/cone/files/patch-c++
+++ /dev/null
@@ -1,23 +0,0 @@
-These aren't a problem for GNU C++, but clang throws an error.
-The fix is from upstream (by Sam Varshavchik).
-
-	-mi
-
---- libmail/mboxadd.H	2017-03-05 20:28:33.000000000 -0500
-+++ libmail/mboxadd.H	2020-10-29 00:01:46.241648000 -0400
-@@ -29,5 +29,5 @@
- 	FILE *fp;
- 
--	ptr<mbox> mboxAccount;
-+	mail::ptr<mbox> mboxAccount;
- 
- 	void reportProgress(size_t bytesCompleted,
---- libmail/smtpfolder.H	2017-03-05 20:28:33.000000000 -0500
-+++ libmail/smtpfolder.H	2020-10-29 00:09:19.515780000 -0400
-@@ -85,5 +85,5 @@
- class smtpAddMessage : public addMessage {
- 
--	ptr<smtp> myServer;
-+	mail::ptr<smtp> myServer;
- 	smtpInfo myInfo;
- 	mail::callback &myCallback;
diff --git a/mail/cone/files/patch-libmail_envelope.H b/mail/cone/files/patch-libmail_envelope.H
deleted file mode 100644
index 1f8c755d97a1..000000000000
--- a/mail/cone/files/patch-libmail_envelope.H
+++ /dev/null
@@ -1,10 +0,0 @@
---- libmail/envelope.H	2014-01-06 19:37:10 UTC
-+++ libmail/envelope.H
-@@ -8,6 +8,7 @@
- 
- #include <vector>
- #include <string>
-+#include <time.h>
- 
- #include "namespace.H"
-