diff options
| author | Rene Ladan <rene@FreeBSD.org> | 2026-08-31 14:36:58 +0000 |
|---|---|---|
| committer | Rene Ladan <rene@FreeBSD.org> | 2026-08-31 14:36:58 +0000 |
| commit | a19712165b1096e57b89f448365ae72af7706351 (patch) | |
| tree | fbaac92edc166abb9456539237052f2b5e17fa9c | |
| parent | 081765bf5acd7b74296deefbaf1c6cc83b78a328 (diff) | |
mail/james: Remove expired port
2026-06-30 mail/james: This is a version that is over 10 years old and has multiple vulnerabilities
| -rw-r--r-- | MOVED | 1 | ||||
| -rw-r--r-- | mail/Makefile | 1 | ||||
| -rw-r--r-- | mail/james/Makefile | 63 | ||||
| -rw-r--r-- | mail/james/distinfo | 2 | ||||
| -rw-r--r-- | mail/james/files/james.in | 195 | ||||
| -rw-r--r-- | mail/james/pkg-descr | 15 | ||||
| -rw-r--r-- | mail/james/pkg-plist | 78 |
7 files changed, 1 insertions, 354 deletions
@@ -5589,3 +5589,4 @@ www/py-dj42-djangosaml2||2026-08-31|Has expired: Serves as a transition only for www/py-dj42-django-ranged-response||2026-08-31|Has expired: Serves as a transition only for www/seahub and requires Django 4.2, which has been end-of-life since April www/py-django42||2026-08-31|Has expired: Django 4.2 is now in Extended Support, receives security fixes only and will reach End-Of-Life in April 2026. Upgrade to a later Django version. See https://www.djangoproject.com/download/ www/py-seafdav||2026-08-31|Removed, depended on net-mgmt/seafile-server +mail/james||2026-08-31|Has expired: This is a version that is over 10 years old and has multiple vulnerabilities diff --git a/mail/Makefile b/mail/Makefile index 7e8ef3525584..7b03b7e4ae23 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -171,7 +171,6 @@ SUBDIR += isbg SUBDIR += isoqlog SUBDIR += isync - SUBDIR += james SUBDIR += jamlib SUBDIR += jmba SUBDIR += junkfilter diff --git a/mail/james/Makefile b/mail/james/Makefile deleted file mode 100644 index 603c4acebe77..000000000000 --- a/mail/james/Makefile +++ /dev/null @@ -1,63 +0,0 @@ -PORTNAME= james -PORTVERSION= 2.3.2.1 -PORTREVISION= 4 -CATEGORIES= mail java -MASTER_SITES= APACHE/${PORTNAME}/server/ -DISTNAME= ${PORTNAME}-binary-${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Java SMTP and POP3 Mail server and NNTP News server -WWW= https://james.apache.org/ - -LICENSE= APACHE20 -LICENSE_FILE= ${WRKSRC}/LICENSE.txt - -DEPRECATED= This is a version that is over 10 years old and has multiple vulnerabilities -EXPIRATION_DATE=2026-06-30 - -USES= cpe java -CPE_VENDOR= apache - -NO_ARCH= yes -NO_BUILD= yes - -USE_RC_SUBR= james - -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -APP_HOME?= ${PREFIX}/${PKGBASE}${PORTVERSION} -PID_FILE= /var/run/${PORTNAME}.pid -PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///} - -SUB_LIST= JAVA_HOME=${JAVA_HOME} \ - PID_FILE=${PID_FILE} \ - JAMES_HOME=${APP_HOME} - -pre-patch: - @${ECHO_MSG} "Installation settings:" - @${ECHO_MSG} " Destination directory: ${APP_HOME}" - @${ECHO_MSG} " Location of JDK: ${JAVA_HOME}" - @${ECHO_MSG} " Location of Java port: ${JAVA_PORT}" - -post-patch: - @${ECHO_MSG} -n ">> Removing unneeded files..." - @${RM} `${FIND} ${WRKSRC} -name '*.bat'` `${FIND} ${WRKSRC} -name '*.orig'` `${FIND} ${WRKSRC} -name '*.exe'` - @${ECHO_MSG} " [ DONE ]" - -do-install: - @${ECHO_MSG} -n ">> Creating destination directory..." - @${MKDIR} ${STAGEDIR}${APP_HOME} - @${ECHO_MSG} " [ DONE ]" - - @${ECHO_MSG} ">> Copying files to destination directory..." - @${CP} -R ${WRKSRC}/* ${STAGEDIR}${APP_HOME} - @${MKDIR} ${STAGEDIR}${APP_HOME}/logs - @${MKDIR} ${STAGEDIR}${APP_HOME}/apps - @${ECHO_MSG} " [ DONE ]" - - @${ECHO_MSG} -n ">> Creating symlink to tools.jar..." - @${LN} -sf ${JAVA_HOME}/lib/tools.jar ${STAGEDIR}${APP_HOME}/lib/tools.jar - @${ECHO_MSG} " [ DONE ]" - - @${ECHO_MSG} "${PORTNAME} ${PORTVERSION} has been installed in ${APP_HOME}." - -.include <bsd.port.mk> diff --git a/mail/james/distinfo b/mail/james/distinfo deleted file mode 100644 index 71bccbea0771..000000000000 --- a/mail/james/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (james-binary-2.3.2.1.tar.gz) = dc7ada2846e2fbbcdb0613240170e89cc61ae66ec89cecd9805dbd24cefcf119 -SIZE (james-binary-2.3.2.1.tar.gz) = 7661407 diff --git a/mail/james/files/james.in b/mail/james/files/james.in deleted file mode 100644 index 03363eab304b..000000000000 --- a/mail/james/files/james.in +++ /dev/null @@ -1,195 +0,0 @@ -#!/bin/sh - -# PROVIDE: james -# REQUIRE: LOGIN -# KEYWORD: shutdown -# -# Configuration settings for james in /etc/rc.conf: -# -# james_enable (bool): -# Set to "NO" by default. -# Set it to "YES" to enable james -# -# james_home (str) -# Set to "%%JAMES_HOME%%" by default. -# Set the JAMES_HOME variable for the James process -# -# james_base (str) -# Set to "%%JAMES_HOME%%" by default. -# Set the JAMES_BASE variable for the James process -# -# james_tmpdir (str) -# Set to "/tmp" by default. -# -# james_stop_timeout (num) -# Set to "10" by default. -# Sets the timeout in seconds to allow james to shutdown. -# After the timeout has elapsed, james will be killed. -# -# james_java_home (str): -# james_java_vendor (str): -# james_java_version (str): -# james_java_os (str): -# Specify the requirements of the Java VM to use. See javavm(1). -# -# james_classpath (str): -# Set to "" by default. -# Addtional classes to add to the CLASSPATH -# -# james_java_opts (str): -# Set to "" by default. -# Java VM args to use. -# - -james_enable="${james_enable:-"NO"}" -james_home="${james_home:-"%%JAMES_HOME%%"}" -james_base="${james_base:-"%%JAMES_HOME%%"}" -james_tmpdir="${james_tmpdir:-"/tmp"}" -james_stop_timeout="${james_stop_timeout:-"10"}" - -. /etc/rc.subr - -name=james -rcvar=james_enable -pidfile="%%PID_FILE%%" - -load_rc_config "${name}" - -for var in $(list_vars "james[0-9]*"); do - echo "WARNING: \$$var is deprecated, use \$james_${var#*_} instead." - eval james_${var#*_}=\"\$$var\" -done - -JAVA_HOME="%%JAVA_HOME%%" -JRE_HOME="$JAVA_HOME/jre" -JVM_EXT_DIRS="${james_home}/lib:${james_home}/tools/lib" -JVM_OPTS="-Djava.ext.dirs=$JVM_EXT_DIRS" - -if [ -n "${james_java_home}" ] ; then - export JAVA_HOME="${james_java_home}" -fi - -if [ -n "${james_java_version}" ] ; then - export JAVA_VERSION="${james_java_version}" -fi - -if [ -n "${james_java_vendor}" ] ; then - export JAVA_VENDOR="${james_java_vendor}" -fi - -if [ -n "${james_java_os}" ] ; then - export JAVA_OS="${james_java_os}" -fi - -if [ "$JAVA_HOME" = "" ] ; then - echo "ERROR: JAVA_HOME not found in your environment." - echo - echo "Please, set the JAVA_HOME variable in your environment to match the" - echo "location of the Java Virtual Machine you want to use." - return 1 -fi - -if [ -z "${james_tmpdir}" ] ; then - # Define the java.io.tmpdir to use for Phoenix - james_tmpdir="${james_home}"/temp - mkdir -p "${james_tmpdir}" -fi - -java_cmd= -if [ -z "${JAVA_HOME}" ] ; then - java_cmd=%%LOCALBASE%%/bin/java -else - java_cmd=${JAVA_HOME}/bin/java -fi - - -java_command="$java_cmd $JVM_OPTS \ - -Djava.security.policy=jar:file:${james_home}/bin/phoenix-loader.jar!/META-INF/java.policy \ - -Dphoenix.home=${james_home} \ - -Djava.io.tmpdir=${james_tmpdir} \ - -jar ${james_home}/bin/phoenix-loader.jar >/dev/null" - -PHOENIX_CONSOLE="$PHOENIX_TMPDIR/phoenix.console" -if [ -z "$PHOENIX_CONSOLE" ] ; then - if [ -w /dev/console ]; then - PHOENIX_CONSOLE=/dev/console - else - PHOENIX_CONSOLE=/dev/tty - fi -fi - -# Subvert the check_pid_file procname check. -if [ -f $pidfile ] ; then - read rc_pid junk < $pidfile - if [ ! -z "$rc_pid" ]; then - procname=`ps -o ucomm= $rc_pid` - fi -fi - -start_cmd=james_start -status_cmd=james_status -stop_cmd=james_stop - -james_start() { - rc_pid=$(check_pidfile $pidfile *$procname*) - - if [ ! -z "$rc_pid" ]; then - echo "Already running!" - return 1 - fi - - echo "Starting ${name}." - nohup sh -c "exec $java_command >>$PHOENIX_CONSOLE 2>&1" >/dev/null & - echo $! > $pidfile -} - -james_status() { - rc_pid=$(check_pidfile $pidfile *$procname*) - - if [ -z "$rc_pid" ]; then - echo "${name} not running" - return 1 - else - echo "${name} is running as pid $rc_pid" - return 0 - fi -} - -james_stop() { - rc_pid=$(check_pidfile $pidfile *$procname*) - - if [ -z "$rc_pid" ]; then - [ -n "$rc_fast" ] && return 0 - if [ -n "$pidfile" ]; then - echo "${name} not running? (check $pidfile)." - else - echo "${name} not running?" - fi - return 1 - fi - - echo "Stopping ${name}." - kill ${rc_pid}>/dev/null - james_wait_max_for_pid ${james_stop_timeout} ${rc_pid} - kill -KILL ${rc_pid} 2> /dev/null && echo "Killed." - echo -n > ${pidfile} -} - -james_wait_max_for_pid() { - _timeout=$1 - shift - _pid=$1 - _prefix= - while [ $_timeout -gt 0 ] ; do - echo -n ${_prefix:-"Waiting (max $_timeout secs) for PIDS: "}$_pid - _prefix=", " - sleep 2 - kill -0 $_pid 2> /dev/null || break - _timeout=$(($_timeout-2)) - done - if [ -n "$_prefix" ]; then - echo "." - fi -} - -run_rc_command "$1" diff --git a/mail/james/pkg-descr b/mail/james/pkg-descr deleted file mode 100644 index f72ab1d76f32..000000000000 --- a/mail/james/pkg-descr +++ /dev/null @@ -1,15 +0,0 @@ -The Apache Java Enterprise Mail Server (a.k.a. Apache James) is a 100% pure -Java SMTP and POP3 Mail server and NNTP News server. We have designed James -to be a complete and portable enterprise mail engine solution based on -currently available open protocols. - -James is also a mail application platform. We have developed a Java API to -let you write Java code to process emails that we call the mailet API. A -mailet can generate an automatic reply, update a database, prevent spam, -build a message archive, or whatever you can imagine. A matcher determines -whether your mailet should process an email in the server. The James project -hosts the Mailet API, and James provides an implementation of this mail appli --cation platform API. - -James is based upon the Apache Avalon application framework, formerly a -product of the Apache Avalon project. diff --git a/mail/james/pkg-plist b/mail/james/pkg-plist deleted file mode 100644 index bd9409f526d2..000000000000 --- a/mail/james/pkg-plist +++ /dev/null @@ -1,78 +0,0 @@ -%%T%%/LICENSE.txt -%%T%%/NOTICE.txt -%%T%%/README.txt -%%T%%/RELEASE_NOTES.txt -%%T%%/UPGRADE.txt -%%T%%/apps/dummy.txt -%%T%%/apps/james.sar -%%T%%/bin/Wrapper.LICENSE -%%T%%/bin/Wrapper.dll -%%T%%/bin/derby.properties -%%T%%/bin/lib/excalibur-cli-1.0.jar -%%T%%/bin/lib/excalibur-extension-1.0a.jar -%%T%%/bin/lib/excalibur-instrument-manager-1.0.jar -%%T%%/bin/lib/excalibur-io-1.1.jar -%%T%%/bin/lib/excalibur-logger-2.1.jar -%%T%%/bin/lib/excalibur-monitor-2.1.jar -%%T%%/bin/lib/jakarta-oro-2.0.8.jar -%%T%%/bin/lib/mx4j-jmx.jar -%%T%%/bin/lib/mx4j-tools.jar -%%T%%/bin/lib/mx4j.LICENSE -%%T%%/bin/lib/phoenix-engine.jar -%%T%%/bin/lib/spice-classman-1.0.jar -%%T%%/bin/lib/spice-loggerstore-0.5.jar -%%T%%/bin/lib/spice-salt-0.8.jar -%%T%%/bin/lib/spice-xmlpolicy-1.0.jar -%%T%%/bin/lib/spice.LICENSE -%%T%%/bin/phoenix-loader.jar -%%T%%/bin/phoenix.sh -%%T%%/bin/run.sh -%%T%%/bin/sendmail.py -%%T%%/bin/wrapper.jar -%%T%%/conf/kernel.xml -%%T%%/conf/phoenix-service.xml -%%T%%/conf/wrapper.conf -%%T%%/ext/README.txt -%%T%%/lib/avalon-framework-api-4.3.jar -%%T%%/lib/avalon-framework-impl-4.3.jar -%%T%%/lib/avalon-logkit-2.1.jar -%%T%%/lib/commons-collections-2.1.1.jar -%%T%%/lib/concurrent-1.3.4.jar -%%T%%/lib/excalibur-cli-1.0.jar -%%T%%/lib/excalibur-extension-1.0a.jar -%%T%%/lib/excalibur-instrument-api-2.1.jar -%%T%%/lib/excalibur-instrument-manager-1.0.jar -%%T%%/lib/excalibur-io-1.1.jar -%%T%%/lib/excalibur-logger-2.1.jar -%%T%%/lib/excalibur-monitor-2.1.jar -%%T%%/lib/excalibur-pool-api-2.1.jar -%%T%%/lib/excalibur-pool-impl-2.1.jar -%%T%%/lib/excalibur-thread-api-2.1.jar -%%T%%/lib/excalibur-thread-impl-2.1.jar -%%T%%/lib/jakarta-oro-2.0.8.jar -%%T%%/lib/mx4j-jmx.jar -%%T%%/lib/mx4j-tools.jar -%%T%%/lib/mx4j.LICENSE -%%T%%/lib/phoenix-client.jar -%%T%%/lib/phoenix-engine.jar -%%T%%/lib/spice-classman-1.0.jar -%%T%%/lib/spice-loggerstore-0.5.jar -%%T%%/lib/spice-salt-0.8.jar -%%T%%/lib/spice-xmlpolicy-1.0.jar -%%T%%/lib/spice.LICENSE -%%T%%/lib/tools.jar -%%T%%/logs/readme.txt -%%T%%/tools/lib/excalibur-i18n-1.0.jar -%%T%%/tools/lib/isorelax-20020414.jar -%%T%%/tools/lib/isorelax.LICENSE -%%T%%/tools/lib/msv-20020414.jar -%%T%%/tools/lib/msv.LICENSE -%%T%%/tools/lib/phoenix-tools.jar -%%T%%/tools/lib/qdox-1.1.jar -%%T%%/tools/lib/qdox.LICENSE -%%T%%/tools/lib/relaxngDatatype-20020414.jar -%%T%%/tools/lib/relaxngDatatype.LICENSE -%%T%%/tools/lib/spice-configkit-1.1.2.jar -%%T%%/tools/lib/spice.LICENSE -%%T%%/tools/lib/xsdlib-20020414.jar -%%T%%/tools/lib/xsdlib.LICENSE |
