sysutils/cfengine-masterfiles328: Add new port

Add the latest cfengine to the ports collection.

Update the sysutils/cfengine-masterfiles metaport to point to the new
port. It becomes default.
This commit is contained in:
Cy Schubert
2026-07-13 08:24:35 -07:00
parent 8410646fbf
commit 433f99225c
6 changed files with 137 additions and 2 deletions
+2
View File
@@ -190,6 +190,8 @@
SUBDIR += cfengine-masterfiles325
SUBDIR += cfengine-masterfiles326
SUBDIR += cfengine-masterfiles327
SUBDIR += cfengine-masterfiles327
SUBDIR += cfengine-masterfiles328
SUBDIR += cfengine324
SUBDIR += cfengine325
SUBDIR += cfengine326
+2 -2
View File
@@ -1,5 +1,5 @@
VERSIONS= 324 325 326 327
CFENGINE_VERSION?= 327
VERSIONS= 324 325 326 327 328
CFENGINE_VERSION?= 328
MASTERDIR= ${.CURDIR}/../cfengine-masterfiles${CFENGINE_VERSION}
+31
View File
@@ -0,0 +1,31 @@
PORTNAME= cfengine-masterfiles
DISTVERSION= 3.27.1
CATEGORIES= sysutils
MASTER_SITES= https://cfengine-package-repos.s3.amazonaws.com/tarballs/
MAINTAINER= cy@FreeBSD.org
COMMENT= cfengine sample policies for installations and upgrades
WWW= https://cfengine.com/
LICENSE= GPLv3
CPE_VENDOR= gnu
CPE_PRODUCT= cfengine
CONFLICTS= cfengine-masterfiles3[0-9] cfengine-masterfiles31[0-9]
.if !defined(MASTERDIR)
PKGNAMESUFFIX= 327
CONFLICTS+= cfengine-masterfiles-3.*
.endif
RUN_DEPENDS= cf-agent:sysutils/cfengine${PKGNAMESUFFIX}
FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTFILES}
MAKE_JOBS_UNSAFE= yes
USES= cpe gmake python:build
HAS_CONFIGURE= yes
EXAMPLESDIR= ${PREFIX}/share/examples/cfengine-masterfiles
CONFIGURE_ARGS= --prefix=${EXAMPLESDIR}
.include <bsd.port.mk>
@@ -0,0 +1,3 @@
TIMESTAMP = 1778304305
SHA256 (cfengine-masterfiles-3.27.1.tar.gz) = fd32c1255c0114d55929b496a15a6a6f48231f108be23f50ad3b8abc2e734ccf
SIZE (cfengine-masterfiles-3.27.1.tar.gz) = 559399
@@ -0,0 +1,8 @@
CFEngine 3 is a popular open source configuration management system.
Its primary function is to provide automated configuration and
maintenance of large-scale computer systems.
The repository is intended to provide a stable base policy for
installations and upgrades, and is used by CFEngine 3.6 and newer.
The port installs the repository as examples which should be copied by
the user to the masterfiles directory (usually /var/cfengine/masterfiles).
@@ -0,0 +1,91 @@
%%EXAMPLESDIR%%/masterfiles/cfe_internal/CFE_cfengine.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/core/deprecated/cfengine_processes.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/core/host_info_report.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/core/limit_robot_agents.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/core/log_rotation.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/core/main.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/core/watchdog/templates/watchdog.mustache
%%EXAMPLESDIR%%/masterfiles/cfe_internal/core/watchdog/watchdog.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/enterprise/CFE_hub_specific.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/enterprise/CFE_knowledge.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/enterprise/file_change.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/enterprise/ha/ha.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/enterprise/ha/ha_def.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/enterprise/ha/ha_update.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/enterprise/main.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/enterprise/mission_portal.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/enterprise/templates/httpd.conf.mustache
%%EXAMPLESDIR%%/masterfiles/cfe_internal/enterprise/templates/runalerts.php.mustache
%%EXAMPLESDIR%%/masterfiles/cfe_internal/enterprise/templates/runalerts.sh.mustache
%%EXAMPLESDIR%%/masterfiles/cfe_internal/recommendations.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/update/cfe_internal_dc_workflow.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/update/cfe_internal_update_from_repository.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/update/lib.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/update/systemd_units.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/update/update_bins.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/update/update_policy.cf
%%EXAMPLESDIR%%/masterfiles/cfe_internal/update/update_processes.cf
%%EXAMPLESDIR%%/masterfiles/controls/cf_agent.cf
%%EXAMPLESDIR%%/masterfiles/controls/cf_execd.cf
%%EXAMPLESDIR%%/masterfiles/controls/cf_hub.cf
%%EXAMPLESDIR%%/masterfiles/controls/cf_monitord.cf
%%EXAMPLESDIR%%/masterfiles/controls/cf_runagent.cf
%%EXAMPLESDIR%%/masterfiles/controls/cf_serverd.cf
%%EXAMPLESDIR%%/masterfiles/controls/def.cf
%%EXAMPLESDIR%%/masterfiles/controls/def_inputs.cf
%%EXAMPLESDIR%%/masterfiles/controls/reports.cf
%%EXAMPLESDIR%%/masterfiles/controls/update_def.cf
%%EXAMPLESDIR%%/masterfiles/controls/update_def_inputs.cf
%%EXAMPLESDIR%%/masterfiles/inventory/aix.cf
%%EXAMPLESDIR%%/masterfiles/inventory/any.cf
%%EXAMPLESDIR%%/masterfiles/inventory/debian.cf
%%EXAMPLESDIR%%/masterfiles/inventory/freebsd.cf
%%EXAMPLESDIR%%/masterfiles/inventory/generic.cf
%%EXAMPLESDIR%%/masterfiles/inventory/linux.cf
%%EXAMPLESDIR%%/masterfiles/inventory/lsb.cf
%%EXAMPLESDIR%%/masterfiles/inventory/macos.cf
%%EXAMPLESDIR%%/masterfiles/inventory/os.cf
%%EXAMPLESDIR%%/masterfiles/inventory/redhat.cf
%%EXAMPLESDIR%%/masterfiles/inventory/suse.cf
%%EXAMPLESDIR%%/masterfiles/inventory/windows.cf
%%EXAMPLESDIR%%/masterfiles/lib/autorun.cf
%%EXAMPLESDIR%%/masterfiles/lib/bundles.cf
%%EXAMPLESDIR%%/masterfiles/lib/cfe_internal.cf
%%EXAMPLESDIR%%/masterfiles/lib/cfe_internal_hub.cf
%%EXAMPLESDIR%%/masterfiles/lib/cfengine_enterprise_hub_ha.cf
%%EXAMPLESDIR%%/masterfiles/lib/commands.cf
%%EXAMPLESDIR%%/masterfiles/lib/common.cf
%%EXAMPLESDIR%%/masterfiles/lib/databases.cf
%%EXAMPLESDIR%%/masterfiles/lib/edit_xml.cf
%%EXAMPLESDIR%%/masterfiles/lib/event.cf
%%EXAMPLESDIR%%/masterfiles/lib/examples.cf
%%EXAMPLESDIR%%/masterfiles/lib/feature.cf
%%EXAMPLESDIR%%/masterfiles/lib/files.cf
%%EXAMPLESDIR%%/masterfiles/lib/guest_environments.cf
%%EXAMPLESDIR%%/masterfiles/lib/monitor.cf
%%EXAMPLESDIR%%/masterfiles/lib/packages.cf
%%EXAMPLESDIR%%/masterfiles/lib/paths.cf
%%EXAMPLESDIR%%/masterfiles/lib/processes.cf
%%EXAMPLESDIR%%/masterfiles/lib/reports.cf
%%EXAMPLESDIR%%/masterfiles/lib/services.cf
%%EXAMPLESDIR%%/masterfiles/lib/stdlib.cf
%%EXAMPLESDIR%%/masterfiles/lib/storage.cf
%%EXAMPLESDIR%%/masterfiles/lib/testing.cf
%%EXAMPLESDIR%%/masterfiles/lib/users.cf
%%EXAMPLESDIR%%/masterfiles/lib/vcs.cf
%%EXAMPLESDIR%%/masterfiles/promises.cf
%%EXAMPLESDIR%%/masterfiles/services/autorun/hello.cf
%%EXAMPLESDIR%%/masterfiles/services/main.cf
%%EXAMPLESDIR%%/masterfiles/standalone_self_upgrade.cf
%%EXAMPLESDIR%%/masterfiles/templates/cf-apache.service.mustache
%%EXAMPLESDIR%%/masterfiles/templates/cf-execd.service.mustache
%%EXAMPLESDIR%%/masterfiles/templates/cf-hub.service.mustache
%%EXAMPLESDIR%%/masterfiles/templates/cf-monitord.service.mustache
%%EXAMPLESDIR%%/masterfiles/templates/cf-postgres.service.mustache
%%EXAMPLESDIR%%/masterfiles/templates/cf-serverd.service.mustache
%%EXAMPLESDIR%%/masterfiles/templates/cfengine3.service.mustache
%%EXAMPLESDIR%%/masterfiles/templates/cfengine_watchdog.mustache
%%EXAMPLESDIR%%/masterfiles/templates/host_info_report.mustache
%%EXAMPLESDIR%%/masterfiles/templates/json_multiline.mustache
%%EXAMPLESDIR%%/masterfiles/templates/json_serial.mustache
%%EXAMPLESDIR%%/masterfiles/update.cf