mail/cone: update to 1.5

PR:	262158
Reported by:	uffe@uffe.org
This commit is contained in:
Fernando Apesteguía 2022-02-25 13:42:21 +01:00
parent dd103c6091
commit 01b0caaee4
4 changed files with 7 additions and 39 deletions

View file

@ -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

View file

@ -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

View file

@ -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;

View file

@ -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"