Skip to content

Commit

Permalink
sysutils/cfengine-masterfiles319: Add new port
Browse files Browse the repository at this point in the history
This is the latest release from the cfengine folks.
  • Loading branch information
cschuber committed Dec 13, 2021
1 parent b2065e0 commit 9d0b2d2
Show file tree
Hide file tree
Showing 5 changed files with 140 additions and 0 deletions.
1 change: 1 addition & 0 deletions sysutils/Makefile
Expand Up @@ -165,6 +165,7 @@
SUBDIR += cfengine-masterfiles316
SUBDIR += cfengine-masterfiles317
SUBDIR += cfengine-masterfiles318
SUBDIR += cfengine-masterfiles319
SUBDIR += cfengine316
SUBDIR += cfengine317
SUBDIR += cfengine318
Expand Down
34 changes: 34 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions 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
10 changes: 10 additions & 0 deletions 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/
92 changes: 92 additions & 0 deletions 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

0 comments on commit 9d0b2d2

Please sign in to comment.