Commit 0ea533d7 authored by Rene Ladan's avatar Rene Ladan
Browse files

sysutils/puppetserver8: Remove expired port

2026-07-01 sysutils/puppetserver8: Discontinued, use sysutils/openvox-server8
parent 3870d468
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5482,3 +5482,4 @@ lang/csharp-mode.el||2026-06-30|Has expired: No longer maintained upstream as a
x11/yalias||2026-07-01|Has expired: No longer developed upstream
sysutils/rubygem-bolt|sysutils/rubygem-openbolt|2026-07-01|Has expired: Discontinued, use sysutils/rubygem-openbolt
textproc/rubygem-puppet-strings|textproc/rubygem-openvox-strings|2026-07-01|Has expired: Discontinued, use textproc/rubygem-openvox-strings
sysutils/puppetserver8|sysutils/openvox-server8|2026-07-01|Has expired: Discontinued, use sysutils/openvox-server8
+0 −1
Original line number Diff line number Diff line
@@ -1036,7 +1036,6 @@
    SUBDIR += puppet-lint
    SUBDIR += puppet-mode.el
    SUBDIR += puppet8
    SUBDIR += puppetserver8
    SUBDIR += pv
    SUBDIR += pwd_unmkdb
    SUBDIR += pwgen

sysutils/puppetserver8/Makefile

deleted100644 → 0
+0 −95
Original line number Diff line number Diff line
PORTNAME=	puppetserver
PORTVERSION=	8.7.0
PORTREVISION=	3
CATEGORIES=	sysutils java
MASTER_SITES=	https://downloads.puppetlabs.com/puppet/
PKGNAMESUFFIX=	8

MAINTAINER=	puppet@FreeBSD.org
COMMENT=	Puppet Server running in the JVM
WWW=		https://docs.puppetlabs.com/puppetserver/latest/services_master_puppetserver.html

LICENSE=	APACHE20

DEPRECATED=	Discontinued, use sysutils/openvox-server8
EXPIRATION_DATE=2026-07-01

ONLY_FOR_ARCHS=	aarch64 amd64
ONLY_FOR_ARCHS_REASON=Bundled JNI only support some architectures

RUN_DEPENDS=	bash>=0:shells/bash \
		puppet8>=8.0:sysutils/puppet8 \
		rubygem-puppetserver-ca>=1:sysutils/rubygem-puppetserver-ca \
		rubygem-semantic_puppet>=1:devel/rubygem-semantic_puppet

USES=		ruby java shebangfix sudo
JAVA_VERSION=	11+
USE_RC_SUBR=	puppetserver

NO_ARCH=	yes
NO_BUILD=	yes

CONFLICTS_INSTALL=	openvox-server[0-9] puppetserver[0-9]

SHEBANG_FILES=	ext/bin/puppetserver

USERS=		puppet
GROUPS=		puppet

SUB_LIST=	JAVA_HOME=${JAVA_HOME}
SUB_FILES=	pkg-message

post-patch:
.for file in ext/config/logback.xml ext/config/request-logging.xml \
	ext/config/conf.d/global.conf ext/config/conf.d/puppetserver.conf \
	ext/config/conf.d/web-routes.conf ext/config/conf.d/webserver.conf \
	ext/config/conf.d/auth.conf ext/config/services.d/ca.cfg \
	ext/system-config/services.d/bootstrap.cfg ext/bin/puppetserver \
	ext/cli_defaults/cli-defaults.sh ext/cli/foreground
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
		-e 's|%%RUBY_SITELIBDIR%%|${RUBY_SITELIBDIR}|' \
		-e 's|%%RUBY_VER%%|${RUBY_VER}|' \
		-e 's|%%JAVA%%|${JAVA}|' \
		-e 's|%%ETCDIR%%|${ETCDIR}|' \
		-e 's|%%DATADIR%%|${DATADIR}|' \
		${WRKSRC}/${file}
.endfor
	@${REINPLACE_CMD} -e 's|#!/opt/puppetlabs/puppet/bin/ruby|#!${RUBY}|' \
		${WRKSRC}/ext/cli/ca \
		${WRKSRC}/ext/cli/dropsonde

do-install:
	@${MKDIR} ${STAGEDIR}${DATADIR}/cli/apps
	@${MKDIR} ${STAGEDIR}${ETCDIR}/conf.d
	@${MKDIR} ${STAGEDIR}${ETCDIR}/services.d
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/puppet/code
	@${MKDIR} ${STAGEDIR}/var/log/puppetserver
	@${MKDIR} ${STAGEDIR}/var/puppet/server
	@${MKDIR} ${STAGEDIR}/var/puppet/server/data
	@${MKDIR} ${STAGEDIR}/var/puppetserver
	@${MKDIR} ${STAGEDIR}/var/run/puppetserver
	${INSTALL_DATA} ${WRKSRC}/puppet-server-release.jar ${STAGEDIR}${DATADIR}/puppet-server-release.jar
	${INSTALL_DATA} ${WRKSRC}/ext/config/conf.d/global.conf ${STAGEDIR}${ETCDIR}/conf.d/global.conf.sample
	${INSTALL_DATA} ${WRKSRC}/ext/config/logback.xml ${STAGEDIR}${ETCDIR}/logback.xml.sample
	${INSTALL_DATA} ${WRKSRC}/ext/config/request-logging.xml ${STAGEDIR}${ETCDIR}/request-logging.xml.sample
	${INSTALL_DATA} ${WRKSRC}/ext/config/conf.d/puppetserver.conf ${STAGEDIR}${ETCDIR}/conf.d/puppetserver.conf.sample
	${INSTALL_DATA} ${WRKSRC}/ext/config/conf.d/web-routes.conf ${STAGEDIR}${ETCDIR}/conf.d/web-routes.conf.sample
	${INSTALL_DATA} ${WRKSRC}/ext/config/conf.d/webserver.conf ${STAGEDIR}${ETCDIR}/conf.d/webserver.conf.sample
	${INSTALL_DATA} ${WRKSRC}/ext/config/conf.d/auth.conf ${STAGEDIR}${ETCDIR}/conf.d/auth.conf.sample
	${INSTALL_DATA} ${WRKSRC}/ext/config/conf.d/ca.conf ${STAGEDIR}${ETCDIR}/conf.d/ca.conf.sample
	${INSTALL_DATA} ${WRKSRC}/ext/config/conf.d/metrics.conf ${STAGEDIR}${ETCDIR}/conf.d/metrics.conf.sample
	${INSTALL_DATA} ${WRKSRC}/ext/config/services.d/ca.cfg ${STAGEDIR}${ETCDIR}/services.d/ca.cfg.sample
	${INSTALL_DATA} ${WRKSRC}/ext/system-config/services.d/bootstrap.cfg ${STAGEDIR}${ETCDIR}/services.d/bootstrap.cfg.sample
	${INSTALL_DATA} ${WRKSRC}/ext/bin/puppetserver ${STAGEDIR}${PREFIX}/bin/puppetserver
	${INSTALL_DATA} ${WRKSRC}/ext/ezbake-functions.sh ${STAGEDIR}${DATADIR}/ezbake-functions.sh
	${INSTALL_DATA} ${WRKSRC}/ext/cli/ca ${STAGEDIR}${DATADIR}/cli/apps/ca
	${INSTALL_DATA} ${WRKSRC}/ext/cli/foreground ${STAGEDIR}${DATADIR}/cli/apps/foreground
	${INSTALL_DATA} ${WRKSRC}/ext/cli/gem ${STAGEDIR}${DATADIR}/cli/apps/gem
	${INSTALL_DATA} ${WRKSRC}/ext/cli/irb ${STAGEDIR}${DATADIR}/cli/apps/irb
	${INSTALL_DATA} ${WRKSRC}/ext/cli/reload ${STAGEDIR}${DATADIR}/cli/apps/reload
	${INSTALL_DATA} ${WRKSRC}/ext/cli/ruby ${STAGEDIR}${DATADIR}/cli/apps/ruby
	${INSTALL_DATA} ${WRKSRC}/ext/cli/start ${STAGEDIR}${DATADIR}/cli/apps/start
	${INSTALL_DATA} ${WRKSRC}/ext/cli/stop ${STAGEDIR}${DATADIR}/cli/apps/stop
	${INSTALL_DATA} ${WRKSRC}/ext/cli_defaults/cli-defaults.sh ${STAGEDIR}${DATADIR}/cli/cli-defaults.sh

.include <bsd.port.mk>

sysutils/puppetserver8/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1730781425
SHA256 (puppetserver-8.7.0.tar.gz) = a5e3d0d78cffaa3a452e132b9af8286bdcb9f539064e45140f5640e6885115b5
SIZE (puppetserver-8.7.0.tar.gz) = 64714510
+0 −15
Original line number Diff line number Diff line
--- ext/bin/puppetserver.orig	2018-10-03 16:18:58 UTC
+++ ext/bin/puppetserver
@@ -15,6 +15,12 @@ elif [ `uname` == "OpenBSD" ] ; then
     USER="_puppet"
     INSTALL_DIR="/opt/puppetlabs/server/apps/puppetserver"
     CONFIG="/etc/puppetlabs/puppetserver/conf.d"
+elif [ `uname` == "FreeBSD" ] ; then
+    JAVA_BIN="%%JAVA%%"
+    JAVA_ARGS="-Xms2g -Xmx2g"
+    USER="puppet"
+    INSTALL_DIR="%%DATADIR%%"
+    CONFIG="%%ETCDIR%%/conf.d"
 else
     echo "You seem to be missing some important configuration files; could not find /etc/default/puppetserver or /etc/sysconfig/puppetserver" >&2
     exit 1
Loading