git: 9d0b2d2adc8f - main - sysutils/cfengine-masterfiles319: Add new port

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Mon, 13 Dec 2021 14:37:39 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9d0b2d2adc8f56b99f1710eea36c8687584555c8

commit 9d0b2d2adc8f56b99f1710eea36c8687584555c8
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2021-12-10 15:48:53 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2021-12-13 14:19:49 +0000

    sysutils/cfengine-masterfiles319: Add new port
    
    This is the latest release from the cfengine folks.
---
 sysutils/Makefile                          |  1 +
 sysutils/cfengine-masterfiles319/Makefile  | 34 +++++++++++
 sysutils/cfengine-masterfiles319/distinfo  |  3 +
 sysutils/cfengine-masterfiles319/pkg-descr | 10 ++++
 sysutils/cfengine-masterfiles319/pkg-plist | 92 ++++++++++++++++++++++++++++++
 5 files changed, 140 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index f15b493a233c..6eda45696250 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -165,6 +165,7 @@
     SUBDIR += cfengine-masterfiles316
     SUBDIR += cfengine-masterfiles317
     SUBDIR += cfengine-masterfiles318
+    SUBDIR += cfengine-masterfiles319
     SUBDIR += cfengine316
     SUBDIR += cfengine317
     SUBDIR += cfengine318
diff --git a/sysutils/cfengine-masterfiles319/Makefile b/sysutils/cfengine-masterfiles319/Makefile
new file mode 100644
index 000000000000..c8bb504e3c45
--- /dev/null
+++ b/sysutils/cfengine-masterfiles319/Makefile
@@ -0,0 +1,34 @@
+# Created by: cy@FreeBSD.org
+
+PORTNAME=	cfengine-masterfiles
+PORTVERSION=	3.19.0
+CATEGORIES=	sysutils
+MASTER_SITES=	https://cfengine-package-repos.s3.amazonaws.com/tarballs/
+
+MAINTAINER=	cy@FreeBSD.org
+#		gjb@FreeBSD.org is also committer for this port
+#		skreuzer@FreeBSD.org is also committer for this port
+COMMENT=	cfengine sample policies for installations and upgrades
+
+LICENSE=	GPLv3
+
+CPE_VENDOR=	gnu
+CPE_PRODUCT=	cfengine
+
+CONFLICTS=	cfengine-masterfiles3[0-9] cfengine-masterfiles31[0-79]
+.if !defined(MASTERDIR)
+PKGNAMESUFFIX=	318
+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>
diff --git a/sysutils/cfengine-masterfiles319/distinfo b/sysutils/cfengine-masterfiles319/distinfo
new file mode 100644
index 000000000000..bc489e6b32c6
--- /dev/null
+++ b/sysutils/cfengine-masterfiles319/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1639151281
+SHA256 (cfengine-masterfiles-3.19.0.tar.gz) = 89627abbd18834bb249a0dae1c229ae9ecb1fcded83c1ff23695862c2019880e
+SIZE (cfengine-masterfiles-3.19.0.tar.gz) = 502303
diff --git a/sysutils/cfengine-masterfiles319/pkg-descr b/sysutils/cfengine-masterfiles319/pkg-descr
new file mode 100644
index 000000000000..5b2d2217b44b
--- /dev/null
+++ b/sysutils/cfengine-masterfiles319/pkg-descr
@@ -0,0 +1,10 @@
+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).
+
+WWW: https://cfengine.com/
diff --git a/sysutils/cfengine-masterfiles319/pkg-plist b/sysutils/cfengine-masterfiles319/pkg-plist
new file mode 100644
index 000000000000..a89118297e1e
--- /dev/null
+++ b/sysutils/cfengine-masterfiles319/pkg-plist
@@ -0,0 +1,92 @@
+%%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-runalerts.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