git: 710fa155cc3f - main - mail/mailsync: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sat, 16 Dec 2023 10:44:04 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=710fa155cc3fd09b10f83773939403b2ba4e775c

commit 710fa155cc3fd09b10f83773939403b2ba4e775c
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2023-12-16 10:43:23 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2023-12-16 10:43:23 +0000

    mail/mailsync: Remove expired port
    
    2023-12-16 mail/mailsync: Depends on outdated mail/cclient
---
 MOVED                                              |  1 +
 mail/Makefile                                      |  1 -
 mail/mailsync/Makefile                             | 46 ------------------
 mail/mailsync/distinfo                             |  2 -
 .../files/patch-acinclude_ac__with__cclient.m4     | 54 ----------------------
 .../files/patch-acinclude_ac__with__openssl.m4     | 52 ---------------------
 mail/mailsync/files/patch-configure.ac             |  8 ----
 mail/mailsync/pkg-descr                            |  2 -
 mail/mailsync/pkg-plist                            | 13 ------
 9 files changed, 1 insertion(+), 178 deletions(-)

diff --git a/MOVED b/MOVED
index 8591e24ae6a1..aafb3a6cafcf 100644
--- a/MOVED
+++ b/MOVED
@@ -8180,3 +8180,4 @@ devel/rubygem-view_component-rails61|devel/rubygem-view_component-rails70|2023-1
 devel/rubygem-cucumber-messages23|devel/rubygem-cucumber-messages|2023-12-14|Remove obsoleted port. Use devel/rubygem-cucumber-messages instead
 devel/py-astroid253|devel/py-astroid|2023-12-14|Remove obsoleted port. Use devel/py-astroid instead
 mail/imap-uw|mail/panda-imap|2023-12-16|Has expired: Last upstream release was in 2007 so use the fork mail/panda-imap
+mail/mailsync||2023-12-16|Has expired: Depends on outdated mail/cclient
diff --git a/mail/Makefile b/mail/Makefile
index 7133543067f8..f9305184e9cb 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -207,7 +207,6 @@
     SUBDIR += mailpit
     SUBDIR += mailscanner
     SUBDIR += mailslurper
-    SUBDIR += mailsync
     SUBDIR += mailutils
     SUBDIR += mailx
     SUBDIR += mairix
diff --git a/mail/mailsync/Makefile b/mail/mailsync/Makefile
deleted file mode 100644
index 484539c8c320..000000000000
--- a/mail/mailsync/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-PORTNAME=	mailsync
-PORTVERSION=	5.2.1
-PORTREVISION=	5
-CATEGORIES=	mail
-MASTER_SITES=	SF
-DISTNAME=	${PORTNAME}_${PORTVERSION}.orig
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Keeps collection of mailboxes synchronized
-WWW=		https://mailsync.sourceforge.net/
-
-LICENSE=	GPLv2
-
-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}
-
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/mailsync ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/doc/mailsync.1 ${STAGEDIR}${MANPREFIX}/man/man1
-
-do-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS NEWS README \
-		THANKS TODO ${STAGEDIR}${DOCSDIR}
-	cd ${WRKSRC}/doc && ${INSTALL_DATA} ABSTRACT HACKING \
-		mail_open_close_flowchart.dia \
-		mail_open_close_flowchart.svg \
-		mail_open_close_flowchart2.svg ${STAGEDIR}${DOCSDIR}
-
-do-install-EXAMPLES-on:
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/examples/mailsync ${STAGEDIR}${EXAMPLESDIR}
-
-.include <bsd.port.mk>
diff --git a/mail/mailsync/distinfo b/mail/mailsync/distinfo
deleted file mode 100644
index 84aeb64a4c68..000000000000
--- a/mail/mailsync/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (mailsync_5.2.1.orig.tar.gz) = 8a4f35eedff0003a7e17a6b06b79ad824c8a3ab80cb8351e540948ee94001e6d
-SIZE (mailsync_5.2.1.orig.tar.gz) = 139967
diff --git a/mail/mailsync/files/patch-acinclude_ac__with__cclient.m4 b/mail/mailsync/files/patch-acinclude_ac__with__cclient.m4
deleted file mode 100644
index c2aa47061184..000000000000
--- a/mail/mailsync/files/patch-acinclude_ac__with__cclient.m4
+++ /dev/null
@@ -1,54 +0,0 @@
-FreeBSD sh(1) does not support the Brace Expansion.
-
---- acinclude/ac_with_cclient.m4.orig	2018-05-22 07:37:52 UTC
-+++ acinclude/ac_with_cclient.m4
-@@ -3,7 +3,7 @@ dnl Output:
- dnl AC_SUBST: @CCLIENT_INCLUDES@ @CCLIENT_LIBS@ @CCLIENT_CXXFLAGS@
- dnl AM_CONDITIONAL: HAVE_CCLIENT
- AC_DEFUN(AC_WITH_CCLIENT,[
-- CCLIENTLOCATIONS="/usr,/usr/local"
-+ CCLIENTLOCATIONS=""
-  HAVE_CCLIENT="no"
-  CCLIENT_LIBS=""
-  CCLIENT_INCLUDES=""
-@@ -16,7 +16,7 @@ AC_DEFUN(AC_WITH_CCLIENT,[
-    if test "$withval" = "no" ; then
-     CCLIENTLOCATIONS=""
-    else
--    test "$withval" = "yes" || CCLIENTLOCATIONS="$withval,${CCLIENTLOCATIONS}"
-+    test "$withval" = "yes" || CCLIENTLOCATIONS="$withval"
-    fi
-   ]
-  )
-@@ -28,7 +28,7 @@ AC_DEFUN(AC_WITH_CCLIENT,[
-   dnl Looking for headers c-client headers
-   dnl
-    AC_MSG_CHECKING([for c-client.h])
--  for p in `eval "echo {${CCLIENTLOCATIONS}}{,/c-client,/lib/c-client,/include/c-client,/include,/include/imap}"` ; do
-+  p=${CCLIENTLOCATIONS}/include/c-client
-    if test -r "${p}/c-client.h" -a -r "${p}/linkage.h" -a -r "${p}/linkage.c" ; then
-     CCLIENT_INCLUDES="-I${p}"
-     CCLIENT_LINKAGE_H="${p}/linkage.h"
-@@ -36,7 +36,6 @@ AC_DEFUN(AC_WITH_CCLIENT,[
-     AC_MSG_RESULT([found in ${p}])
-     break
-    fi
--  done
-   if test -z "${CCLIENT_INCLUDES}" ; then
-    AC_MSG_RESULT([not found])
-    ifelse([$2], , :, [$2])
-@@ -48,13 +47,12 @@ AC_DEFUN(AC_WITH_CCLIENT,[
-    dnl Looking for c-client libraries
-    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-client.so
-     if test -r "$l" ; then
-      AC_MSG_RESULT([found ${l}])
-      CCLIENT_LIBS="$l"
-      break
-     fi
--   done
-    if test -z "${CCLIENT_LIBS}" ; then
-     AC_MSG_RESULT([not found])
-     ifelse([$2], , :, [$2])
diff --git a/mail/mailsync/files/patch-acinclude_ac__with__openssl.m4 b/mail/mailsync/files/patch-acinclude_ac__with__openssl.m4
deleted file mode 100644
index 62c2b744dffb..000000000000
--- a/mail/mailsync/files/patch-acinclude_ac__with__openssl.m4
+++ /dev/null
@@ -1,52 +0,0 @@
-FreeBSD sh(1) does not support the Brace Expansion.
-
---- acinclude/ac_with_openssl.m4.orig	2018-05-22 07:38:01 UTC
-+++ acinclude/ac_with_openssl.m4
-@@ -3,7 +3,7 @@ dnl Output:
- dnl AC_SUBST: @OPENSSL_INCLUDES@ @OPENSSL_LDFLAGS@ @OPENSSL_LIBS@
- dnl AM_CONDITIONAL: HAVE_OPENSSL
- AC_DEFUN(AC_WITH_OPENSSL,[
-- OPENSSLLOCATIONS="/usr,/usr/local,/usr/local/openssl,/opt/openssl,/usr/local/ssl,/usr/lib/ssl,/usr/ssl"
-+ OPENSSLLOCATIONS=""
-  HAVE_OPENSSL="no"
-  OPENSSL_LDFLAGS=""
-  OPENSSL_LIBS=""
-@@ -14,7 +14,7 @@ AC_DEFUN(AC_WITH_OPENSSL,[
-    if test "$withval" = "no" ; then
-     OPENSSLLOCATIONS=""
-    else
--    test "$withval" = "yes" || OPENSSLLOCATIONS="$withval,${OPENSSLLOCATIONS}"
-+    test "$withval" = "yes" || OPENSSLLOCATIONS="$withval"
-    fi
-   ]
-  )
-@@ -22,13 +22,12 @@ AC_DEFUN(AC_WITH_OPENSSL,[
-   ifelse([$2], , :, [$2])
-  else
-   AC_MSG_CHECKING([for libssl])
--  for p in `eval "echo {${OPENSSLLOCATIONS}}{/lib,/lib64}"` ; do
-+  p=${OPENSSLLOCATIONS}/lib
-    if test -r "${p}/libssl.a" -o -r "${p}/libssl.so" ; then
-     OPENSSL_LDFLAGS="-L${p}"
-     AC_MSG_RESULT([found in ${p}])
-     break
-    fi
--  done
-   if test -z "${OPENSSL_LDFLAGS}" ; then
-    AC_MSG_RESULT([not found])
-    ifelse([$2], , :, [$2])
-@@ -50,13 +49,12 @@ AC_DEFUN(AC_WITH_OPENSSL,[
-     ifelse([$2], , :, [$2])
-    else
-     AC_MSG_CHECKING([for openssl/ssl.h])
--    for p in `eval "echo {${OPENSSLLOCATIONS}}{/include,}"` ; do
-+    p=${OPENSSLLOCATIONS}/include
-      if test -r "${p}/openssl/ssl.h" ; then
-       OPENSSL_INCLUDES="-I${p}"
-       AC_MSG_RESULT([found in ${p}])
-       break
-      fi
--    done
-     if test -z "${OPENSSL_INCLUDES}" ; then
-      AC_MSG_RESULT([not found])
-      ifelse([$2], , :, [$2])
diff --git a/mail/mailsync/files/patch-configure.ac b/mail/mailsync/files/patch-configure.ac
deleted file mode 100644
index 15235bf049e0..000000000000
--- a/mail/mailsync/files/patch-configure.ac
+++ /dev/null
@@ -1,8 +0,0 @@
---- configure.ac.orig	2018-05-22 07:39:19 UTC
-+++ configure.ac
-@@ -1,4 +1,5 @@
- AC_INIT([mailsync], [5.2.1], [tpo_deb@sourcepole.ch])
-+AC_CONFIG_MACRO_DIR([acinclude])
- AM_INIT_AUTOMAKE
- AM_CONFIG_HEADER(config.h)
- AC_CONFIG_SRCDIR([src/mailsync_main.cc])
diff --git a/mail/mailsync/pkg-descr b/mail/mailsync/pkg-descr
deleted file mode 100644
index e21eb0dce01a..000000000000
--- a/mail/mailsync/pkg-descr
+++ /dev/null
@@ -1,2 +0,0 @@
-Mailsync is a way of keeping a collection of mailboxes synchronized. The
-mailboxes may be on the local filesystem or on an IMAP server.
diff --git a/mail/mailsync/pkg-plist b/mail/mailsync/pkg-plist
deleted file mode 100644
index 137f1f217f0d..000000000000
--- a/mail/mailsync/pkg-plist
+++ /dev/null
@@ -1,13 +0,0 @@
-bin/mailsync
-man/man1/mailsync.1.gz
-%%PORTDOCS%%%%DOCSDIR%%/ABSTRACT
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/HACKING
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/THANKS
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%%%DOCSDIR%%/mail_open_close_flowchart.dia
-%%PORTDOCS%%%%DOCSDIR%%/mail_open_close_flowchart.svg
-%%PORTDOCS%%%%DOCSDIR%%/mail_open_close_flowchart2.svg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mailsync