git: 30fb1329984b - main - sysutils/rundeck2: Remove expired port:

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Wed, 17 May 2023 08:46:19 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=30fb1329984b3ef743d5acf45c867ded9278ebb2

commit 30fb1329984b3ef743d5acf45c867ded9278ebb2
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2023-05-17 08:46:02 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2023-05-17 08:46:02 +0000

    sysutils/rundeck2: Remove expired port:
    
    2023-05-17 sysutils/rundeck2: unmaintained and newer version available in sysutils/rundeck3
---
 MOVED                              |  1 +
 sysutils/Makefile                  |  1 -
 sysutils/rundeck2/Makefile         | 53 ------------------------
 sysutils/rundeck2/distinfo         |  3 --
 sysutils/rundeck2/files/rundeck.in | 84 --------------------------------------
 sysutils/rundeck2/pkg-descr        |  4 --
 sysutils/rundeck2/pkg-plist        |  3 --
 7 files changed, 1 insertion(+), 148 deletions(-)

diff --git a/MOVED b/MOVED
index 4e475c292626..fc3927187f8f 100644
--- a/MOVED
+++ b/MOVED
@@ -7539,3 +7539,4 @@ graphics/camera||2023-05-08|Has expired: abandoned upstream, does not fetch, web
 emulators/mess||2023-05-08|Merged into emulators/mame in upstream
 textproc/rubygem-semver_dialects|devel/rubygem-semver_dialects|2023-05-15|Removed duplicated port
 devel/rubygem-ruby-openai|www/rubygem-ruby-openai37|2023-05-16|Moved to match www/rubygem-ruby-openai
+sysutils/rundeck2|sysutils/rundeck3|2023-05-17|Has expired: unmaintained and newer version available in sysutils/rundeck3
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 784e45b6f02e..da2b7f28b9b5 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1303,7 +1303,6 @@
     SUBDIR += rubygem-winrm-elevated
     SUBDIR += rubygem-winrm-fs
     SUBDIR += rubygem-yell
-    SUBDIR += rundeck2
     SUBDIR += rundeck3
     SUBDIR += runiq
     SUBDIR += runit
diff --git a/sysutils/rundeck2/Makefile b/sysutils/rundeck2/Makefile
deleted file mode 100644
index 3053576cd885..000000000000
--- a/sysutils/rundeck2/Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
-PORTNAME=	rundeck
-DISTVERSION=	2.11.14
-CATEGORIES=	sysutils java
-MASTER_SITES=	http://dl.bintray.com/rundeck/rundeck-maven/
-PKGNAMESUFFIX=	2
-DISTNAME=	rundeck-launcher-${PORTVERSION}
-EXTRACT_SUFX=	.jar
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Web-console for dispatching commands and scripts to your nodes
-WWW=		https://rundeck.org
-
-LICENSE=	APACHE20
-
-DEPRECATED=	unmaintained and newer version available in sysutils/rundeck3
-EXPIRATION_DATE=	2023-05-17
-
-USE_JAVA=	yes
-JAVA_VERSION=	8+
-
-CONFLICTS_INSTALL=	rundeck3
-
-NO_ARCH=	yes
-NO_BUILD=	yes
-
-PLIST_SUB=	RUNDECK_USER=${RUNDECK_USER} RUNDECK_GROUP=${RUNDECK_GROUP}
-
-USES=		cpe
-CPE_VENDOR=	pagerduty
-USE_RC_SUBR=	rundeck
-
-RUNDECK_HOME=	${PREFIX}/rundeck
-RUNDECK_USER?=	rundeck
-RUNDECK_GROUP?=	rundeck
-RUNDECK_LOG_FILE?=	/var/log/rundeck.log
-
-.if ${RUNDECK_USER} == "rundeck"
-USERS=	rundeck
-.endif
-.if ${RUNDECK_GROUP} == "rundeck"
-GROUPS=	rundeck
-.endif
-
-SUB_LIST+=	RUNDECK_HOME=${RUNDECK_HOME} RUNDECK_USER=${RUNDECK_USER} \
-		RUNDECK_GROUP=${RUNDECK_GROUP} JAVA_HOME=${JAVA_HOME} \
-		RUNDECK_LOG_FILE=${RUNDECK_LOG_FILE}
-
-do-install:
-	@${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${RUNDECK_HOME}/server/lib
-	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \
-		${STAGEDIR}${DATADIR}/rundeck-launcher${EXTRACT_SUFX}
-
-.include <bsd.port.mk>
diff --git a/sysutils/rundeck2/distinfo b/sysutils/rundeck2/distinfo
deleted file mode 100644
index c83f567d27b3..000000000000
--- a/sysutils/rundeck2/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1570615790
-SHA256 (rundeck-launcher-2.11.14.jar) = 53b3436cf7234f8fd26986e0b35bb5d42569570ca99e8580c6a616ae98b6973f
-SIZE (rundeck-launcher-2.11.14.jar) = 102513074
diff --git a/sysutils/rundeck2/files/rundeck.in b/sysutils/rundeck2/files/rundeck.in
deleted file mode 100644
index eb719d2bea4c..000000000000
--- a/sysutils/rundeck2/files/rundeck.in
+++ /dev/null
@@ -1,84 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: rundeck
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-
-#
-# Configuration settings for rundeck in /etc/rc.conf:
-#
-# rundeck_enable (bool):
-#   Set to "NO" by default.
-#   Set it to "YES" to enable rundeck
-#
-# rundeck_args (str):
-#   Extra arguments passed to start command
-#
-# rundeck_home (str)
-#   Set to "%%RUNDECK_HOME%%" by default.
-#   Set the RUNDECK_HOME variable for rundeck process
-#
-# rundeck_java_home (str):
-#   Set to "%%JAVA_HOME%%" by default.
-#   Set the Java virtual machine to run rundeck
-#
-# rundeck_java_opts (str):
-#   Set to "" by default.
-#   Java VM args to use.
-#
-# rundeck_user (str):
-#   Set to "%%RUNDECK_USER%%" by default.
-#   User to run rundeck as.
-#
-# rundeck_group (str):
-#   Set to "%%RUNDECK_GROUP%%" by default.
-#   Group for data file ownership.
-#
-# rundeck_log_file (str):
-#   Set to "%%RUNDECK_LOG_FILE%%" by default.
-#   Log file location.
-#
-
-. /etc/rc.subr
-
-name="rundeck"
-rcvar=rundeck_enable
-
-load_rc_config "${name}"
-
-: ${rundeck_args="-b %%RUNDECK_HOME%%"}
-: ${rundeck_enable="NO"}
-: ${rundeck_home="%%RUNDECK_HOME%%"}
-: ${rundeck_java_home="%%JAVA_HOME%%"}
-: ${rundeck_user="%%RUNDECK_USER%%"}
-: ${rundeck_group="%%RUNDECK_GROUP%%"}
-: ${rundeck_log_file="%%RUNDECK_LOG_FILE%%"}
-
-pidfile="/var/run/rundeck/rundeck.pid"
-command="/usr/sbin/daemon"
-java_cmd="${rundeck_java_home}/bin/java"
-procname="${java_cmd}"
-command_args="-p ${pidfile} ${java_cmd} ${rundeck_java_opts} -jar %%DATADIR%%/rundeck-launcher.jar ${rundeck_args} > ${rundeck_log_file} 2>&1"
-required_files="${java_cmd}"
-
-start_precmd="rundeck_prestart"
-start_cmd="rundeck_start"
-
-rundeck_prestart() {
-	if [ ! -f "${rundeck_log_file}" ]; then
-		touch "${rundeck_log_file}"
-		chown "${rundeck_user}:${rundeck_group}" "${rundeck_log_file}"
-		chmod 640 "${rundeck_log_file}"
-	fi
-	if [ ! -d "/var/run/rundeck" ]; then
-		install -d -o "${rundeck_user}" -g "${rundeck_group}" -m 750 "/var/run/rundeck"
-	fi
-}
-
-rundeck_start()
-{
-	check_startmsgs && echo "Starting ${name}."
-	su -l ${rundeck_user} -c "exec ${command} ${command_args} ${rc_arg}"
-}
-
-run_rc_command "$1"
diff --git a/sysutils/rundeck2/pkg-descr b/sysutils/rundeck2/pkg-descr
deleted file mode 100644
index 0a2469eb6701..000000000000
--- a/sysutils/rundeck2/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-Welcome to Rundeck, the human interface to your operations. Rundeck
-features fine-grain access controls, a built-in job scheduler, and the
-ability to define workflows that dispatch commands and scripts to your
-nodes.
diff --git a/sysutils/rundeck2/pkg-plist b/sysutils/rundeck2/pkg-plist
deleted file mode 100644
index df6129b9a2fc..000000000000
--- a/sysutils/rundeck2/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-%%DATADIR%%/rundeck-launcher.jar
-@dir(%%RUNDECK_USER%%,%%RUNDECK_GROUP%%) rundeck/server/lib
-@dir(%%RUNDECK_USER%%,%%RUNDECK_GROUP%%) rundeck/server