Files
ports/sysutils/rubygem-facter/Makefile
T
Romain Tartière 89421aa2db */*: Deprecate discontinued OSS Puppet components
As announced in the [2025Q4] status report, the legacy ports for Open
Source Puppet (which were abandonned by Perforce following the
aquisition of Puppetlabs), are now deprecated and scheduled for removal
in a few months.

Switching from Puppet to OpenVox is relatively straightforward: when
installing the replacement for a deprecated component, pkg(8) will
detect a conflict between the legacy component and the new one and will
prompt you to remove the deprecated package, which is the right course
of action.

For more details, refer to the [2025Q4] status report.

[2025Q4]: https://www.freebsd.org/status/report-2025-10-2025-12/#_openvox_puppet

With hat:	puppet
2026-03-14 04:04:31 -10:00

41 lines
1.3 KiB
Makefile

PORTNAME= facter
PORTVERSION= 4.10.0
CATEGORIES= sysutils rubygems
MASTER_SITES= RG
MAINTAINER= puppet@FreeBSD.org
COMMENT= Cross-platform Ruby library for retrieving facts from OS
WWW= https://puppetlabs.com/facter
LICENSE= APACHE20
DEPRECATED= Discontinued, use sysutils/rubygem-openfact
EXPIRATION_DATE=2026-07-01
RUN_DEPENDS= rubygem-hocon>=1.3<2:devel/rubygem-hocon \
rubygem-thor>=1.0.1<2.0:devel/rubygem-thor
# Soft dependencies that resolve more FreeBSD facts
RUN_DEPENDS+= rubygem-ruby-augeas>0:textproc/rubygem-ruby-augeas \
rubygem-ffi>=1.0:devel/rubygem-ffi \
rubygem-rexml>0:textproc/rubygem-rexml \
rubygem-sys-filesystem>0:sysutils/rubygem-sys-filesystem
# Ruby 3.4 support
RUN_DEPENDS+= rubygem-base64>0:converters/rubygem-base64
USES= cpe gem
CPE_VENDOR= puppet
CONFLICTS_INSTALL= facter rubygem-openfact # bin/facter
NO_ARCH= yes
PLIST_FILES= bin/facter ${GEMS_DIR}/facter
.include <bsd.port.pre.mk>
post-install:
(cd ${WRKSRC}/lib/facter/facts/freebsd && ${COPYTREE_SHARE} "ec2_metadata.rb ec2_userdata.rb ipaddress_interfaces.rb ipaddress6_interfaces.rb" ${STAGEDIR}/${PREFIX}/${GEMS_DIR}/facter-${PORTVERSION}/lib/facter/facts/freebsd)
${RLN} ${STAGEDIR}/${PREFIX}/${GEMS_LIB_DIR} ${STAGEDIR}/${PREFIX}/${GEMS_DIR}/facter
.include <bsd.port.post.mk>