git: 6770b49d580b - main - mail/mime4j: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Tue, 30 Jun 2026 22:07:54 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6770b49d580b5b9228688d31a62ab0951d00af0f

commit 6770b49d580b5b9228688d31a62ab0951d00af0f
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2026-06-30 22:07:50 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2026-06-30 22:07:50 +0000

    mail/mime4j: Remove expired port
    
    2026-06-30 mail/mime4j: This is a version that is over 14 years old and has multiple vulnerabilities
---
 MOVED                 |  1 +
 mail/Makefile         |  1 -
 mail/mime4j/Makefile  | 42 ------------------------------------------
 mail/mime4j/distinfo  |  2 --
 mail/mime4j/pkg-descr | 17 -----------------
 5 files changed, 1 insertion(+), 62 deletions(-)

diff --git a/MOVED b/MOVED
index 7438a408d68c..6f7e8a557b07 100644
--- a/MOVED
+++ b/MOVED
@@ -5477,3 +5477,4 @@ japanese/man-doc||2026-06-30|Has expired: Abandoned, this manual is over 20 year
 devel/py-rauth||2026-06-30|Has expired: No longer maintained upstream
 www/py-flask-collect||2026-06-30|Has expired: Project is discontinued
 lang/spidermonkey115||2026-06-30|Has expired: EOL upstream except to support older Windows
+mail/mime4j||2026-06-30|Has expired: This is a version that is over 14 years old and has multiple vulnerabilities
diff --git a/mail/Makefile b/mail/Makefile
index 32daa002d298..a2b8f128c105 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -241,7 +241,6 @@
     SUBDIR += milter-regex
     SUBDIR += milter-skem
     SUBDIR += mime-construct
-    SUBDIR += mime4j
     SUBDIR += mimedefang
     SUBDIR += mini_sendmail
     SUBDIR += minimalist
diff --git a/mail/mime4j/Makefile b/mail/mime4j/Makefile
deleted file mode 100644
index c1bc378977a9..000000000000
--- a/mail/mime4j/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-PORTNAME=	mime4j
-PORTVERSION=	0.7.2
-PORTREVISION=	4
-CATEGORIES=	mail java
-MASTER_SITES=	https://archive.apache.org/dist/james/${PORTNAME}/${POSTVERSION}/
-DISTNAME=	apache-${PORTNAME}-${PORTVERSION}-bin
-
-MAINTAINER=	ale@FreeBSD.org
-COMMENT=	Java parser for e-mail message streams
-WWW=		https://james.apache.org/mime4j/
-
-LICENSE=	APACHE20
-
-DEPRECATED=	This is a version that is over 14 years old and has multiple vulnerabilities
-EXPIRATION_DATE=2026-06-30
-
-RUN_DEPENDS=	${JAVALIBDIR}/commons-logging.jar:java/apache-commons-logging
-
-USES=		java
-
-OPTIONS_DEFINE=	DOCS
-
-NO_BUILD=	yes
-WRKSRC=		${WRKDIR}/apache-${PORTNAME}-${PORTVERSION}
-
-PLIST_FILES=	%%JAVAJARDIR%%/apache-${PORTNAME}-core.jar \
-		%%JAVAJARDIR%%/apache-${PORTNAME}-dom.jar \
-		%%JAVAJARDIR%%/apache-${PORTNAME}-storage.jar
-
-PORTDOCS=	*
-
-do-install:
-	${INSTALL_DATA} ${WRKSRC}/apache-${PORTNAME}-core-${PORTVERSION}.jar \
-		${STAGEDIR}${JAVAJARDIR}/apache-${PORTNAME}-core.jar
-	${INSTALL_DATA} ${WRKSRC}/apache-${PORTNAME}-dom-${PORTVERSION}.jar \
-		${STAGEDIR}${JAVAJARDIR}/apache-${PORTNAME}-dom.jar
-	${INSTALL_DATA} ${WRKSRC}/apache-${PORTNAME}-storage-${PORTVERSION}.jar \
-		${STAGEDIR}${JAVAJARDIR}/apache-${PORTNAME}-storage.jar
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES.txt ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/mail/mime4j/distinfo b/mail/mime4j/distinfo
deleted file mode 100644
index 9d220c73d314..000000000000
--- a/mail/mime4j/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (apache-mime4j-0.7.2-bin.tar.gz) = ff311951d1e4f8d031fa359b434f4e460cff6425cb04ee118b8a7e152e4c449a
-SIZE (apache-mime4j-0.7.2-bin.tar.gz) = 3697363
diff --git a/mail/mime4j/pkg-descr b/mail/mime4j/pkg-descr
deleted file mode 100644
index eb3e7f2fb800..000000000000
--- a/mail/mime4j/pkg-descr
+++ /dev/null
@@ -1,17 +0,0 @@
-mime4j provides a parser, MimeStreamParser, for e-mail message streams
-in plain rfc822 and MIME format. The parser uses a callback mechanism to
-report parsing events such as the start of an entity header, the start
-of a body, etc. If you are familiar with the SAX XML parser interface
-you should have no problem getting started with mime4j.
-
-The parser only deals with the structure of the message stream. It won't
-do any decoding of base64 or quoted-printable encoded header fields and
-bodies.
-
-The parser has been designed to be extremely tolerant against messages
-violating the standards.
-
-mime4j can also be used to build a tree representation of an e-mail
-message using the Message class. Using this facility mime4j
-automatically handles the decoding of fields and bodies and uses
-temporary files for large attachments.