Commit 46db1ba8 authored by Muhammad Moinur Rahman's avatar Muhammad Moinur Rahman
Browse files

sysutils/mcollective: Remove expired port

2023-06-30 sysutils/mcollective: Broken with all supported Ruby versions

Approved by:	portmgr (blanket)
parent a63aab31
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7697,3 +7697,4 @@ sysutils/mcollective-service-common||2023-06-30|Has expired: Depends on broken s
sysutils/mcollective-puppet-common||2023-06-30|Has expired: Depends on broken sysutils/mcollective
sysutils/mcollective-nettest-common||2023-06-30|Has expired: Depends on broken sysutils/mcollective
sysutils/mnrpes||2023-06-30|Has expired: Depends on broken sysutils/mcollective
sysutils/mcollective||2023-06-30|Has expired: Broken with all supported Ruby versions
+0 −1
Original line number Diff line number Diff line
@@ -731,7 +731,6 @@
    SUBDIR += mbgtools
    SUBDIR += mcelog
    SUBDIR += mcfly
    SUBDIR += mcollective
    SUBDIR += mcron
    SUBDIR += mcweject
    SUBDIR += mdf2iso

sysutils/mcollective/Makefile

deleted100644 → 0
+0 −58
Original line number Diff line number Diff line
PORTNAME=	mcollective
PORTVERSION=	2.12.5
CATEGORIES=	sysutils
MASTER_SITES=	https://downloads.puppetlabs.com/${PORTNAME}/

MAINTAINER=	puppet@FreeBSD.org
COMMENT=	Modern scalable datacenter orchestration framework
WWW=		http://docs.puppetlabs.com/mcollective/

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/COPYING

DEPRECATED=	Broken with all supported Ruby versions
EXPIRATION_DATE=	2023-06-30
BROKEN_RUBY30=	yes
BROKEN_RUBY31=	yes
BROKEN_RUBY32=	yes
BROKEN_RUBY33=	yes

RUN_DEPENDS=	rubygem-stomp>=0:devel/rubygem-stomp

USES=		cpe ruby shebangfix
CPE_VENDOR=	puppet
NO_BUILD=	yes
USE_RC_SUBR=	mcollectived

SHEBANG_FILES=	bin/mcollectived bin/mco
CFG_FILES=	client.cfg data-help.erb discovery-help.erb facts.yaml \
		metadata-help.erb rpc-help.erb server.cfg

# don't make .bak files
REINPLACE_ARGS=	-i ""

SCRIPTS=	mco

SUB_LIST+=	RUBY=${RUBY}

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e "s|/etc/mcollective|${ETCDIR}|" \
	    ${WRKSRC}/bin/mcollectived \
		${WRKSRC}/etc/server.cfg.dist \
		${WRKSRC}/etc/client.cfg.dist \
		${WRKSRC}/lib/mcollective/config.rb \
		${WRKSRC}/lib/mcollective/util.rb \
		${WRKSRC}/lib/mcollective/rpc.rb
	@${REINPLACE_CMD} -e "s|/usr/libexec/mcollective|${PREFIX}/share|" \
	    ${WRKSRC}/etc/server.cfg.dist \
	    ${WRKSRC}/etc/client.cfg.dist

do-install:
	cd ${WRKSRC} ; ${RUBY} install.rb --destdir=${STAGEDIR} --configdir=${ETCDIR} --plugindir=${DATADIR}
.for cfg in ${CFG_FILES}
	${MV} ${STAGEDIR}${ETCDIR}/${cfg} ${STAGEDIR}${ETCDIR}/${cfg}.sample
.endfor

.include <bsd.port.mk>

sysutils/mcollective/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1571417222
SHA256 (mcollective-2.12.5.tar.gz) = c82830cb902d48f2133f2cea7bf8444d82c6002f7fb67131eb54d3526d9ca2ce
SIZE (mcollective-2.12.5.tar.gz) = 936470
+0 −44
Original line number Diff line number Diff line
#!/bin/sh

# PROVIDE: mcollectived
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
# to enable this service:
#
# mcollectived_enable (bool):	Set to NO by default.
#				Set it to YES to enable mcollectived.
# mcollectived_flags (str):	Set as needed.  Empty by default.

. /etc/rc.subr

name="mcollectived"
rcvar=mcollectived_enable

load_rc_config "${name}"

: ${mcollectived_enable="NO"}

pidfile="/var/run/${name}.pid"
command="%%PREFIX%%/sbin/${name}"
command_args="-p $pidfile"
command_interpreter=%%RUBY%%

PATH="${PATH}:/usr/local/bin"

# An UTF-8 locale is required
: LC_ALL=${LC_ALL:=C.UTF-8}
case $LC_ALL in
    *.UTF-8)
	;;
    *.*)
	LC_ALL="${LC_ALL%.*}.UTF-8"
	;;
    *)
	LC_ALL=C.UTF-8
	;;
esac
export LC_ALL

run_rc_command "$1"
Loading