git: 30159c32881d - main - mail/mailsync: Mark DEPRECATED

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 16 Nov 2023 12:21:08 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=30159c32881d429b07afa62e869f386372dc797e

commit 30159c32881d429b07afa62e869f386372dc797e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-11-16 12:08:41 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-11-16 12:20:51 +0000

    mail/mailsync: Mark DEPRECATED
    
    - Depends on outdated cclient so try to use the fork panda-cclient
    - Last upstream release was in 2020
    - Dropped support of openssl in the last release
    - Set EXPIRATION_DATE 2023-12-16
---
 mail/mailsync/Makefile                                   | 8 ++++++--
 mail/mailsync/files/patch-acinclude_ac__with__cclient.m4 | 2 +-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/mail/mailsync/Makefile b/mail/mailsync/Makefile
index 6ea04806096c..484539c8c320 100644
--- a/mail/mailsync/Makefile
+++ b/mail/mailsync/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	mailsync
 PORTVERSION=	5.2.1
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	mail
 MASTER_SITES=	SF
 DISTNAME=	${PORTNAME}_${PORTVERSION}.orig
@@ -11,9 +11,13 @@ WWW=		https://mailsync.sourceforge.net/
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	libc-client4.so:mail/cclient
+DEPRECATED=	Depends on outdated mail/cclient
+EXPIRATION_DATE=	2023-12-16
+
+LIB_DEPENDS=	libc-client.so:mail/panda-cclient
 
 USES=		autoreconf gmake ssl
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-c-client=${LOCALBASE} \
 		--with-openssl=${OPENSSLBASE}
diff --git a/mail/mailsync/files/patch-acinclude_ac__with__cclient.m4 b/mail/mailsync/files/patch-acinclude_ac__with__cclient.m4
index d1ae01083795..c2aa47061184 100644
--- a/mail/mailsync/files/patch-acinclude_ac__with__cclient.m4
+++ b/mail/mailsync/files/patch-acinclude_ac__with__cclient.m4
@@ -42,7 +42,7 @@ FreeBSD sh(1) does not support the Brace Expansion.
     dnl
     AC_MSG_CHECKING([for c-client library])
 -   for l in `eval "echo {${CCLIENTLOCATIONS}}{,/c-client,/lib/c-client,/lib,/lib64}/{libc-client,libc-client4,c-client}{${SOP}}"` ; do
-+   l=${CCLIENTLOCATIONS}/lib/libc-client4.so
++   l=${CCLIENTLOCATIONS}/lib/libc-client.so
      if test -r "$l" ; then
       AC_MSG_RESULT([found ${l}])
       CCLIENT_LIBS="$l"