Hi,

The attached archive is take 2 of an update of sysutils/cfengine to version
3.4.2. The no flavor version is currently running on several of my
production servers. In case there are no objections, please commit so other
people can also start testing it.

This version has the following changes as suggested by several people:
- REGRESS -> TEST.
- Only PERMIT_PACKAGE_CDROM.
- Add a flavor for PostgreSQL. The MySQL flavor is not yet added to FLAVORS
  because of a bug in MySQL which prevents it from building
  (http://bugs.mysql.com/bug.php?id=65055).
- Create directories in /var/cfengine (@sample).
- Copy binaries from /usr/local/sbin to /var/cfengine/bin (@sample). This
  is needed since cfengine expects the binaries in /var/cfengine/bin and
  won't bootstrap otherwise.
- Create a public and private key when they do not exist.
- Change rc.d scripts to start the daemons from /var/cfengine/bin instead
  of /usr/local/sbin.


The following things were also suggested but weren't included:
- Install everything inside /var/cfengine/. The official binaries from
  Cfengine AS do this but also _include_ the needed libraries. Since the
  version from ports still depends on libraries in /usr/local there's no
  point in going this route for now.
- Remove --enable-fhs configure flag. When removing this flag the
  libraries and documentation are placed in the wrong directory e.g.
  /usr/local/share/doc/ instead of /usr/local/share/doc/cfengine/.
- Remove --workdir-dir configure flag. When removing this flag the workdir
  is set to /var/lib/cfengine/ instead of /var/cfengine/. This is
  probably due to the --enable-fhs flag.
- Copy stock policy to /var/cfengine/masterfiles/. This is only needed on
  the policy hub and not on every client. When configuring the policy hub
  you should know what your are doing.
- Use tokyocabinet as database backend. Currently the port is using qdbm
  as backend database and since it works fine and tokyocabinet is not in
  ports I see no value in changing it.

Kind regards,


Martijn Rijkeboer

Attachment: cfengine-take2.tgz
Description: application/compressed

Reply via email to