summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2025-06-17 11:17:08 -0400
committerRene Ladan <rene@FreeBSD.org>2025-06-17 11:17:11 -0400
commit4dd8de9ec257b819af1fff421abd4551a99efb9f (patch)
tree8f377bdc0a6b688a92e60f7b7bb5641f9b4614c2
parentftp/py-aioftp: update 0.25.1 → 0.25.2 (diff)
devel/artifactory: Remove expired port
2025-05-31 devel/artifactory: Outdated with known vulnerabilities and marked as forbidden in 2023 Event: Kitchener-Waterloo Hackathon 202506
-rw-r--r--MOVED1
-rw-r--r--devel/Makefile1
-rw-r--r--devel/artifactory/Makefile79
-rw-r--r--devel/artifactory/distinfo3
-rw-r--r--devel/artifactory/files/artifactory.in78
-rw-r--r--devel/artifactory/files/pkg-message.in43
-rw-r--r--devel/artifactory/pkg-descr4
-rw-r--r--devel/artifactory/pkg-plist116
8 files changed, 1 insertions, 324 deletions
diff --git a/MOVED b/MOVED
index 5ba729ce7075..8754bd905bb2 100644
--- a/MOVED
+++ b/MOVED
@@ -4519,3 +4519,4 @@ german/bugzilla44||2025-06-16|Removed, localized version of devel/bugzilla44
japanese/bugzilla44||2025-06-16|Removed, localized version of devel/bugzilla44
russian/bugzilla44||2025-06-16|Removed, localized version of devel/bugzilla44
sysutils/plasma6-drkonqi||2025-06-17|Removed, requires Systemd
+devel/artifactory||2025-06-17|Has expired: Outdated with known vulnerabilities and marked as forbidden in 2023
diff --git a/devel/Makefile b/devel/Makefile
index cd39e8390b49..56d4ca5732d5 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -241,7 +241,6 @@
SUBDIR += aros-sdk
SUBDIR += arpc
SUBDIR += art
- SUBDIR += artifactory
SUBDIR += asfml
SUBDIR += asl
SUBDIR += asmjit
diff --git a/devel/artifactory/Makefile b/devel/artifactory/Makefile
deleted file mode 100644
index 5b41d147b354..000000000000
--- a/devel/artifactory/Makefile
+++ /dev/null
@@ -1,79 +0,0 @@
-PORTNAME= artifactory
-DISTVERSION= 5.8.3
-PORTREVISION= 1
-CATEGORIES= devel java
-MASTER_SITES= https://bintray.com/artifact/download/jfrog/artifactory/
-DISTNAME= jfrog-${PORTNAME}-oss-${PORTVERSION}
-
-MAINTAINER= dharrigan@gmail.com
-COMMENT= Universal Artifact Repository Manager
-WWW= https://www.jfrog.com/artifactory
-
-LICENSE= GPLv3 APACHE20
-LICENSE_COMB= multi
-LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING.AFFERO
-LICENSE_FILE_APACHE20= ${WRKSRC}/tomcat/LICENSE
-
-FORBIDDEN= Ships a very vulnerable Tomcat 8.5.23
-DEPRECATED= Outdated with known vulnerabilities and marked as forbidden in 2023
-EXPIRATION_DATE=2025-05-31
-
-RUN_DEPENDS= bash:shells/bash
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-oss-${PORTVERSION}
-
-USES= cpe java shebangfix zip
-CPE_VENDOR= jfrog
-SHEBANG_FILES= bin/artifactory.sh
-JAVA_VENDOR= openjdk
-NO_BUILD= yes
-NO_ARCH= yes
-USE_RC_SUBR= ${PORTNAME}
-
-APP_NAME= ${PORTNAME}
-APP_HOME?= ${PORTNAME}
-PID_FILE?= /var/run/${PORTNAME}.pid
-VARDIR= /var/${PORTNAME}
-
-USERS= artifactory
-GROUPS= artifactory
-
-SUB_LIST= APP_HOME=${PREFIX}/${APP_HOME} \
- APP_NAME=${APP_NAME} \
- PID_FILE=${PID_FILE} \
- VARDIR=${VARDIR}
-
-SUB_FILES= pkg-message \
-
-PLIST_SUB= APP_HOME=${APP_HOME} \
- VARDIR=${VARDIR}
-
-do-install:
-.for f in artifactory-service.exe artifactory.bat installService.bat \
- uninstallService.bat
- ${RM} ${WRKSRC}/bin/${f}
-.endfor
- ${RM} ${WRKSRC}/tomcat/bin/*.bat
-
- ${MKDIR} ${STAGEDIR}${PREFIX}/${APP_HOME}
- (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${APP_HOME})
-
- ${MKDIR} ${STAGEDIR}/${VARDIR}/tomcat/logs/catalina
- ${LN} -sf ${VARDIR}/tomcat/logs/catalina ${STAGEDIR}${PREFIX}/${APP_HOME}/tomcat/logs
-
-.for d in etc logs
- ${MV} ${STAGEDIR}${PREFIX}/${APP_HOME}/${d} ${STAGEDIR}/${VARDIR}
- ${LN} -sf ${VARDIR}/${d} ${STAGEDIR}${PREFIX}/${APP_HOME}/${d}
-.endfor
-
-.for d in temp webapps work
- ${MV} ${STAGEDIR}${PREFIX}/${APP_HOME}/tomcat/${d} ${STAGEDIR}/${VARDIR}/tomcat
- ${LN} -sf ${VARDIR}/tomcat/${d} ${STAGEDIR}${PREFIX}/${APP_HOME}/tomcat/${d}
-.endfor
-
-.for d in data backup support access
- ${MKDIR} ${STAGEDIR}/${VARDIR}/${d}
- ${LN} -sf ${VARDIR}/${d} ${STAGEDIR}${PREFIX}/${APP_HOME}/${d}
-.endfor
-
-.include <bsd.port.mk>
diff --git a/devel/artifactory/distinfo b/devel/artifactory/distinfo
deleted file mode 100644
index b0e3f83c819d..000000000000
--- a/devel/artifactory/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1516806922
-SHA256 (jfrog-artifactory-oss-5.8.3.zip) = c84e19779b3a7e62b86fdd3a71ba6b975838ac4f4531379d284290cc28637461
-SIZE (jfrog-artifactory-oss-5.8.3.zip) = 92381086
diff --git a/devel/artifactory/files/artifactory.in b/devel/artifactory/files/artifactory.in
deleted file mode 100644
index 8aea7c5d81e5..000000000000
--- a/devel/artifactory/files/artifactory.in
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/bin/sh
-#
-# artifactory startup script.
-#
-# Make sure you have the artifactory user and artifactory home or set them below accordingly!
-
-# PROVIDE: artifactory
-# REQUIRE: NETWORKING SERVERS
-# KEYWORD: shutdown
-
-# Add the following lines to /etc/rc.conf to enable artifactory:
-# artifactory_enable (bool): Set to "YES" to enable artifactory
-# artifactory_args (str): Optional arguments to Artifactory
-# artifactory_log_stdout (str) Artifactory log output stdout, filename.
-# artifactory_log_stderr (str) Artifactory log output stderr, filename.
-#
-
-ARTIFACTORY_HOME=%%APP_HOME%%
-
-. /etc/rc.subr
-
-name="artifactory"
-rcvar=artifactory_enable
-
-load_rc_config $name
-
-artifactory_enable="${artifactory_enable:-"NO"}"
-artifactory_log_stdout="${artifactory_log_stdout:-"${artifactory_logdir}/stdout.log"}"
-artifactory_log_stderr="${artifactory_log_stderr:-"${artifactory_logdir}/stderr.log"}"
-artifactory_args="${artifactory_args:-""}"
-artifactory_sleep="${artifactory_sleep:-"5"}"
-artifactory_kill9="${artifactory_kill9:-""}"
-artifactory_additional_killall="${artifactory_additional_killall:-""}"
-artifactory_user="artifactory"
-artifactory_logdir=$ARTIFACTORY_HOME/logs
-
-start_cmd="artifactory_start"
-stop_cmd="artifactory_stop"
-pidfile=%%PID_FILE%%
-
-artifactory_start ()
-{
- if [ ! -d "${artifactory_logdir}" ]
- then
- install -d -o ${artifactory_user} ${artifactory_logdir}
- fi
-
- echo "Starting artifactory."
- daemon -u ${artifactory_user} ${ARTIFACTORY_HOME}/bin/artifactory.sh ${artifactory_args} >> ${artifactory_log_stdout} 2>> ${artifactory_log_stderr} >> ${artifactory_logdir}/boot.log 2>> ${artifactory_logdir}/boot.log
-
- sleep ${artifactory_sleep} # let daemon(8) and sh(1) finish before executing pgrep(1)
- pgrep -U ${artifactory_user} > ${pidfile}
- chown ${artifactory_user} $pidfile
-}
-
-artifactory_stop ()
-{
- # Subvert the check_pid_file procname check.
- if [ -f ${pidfile} ]
- then
- kill `cat ${pidfile}`
- # Only if we aware that our setup can hangs, and only after trying simple kill, we can kill it hard way.
- if [ ! -z "${artifactory_kill9}" ]
- then
- sleep ${artifactory_sleep}
- kill -9 `cat ${pidfile}`
- fi
- # In some setups, Artifactory can spawn some child processess, which could prevent it from stopping, and freeing net ports.
- # Let's blindly kill them all, since we are really know what we are doing.
- if [ ! -z "${artifactory_additional_killall}" ]
- then
- sleep ${artifactory_sleep}
- killall ${artifactory_additional_killall}
- fi
- fi
-}
-
-run_rc_command "$1"
diff --git a/devel/artifactory/files/pkg-message.in b/devel/artifactory/files/pkg-message.in
deleted file mode 100644
index e8e08adac583..000000000000
--- a/devel/artifactory/files/pkg-message.in
+++ /dev/null
@@ -1,43 +0,0 @@
-[
-{ type: install
- message: <<EOM
-Artifactory is now installed in %%APP_HOME%%
-
-You may want to activate it in /etc/rc.conf:
-
- # echo %%APP_NAME%%_enable="YES" >> /etc/rc.conf
-
-Now, start Artifactory:
-
- # service %%APP_NAME%% start
-
-Once Artifactory is started, point your web browser to:
-
-http://localhost:8081/
-
-Artifactory configuration files are located in %%APP_HOME%%/etc
-
-Please don't forget to review and edit the files in the
-%%APP_HOME%%/etc directory to suit your needs.
-
-Full documentation may be found at:
-
-https://www.jfrog.com/confluence/display/RTF/Welcome+to+Artifactory
-EOM
-}
-{ type: remove
- message: <<EOM
-If, when, Artifactory is removed, and you no longer require the
-runtime database and configuration files, you can delete the
-following directory:
-
- %%VARDIR%%
-
-Please double-check before removing this directory as it contains
-the database files that Artifactory requires if you do decide to
-re-install it again.
-
-Enjoy!
-EOM
-}
-]
diff --git a/devel/artifactory/pkg-descr b/devel/artifactory/pkg-descr
deleted file mode 100644
index a702bc99bb99..000000000000
--- a/devel/artifactory/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-
-The world's most advanced repository manager. Artifactory offers
-powerful enterprise feature and fine-grained permission control behind
-a sleek and easy-to-use UI.
diff --git a/devel/artifactory/pkg-plist b/devel/artifactory/pkg-plist
deleted file mode 100644
index 55a4f5912f17..000000000000
--- a/devel/artifactory/pkg-plist
+++ /dev/null
@@ -1,116 +0,0 @@
-%%APP_HOME%%/COPYING.AFFERO
-%%APP_HOME%%/README.txt
-%%APP_HOME%%/Access-Third-Parties-Usage-About-Box.html
-%%APP_HOME%%/Third-Parties-Usage-About-Box.html
-@mode 0755
-%%APP_HOME%%/bin/%%APP_HOME%%Manage.sh
-%%APP_HOME%%/bin/artifactory.default
-%%APP_HOME%%/bin/artifactory.sh
-%%APP_HOME%%/bin/artifactoryctl
-%%APP_HOME%%/bin/configure.mysql.sh
-%%APP_HOME%%/bin/installService.sh
-%%APP_HOME%%/bin/uninstallService.sh
-@mode
-%%APP_HOME%%/access
-%%APP_HOME%%/backup
-%%APP_HOME%%/data
-%%APP_HOME%%/etc
-%%APP_HOME%%/logs
-%%APP_HOME%%/support
-%%APP_HOME%%/misc/db/createdb/createdb_mssql.sql
-%%APP_HOME%%/misc/db/createdb/createdb_mssqlBlob.sql
-%%APP_HOME%%/misc/db/createdb/createdb_mssqlRecreateBlob.sql
-%%APP_HOME%%/misc/db/createdb/createdb_mysql.sql
-%%APP_HOME%%/misc/db/mssql.properties
-%%APP_HOME%%/misc/db/mysql.properties
-%%APP_HOME%%/misc/db/oracle.properties
-%%APP_HOME%%/misc/db/postgresql.properties
-%%APP_HOME%%/misc/ha/ha-node.properties.template
-%%APP_HOME%%/misc/service/%%APP_HOME%%.service
-%%APP_HOME%%/misc/service/artifactory
-%%APP_HOME%%/misc/service/setenv.sh
-%%APP_HOME%%/misc/tomcat/access.xml
-%%APP_HOME%%/misc/tomcat/context.xml
-%%APP_HOME%%/misc/tomcat/NGNIX.txt
-%%APP_HOME%%/misc/tomcat/artifactory.httpd.conf
-%%APP_HOME%%/misc/tomcat/artifactory.xml
-%%APP_HOME%%/misc/tomcat/logging.properties
-%%APP_HOME%%/misc/tomcat/server.xml
-%%APP_HOME%%/misc/tomcat/web.xml
-%%APP_HOME%%/misc/tomcat/webapps/ROOT/WEB-INF/rewrite.config
-%%APP_HOME%%/misc/tomcat/webapps/ROOT/index.html
-%%APP_HOME%%/misc/%%APP_HOME%%.config.template.yml
-%%APP_HOME%%/tomcat/LICENSE
-%%APP_HOME%%/tomcat/NOTICE
-%%APP_HOME%%/tomcat/RELEASE-NOTES
-%%APP_HOME%%/tomcat/RUNNING.txt
-%%APP_HOME%%/tomcat/bin/bootstrap.jar
-%%APP_HOME%%/tomcat/bin/catalina-tasks.xml
-%%APP_HOME%%/tomcat/bin/commons-daemon-native.tar.gz
-%%APP_HOME%%/tomcat/bin/commons-daemon.jar
-%%APP_HOME%%/tomcat/bin/tomcat-juli.jar
-%%APP_HOME%%/tomcat/bin/tomcat-native.tar.gz
-@mode 0755
-%%APP_HOME%%/tomcat/bin/catalina.sh
-%%APP_HOME%%/tomcat/bin/configtest.sh
-%%APP_HOME%%/tomcat/bin/daemon.sh
-%%APP_HOME%%/tomcat/bin/digest.sh
-%%APP_HOME%%/tomcat/bin/setclasspath.sh
-%%APP_HOME%%/tomcat/bin/shutdown.sh
-%%APP_HOME%%/tomcat/bin/startup.sh
-%%APP_HOME%%/tomcat/bin/tool-wrapper.sh
-%%APP_HOME%%/tomcat/bin/version.sh
-@mode
-%%APP_HOME%%/tomcat/conf/Catalina/localhost/artifactory.xml
-%%APP_HOME%%/tomcat/conf/Catalina/localhost/access.xml
-%%APP_HOME%%/tomcat/conf/catalina.policy
-%%APP_HOME%%/tomcat/conf/catalina.properties
-%%APP_HOME%%/tomcat/conf/context.xml
-%%APP_HOME%%/tomcat/conf/jaspic-providers.xml
-%%APP_HOME%%/tomcat/conf/jaspic-providers.xsd
-%%APP_HOME%%/tomcat/conf/logging.properties
-%%APP_HOME%%/tomcat/conf/server.xml
-%%APP_HOME%%/tomcat/conf/web.xml
-%%APP_HOME%%/tomcat/lib/annotations-api.jar
-%%APP_HOME%%/tomcat/lib/catalina.jar
-%%APP_HOME%%/tomcat/lib/derby-10.11.1.1.jar
-%%APP_HOME%%/tomcat/lib/el-api.jar
-%%APP_HOME%%/tomcat/lib/jaspic-api.jar
-%%APP_HOME%%/tomcat/lib/servlet-api.jar
-%%APP_HOME%%/tomcat/lib/tomcat-api.jar
-%%APP_HOME%%/tomcat/lib/tomcat-coyote.jar
-%%APP_HOME%%/tomcat/lib/tomcat-jni.jar
-%%APP_HOME%%/tomcat/lib/tomcat-util-scan.jar
-%%APP_HOME%%/tomcat/lib/tomcat-util.jar
-%%APP_HOME%%/tomcat/logs
-%%APP_HOME%%/tomcat/temp
-%%APP_HOME%%/tomcat/webapps
-%%APP_HOME%%/tomcat/work
-%%APP_HOME%%/webapps/artifactory.war
-%%APP_HOME%%/webapps/access.war
-@owner artifactory
-@group artifactory
-%%VARDIR%%/tomcat/webapps/ROOT/WEB-INF/rewrite.config
-%%VARDIR%%/tomcat/webapps/ROOT/index.html
-%%VARDIR%%/etc/artifactory.config.xml
-%%VARDIR%%/etc/artifactory.system.properties
-%%VARDIR%%/etc/binarystore.xml
-%%VARDIR%%/etc/mimetypes.xml
-%%VARDIR%%/etc/logback.xml
-@dir %%VARDIR%%/tomcat/work
-@dir %%VARDIR%%/tomcat/webapps/ROOT/WEB-INF
-@dir %%VARDIR%%/tomcat/webapps/ROOT
-@dir %%VARDIR%%/tomcat/webapps
-@dir %%VARDIR%%/tomcat/temp
-@dir %%VARDIR%%/tomcat/logs/catalina
-@dir %%VARDIR%%/tomcat/logs
-@dir %%VARDIR%%/tomcat
-@dir %%VARDIR%%/access
-@dir %%VARDIR%%/backup
-@dir %%VARDIR%%/data
-@dir %%VARDIR%%/etc
-@dir %%VARDIR%%/logs
-@dir %%VARDIR%%/support
-@dir %%VARDIR%%
-@owner
-@group