From nobody Sun Jun 18 03:55:44 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QkJw01KC6z4dp0c; Sun, 18 Jun 2023 03:55:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QkJw01BCrz43Fc; Sun, 18 Jun 2023 03:55:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687060544; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qTX5YeLaWgMvYfsHyGYMcMpwf4s13ioZ5ZsFo7ChTYk=; b=UNqzr33CIA19iaEFP8fkOtV6JLEkwXKkWDXlzW93n7IB3jo6SOmgn+ac6lnpttnuii4X6K F5/BIPAdLm2jV9ndTxZ1pf410CtY/HUdJXRxGJ2lorzkahEZqgVgDyojb+wJhoeQLLAdGy IQPaV4NeNKmIk39XkwU5O1ts704tC/yxL2a64HpcovB/bTj3jEVNcXSkk7b9TIupMib3at E0GQh4hnug0bcgR9n9t6qQpfHFQEPy8XR6aTvkHPSTEtLGJUGqIXlaZrosrStPZlNnZhNV OMj2Eubtp2W/pw304DM0EgshtggM+BY7XtHGDxyRAquXl4qmw713wRnDhioHTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687060544; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qTX5YeLaWgMvYfsHyGYMcMpwf4s13ioZ5ZsFo7ChTYk=; b=KY3fuMSKEIbERLblE8NeYcjQYSsglZoqSFaxNKbUYLUJgeE7+8MJt9PvNdZcujES62EfUi cz+zw/wPbtryZ5Dw0Tlg39Av5yj6bXFVRK4svVEQDR3cRyeGtZgkeTpZEtDgHtKu1ky1Xq nCC6Hu+HiwZN8h04vA3EkqCm26eagUeH4OZRCmQma8NdQwAMCa7sVMlT0PsWhE9Al/R9aa WU6/WEvWz7/Upk5cx/Vs6PygfpyefjYiQGmmdJnMnJTPQUit2tPM4iju6lGZZPg8sbIreP p0R3zKk0WwiqnUOzhnL0aNBNJNmzX1BRb1i5lyQyOscRpI8cBmYEqSmHQUi2Rw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687060544; a=rsa-sha256; cv=none; b=g4sfsVXSm7rxpNbaeJQHnIoijI97LV2Df2kghiXqkFlKxR2zhmQdaJKMPuthNP+dn67GyC aOMV5RD9LzVJHzICaDLWBPldJN8hmtn3zb610U28fmMDVWXti69Cyg0hKWE6q0AjGqP9jP twGNAEA3nY/aes1WVVChat3vqr9jyh/fKL6K839+eO8QMZBC74IrsJwz0alhtJlk9oxdXM QSPHUYlogRG2k/5uzwQb9KrkQ3COA/8/FAoo4NvnTSI1xkiSI/nedAqX755YALE9RmFsao AJObBG+Zay5YQ3qFMsBdCd0sfGwnWK7yRuHS45d3klm8cJYatSoLD+OYbZ8P9g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QkJw00F4TzLmr; Sun, 18 Jun 2023 03:55:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35I3ti3w054319; Sun, 18 Jun 2023 03:55:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35I3tiLd054318; Sun, 18 Jun 2023 03:55:44 GMT (envelope-from git) Date: Sun, 18 Jun 2023 03:55:44 GMT Message-Id: <202306180355.35I3tiLd054318@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Cy Schubert Subject: git: e6267c489aa2 - main - sysutils/cfengine322: Introduce cfengine322 and cfengine-masterfiles322 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e6267c489aa2515db4ee2bcb0d08b3670b2708ec Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=e6267c489aa2515db4ee2bcb0d08b3670b2708ec commit e6267c489aa2515db4ee2bcb0d08b3670b2708ec Author: Cy Schubert AuthorDate: 2023-06-18 03:51:17 +0000 Commit: Cy Schubert CommitDate: 2023-06-18 03:51:17 +0000 sysutils/cfengine322: Introduce cfengine322 and cfengine-masterfiles322 Add ports for the new cfengine and cfengine-masterfiles 3.22.0. Make cfengine322 and cfengine-masterfiles322 the default cfengine ports/packages. --- sysutils/Makefile | 2 + sysutils/cfengine-masterfiles/Makefile | 4 +- sysutils/cfengine-masterfiles322/Makefile | 31 ++++++++++ sysutils/cfengine-masterfiles322/distinfo | 3 + sysutils/cfengine-masterfiles322/pkg-descr | 8 +++ sysutils/cfengine-masterfiles322/pkg-plist | 92 ++++++++++++++++++++++++++++++ sysutils/cfengine/Makefile | 4 +- sysutils/cfengine322/Makefile | 31 ++++++++++ sysutils/cfengine322/distinfo | 3 + sysutils/cfengine322/files/cf-execd.in | 26 +++++++++ sysutils/cfengine322/files/cf-monitord.in | 26 +++++++++ sysutils/cfengine322/files/cf-serverd.in | 26 +++++++++ sysutils/cfengine322/pkg-descr | 8 +++ sysutils/cfengine322/pkg-plist | 92 ++++++++++++++++++++++++++++++ 14 files changed, 352 insertions(+), 4 deletions(-) diff --git a/sysutils/Makefile b/sysutils/Makefile index 1a16b6761448..994bab3b6e59 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -185,9 +185,11 @@ SUBDIR += cfengine-masterfiles318 SUBDIR += cfengine-masterfiles320 SUBDIR += cfengine-masterfiles321 + SUBDIR += cfengine-masterfiles322 SUBDIR += cfengine318 SUBDIR += cfengine320 SUBDIR += cfengine321 + SUBDIR += cfengine322 SUBDIR += chaoskube SUBDIR += checkrestart SUBDIR += chezmoi diff --git a/sysutils/cfengine-masterfiles/Makefile b/sysutils/cfengine-masterfiles/Makefile index f25f606e05c2..a6dc3be76abe 100644 --- a/sysutils/cfengine-masterfiles/Makefile +++ b/sysutils/cfengine-masterfiles/Makefile @@ -1,5 +1,5 @@ -VERSIONS= 319 320 321 -CFENGINE_VERSION?= 321 +VERSIONS= 320 321 322 +CFENGINE_VERSION?= 322 MASTERDIR= ${.CURDIR}/../cfengine-masterfiles${CFENGINE_VERSION} diff --git a/sysutils/cfengine-masterfiles322/Makefile b/sysutils/cfengine-masterfiles322/Makefile new file mode 100644 index 000000000000..0b75076e283b --- /dev/null +++ b/sysutils/cfengine-masterfiles322/Makefile @@ -0,0 +1,31 @@ +PORTNAME= cfengine-masterfiles +DISTVERSION= 3.22.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= 322 +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 diff --git a/sysutils/cfengine-masterfiles322/distinfo b/sysutils/cfengine-masterfiles322/distinfo new file mode 100644 index 000000000000..556e6f72f63d --- /dev/null +++ b/sysutils/cfengine-masterfiles322/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1686974687 +SHA256 (cfengine-masterfiles-3.22.0.tar.gz) = 5eae6ba6881de1aef4f8115cd6b6ecb0c0809c7ea956b7097a99d62c014506ea +SIZE (cfengine-masterfiles-3.22.0.tar.gz) = 524555 diff --git a/sysutils/cfengine-masterfiles322/pkg-descr b/sysutils/cfengine-masterfiles322/pkg-descr new file mode 100644 index 000000000000..6f6dbcfeb74f --- /dev/null +++ b/sysutils/cfengine-masterfiles322/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-masterfiles322/pkg-plist b/sysutils/cfengine-masterfiles322/pkg-plist new file mode 100644 index 000000000000..a89118297e1e --- /dev/null +++ b/sysutils/cfengine-masterfiles322/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 diff --git a/sysutils/cfengine/Makefile b/sysutils/cfengine/Makefile index ad0ae41b08a0..22085084d84b 100644 --- a/sysutils/cfengine/Makefile +++ b/sysutils/cfengine/Makefile @@ -1,5 +1,5 @@ -VERSIONS= 319 320 321 -CFENGINE_VERSION?= 321 +VERSIONS= 320 321 322 +CFENGINE_VERSION?= 322 MASTERDIR= ${.CURDIR}/../cfengine${CFENGINE_VERSION} diff --git a/sysutils/cfengine322/Makefile b/sysutils/cfengine322/Makefile new file mode 100644 index 000000000000..0b75076e283b --- /dev/null +++ b/sysutils/cfengine322/Makefile @@ -0,0 +1,31 @@ +PORTNAME= cfengine-masterfiles +DISTVERSION= 3.22.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= 322 +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 diff --git a/sysutils/cfengine322/distinfo b/sysutils/cfengine322/distinfo new file mode 100644 index 000000000000..c4a3982ebe17 --- /dev/null +++ b/sysutils/cfengine322/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1686974465 +SHA256 (cfengine-masterfiles-3.22.0.tar.gz) = 5eae6ba6881de1aef4f8115cd6b6ecb0c0809c7ea956b7097a99d62c014506ea +SIZE (cfengine-masterfiles-3.22.0.tar.gz) = 524555 diff --git a/sysutils/cfengine322/files/cf-execd.in b/sysutils/cfengine322/files/cf-execd.in new file mode 100644 index 000000000000..b40d3507649a --- /dev/null +++ b/sysutils/cfengine322/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/cfengine322/files/cf-monitord.in b/sysutils/cfengine322/files/cf-monitord.in new file mode 100644 index 000000000000..dd21a0aaed6d --- /dev/null +++ b/sysutils/cfengine322/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/cfengine322/files/cf-serverd.in b/sysutils/cfengine322/files/cf-serverd.in new file mode 100644 index 000000000000..938274887353 --- /dev/null +++ b/sysutils/cfengine322/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/cfengine322/pkg-descr b/sysutils/cfengine322/pkg-descr new file mode 100644 index 000000000000..6f6dbcfeb74f --- /dev/null +++ b/sysutils/cfengine322/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/cfengine322/pkg-plist b/sysutils/cfengine322/pkg-plist new file mode 100644 index 000000000000..a89118297e1e --- /dev/null +++ b/sysutils/cfengine322/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