aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-11-16 12:08:41 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-11-16 12:20:51 +0000
commit30159c32881d429b07afa62e869f386372dc797e (patch)
tree92aad8ea4368da86a8d055b41fe1bc63ae9fd0fc
parentd02999438ea40892b509cd8a355f17fe32306abf (diff)
downloadports-30159c32881d429b07afa62e869f386372dc797e.tar.gz
ports-30159c32881d429b07afa62e869f386372dc797e.zip
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
-rw-r--r--mail/mailsync/Makefile8
-rw-r--r--mail/mailsync/files/patch-acinclude_ac__with__cclient.m42
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"