Re: UPDATE: sysutils/cfengine 2.2.10 - 3.4.2 (take 2)

2013-03-15 Thread Jiri B
If libvirt is installed, it is building with libvirt. I think
you have to explicetly put this into Makefile. I vote for
libvirt dependency, one can like to manage KVM via remote libvirtd
from OpenBSD (I would like to try it at least, hehe).

jirib



UPDATE: sysutils/cfengine 2.2.10 - 3.4.2 (take 2)

2013-03-13 Thread Martijn Rijkeboer
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

cfengine-take2.tgz
Description: application/compressed


Re: UPDATE: sysutils/cfengine 2.2.10 - 3.4.2 (take 2)

2013-03-13 Thread Stuart Henderson

On 2013/03/13 11:53, Martijn Rijkeboer wrote:
 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.

I don't have time to take a look at the port at the moment,
but this seems a reasonable approach to me.