Ticket #677: Portfile

File Portfile, 2.0 KB (added by robert@…, 21 years ago)

ATTACHMENT: cfengine-2.0.7p3

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