git: 35ee73790064 - main - sysutils/cfengine*: Introduce crengine324 and cfengine-masterfiles324

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Tue, 23 Jul 2024 14:01:57 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=35ee737900646938ba4fc5eaaf2a88a36c77e9a0

commit 35ee737900646938ba4fc5eaaf2a88a36c77e9a0
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-07-23 13:13:14 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-07-23 14:00:38 +0000

    sysutils/cfengine*: Introduce crengine324 and cfengine-masterfiles324
    
    Add ports for the new cfengine and cfengine-masterfiles 3.24.0.
    
    Make cfengine324 and cfengine-masterfiles324 the default cfengine
    ports/packages.
---
 sysutils/Makefile                                  |   2 +
 sysutils/cfengine-masterfiles/Makefile             |   4 +-
 sysutils/cfengine-masterfiles324/Makefile          |  31 ++
 sysutils/cfengine-masterfiles324/distinfo          |   3 +
 sysutils/cfengine-masterfiles324/pkg-descr         |   8 +
 sysutils/cfengine-masterfiles324/pkg-plist         |  91 +++++
 sysutils/cfengine/Makefile                         |   4 +-
 sysutils/cfengine324/Makefile                      |  69 ++++
 sysutils/cfengine324/distinfo                      |   3 +
 sysutils/cfengine324/files/cf-execd.in             |  26 ++
 sysutils/cfengine324/files/cf-monitord.in          |  26 ++
 sysutils/cfengine324/files/cf-serverd.in           |  26 ++
 .../files/patch-libntech_libutils_known_dirs.c     |  10 +
 sysutils/cfengine324/pkg-descr                     |   8 +
 sysutils/cfengine324/pkg-plist                     | 394 +++++++++++++++++++++
 15 files changed, 701 insertions(+), 4 deletions(-)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index d1d1e7b4193e..95fb935517e2 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -200,9 +200,11 @@
     SUBDIR += cfengine-masterfiles321
     SUBDIR += cfengine-masterfiles322
     SUBDIR += cfengine-masterfiles323
+    SUBDIR += cfengine-masterfiles324
     SUBDIR += cfengine321
     SUBDIR += cfengine322
     SUBDIR += cfengine323
+    SUBDIR += cfengine324
     SUBDIR += chaoskube
     SUBDIR += checkrestart
     SUBDIR += chezmoi
diff --git a/sysutils/cfengine-masterfiles/Makefile b/sysutils/cfengine-masterfiles/Makefile
index 4bb7b28d2536..9adbd08f3da0 100644
--- a/sysutils/cfengine-masterfiles/Makefile
+++ b/sysutils/cfengine-masterfiles/Makefile
@@ -1,5 +1,5 @@
-VERSIONS=		320 321 322 323
-CFENGINE_VERSION?=	323
+VERSIONS=		320 321 322 323 324
+CFENGINE_VERSION?=	324
 
 MASTERDIR=		${.CURDIR}/../cfengine-masterfiles${CFENGINE_VERSION}
 
diff --git a/sysutils/cfengine-masterfiles324/Makefile b/sysutils/cfengine-masterfiles324/Makefile
new file mode 100644
index 000000000000..6556a84644af
--- /dev/null
+++ b/sysutils/cfengine-masterfiles324/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	cfengine-masterfiles
+DISTVERSION=	3.24.0
+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-79]
+.if !defined(MASTERDIR)
+PKGNAMESUFFIX=	324
+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-masterfiles324/distinfo b/sysutils/cfengine-masterfiles324/distinfo
new file mode 100644
index 000000000000..0b663c55cf68
--- /dev/null
+++ b/sysutils/cfengine-masterfiles324/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1721727837
+SHA256 (cfengine-masterfiles-3.24.0.tar.gz) = 0611c3137cc3142d46b45055ea4473b1c115593d013ebe02121bd7304bc7ab79
+SIZE (cfengine-masterfiles-3.24.0.tar.gz) = 534152
diff --git a/sysutils/cfengine-masterfiles324/pkg-descr b/sysutils/cfengine-masterfiles324/pkg-descr
new file mode 100644
index 000000000000..6f6dbcfeb74f
--- /dev/null
+++ b/sysutils/cfengine-masterfiles324/pkg-descr
@@ -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).
diff --git a/sysutils/cfengine-masterfiles324/pkg-plist b/sysutils/cfengine-masterfiles324/pkg-plist
new file mode 100644
index 000000000000..0418717f12d0
--- /dev/null
+++ b/sysutils/cfengine-masterfiles324/pkg-plist
@@ -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
diff --git a/sysutils/cfengine/Makefile b/sysutils/cfengine/Makefile
index 2d434b260665..ff23040ceb30 100644
--- a/sysutils/cfengine/Makefile
+++ b/sysutils/cfengine/Makefile
@@ -1,5 +1,5 @@
-VERSIONS=		320 321 322 323
-CFENGINE_VERSION?=	323
+VERSIONS=		320 321 322 323 324
+CFENGINE_VERSION?=	324
 
 MASTERDIR=		${.CURDIR}/../cfengine${CFENGINE_VERSION}
 
diff --git a/sysutils/cfengine324/Makefile b/sysutils/cfengine324/Makefile
new file mode 100644
index 000000000000..a03f9da2f462
--- /dev/null
+++ b/sysutils/cfengine324/Makefile
@@ -0,0 +1,69 @@
+PORTNAME=	cfengine
+DISTVERSION=	3.24.0
+CATEGORIES=	sysutils
+MASTER_SITES=	https://s3.amazonaws.com/cfengine-package-repos/tarballs/
+DISTNAME=	${PORTNAME}-community-${DISTVERSION}
+
+MAINTAINER=	cy@FreeBSD.org
+COMMENT=	Systems administration tool for networks
+WWW=		https://cfengine.com/
+
+WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
+
+LICENSE=	GPLv3
+
+CPE_VENDOR=	gnu
+
+CONFLICTS=	cfengine cfengine3[0-9] cfengine3[0-9][0-9]
+.if !defined(MASTERDIR)
+PKGNAMESUFFIX=	324
+.endif
+
+FETCH_BEFORE_ARGS=	-o ${DISTDIR}/${DISTFILES}
+
+USE_RC_SUBR=	cf-execd cf-serverd cf-monitord
+
+MAKE_JOBS_UNSAFE=	yes
+USE_LDCONFIG=	yes
+GNU_CONFIGURE=	yes
+USES=		autoreconf cpe gmake gnome libtool localbase shebangfix ssl
+USE_GNOME=	libxml2
+SHEBANG_FILES=	examples/remake_outputs.pl
+CFLAGS+=	-Wno-return-type -fcommon
+# EXAMPLESDIR=	${PREFIX}/share/examples/cfengine3
+DOCSDIR=	${PREFIX}/share/doc/cfengine
+MAKE_ENV=	EXPLICIT_VERSION=${PORTVERSION}
+CONFIGURE_ENV=	EXPLICIT_VERSION=${PORTVERSION}
+CONFIGURE_ARGS=	--docdir=${DOCSDIR} \
+		--htmldir=${DOCSDIR}/html \
+		--libexecdir=${PREFIX}/libexec \
+		--libdir=${PREFIX}/libexec \
+		--mandir=${PREFIX}/man \
+		--with-workdir=/var/cfengine \
+		--with-pcre2=${LOCALBASE} \
+		--with-lmdb=${LOCALBASE} \
+		--enable-fhs
+INSTALL_TARGET=	install-strip
+
+LIB_DEPENDS+=	libpcre.so:devel/pcre \
+		libpcre2-posix.so:devel/pcre2 \
+		liblmdb.so:databases/lmdb \
+		libyaml.so:textproc/libyaml \
+		libcurl.so:ftp/curl
+
+OPTIONS_DEFINE=	PGSQL MYSQL LIBVIRT
+
+PGSQL_USES=		pgsql
+PGSQL_CONFIGURE_WITH=	--with-postgresql=${LOCALBASE}
+PGSQL_CONFIGURE_OFF=	--without-postgresql
+
+MYSQL_USES=		mysql
+MYSQL_CONFIGURE_WITH=	--with-mysql=${LOCALBASE}
+MYSQL_CONFIGURE_OFF=	--without-mysql
+MYSQL_LIB_DEPENDS=	libmysqlclient.so:${_MYSQL_CLIENT}
+MYSQL_LDFLAGS=		-L${LOCALBASE}/lib/mysql
+
+LIBVIRT_CONFIGURE_WITH=	--with-libvirt=${LOCALBASE}
+LIBVIRT_LIB_DEPENDS+=	libvirt.so:devel/libvirt
+
+.include <bsd.port.mk>
diff --git a/sysutils/cfengine324/distinfo b/sysutils/cfengine324/distinfo
new file mode 100644
index 000000000000..2f2ab7d5f38b
--- /dev/null
+++ b/sysutils/cfengine324/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1721726644
+SHA256 (cfengine-community-3.24.0.tar.gz) = 5bda099d7db16dc33fee137ca8768dd9544e3c345e803289c3576bb8e2c99391
+SIZE (cfengine-community-3.24.0.tar.gz) = 3384550
diff --git a/sysutils/cfengine324/files/cf-execd.in b/sysutils/cfengine324/files/cf-execd.in
new file mode 100644
index 000000000000..b40d3507649a
--- /dev/null
+++ b/sysutils/cfengine324/files/cf-execd.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# PROVIDE: cf-execd
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+#
+# Add the following line to /etc/rc.conf[.local] to enable cf-execd(8)
+#
+# cf_execd_enable (bool):        Set to "NO" by default.
+#                               Set it to "YES" to enable cf-execd.
+# cf_execd_flags (str):          Custom additional arguments to be passed
+#                               to cf-execd (default empty).
+#
+
+. /etc/rc.subr
+
+name="cf_execd"
+rcvar=cf_execd_enable
+
+command="%%PREFIX%%/bin/cf-execd"
+
+load_rc_config $name
+
+: ${cf_execd_enable="NO"}
+
+run_rc_command "$1"
diff --git a/sysutils/cfengine324/files/cf-monitord.in b/sysutils/cfengine324/files/cf-monitord.in
new file mode 100644
index 000000000000..dd21a0aaed6d
--- /dev/null
+++ b/sysutils/cfengine324/files/cf-monitord.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# PROVIDE: cf-monitord
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+#
+# Add the following line to /etc/rc.conf[.local] to enable cf-monitord(8)
+#
+# cf_monitord_enable (bool):        Set to "NO" by default.
+#                               Set it to "YES" to enable cf-monitord.
+# cf_monitord_flags (str):          Custom additional arguments to be passed
+#                               to cf-monitord (default empty).
+#
+
+. /etc/rc.subr
+
+name="cf_monitord"
+rcvar=cf_monitord_enable
+
+command="%%PREFIX%%/bin/cf-monitord"
+
+load_rc_config $name
+
+: ${cf_monitord_enable="NO"}
+
+run_rc_command "$1"
diff --git a/sysutils/cfengine324/files/cf-serverd.in b/sysutils/cfengine324/files/cf-serverd.in
new file mode 100644
index 000000000000..938274887353
--- /dev/null
+++ b/sysutils/cfengine324/files/cf-serverd.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# PROVIDE: cf-serverd
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+#
+# Add the following line to /etc/rc.conf[.local] to enable cf-serverd(8)
+#
+# cf_serverd_enable (bool):        Set to "NO" by default.
+#                               Set it to "YES" to enable cf-serverd.
+# cf_serverd_flags (str):          Custom additional arguments to be passed
+#                               to cf-serverd (default empty).
+#
+
+. /etc/rc.subr
+
+name="cf_serverd"
+rcvar=cf_serverd_enable
+
+command="%%PREFIX%%/bin/cf-serverd"
+
+load_rc_config $name
+
+: ${cf_serverd_enable="NO"}
+
+run_rc_command "$1"
diff --git a/sysutils/cfengine324/files/patch-libntech_libutils_known_dirs.c b/sysutils/cfengine324/files/patch-libntech_libutils_known_dirs.c
new file mode 100644
index 000000000000..68849193a44c
--- /dev/null
+++ b/sysutils/cfengine324/files/patch-libntech_libutils_known_dirs.c
@@ -0,0 +1,10 @@
+--- libntech/libutils/known_dirs.c.orig	2023-12-01 14:09:56.000000000 -0800
++++ libntech/libutils/known_dirs.c	2023-12-05 20:25:45.098318000 -0800
+@@ -21,6 +21,7 @@
+   included file COSL.txt.
+ */
+ 
++#include "../config.h"
+ #include <platform.h>
+ #include <known_dirs.h>
+ #include <definitions.h>
diff --git a/sysutils/cfengine324/pkg-descr b/sysutils/cfengine324/pkg-descr
new file mode 100644
index 000000000000..6afdcc6f57c3
--- /dev/null
+++ b/sysutils/cfengine324/pkg-descr
@@ -0,0 +1,8 @@
+Cfengine is an automated suite of programs for configuring and
+maintaining Unix-like computers. It has been used on computing arrays
+of between 1 and 20,000 computers since 1993 by a wide range of
+organizations. Cfengine is supported by active research and was the
+first autonomic, hands-free management system for Unix-like operating
+systems. Cfengine is an autonomic maintenance system not merely a
+change management roll-out tool. Cfengine has a history of security
+and adaptability.
diff --git a/sysutils/cfengine324/pkg-plist b/sysutils/cfengine324/pkg-plist
new file mode 100644
index 000000000000..0220fe615e05
--- /dev/null
+++ b/sysutils/cfengine324/pkg-plist
@@ -0,0 +1,394 @@
+bin/cf-agent
+bin/cf-check
+bin/cf-execd
+bin/cf-key
+bin/cf-monitord
+bin/cf-net
+bin/cf-promises
+bin/cf-runagent
+bin/cf-secret
+bin/cf-serverd
+bin/cf-support
+bin/cf-upgrade
+bin/rpmvercmp
+libexec/cfengine/libpromises.so
+libexec/cfengine/libpromises.so.3
+libexec/cfengine/libpromises.so.3.0.6
+libexec/python/README
+%%DOCSDIR%%/ChangeLog
+%%DOCSDIR%%/README.md
+%%DOCSDIR%%/examples/abort.cf
+%%DOCSDIR%%/examples/accessed_before.cf
+%%DOCSDIR%%/examples/accessedbefore.cf
+%%DOCSDIR%%/examples/accumulated_time.cf
+%%DOCSDIR%%/examples/acl.cf
+%%DOCSDIR%%/examples/acl_generic.cf
+%%DOCSDIR%%/examples/acl_ntfs.cf
+%%DOCSDIR%%/examples/acl_secret.cf
+%%DOCSDIR%%/examples/active_directory.cf
+%%DOCSDIR%%/examples/activedirectory_listusers.cf
+%%DOCSDIR%%/examples/activedirectory_showuser.cf
+%%DOCSDIR%%/examples/ago.cf
+%%DOCSDIR%%/examples/app_baseline.cf
+%%DOCSDIR%%/examples/appgroups.cf
+%%DOCSDIR%%/examples/arrays.cf
+%%DOCSDIR%%/examples/augment.cf
+%%DOCSDIR%%/examples/backreferences_files.cf
+%%DOCSDIR%%/examples/bsdflags.cf
+%%DOCSDIR%%/examples/bundle_return_values.cf
+%%DOCSDIR%%/examples/bundlesequence.cf
+%%DOCSDIR%%/examples/bundlesmatching.cf
+%%DOCSDIR%%/examples/bundlestate.cf
+%%DOCSDIR%%/examples/canonify.cf
+%%DOCSDIR%%/examples/cf2_integration.cf
+%%DOCSDIR%%/examples/change_detect.cf
+%%DOCSDIR%%/examples/changedbefore.cf
+%%DOCSDIR%%/examples/chdir.cf
+%%DOCSDIR%%/examples/class-automatic-canonificiation.cf
+%%DOCSDIR%%/examples/classes_global.cf
+%%DOCSDIR%%/examples/classesmatching.cf
+%%DOCSDIR%%/examples/classmatch.cf
+%%DOCSDIR%%/examples/classvar_convergence.cf
+%%DOCSDIR%%/examples/commands.cf
+%%DOCSDIR%%/examples/compare.cf
+%%DOCSDIR%%/examples/container_iteration.cf
+%%DOCSDIR%%/examples/container_key_iteration.cf
+%%DOCSDIR%%/examples/control_expand.cf
+%%DOCSDIR%%/examples/copy.cf
+%%DOCSDIR%%/examples/copy_classes.cf
+%%DOCSDIR%%/examples/copy_copbl.cf
+%%DOCSDIR%%/examples/copy_edit.cf
+%%DOCSDIR%%/examples/copydir_copbl.cf
+%%DOCSDIR%%/examples/copylinks.cf
+%%DOCSDIR%%/examples/countclassesmatching.cf
+%%DOCSDIR%%/examples/countlinesmatching.cf
+%%DOCSDIR%%/examples/create_filedir.cf
+%%DOCSDIR%%/examples/createdb.cf
+%%DOCSDIR%%/examples/customize_by_named_list.cf
+%%DOCSDIR%%/examples/data_expand.cf
+%%DOCSDIR%%/examples/data_readstringarray.cf
+%%DOCSDIR%%/examples/data_regextract.cf
+%%DOCSDIR%%/examples/datastate.cf
+%%DOCSDIR%%/examples/defaults.cf
+%%DOCSDIR%%/examples/defaults2.cf
+%%DOCSDIR%%/examples/defaults3.cf
+%%DOCSDIR%%/examples/definitions.cf
+%%DOCSDIR%%/examples/deletelines.cf
+%%DOCSDIR%%/examples/depends_on.cf
+%%DOCSDIR%%/examples/depends_on2.cf
+%%DOCSDIR%%/examples/difference.cf
+%%DOCSDIR%%/examples/dirname.cf
+%%DOCSDIR%%/examples/disable.cf
+%%DOCSDIR%%/examples/disable_and_rotate_files.cf
+%%DOCSDIR%%/examples/diskfree.cf
+%%DOCSDIR%%/examples/dollar.cf
+%%DOCSDIR%%/examples/edit_column_files.cf
+%%DOCSDIR%%/examples/edit_comment_lines.cf
+%%DOCSDIR%%/examples/edit_deletenotmatch.cf
+%%DOCSDIR%%/examples/edit_insert_fuzzylines.cf
+%%DOCSDIR%%/examples/edit_insert_lines.cf
+%%DOCSDIR%%/examples/edit_insert_lines_silly.cf
+%%DOCSDIR%%/examples/edit_passwd_file.cf
+%%DOCSDIR%%/examples/edit_passwd_file_basic.cf
+%%DOCSDIR%%/examples/edit_replace_string.cf
+%%DOCSDIR%%/examples/edit_sectioned_file.cf
+%%DOCSDIR%%/examples/edit_setvar.cf
+%%DOCSDIR%%/examples/edit_template.cf
+%%DOCSDIR%%/examples/edit_triggerclass.cf
+%%DOCSDIR%%/examples/edit_xml.cf
+%%DOCSDIR%%/examples/ensure_line_present_prepend_append.cf
+%%DOCSDIR%%/examples/env.cf
+%%DOCSDIR%%/examples/epimenides.cf
+%%DOCSDIR%%/examples/escape.cf
+%%DOCSDIR%%/examples/eval.cf
+%%DOCSDIR%%/examples/every.cf
+%%DOCSDIR%%/examples/exec_args.cf
+%%DOCSDIR%%/examples/exec_in_sequence.cf
+%%DOCSDIR%%/examples/execd.cf
+%%DOCSDIR%%/examples/execresult.cf
+%%DOCSDIR%%/examples/expand.cf
+%%DOCSDIR%%/examples/failedcommand.cf
+%%DOCSDIR%%/examples/file_change_detection.cf
+%%DOCSDIR%%/examples/file_hash.cf
+%%DOCSDIR%%/examples/file_owner_list_template.cf
+%%DOCSDIR%%/examples/fileexists.cf
+%%DOCSDIR%%/examples/filenames.cf
+%%DOCSDIR%%/examples/fileperms.cf
+%%DOCSDIR%%/examples/filesexist.cf
+%%DOCSDIR%%/examples/filesexist2.cf
+%%DOCSDIR%%/examples/filesize.cf
+%%DOCSDIR%%/examples/filestat.cf
+%%DOCSDIR%%/examples/filter.cf
+%%DOCSDIR%%/examples/findfiles.cf
+%%DOCSDIR%%/examples/fix_names.cf
+%%DOCSDIR%%/examples/format.cf
+%%DOCSDIR%%/examples/getclassmetatags.cf
+%%DOCSDIR%%/examples/getenv.cf
+%%DOCSDIR%%/examples/getfields.cf
+%%DOCSDIR%%/examples/getgid.cf
+%%DOCSDIR%%/examples/getindices.cf
+%%DOCSDIR%%/examples/getindices_and_values.cf
+%%DOCSDIR%%/examples/getmacaddress.cf
+%%DOCSDIR%%/examples/getregistry.cf
+%%DOCSDIR%%/examples/getuid.cf
+%%DOCSDIR%%/examples/getuserinfo.cf
+%%DOCSDIR%%/examples/getusers.cf
+%%DOCSDIR%%/examples/getvalues.cf
+%%DOCSDIR%%/examples/getvariablemetatags.cf
+%%DOCSDIR%%/examples/global_list_expansion.cf
+%%DOCSDIR%%/examples/global_list_expansion_2.cf
+%%DOCSDIR%%/examples/grep.cf
+%%DOCSDIR%%/examples/groupexists.cf
+%%DOCSDIR%%/examples/guest_environment_kvm.cf
+%%DOCSDIR%%/examples/hash.cf
+%%DOCSDIR%%/examples/hash_to_int.cf
+%%DOCSDIR%%/examples/hashcomment.cf
+%%DOCSDIR%%/examples/hashmatch.cf
+%%DOCSDIR%%/examples/hashuncomment.cf
+%%DOCSDIR%%/examples/helloworld.cf
+%%DOCSDIR%%/examples/host2ip.cf
+%%DOCSDIR%%/examples/hostrange.cf
+%%DOCSDIR%%/examples/hostsseen.cf
+%%DOCSDIR%%/examples/hostswithclass.cf
+%%DOCSDIR%%/examples/hub.cf
+%%DOCSDIR%%/examples/id.cf
+%%DOCSDIR%%/examples/inherit.cf
+%%DOCSDIR%%/examples/insert_users.cf
+%%DOCSDIR%%/examples/intarray.cf
+%%DOCSDIR%%/examples/intersection.cf
+%%DOCSDIR%%/examples/inventory_cpu.cf
+%%DOCSDIR%%/examples/ip2host.cf
+%%DOCSDIR%%/examples/iprange.cf
+%%DOCSDIR%%/examples/irange.cf
+%%DOCSDIR%%/examples/isdir.cf
+%%DOCSDIR%%/examples/isexecutable.cf
+%%DOCSDIR%%/examples/isgreaterthan.cf
+%%DOCSDIR%%/examples/isipinsubnet.cf
+%%DOCSDIR%%/examples/islessthan.cf
+%%DOCSDIR%%/examples/islink.cf
+%%DOCSDIR%%/examples/isnewerthan.cf
+%%DOCSDIR%%/examples/isplain.cf
+%%DOCSDIR%%/examples/isvariable.cf
+%%DOCSDIR%%/examples/iteration.cf
+%%DOCSDIR%%/examples/join.cf
+%%DOCSDIR%%/examples/kill_process_running_wrong_user.cf
+%%DOCSDIR%%/examples/lastnode.cf
+%%DOCSDIR%%/examples/ldap.cf
+%%DOCSDIR%%/examples/length.cf
+%%DOCSDIR%%/examples/linking.cf
+%%DOCSDIR%%/examples/literal_server.cf
+%%DOCSDIR%%/examples/local_group_present.cf
+%%DOCSDIR%%/examples/local_user_password.cf
+%%DOCSDIR%%/examples/local_user_secondary_group_member.cf
+%%DOCSDIR%%/examples/local_users_absent.cf
+%%DOCSDIR%%/examples/local_users_locked.cf
+%%DOCSDIR%%/examples/local_users_present.cf
+%%DOCSDIR%%/examples/locate_files_and_compress.cf
+%%DOCSDIR%%/examples/log_private.cf
+%%DOCSDIR%%/examples/loops.cf
+%%DOCSDIR%%/examples/lsdir.cf
+%%DOCSDIR%%/examples/main.cf
+%%DOCSDIR%%/examples/main_entry_point.cf
+%%DOCSDIR%%/examples/main_library.cf
+%%DOCSDIR%%/examples/maparray.cf
+%%DOCSDIR%%/examples/mapdata.cf
+%%DOCSDIR%%/examples/mapdata_jsonpipe.cf
+%%DOCSDIR%%/examples/maplist.cf
+%%DOCSDIR%%/examples/max-min-mean-variance.cf
+%%DOCSDIR%%/examples/measure_log.cf
+%%DOCSDIR%%/examples/measurements.cf
+%%DOCSDIR%%/examples/menu.cf
+%%DOCSDIR%%/examples/mergedata.cf
+%%DOCSDIR%%/examples/meta.cf
+%%DOCSDIR%%/examples/method.cf
+%%DOCSDIR%%/examples/method_polymorph.cf
+%%DOCSDIR%%/examples/method_validate.cf
+%%DOCSDIR%%/examples/method_var.cf
+%%DOCSDIR%%/examples/method_var2.cf
+%%DOCSDIR%%/examples/missing_ok.cf
+%%DOCSDIR%%/examples/module_exec.cf
+%%DOCSDIR%%/examples/module_exec_2.cf
+%%DOCSDIR%%/examples/monitord.cf
+%%DOCSDIR%%/examples/mount_fs.cf
+%%DOCSDIR%%/examples/multipassvars.cf
+%%DOCSDIR%%/examples/multiple_outcomes.cf
+%%DOCSDIR%%/examples/mustache_classes.cf
+%%DOCSDIR%%/examples/mustache_template_motd.cf
+%%DOCSDIR%%/examples/namespace_classes.cf
+%%DOCSDIR%%/examples/namespace_var_meta.cf
+%%DOCSDIR%%/examples/namespace_var_meta2.cf
+%%DOCSDIR%%/examples/neighbourhood_watch.cf
+%%DOCSDIR%%/examples/none.cf
+%%DOCSDIR%%/examples/nth.cf
+%%DOCSDIR%%/examples/null_config.cf
+%%DOCSDIR%%/examples/orchestrate_chain1.cf
+%%DOCSDIR%%/examples/orchestrate_chain2.cf
+%%DOCSDIR%%/examples/orchestrate_delay_trigger.cf
+%%DOCSDIR%%/examples/orchestrate_dominoes1.cf
+%%DOCSDIR%%/examples/orchestrate_dominoes2.cf
+%%DOCSDIR%%/examples/orchestrate_dragon.cf
+%%DOCSDIR%%/examples/orchestrate_dragon_load_balancer.cf
+%%DOCSDIR%%/examples/orchestrate_n_of_m.cf
+%%DOCSDIR%%/examples/orchestration_hostlist.cf
+%%DOCSDIR%%/examples/ordering.cf
+%%DOCSDIR%%/examples/package_apt.cf
+%%DOCSDIR%%/examples/package_bundles.cf
+%%DOCSDIR%%/examples/package_freebsd.cf
+%%DOCSDIR%%/examples/package_latest.cf
+%%DOCSDIR%%/examples/package_msi_file.cf
+%%DOCSDIR%%/examples/package_msi_version.cf
+%%DOCSDIR%%/examples/package_rpm.cf
+%%DOCSDIR%%/examples/package_solaris.cf
+%%DOCSDIR%%/examples/package_windows_feature.cf
+%%DOCSDIR%%/examples/package_yum.cf
+%%DOCSDIR%%/examples/package_zypper.cf
+%%DOCSDIR%%/examples/packagesmatching.cf
+%%DOCSDIR%%/examples/parallel_exec.cf
+%%DOCSDIR%%/examples/parsestringarray.cf
+%%DOCSDIR%%/examples/parsestringarrayidx.cf
+%%DOCSDIR%%/examples/pathtype.cf
+%%DOCSDIR%%/examples/pattern_and_edit.cf
+%%DOCSDIR%%/examples/peerleader.cf
+%%DOCSDIR%%/examples/peerleaders.cf
+%%DOCSDIR%%/examples/peers.cf
+%%DOCSDIR%%/examples/postfix.cf
+%%DOCSDIR%%/examples/process_kill.cf
+%%DOCSDIR%%/examples/process_matching.cf
+%%DOCSDIR%%/examples/process_matching2.cf
+%%DOCSDIR%%/examples/process_matching3.cf
+%%DOCSDIR%%/examples/process_restart.cf
+%%DOCSDIR%%/examples/process_restart_basic.cf
+%%DOCSDIR%%/examples/process_signalling.cf
+%%DOCSDIR%%/examples/processes_define_class_based_on_process_runtime.cf
+%%DOCSDIR%%/examples/product.cf
+%%DOCSDIR%%/examples/promises.cf
+%%DOCSDIR%%/examples/quoting.cf
+%%DOCSDIR%%/examples/randomint.cf
+%%DOCSDIR%%/examples/readcsv.cf
+%%DOCSDIR%%/examples/readdata.cf
+%%DOCSDIR%%/examples/readfile.cf
+%%DOCSDIR%%/examples/readintarray.cf
+%%DOCSDIR%%/examples/readintrealstringlist.cf
+%%DOCSDIR%%/examples/readlist.cf
+%%DOCSDIR%%/examples/readrealarray.cf
+%%DOCSDIR%%/examples/readstringarray.cf
+%%DOCSDIR%%/examples/readtcp.cf
+%%DOCSDIR%%/examples/reg_multiline.cf
+%%DOCSDIR%%/examples/regarray.cf
+%%DOCSDIR%%/examples/regcmp.cf
+%%DOCSDIR%%/examples/regex_replace.cf
+%%DOCSDIR%%/examples/regex_win.cf
+%%DOCSDIR%%/examples/regextract.cf
+%%DOCSDIR%%/examples/registry.cf
+%%DOCSDIR%%/examples/registry_cache.cf
+%%DOCSDIR%%/examples/registryvalue.cf
+%%DOCSDIR%%/examples/regline.cf
+%%DOCSDIR%%/examples/reglist.cf
+%%DOCSDIR%%/examples/remake_outputs.pl
+%%DOCSDIR%%/examples/remoteclasses.cf
+%%DOCSDIR%%/examples/remoteclasses2.cf
+%%DOCSDIR%%/examples/remotescalar.cf
+%%DOCSDIR%%/examples/remove_deadlinks.cf
+%%DOCSDIR%%/examples/rename.cf
+%%DOCSDIR%%/examples/repairedcommand.cf
+%%DOCSDIR%%/examples/report_custom.cf
+%%DOCSDIR%%/examples/report_state.cf
+%%DOCSDIR%%/examples/reports.cf
+%%DOCSDIR%%/examples/reporttofile.cf
+%%DOCSDIR%%/examples/resolveconf.cf
+%%DOCSDIR%%/examples/returnszero.cf
+%%DOCSDIR%%/examples/reverse.cf
+%%DOCSDIR%%/examples/root_passwd.cf
+%%DOCSDIR%%/examples/select_class.cf
+%%DOCSDIR%%/examples/select_mode.cf
+%%DOCSDIR%%/examples/select_region.cf
+%%DOCSDIR%%/examples/select_size.cf
+%%DOCSDIR%%/examples/selectservers.cf
+%%DOCSDIR%%/examples/server_callback.cf
+%%DOCSDIR%%/examples/server_copy_localhost.cf
+%%DOCSDIR%%/examples/server_copy_purge.cf
+%%DOCSDIR%%/examples/server_copy_remote.cf
+%%DOCSDIR%%/examples/server_flatcopy_localhost.cf
+%%DOCSDIR%%/examples/service_catalogue.cf
+%%DOCSDIR%%/examples/service_catalogue_separate.cf
+%%DOCSDIR%%/examples/service_disable.cf
+%%DOCSDIR%%/examples/service_start.cf
+%%DOCSDIR%%/examples/services.cf
+%%DOCSDIR%%/examples/services_concept.cf
+%%DOCSDIR%%/examples/services_default_service_bundle.cf
+%%DOCSDIR%%/examples/services_win.cf
+%%DOCSDIR%%/examples/setuidlog.cf
+%%DOCSDIR%%/examples/setvar.cf
+%%DOCSDIR%%/examples/shuffle.cf
+%%DOCSDIR%%/examples/simple_ssh_key_distribution.cf
+%%DOCSDIR%%/examples/software_dist.cf
+%%DOCSDIR%%/examples/software_update_version_yum.cf
+%%DOCSDIR%%/examples/some.cf
+%%DOCSDIR%%/examples/sort.cf
+%%DOCSDIR%%/examples/splitstring.cf
+%%DOCSDIR%%/examples/sql_table_structure.cf
+%%DOCSDIR%%/examples/storage.cf
+%%DOCSDIR%%/examples/strcmp.cf
+%%DOCSDIR%%/examples/strftime.cf
+%%DOCSDIR%%/examples/string_downcase.cf
+%%DOCSDIR%%/examples/string_head.cf
+%%DOCSDIR%%/examples/string_length.cf
+%%DOCSDIR%%/examples/string_mustache.cf
+%%DOCSDIR%%/examples/string_replace.cf
+%%DOCSDIR%%/examples/string_reverse.cf
+%%DOCSDIR%%/examples/string_split.cf
+%%DOCSDIR%%/examples/string_tail.cf
+%%DOCSDIR%%/examples/string_upcase.cf
+%%DOCSDIR%%/examples/stringarray.cf
+%%DOCSDIR%%/examples/sublist.cf
+%%DOCSDIR%%/examples/sum.cf
+%%DOCSDIR%%/examples/switchcase.cf
+%%DOCSDIR%%/examples/symlink.cf
+%%DOCSDIR%%/examples/symlink_children.cf
+%%DOCSDIR%%/examples/syslog.cf
+%%DOCSDIR%%/examples/syslog2.cf
+%%DOCSDIR%%/examples/template.cf
+%%DOCSDIR%%/examples/template2.cf
+%%DOCSDIR%%/examples/test_environment.cf
+%%DOCSDIR%%/examples/tidy_all_files.cf
+%%DOCSDIR%%/examples/translatepath.cf
+%%DOCSDIR%%/examples/unique.cf
+%%DOCSDIR%%/examples/unpack_method_calls.cf
+%%DOCSDIR%%/examples/update.cf
+%%DOCSDIR%%/examples/user_edit.cf
+%%DOCSDIR%%/examples/user_edit_method.cf
+%%DOCSDIR%%/examples/userexists.cf
+%%DOCSDIR%%/examples/users_type.cf
+%%DOCSDIR%%/examples/varclass.cf
+%%DOCSDIR%%/examples/varexpansion.cf
+%%DOCSDIR%%/examples/variablesmatching.cf
+%%DOCSDIR%%/examples/variablesmatching_as_data.cf
+%%DOCSDIR%%/examples/varnet.cf
+%%DOCSDIR%%/examples/vars.cf
+%%DOCSDIR%%/examples/warnifline.cf
+%%DOCSDIR%%/examples/webserver.cf
+%%DOCSDIR%%/examples/win_dns_client.cf
+%%DOCSDIR%%/examples/win_emergency.cf
+%%DOCSDIR%%/examples/win_registry.cf
+%%DOCSDIR%%/examples/win_schedule.cf
+%%DOCSDIR%%/examples/zenoss.cf
+%%DOCSDIR%%/examples/mustache_comments.cf
+%%DOCSDIR%%/examples/mustache_extension_compact_json.cf
+%%DOCSDIR%%/examples/mustache_extension_expand_key.cf
+%%DOCSDIR%%/examples/mustache_extension_multiline_json.cf
+%%DOCSDIR%%/examples/mustache_extension_top.cf
+%%DOCSDIR%%/examples/mustache_sections_empty_list.cf
+%%DOCSDIR%%/examples/mustache_sections_inverted.cf
+%%DOCSDIR%%/examples/mustache_sections_non_empty_list.cf
+%%DOCSDIR%%/examples/mustache_sections_non_false_value.cf
+%%DOCSDIR%%/examples/mustache_set_delimiters.cf
+%%DOCSDIR%%/examples/mustache_variables.cf
+%%DOCSDIR%%/examples/readenvfile.cf
+%%DOCSDIR%%/examples/with.cf
+@dir /var/cfengine/inputs
+@dir /var/cfengine/modules
+@dir /var/cfengine/outputs
+@dir /var/cfengine/plugins
+@dir /var/cfengine/state
+@dir(root,wheel,700) /var/cfengine/ppkeys
+@dir /var/cfengine