# $Id: Portfile,v 1.1 2003/07/07 05:16:10 rshaw Exp $ PortSystem 1.0 name cfengine version 2.0.7p3 categories sysutils maintainers robert@or.homeip.net description a tool for setting up and maintaining computer systems master_sites ftp://ftp.iu.hio.no/pub/cfengine/ \ http://sunsite.utk.edu/ftp/pub/cfengine/cfengine-ftp/ \ ftp://ftp.cfengine.webmotion.net/pub/cfengine/ checksums md5 f21b3775ad2a5288ac8f794a9f36f168 depends_lib lib:libdb:db4 patch { cd ${worksrcpath} reinplace "s%/usr/local%/opt/local%g" configure reinplace "s%BERKELEY_DB_LIB=\"-l\$v\"%if \[ \"x\$v\" == \"xdb4\" ]; then BERKELEY_DB_LIB=\"-ldb-4\"; else &; fi%" configure } configure.args --with-berkeleydb=yes long_description \ Cfengine, or the configuration engine is an autonomous agent and a \ middle to high level policy language for building expert systems which \ administrate and configure large computer networks. Cfengine uses the \ idea of classes and a primitive intelligence to define and automate the \ configuration and maintenance of system state, for small to huge \ configurations. Cfengine is designed to be a part of a computer immune \ system, and can be thought of as a gaming agent. It is ideal for cluster \ management and has been adopted for use all over the world in small and \ huge organizations alike. \ \ The main purpose of cfengine is to allow you to create a single, central \ system configuration which will define how every host on your network \ should be configured in an intuitive way. An interpreter runs on every \ host on your network and parses the master file (or file-set), the \ configuration of each host is checked against this file and then, if you \ request it, any deviations from the defined configuration are fixed \ automatically. You do not have to mention every host specifically by \ name in order to configure them: instead you can refer to the properties \ which distinguish hosts from one another. Cfengine uses a flexible \ system of "classes" which helps you to single out a specific group of \ hosts with a single statement.